|
|
(window.webpackJsonp=window.webpackJsonp||[]).push([[0],{"+6XX":function(R,D,e){var g=e("y1pI");function f(A){return g(this.__data__,A)>-1}R.exports=f},"+BJd":function(R,D,e){"use strict";var g=e("cIOH"),f=e.n(g),A=e("6MrE"),m=e.n(A)},"+QRC":function(R,D,e){"use strict";var g=e("E9nw"),f={"text/plain":"Text","text/html":"Url",default:"Text"},A="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:A),window.prompt(i,h)}}finally{d&&(typeof d.removeRange=="function"?d.removeRange(o):d.removeAllRanges()),n&&document.body.removeChild(n),r()}return l}R.exports=v},"+TT/":function(R,D,e){var g=e("bYtY"),f=e("mFDi"),A=e("OELB"),m=A.parsePercent,v=e("7aKB"),h=g.each,c=["left","right","top","bottom","width","height"],a=[["width","left","right"],["height","top","bottom"]];function i(S,T,w,E,C){var _=0,y=0;E==null&&(E=Infinity),C==null&&(C=Infinity);var b=0;T.eachChild(function(O,I){var M=O.position,F=O.getBoundingRect(),P=T.childAt(I+1),j=P&&P.getBoundingRect(),K,N;if(S==="horizontal"){var B=F.width+(j?-j.x+F.x:0);K=_+B,K>E||O.newline?(_=0,K=B,y+=b+w,b=F.height):b=Math.max(b,F.height)}else{var U=F.height+(j?-j.y+F.y:0);N=y+U,N>C||O.newline?(_+=b+w,y=0,N=U,b=F.width):b=Math.max(b,F.width)}if(O.newline)return;M[0]=_,M[1]=y,S==="horizontal"?_=K+w:y=N+w})}var r=i,o=g.curry(i,"vertical"),d=g.curry(i,"horizontal");function n(S,T,w){var E=T.width,C=T.height,_=m(S.x,E),y=m(S.y,C),b=m(S.x2,E),O=m(S.y2,C);return(isNaN(_)||isNaN(parseFloat(S.x)))&&(_=0),(isNaN(b)||isNaN(parseFloat(S.x2)))&&(b=E),(isNaN(y)||isNaN(parseFloat(S.y)))&&(y=0),(isNaN(O)||isNaN(parseFloat(S.y2)))&&(O=C),w=v.normalizeCssArray(w||0),{width:Math.max(b-_-w[1]-w[3],0),height:Math.max(O-y-w[0]-w[2],0)}}function l(S,T,w){w=v.normalizeCssArray(w||0);var E=T.width,C=T.height,_=m(S.left,E),y=m(S.top,C),b=m(S.right,E),O=m(S.bottom,C),I=m(S.width,E),M=m(S.height,C),F=w[2]+w[0],P=w[1]+w[3],j=S.aspect;isNaN(I)&&(I=E-b-P-_),isNaN(M)&&(M=C-O-F-y),j!=null&&(isNaN(I)&&isNaN(M)&&(j>E/C?I=E*.8:M=C*.8),isNaN(I)&&(I=j*M),isNaN(M)&&(M=I/j)),isNaN(_)&&(_=E-b-I-P),isNaN(y)&&(y=C-O-M-F);switch(S.left||S.right){case"center":_=E/2-I/2-w[3];break;case"right":_=E-I-P;break}switch(S.top||S.bottom){case"middle":case"center":y=C/2-M/2-w[0];break;case"bottom":y=C-M-F;break}_=_||0,y=y||0,isNaN(I)&&(I=E-P-_-(b||0)),isNaN(M)&&(M=C-F-y-(O||0));var K=new f(_+w[3],y+w[0],I,M);return K.margin=w,K}function t(S,T,w,E,C){var _=!C||!C.hv||C.hv[0],y=!C||!C.hv||C.hv[1],b=C&&C.boundingMode||"all";if(!_&&!y)return;var O;if(b==="raw")O=S.type==="group"?new f(0,0,+T.width||0,+T.height||0):S.getBoundingRect();else if(O=S.getBoundingRect(),S.needLocalTransform()){var I=S.getLocalTransform();O=O.clone(),O.applyTransform(I)}T=l(g.defaults({width:O.width,height:O.height},T),w,E);var M=S.position,F=_?T.x-O.x:0,P=y?T.y-O.y:0;S.attr("position",b==="raw"?[F,P]:[M[0]+F,M[1]+P])}function s(S,T){return S[a[T][0]]!=null||S[a[T][1]]!=null&&S[a[T][2]]!=null}function u(S,T,w){!g.isObject(w)&&(w={});var E=w.ignoreSize;!g.isArray(E)&&(E=[E,E]);var C=y(a[0],0),_=y(a[1],1);I(a[0],S,C),I(a[1],S,_);function y(M,F){var P={},j=0,K={},N=0,B=2;if(h(M,function(z){K[z]=S[z]}),h(M,function(z){b(T,z)&&(P[z]=K[z]=T[z]),O(P,z)&&j++,O(K,z)&&N++}),E[F])return O(T,M[1])?K[M[2]]=null:O(T,M[2])&&(K[M[1]]=null),K;if(N===B||!j)return K;if(j>=B)return P;for(var U=0;U<M.length;U++){var H=M[U];if(!b(P,H)&&b(S,H)){P[H]=S[H];break}}return P}function b(M,F){return M.hasOwnProperty(F)}function O(M,F){return M[F]!=null&&M[F]!=="auto"}function I(M,F,P){h(M,function(j){F[j]=P[j]})}}function p(S){return x({},S)}function x(S,T){return T&&S&&h(c,function(w){T.hasOwnProperty(w)&&(S[w]=T[w])}),S}D.LOCATION_PARAMS=c,D.HV_NAMES=a,D.box=r,D.vbox=o,D.hbox=d,D.getAvailableSize=n,D.getLayoutRect=l,D.positionElement=t,D.sizeCalculable=s,D.mergeLayoutParam=u,D.getLayoutParams=p,D.copyLayoutParams=x},"+Zaj":function(R,D,e){"use strict";var g=e("TqRt"),f=e("284h");Object.defineProperty(D,"__esModule",{value:!0}),D.default=void 0;var A=f(e("q1tI")),m=g(e("ugBc")),v=g(e("KQxl")),h=function(i,r){return A.createElement(v.default,Object.assign({},i,{ref:r,icon:m.default}))};h.displayName="CalendarOutlined";var c=A.forwardRef(h);D.default=c},"+d4F":function(R,D,e){"use strict";Object.defineProperty(D,"__esModule",{value:!0}),D.default=void 0;var g=f(e("y3Yb"));function f(m){return m&&m.__esModule?m:{default:m}}var A=g;D.default=A,R.exports=A},"+eQT":function(R,D,e){"use strict";var g=e("wd/R"),f=e.n(g),A=e("Kwbf"),m={getNow:function(){return f()()},getWeekDay:function(jt){var Zt=jt.clone().locale("en_US");return Zt.weekday()+Zt.localeData().firstDayOfWeek()},getYear:function(jt){return jt.year()},getMonth:function(jt){return jt.month()},getDate:function(jt){return jt.date()},getHour:function(jt){return jt.hour()},getMinute:function(jt){return jt.minute()},getSecond:function(jt){return jt.second()},addYear:function(jt,Zt){var nr=jt.clone();return nr.add(Zt,"year")},addMonth:function(jt,Zt){var nr=jt.clone();return nr.add(Zt,"month")},addDate:function(jt,Zt){var nr=jt.clone();return nr.add(Zt,"day")},setYear:function(jt,Zt){var nr=jt.clone();return nr.year(Zt)},setMonth:function(jt,Zt){var nr=jt.clone();return nr.month(Zt)},setDate:function(jt,Zt){var nr=jt.clone();return nr.date(Zt)},setHour:function(jt,Zt){var nr=jt.clone();return nr.hour(Zt)},setMinute:function(jt,Zt){var nr=jt.clone();return nr.minute(Zt)},setSecond:function(jt,Zt){var nr=jt.clone();return nr.second(Zt)},isAfter:function(jt,Zt){return jt.isAfter(Zt)},isValidate:function(jt){return jt.isValid()},locale:{getWeekFirstDay:function(jt){var Zt=f()().locale(jt);return Zt.localeData().firstDayOfWeek()},getWeek:function(jt,Zt){var nr=Zt.clone(),Or=nr.locale(jt);return Or.week()},getShortWeekDays:function(jt){var Zt=f()().locale(jt);return Zt.localeData().weekdaysMin()},getShortMonths:function(jt){var Zt=f()().locale(jt);return Zt.localeData().monthsShort()},format:function(jt,Zt,nr){var Or=Zt.clone(),wr=Or.locale(jt);return wr.format(nr)},parse:function(jt,Zt,nr){for(var Or=[],wr=0;wr<nr.length;wr+=1){var Er=nr[wr],Kr=Zt;if(Er.includes("wo")||Er.includes("Wo")){Er=Er.replace(/wo/g,"w").replace(/Wo/g,"W");var Zr=Er.match(/[-YyMmDdHhSsWwGg]+/g),Jr=Kr.match(/[-\d]+/g);Zr&&Jr?(Er=Zr.join(""),Kr=Jr.join("")):Or.push(Er.replace(/o/g,""))}var an=f()(Kr,Er,jt,!0);if(an.isValid())return an}for(var xt=0;xt<Or.length;xt+=1){var Vt=f()(Zt,Or[xt],jt,!1);if(Vt.isValid())return Object(A.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(it){return a.createElement(i.a,c()({size:"small",type:"primary"},it))}var o=e("mr32");function d(it){return a.createElement(o.a,c()({color:"blue"},it))}var n=e("lSNA"),l=e.n(n),t=e("lwsE"),s=e.n(t),u=e("W8MJ"),p=e.n(u),x=e("7W2i"),S=e.n(x),T=e("LQ03"),w=e.n(T),E=e("TSYQ"),C=e.n(E),_=e("r/2G"),y=e.n(_),b=e("XzQk"),O=e.n(b),I=e("kbBi"),M=e.n(I),F=e("1OyB"),P=e("vuIU"),j=e("Ji7U"),K=e("LK+K"),N=e("rePB"),B=e("VTBJ"),U=e("ODXe"),H=e("6cGi"),z=e("U8pU"),X=e("4IlW"),W=a.createContext({}),Y=W,q={visibility:"hidden"};function me(it){var jt=it.prefixCls,Zt=it.prevIcon,nr=Zt===void 0?"\u2039":Zt,Or=it.nextIcon,wr=Or===void 0?"\u203A":Or,Er=it.superPrevIcon,Kr=Er===void 0?"\xAB":Er,Zr=it.superNextIcon,Jr=Zr===void 0?"\xBB":Zr,an=it.onSuperPrev,xt=it.onSuperNext,Vt=it.onPrev,sr=it.onNext,br=it.children,Mr=a.useContext(Y),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?q:{}},Kr),Vt&&a.createElement("button",{type:"button",onClick:Vt,tabIndex:-1,className:"".concat(jt,"-prev-btn"),style:rn?q:{}},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?q:{}},wr),xt&&a.createElement("button",{type:"button",onClick:xt,tabIndex:-1,className:"".concat(jt,"-super-next-btn"),style:Dr?q:{}},Jr))}var G=me;function ye(it){var jt=a.useContext(Y),Zt=jt.hideHeader;if(Zt)return null;var nr=it.prefixCls,Or=it.generateConfig,wr=it.locale,Er=it.value,Kr=it.format,Zr="".concat(nr,"-header");return a.createElement(G,{prefixCls:Zr},Er?Or.locale.format(wr.locale,Er,Kr):"\xA0")}var Ae=ye,ve=e("YrtM"),Ue=e("KQm4"),Me=new Map;function nt(it,jt,Zt){if(Me.get(it)&&cancelAnimationFrame(Me.get(it)),Zt<=0){Me.set(it,requestAnimationFrame(function(){it.scrollTop=jt}));return}var nr=jt-it.scrollTop,Or=nr/Zt*10;Me.set(it,requestAnimationFrame(function(){it.scrollTop+=Or,it.scrollTop!==jt&&nt(it,jt,Zt-10)}))}function ne(it,jt){var Zt=jt.onLeftRight,nr=jt.onCtrlLeftRight,Or=jt.onUpDown,wr=jt.onPageUpDown,Er=jt.onEnter,Kr=it.which,Zr=it.ctrlKey,Jr=it.metaKey;switch(Kr){case X.a.LEFT:if(Zr||Jr){if(nr)return nr(-1),!0}else if(Zt)return Zt(-1),!0;break;case X.a.RIGHT:if(Zr||Jr){if(nr)return nr(1),!0}else if(Zt)return Zt(1),!0;break;case X.a.UP:if(Or)return Or(-1),!0;break;case X.a.DOWN:if(Or)return Or(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 be(it,jt,Zt,nr){var Or=it;if(!Or)switch(jt){case"time":Or=nr?"hh:mm:ss a":"HH:mm:ss";break;case"week":Or="gggg-wo";break;case"month":Or="YYYY-MM";break;case"quarter":Or="YYYY-[Q]Q";break;case"year":Or="YYYY";break;default:Or=Zt?"YYYY-MM-DD HH:mm:ss":"YYYY-MM-DD"}return Or}function ot(it,jt){var Zt=it==="time"?8:10;return Math.max(Zt,jt.length)+2}var ue=null,Q=new Set;function V(it){return!ue&&typeof window!="undefined"&&window.addEventListener&&(ue=function(Zt){Object(Ue.a)(Q).forEach(function(nr){nr(Zt)})},window.addEventListener("mousedown",ue)),Q.add(it),function(){Q.delete(it),Q.size===0&&(window.removeEventListener("mousedown",ue),ue=null)}}var J=function(jt){return jt==="month"||jt==="date"?"year":jt},fe=function(jt){return jt==="date"?"month":jt},oe=function(jt){return jt==="month"||jt==="date"?"quarter":jt},Le=function(jt){return jt==="date"?"week":jt},he={year:J,month:fe,quarter:oe,week:Le,time:null,date:null};function te(it,jt){return it.some(function(Zt){return Zt&&Zt.contains(jt)})}function Z(it){var jt=it.prefixCls,Zt=it.units,nr=it.onSelect,Or=it.value,wr=it.active,Er=it.hideDisabledOptions,Kr="".concat(jt,"-cell"),Zr=a.useContext(Y),Jr=Zr.open,an=a.useRef(null),xt=a.useRef(new Map);return a.useLayoutEffect(function(){var Vt=xt.current.get(Or);Vt&&Jr!==!1&&nt(an.current,Vt.offsetTop,120)},[Or]),a.useLayoutEffect(function(){if(Jr){var Vt=xt.current.get(Or);Vt&&nt(an.current,Vt.offsetTop,0)}},[Jr]),a.createElement("ul",{className:C()("".concat(jt,"-column"),Object(N.a)({},"".concat(jt,"-column-active"),wr)),ref:an,style:{position:"relative"}},Zt.map(function(Vt){var sr;return Er&&Vt.disabled?null:a.createElement("li",{key:Vt.value,ref:function(Mr){xt.current.set(Vt.value,Mr)},className:C()(Kr,(sr={},Object(N.a)(sr,"".concat(Kr,"-disabled"),Vt.disabled),Object(N.a)(sr,"".concat(Kr,"-selected"),Or===Vt.value),sr)),onClick:function(){if(Vt.disabled)return;nr(Vt.value)}},a.createElement("div",{className:"".concat(Kr,"-inner")},Vt.label))}))}var ge=Z;function Re(it,jt){for(var Zt=arguments.length>2&&arguments[2]!==void 0?arguments[2]:"0",nr=String(it);nr.length<jt;)nr="".concat(Zt).concat(it);return nr}var ze=function(){for(var jt=arguments.length,Zt=new Array(jt),nr=0;nr<jt;nr++)Zt[nr]=arguments[nr];return Zt};function dt(it){return it==null?[]:Array.isArray(it)?it:[it]}function De(it){var jt={};return Object.keys(it).forEach(function(Zt){(Zt.substr(0,5)==="data-"||Zt.substr(0,5)==="aria-"||Zt==="role"||Zt==="name")&&Zt.substr(0,7)!=="data-__"&&(jt[Zt]=it[Zt])}),jt}function Tt(it,jt){return it?it[jt]:null}function je(it,jt,Zt){var nr=[Tt(it,0),Tt(it,1)];return nr[Zt]=typeof jt=="function"?jt(nr[Zt]):jt,!nr[0]&&!nr[1]?null:nr}function st(it,jt,Zt,nr,Or){var wr=it.setHour(jt,Zt);return wr=it.setMinute(wr,nr),wr=it.setSecond(wr,Or),wr}function Xe(it,jt,Zt,nr,Or,wr){var Er=Math.floor(it/nr)*nr;if(Er<it)return[Er,60-Or,60-wr];var Kr=Math.floor(jt/Or)*Or;if(Kr<jt)return[Er,Kr,60-wr];var Zr=Math.floor(Zt/wr)*wr;return[Er,Kr,Zr]}function Je(it,jt){if(it.length!==jt.length)return!0;for(var Zt=0;Zt<it.length;Zt+=1)if(it[Zt].disabled!==jt[Zt].disabled)return!0;return!1}function et(it,jt,Zt,nr){for(var Or=[],wr=it;wr<=jt;wr+=Zt)Or.push({label:Re(wr,2),value:wr,disabled:(nr||[]).includes(wr)});return Or}function at(it){var jt=it.generateConfig,Zt=it.prefixCls,nr=it.operationRef,Or=it.activeColumnIndex,wr=it.value,Er=it.showHour,Kr=it.showMinute,Zr=it.showSecond,Jr=it.use12Hours,an=it.hourStep,xt=an===void 0?1:an,Vt=it.minuteStep,sr=Vt===void 0?1:Vt,br=it.secondStep,Mr=br===void 0?1:br,Dr=it.disabledHours,rn=it.disabledMinutes,fn=it.disabledSeconds,wn=it.hideDisabledOptions,Hn=it.onSelect,Sn=[],bn="".concat(Zt,"-content"),Mn="".concat(Zt,"-time-panel"),vn,Rn=wr?jt.getHour(wr):-1,En=wr?jt.getMinute(wr):-1,In=wr?jt.getSecond(wr):-1,Xn=function(hi,qi,va,Ea){var ya=wr||jt.getNow(),oa=Math.max(0,qi),sa=Math.max(0,va),Ni=Math.max(0,Ea);return ya=st(jt,ya,!Jr||!hi?oa:oa+12,sa,Ni),ya},ai=et(0,23,xt,Dr&&Dr()),ri=Object(ve.a)(function(){return ai},ai,Je);Jr&&(vn=Rn>=12,Rn%=12);var Di=a.useMemo(function(){if(!Jr)return[!1,!1];var mi=[!0,!0];return ri.forEach(function(hi){var qi=hi.disabled,va=hi.value;if(qi)return;va>=12?mi[1]=!1:mi[0]=!1}),mi},[Jr,ri]),yi=Object(U.a)(Di,2),xi=yi[0],_i=yi[1],Un=a.useMemo(function(){return Jr?ri.filter(vn?function(mi){return mi.value>=12}:function(mi){return mi.value<12}).map(function(mi){var hi=mi.value%12,qi=hi===0?"12":Re(hi,2);return Object(B.a)(Object(B.a)({},mi),{},{label:qi,value:hi})}):ri},[Jr,ri]),Ri=et(0,59,sr,rn&&rn(Rn)),fa=et(0,59,Mr,fn&&fn(Rn,En));nr.current={onUpDown:function(hi){var qi=Sn[Or];if(qi)for(var va=qi.units.findIndex(function(sa){return sa.value===qi.value}),Ea=qi.units.length,ya=1;ya<Ea;ya+=1){var oa=qi.units[(va+hi*ya+Ea)%Ea];if(oa.disabled!==!0){qi.onSelect(oa.value);break}}}};function Ui(mi,hi,qi,va,Ea){mi!==!1&&Sn.push({node:a.cloneElement(hi,{prefixCls:Mn,value:qi,active:Or===Sn.length,onSelect:Ea,units:va,hideDisabledOptions:wn}),onSelect:Ea,value:qi,units:va})}Ui(Er,a.createElement(ge,{key:"hour"}),Rn,Un,function(mi){Hn(Xn(vn,mi,En,In),"mouse")}),Ui(Kr,a.createElement(ge,{key:"minute"}),En,Ri,function(mi){Hn(Xn(vn,Rn,mi,In),"mouse")}),Ui(Zr,a.createElement(ge,{key:"second"}),In,fa,function(mi){Hn(Xn(vn,Rn,En,mi),"mouse")});var Mi=-1;return typeof vn=="boolean"&&(Mi=vn?1:0),Ui(Jr===!0,a.createElement(ge,{key:"12hours"}),Mi,[{label:"AM",value:0,disabled:xi},{label:"PM",value:1,disabled:_i}],function(mi){Hn(Xn(!!mi,Rn,En,In),"mouse")}),a.createElement("div",{className:bn},Sn.map(function(mi){var hi=mi.node;return hi}))}var Ve=at,le=function(jt){return jt.filter(function(Zt){return Zt!==!1}).length};function ae(it){var jt=it.generateConfig,Zt=it.format,nr=Zt===void 0?"HH:mm:ss":Zt,Or=it.prefixCls,wr=it.active,Er=it.operationRef,Kr=it.showHour,Zr=it.showMinute,Jr=it.showSecond,an=it.use12Hours,xt=an===void 0?!1:an,Vt=it.onSelect,sr=it.value,br="".concat(Or,"-time-panel"),Mr=a.useRef(),Dr=a.useState(-1),rn=Object(U.a)(Dr,2),fn=rn[0],wn=rn[1],Hn=le([Kr,Zr,Jr,xt]);return Er.current={onKeyDown:function(bn){return ne(bn,{onLeftRight:function(vn){wn((fn+vn+Hn)%Hn)},onUpDown:function(vn){fn===-1?wn(0):Mr.current&&Mr.current.onUpDown(vn)},onEnter:function(){Vt(sr||jt.getNow(),"key"),wn(-1)}})},onBlur:function(){wn(-1)}},a.createElement("div",{className:C()(br,Object(N.a)({},"".concat(br,"-active"),wr))},a.createElement(Ae,Object.assign({},it,{format:nr,prefixCls:Or})),a.createElement(Ve,Object.assign({},it,{prefixCls:Or,activeColumnIndex:fn,operationRef:Mr})))}var lt=ae,Ze=7;function Te(it,jt){return!it&&!jt?!0:!it||!jt?!1:void 0}function Jt(it,jt,Zt){var nr=Te(jt,Zt);if(typeof nr=="boolean")return nr;var Or=Math.floor(it.getYear(jt)/10),wr=Math.floor(it.getYear(Zt)/10);return Or===wr}function mt(it,jt,Zt){var nr=Te(jt,Zt);return typeof nr=="boolean"?nr:it.getYear(jt)===it.getYear(Zt)}function ft(it,jt){var Zt=Math.floor(it.getMonth(jt)/3);return Zt+1}function bt(it,jt,Zt){var nr=Te(jt,Zt);return typeof nr=="boolean"?nr:mt(it,jt,Zt)&&ft(it,jt)===ft(it,Zt)}function It(it,jt,Zt){var nr=Te(jt,Zt);return typeof nr=="boolean"?nr:mt(it,jt,Zt)&&it.getMonth(jt)===it.getMonth(Zt)}function or(it,jt,Zt){var nr=Te(jt,Zt);return typeof nr=="boolean"?nr:it.getYear(jt)===it.getYear(Zt)&&it.getMonth(jt)===it.getMonth(Zt)&&it.getDate(jt)===it.getDate(Zt)}function Pt(it,jt,Zt){var nr=Te(jt,Zt);return typeof nr=="boolean"?nr:it.getHour(jt)===it.getHour(Zt)&&it.getMinute(jt)===it.getMinute(Zt)&&it.getSecond(jt)===it.getSecond(Zt)}function _e(it,jt,Zt,nr){var Or=Te(Zt,nr);return typeof Or=="boolean"?Or:it.locale.getWeek(jt,Zt)===it.locale.getWeek(jt,nr)}function Ce(it,jt,Zt){return or(it,jt,Zt)&&Pt(it,jt,Zt)}function Ee(it,jt,Zt,nr){return!jt||!Zt||!nr?!1:!or(it,jt,nr)&&!or(it,Zt,nr)&&it.isAfter(nr,jt)&&it.isAfter(Zt,nr)}function we(it,jt,Zt){var nr=jt.locale.getWeekFirstDay(it),Or=jt.setDate(Zt,1),wr=jt.getWeekDay(Or),Er=jt.addDate(Or,nr-wr);return jt.getMonth(Er)===jt.getMonth(Zt)&&jt.getDate(Er)>1&&(Er=jt.addDate(Er,-7)),Er}function Fe(it,jt,Zt){var nr=arguments.length>3&&arguments[3]!==void 0?arguments[3]:1;switch(jt){case"year":return Zt.addYear(it,nr*10);case"quarter":case"month":return Zt.addYear(it,nr);default:return Zt.addMonth(it,nr)}}var Ye=a.createContext({}),Ge=Ye;function qe(it){var jt=it.cellPrefixCls,Zt=it.generateConfig,nr=it.rangedValue,Or=it.hoverRangedValue,wr=it.isInView,Er=it.isSameCell,Kr=it.offsetCell,Zr=it.today,Jr=it.value;function an(xt){var Vt,sr=Kr(xt,-1),br=Kr(xt,1),Mr=Tt(nr,0),Dr=Tt(nr,1),rn=Tt(Or,0),fn=Tt(Or,1),wn=Ee(Zt,rn,fn,xt);function Hn(En){return Er(Mr,En)}function Sn(En){return Er(Dr,En)}var bn=Er(rn,xt),Mn=Er(fn,xt),vn=(wn||Mn)&&(!wr(sr)||Sn(sr)),Rn=(wn||bn)&&(!wr(br)||Hn(br));return Vt={},Object(N.a)(Vt,"".concat(jt,"-in-view"),wr(xt)),Object(N.a)(Vt,"".concat(jt,"-in-range"),Ee(Zt,Mr,Dr,xt)),Object(N.a)(Vt,"".concat(jt,"-range-start"),Hn(xt)),Object(N.a)(Vt,"".concat(jt,"-range-end"),Sn(xt)),Object(N.a)(Vt,"".concat(jt,"-range-start-single"),Hn(xt)&&!Dr),Object(N.a)(Vt,"".concat(jt,"-range-end-single"),Sn(xt)&&!Mr),Object(N.a)(Vt,"".concat(jt,"-range-start-near-hover"),Hn(xt)&&(Er(sr,rn)||Ee(Zt,rn,fn,sr))),Object(N.a)(Vt,"".concat(jt,"-range-end-near-hover"),Sn(xt)&&(Er(br,fn)||Ee(Zt,rn,fn,br))),Object(N.a)(Vt,"".concat(jt,"-range-hover"),wn),Object(N.a)(Vt,"".concat(jt,"-range-hover-start"),bn),Object(N.a)(Vt,"".concat(jt,"-range-hover-end"),Mn),Object(N.a)(Vt,"".concat(jt,"-range-hover-edge-start"),vn),Object(N.a)(Vt,"".concat(jt,"-range-hover-edge-end"),Rn),Object(N.a)(Vt,"".concat(jt,"-range-hover-edge-start-near-range"),vn&&Er(sr,Dr)),Object(N.a)(Vt,"".concat(jt,"-range-hover-edge-end-near-range"),Rn&&Er(br,Mr)),Object(N.a)(Vt,"".concat(jt,"-today"),Er(Zr,xt)),Object(N.a)(Vt,"".concat(jt,"-selected"),Er(Jr,xt)),Vt}return an}function Ke(it){for(var jt=it.prefixCls,Zt=it.disabledDate,nr=it.onSelect,Or=it.rowNum,wr=it.colNum,Er=it.prefixColumn,Kr=it.rowClassName,Zr=it.baseDate,Jr=it.getCellClassName,an=it.getCellText,xt=it.getCellNode,Vt=it.getCellDate,sr=it.titleCell,br=it.headerCells,Mr=a.useContext(Y),Dr=Mr.onDateMouseEnter,rn=Mr.onDateMouseLeave,fn="".concat(jt,"-cell"),wn=[],Hn=0;Hn<Or;Hn+=1){for(var Sn=[],bn=void 0,Mn=function(En){var In=Hn*wr+En,Xn=Vt(Zr,In),ai=Zt&&Zt(Xn);En===0&&(bn=Xn,Er&&Sn.push(Er(bn))),Sn.push(a.createElement("td",{key:En,title:sr&&sr(Xn),className:C()(fn,Object(B.a)(Object(N.a)({},"".concat(fn,"-disabled"),ai),Jr(Xn))),onClick:function(){ai||nr(Xn)},onMouseEnter:function(){!ai&&Dr&&Dr(Xn)},onMouseLeave:function(){!ai&&rn&&rn(Xn)}},xt?xt(Xn):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:Kr&&Kr(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 ct(it){var jt=it.prefixCls,Zt=it.generateConfig,nr=it.prefixColumn,Or=it.locale,wr=it.rowCount,Er=it.viewDate,Kr=it.value,Zr=it.dateRender,Jr=a.useContext(Ge),an=Jr.rangedValue,xt=Jr.hoverRangedValue,Vt=we(Or.locale,Zt,Er),sr="".concat(jt,"-cell"),br=Zt.locale.getWeekFirstDay(Or.locale),Mr=Zt.getNow(),Dr=[],rn=Or.shortWeekDays||(Zt.locale.getShortWeekDays?Zt.locale.getShortWeekDays(Or.locale):[]);nr&&Dr.push(a.createElement("th",{key:"empty","aria-label":"empty cell"}));for(var fn=0;fn<Ze;fn+=1)Dr.push(a.createElement("th",{key:fn},rn[(fn+br)%Ze]));var wn=qe({cellPrefixCls:sr,today:Mr,value:Kr,generateConfig:Zt,rangedValue:nr?null:an,hoverRangedValue:nr?null:xt,isSameCell:function(bn,Mn){return or(Zt,bn,Mn)},isInView:function(bn){return It(Zt,bn,Er)},offsetCell:function(bn,Mn){return Zt.addDate(bn,Mn)}}),Hn=Zr?function(Sn){return Zr(Sn,Mr)}:void 0;return a.createElement(Ke,Object.assign({},it,{rowNum:wr,colNum:Ze,baseDate:Vt,getCellNode:Hn,getCellText:Zt.getDate,getCellClassName:wn,getCellDate:Zt.addDate,titleCell:function(bn){return Zt.locale.format(Or.locale,bn,"YYYY-MM-DD")},headerCells:Dr}))}var wt=ct;function Lt(it){var jt=it.prefixCls,Zt=it.generateConfig,nr=it.locale,Or=it.viewDate,wr=it.onNextMonth,Er=it.onPrevMonth,Kr=it.onNextYear,Zr=it.onPrevYear,Jr=it.onYearClick,an=it.onMonthClick,xt=a.useContext(Y),Vt=xt.hideHeader;if(Vt)return null;var sr="".concat(jt,"-header"),br=nr.shortMonths||(Zt.locale.getShortMonths?Zt.locale.getShortMonths(nr.locale):[]),Mr=Zt.getMonth(Or),Dr=a.createElement("button",{type:"button",key:"year",onClick:Jr,tabIndex:-1,className:"".concat(jt,"-year-btn")},Zt.locale.format(nr.locale,Or,nr.yearFormat)),rn=a.createElement("button",{type:"button",key:"month",onClick:an,tabIndex:-1,className:"".concat(jt,"-month-btn")},nr.monthFormat?Zt.locale.format(nr.locale,Or,nr.monthFormat):br[Mr]),fn=nr.monthBeforeYear?[rn,Dr]:[Dr,rn];return a.createElement(G,Object.assign({},it,{prefixCls:sr,onSuperPrev:Zr,onPrev:Er,onNext:wr,onSuperNext:Kr}),fn)}var de=Lt,xe=6;function $(it){var jt=it.prefixCls,Zt=it.panelName,nr=Zt===void 0?"date":Zt,Or=it.keyboardConfig,wr=it.active,Er=it.operationRef,Kr=it.generateConfig,Zr=it.value,Jr=it.viewDate,an=it.onViewDateChange,xt=it.onPanelChange,Vt=it.onSelect,sr="".concat(jt,"-").concat(nr,"-panel");Er.current={onKeyDown:function(rn){return ne(rn,Object(B.a)({onLeftRight:function(wn){Vt(Kr.addDate(Zr||Jr,wn),"key")},onCtrlLeftRight:function(wn){Vt(Kr.addYear(Zr||Jr,wn),"key")},onUpDown:function(wn){Vt(Kr.addDate(Zr||Jr,wn*Ze),"key")},onPageUpDown:function(wn){Vt(Kr.addMonth(Zr||Jr,wn),"key")}},Or))}};var br=function(rn){var fn=Kr.addYear(Jr,rn);an(fn),xt(null,fn)},Mr=function(rn){var fn=Kr.addMonth(Jr,rn);an(fn),xt(null,fn)};return a.createElement("div",{className:C()(sr,Object(N.a)({},"".concat(sr,"-active"),wr))},a.createElement(de,Object.assign({},it,{prefixCls:jt,value:Zr,viewDate:Jr,onPrevYear:function(){br(-1)},onNextYear:function(){br(1)},onPrevMonth:function(){Mr(-1)},onNextMonth:function(){Mr(1)},onMonthClick:function(){xt("month",Jr)},onYearClick:function(){xt("year",Jr)}})),a.createElement(wt,Object.assign({},it,{onSelect:function(rn){return Vt(rn,"mouse")},prefixCls:jt,value:Zr,viewDate:Jr,rowCount:xe})))}var se=$;function Oe(it,jt,Zt){if(!Zt)return jt;var nr=jt;return nr=it.setHour(nr,it.getHour(Zt)),nr=it.setMinute(nr,it.getMinute(Zt)),nr=it.setSecond(nr,it.getSecond(Zt)),nr}var ke=ze("date","time");function Pe(it){var jt=it.prefixCls,Zt=it.operationRef,nr=it.generateConfig,Or=it.value,wr=it.defaultValue,Er=it.disabledTime,Kr=it.showTime,Zr=it.onSelect,Jr="".concat(jt,"-datetime-panel"),an=a.useState(null),xt=Object(U.a)(an,2),Vt=xt[0],sr=xt[1],br=a.useRef({}),Mr=a.useRef({}),Dr=Object(z.a)(Kr)==="object"?Object(B.a)({},Kr):{};function rn(Sn){var bn=ke.indexOf(Vt)+Sn,Mn=ke[bn]||null;return Mn}var fn=function(bn){Mr.current.onBlur&&Mr.current.onBlur(bn),sr(null)};Zt.current={onKeyDown:function(bn){if(bn.which===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"&&!Or&&Dr.defaultValue?(vn=nr.setHour(vn,nr.getHour(Dr.defaultValue)),vn=nr.setMinute(vn,nr.getMinute(Dr.defaultValue)),vn=nr.setSecond(vn,nr.getSecond(Dr.defaultValue))):Mn==="time"&&!Or&&wr&&(vn=nr.setYear(vn,nr.getYear(wr)),vn=nr.setMonth(vn,nr.getMonth(wr)),vn=nr.setDate(vn,nr.getDate(wr))),Zr&&Zr(vn,"mouse")},Hn=Er?Er(Or||null):{};return a.createElement("div",{className:C()(Jr,Object(N.a)({},"".concat(Jr,"-active"),Vt))},a.createElement(se,Object.assign({},it,{operationRef:br,active:Vt==="date",onSelect:function(bn){wn(Oe(nr,bn,Kr&&Object(z.a)(Kr)==="object"?Kr.defaultValue:null),"date")}})),a.createElement(lt,Object.assign({},it,{format:void 0},Dr,Hn,{defaultValue:void 0,operationRef:Mr,active:Vt==="time",onSelect:function(bn){wn(bn,"time")}})))}var rt=Pe;function At(it){var jt=it.prefixCls,Zt=it.generateConfig,nr=it.locale,Or=it.value,wr="".concat(jt,"-cell"),Er=function(an){return a.createElement("td",{key:"week",className:C()(wr,"".concat(wr,"-week"))},Zt.locale.getWeek(nr.locale,an))},Kr="".concat(jt,"-week-panel-row"),Zr=function(an){return C()(Kr,Object(N.a)({},"".concat(Kr,"-selected"),_e(Zt,nr.locale,Or,an)))};return a.createElement(se,Object.assign({},it,{panelName:"week",prefixColumn:Er,rowClassName:Zr,keyboardConfig:{onLeftRight:null}}))}var Wt=At;function $t(it){var jt=it.prefixCls,Zt=it.generateConfig,nr=it.locale,Or=it.viewDate,wr=it.onNextYear,Er=it.onPrevYear,Kr=it.onYearClick,Zr=a.useContext(Y),Jr=Zr.hideHeader;if(Jr)return null;var an="".concat(jt,"-header");return a.createElement(G,Object.assign({},it,{prefixCls:an,onSuperPrev:Er,onSuperNext:wr}),a.createElement("button",{type:"button",onClick:Kr,className:"".concat(jt,"-year-btn")},Zt.locale.format(nr.locale,Or,nr.yearFormat)))}var Rt=$t,zt=3,Gt=4;function Qt(it){var jt=it.prefixCls,Zt=it.locale,nr=it.value,Or=it.viewDate,wr=it.generateConfig,Er=it.monthCellRender,Kr=a.useContext(Ge),Zr=Kr.rangedValue,Jr=Kr.hoverRangedValue,an="".concat(jt,"-cell"),xt=qe({cellPrefixCls:an,value:nr,generateConfig:wr,rangedValue:Zr,hoverRangedValue:Jr,isSameCell:function(Dr,rn){return It(wr,Dr,rn)},isInView:function(){return!0},offsetCell:function(Dr,rn){return wr.addMonth(Dr,rn)}}),Vt=Zt.shortMonths||(wr.locale.getShortMonths?wr.locale.getShortMonths(Zt.locale):[]),sr=wr.setMonth(Or,0),br=Er?function(Mr){return Er(Mr,Zt)}:void 0;return a.createElement(Ke,Object.assign({},it,{rowNum:Gt,colNum:zt,baseDate:sr,getCellNode:br,getCellText:function(Dr){return Zt.monthFormat?wr.locale.format(Zt.locale,Dr,Zt.monthFormat):Vt[wr.getMonth(Dr)]},getCellClassName:xt,getCellDate:wr.addMonth,titleCell:function(Dr){return wr.locale.format(Zt.locale,Dr,"YYYY-MM")}}))}var Mt=Qt;function dr(it){var jt=it.prefixCls,Zt=it.operationRef,nr=it.onViewDateChange,Or=it.generateConfig,wr=it.value,Er=it.viewDate,Kr=it.onPanelChange,Zr=it.onSelect,Jr="".concat(jt,"-month-panel");Zt.current={onKeyDown:function(Vt){return ne(Vt,{onLeftRight:function(br){Zr(Or.addMonth(wr||Er,br),"key")},onCtrlLeftRight:function(br){Zr(Or.addYear(wr||Er,br),"key")},onUpDown:function(br){Zr(Or.addMonth(wr||Er,br*zt),"key")},onEnter:function(){Kr("date",wr||Er)}})}};var an=function(Vt){var sr=Or.addYear(Er,Vt);nr(sr),Kr(null,sr)};return a.createElement("div",{className:Jr},a.createElement(Rt,Object.assign({},it,{prefixCls:jt,onPrevYear:function(){an(-1)},onNextYear:function(){an(1)},onYearClick:function(){Kr("year",Er)}})),a.createElement(Mt,Object.assign({},it,{prefixCls:jt,onSelect:function(Vt){Zr(Vt,"mouse"),Kr("date",Vt)}})))}var er=dr;function ht(it){var jt=it.prefixCls,Zt=it.generateConfig,nr=it.locale,Or=it.viewDate,wr=it.onNextYear,Er=it.onPrevYear,Kr=it.onYearClick,Zr=a.useContext(Y),Jr=Zr.hideHeader;if(Jr)return null;var an="".concat(jt,"-header");return a.createElement(G,Object.assign({},it,{prefixCls:an,onSuperPrev:Er,onSuperNext:wr}),a.createElement("button",{type:"button",onClick:Kr,className:"".concat(jt,"-year-btn")},Zt.locale.format(nr.locale,Or,nr.yearFormat)))}var Et=ht,pt=4,vt=1;function Nt(it){var jt=it.prefixCls,Zt=it.locale,nr=it.value,Or=it.viewDate,wr=it.generateConfig,Er=a.useContext(Ge),Kr=Er.rangedValue,Zr=Er.hoverRangedValue,Jr="".concat(jt,"-cell"),an=qe({cellPrefixCls:Jr,value:nr,generateConfig:wr,rangedValue:Kr,hoverRangedValue:Zr,isSameCell:function(sr,br){return bt(wr,sr,br)},isInView:function(){return!0},offsetCell:function(sr,br){return wr.addMonth(sr,br*3)}}),xt=wr.setDate(wr.setMonth(Or,0),1);return a.createElement(Ke,Object.assign({},it,{rowNum:vt,colNum:pt,baseDate:xt,getCellText:function(sr){return wr.locale.format(Zt.locale,sr,Zt.quarterFormat||"[Q]Q")},getCellClassName:an,getCellDate:function(sr,br){return wr.addMonth(sr,br*3)},titleCell:function(sr){return wr.locale.format(Zt.locale,sr,"YYYY-[Q]Q")}}))}var _t=Nt;function gt(it){var jt=it.prefixCls,Zt=it.operationRef,nr=it.onViewDateChange,Or=it.generateConfig,wr=it.value,Er=it.viewDate,Kr=it.onPanelChange,Zr=it.onSelect,Jr="".concat(jt,"-quarter-panel");Zt.current={onKeyDown:function(Vt){return ne(Vt,{onLeftRight:function(br){Zr(Or.addMonth(wr||Er,br*3),"key")},onCtrlLeftRight:function(br){Zr(Or.addYear(wr||Er,br),"key")},onUpDown:function(br){Zr(Or.addYear(wr||Er,br),"key")}})}};var an=function(Vt){var sr=Or.addYear(Er,Vt);nr(sr),Kr(null,sr)};return a.createElement("div",{className:Jr},a.createElement(Et,Object.assign({},it,{prefixCls:jt,onPrevYear:function(){an(-1)},onNextYear:function(){an(1)},onYearClick:function(){Kr("year",Er)}})),a.createElement(_t,Object.assign({},it,{prefixCls:jt,onSelect:function(Vt){Zr(Vt,"mouse")}})))}var Ht=gt;function kt(it){var jt=it.prefixCls,Zt=it.generateConfig,nr=it.viewDate,Or=it.onPrevDecade,wr=it.onNextDecade,Er=it.onDecadeClick,Kr=a.useContext(Y),Zr=Kr.hideHeader;if(Zr)return null;var Jr="".concat(jt,"-header"),an=Zt.getYear(nr),xt=Math.floor(an/kr)*kr,Vt=xt+kr-1;return a.createElement(G,Object.assign({},it,{prefixCls:Jr,onSuperPrev:Or,onSuperNext:wr}),a.createElement("button",{type:"button",onClick:Er,className:"".concat(jt,"-decade-btn")},xt,"-",Vt))}var ir=kt,Xt=3,mr=4;function Ar(it){var jt=it.prefixCls,Zt=it.value,nr=it.viewDate,Or=it.locale,wr=it.generateConfig,Er=a.useContext(Ge),Kr=Er.rangedValue,Zr=Er.hoverRangedValue,Jr="".concat(jt,"-cell"),an=wr.getYear(nr),xt=Math.floor(an/kr)*kr,Vt=xt+kr-1,sr=wr.setYear(nr,xt-Math.ceil((Xt*mr-kr)/2)),br=function(rn){var fn=wr.getYear(rn);return xt<=fn&&fn<=Vt},Mr=qe({cellPrefixCls:Jr,value:Zt,generateConfig:wr,rangedValue:Kr,hoverRangedValue:Zr,isSameCell:function(rn,fn){return mt(wr,rn,fn)},isInView:br,offsetCell:function(rn,fn){return wr.addYear(rn,fn)}});return a.createElement(Ke,Object.assign({},it,{rowNum:mr,colNum:Xt,baseDate:sr,getCellText:wr.getYear,getCellClassName:Mr,getCellDate:wr.addYear,titleCell:function(rn){return wr.locale.format(Or.locale,rn,"YYYY")}}))}var Nr=Ar,kr=10;function tn(it){var jt=it.prefixCls,Zt=it.operationRef,nr=it.onViewDateChange,Or=it.generateConfig,wr=it.value,Er=it.viewDate,Kr=it.sourceMode,Zr=it.onSelect,Jr=it.onPanelChange,an="".concat(jt,"-year-panel");Zt.current={onKeyDown:function(sr){return ne(sr,{onLeftRight:function(Mr){Zr(Or.addYear(wr||Er,Mr),"key")},onCtrlLeftRight:function(Mr){Zr(Or.addYear(wr||Er,Mr*kr),"key")},onUpDown:function(Mr){Zr(Or.addYear(wr||Er,Mr*Xt),"key")},onEnter:function(){Jr(Kr==="date"?"date":"month",wr||Er)}})}};var xt=function(sr){var br=Or.addYear(Er,sr*10);nr(br),Jr(null,br)};return a.createElement("div",{className:an},a.createElement(ir,Object.assign({},it,{prefixCls:jt,onPrevDecade:function(){xt(-1)},onNextDecade:function(){xt(1)},onDecadeClick:function(){Jr("decade",Er)}})),a.createElement(Nr,Object.assign({},it,{prefixCls:jt,onSelect:function(sr){Jr(Kr==="date"?"date":"month",sr),Zr(sr,"mouse")}})))}var qr=tn;function _r(it){var jt=it.prefixCls,Zt=it.generateConfig,nr=it.viewDate,Or=it.onPrevDecades,wr=it.onNextDecades,Er=a.useContext(Y),Kr=Er.hideHeader;if(Kr)return null;var Zr="".concat(jt,"-header"),Jr=Zt.getYear(nr),an=Math.floor(Jr/xr)*xr,xt=an+xr-1;return a.createElement(G,Object.assign({},it,{prefixCls:Zr,onSuperPrev:Or,onSuperNext:wr}),an,"-",xt)}var Qr=_r,Lr=3,ur=4;function pr(it){var jt=fr-1,Zt=it.prefixCls,nr=it.viewDate,Or=it.generateConfig,wr=it.disabledDate,Er="".concat(Zt,"-cell"),Kr=Or.getYear(nr),Zr=Math.floor(Kr/fr)*fr,Jr=Math.floor(Kr/xr)*xr,an=Jr+xr-1,xt=Or.setYear(nr,Jr-Math.ceil((Lr*ur*fr-xr)/2)),Vt=function(br){var Mr,Dr=wr&&wr(br),rn=Or.getYear(br),fn=rn+jt;return Mr={},Object(N.a)(Mr,"".concat(Er,"-disabled"),Dr),Object(N.a)(Mr,"".concat(Er,"-in-view"),Jr<=rn&&fn<=an),Object(N.a)(Mr,"".concat(Er,"-selected"),rn===Zr),Mr};return a.createElement(Ke,Object.assign({},it,{rowNum:ur,colNum:Lr,baseDate:xt,getCellText:function(br){var Mr=Or.getYear(br);return"".concat(Mr,"-").concat(Mr+jt)},getCellClassName:Vt,getCellDate:function(br,Mr){return Or.addYear(br,Mr*fr)}}))}var cr=pr,fr=10,xr=fr*10;function Yr(it){var jt=it.prefixCls,Zt=it.onViewDateChange,nr=it.generateConfig,Or=it.viewDate,wr=it.operationRef,Er=it.onSelect,Kr=it.onPanelChange,Zr="".concat(jt,"-decade-panel");wr.current={onKeyDown:function(Vt){return ne(Vt,{onLeftRight:function(br){Er(nr.addYear(Or,br*fr),"key")},onCtrlLeftRight:function(br){Er(nr.addYear(Or,br*xr),"key")},onUpDown:function(br){Er(nr.addYear(Or,br*fr*Lr),"key")},onEnter:function(){Kr("year",Or)}})}};var Jr=function(Vt){var sr=nr.addYear(Or,Vt*xr);Zt(sr),Kr(null,sr)},an=function(Vt){Er(Vt,"mouse"),Kr("year",Vt)};return a.createElement("div",{className:Zr},a.createElement(Qr,Object.assign({},it,{prefixCls:jt,onPrevDecades:function(){Jr(-1)},onNextDecades:function(){Jr(1)}})),a.createElement(cr,Object.assign({},it,{prefixCls:jt,onSelect:an})))}var un=Yr;function Nn(it,jt,Zt){return Zt?a.createElement("div",{className:"".concat(it,"-footer-extra")},Zt(jt)):null}function jr(it){var jt=it.prefixCls,Zt=it.rangeList,nr=Zt===void 0?[]:Zt,Or=it.components,wr=Or===void 0?{}:Or,Er=it.needConfirmButton,Kr=it.onNow,Zr=it.onOk,Jr=it.okDisabled,an=it.showNow,xt=it.locale,Vt,sr;if(nr.length){var br=wr.rangeItem||"span";Vt=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";Kr&&!Vt&&an!==!1&&(Vt=a.createElement("li",{className:"".concat(jt,"-now")},a.createElement("a",{className:"".concat(jt,"-now-btn"),onClick:Kr},xt.now))),sr=Er&&a.createElement("li",{className:"".concat(jt,"-ok")},a.createElement(Mr,{disabled:Jr,onClick:Zr},xt.ok))}return!Vt&&!sr?null:a.createElement("ul",{className:"".concat(jt,"-ranges")},Vt,sr)}function Tn(it){var jt,Zt=it.prefixCls,nr=Zt===void 0?"rc-picker":Zt,Or=it.className,wr=it.style,Er=it.locale,Kr=it.generateConfig,Zr=it.value,Jr=it.defaultValue,an=it.pickerValue,xt=it.defaultPickerValue,Vt=it.disabledDate,sr=it.mode,br=it.picker,Mr=br===void 0?"date":br,Dr=it.tabIndex,rn=Dr===void 0?0:Dr,fn=it.showNow,wn=it.showTime,Hn=it.showToday,Sn=it.renderExtraFooter,bn=it.hideHeader,Mn=it.onSelect,vn=it.onChange,Rn=it.onPanelChange,En=it.onMouseDown,In=it.onPickerValueChange,Xn=it.onOk,ai=it.components,ri=it.direction,Di=it.hourStep,yi=Di===void 0?1:Di,xi=it.minuteStep,_i=xi===void 0?1:xi,Un=it.secondStep,Ri=Un===void 0?1:Un,fa=Mr==="date"&&!!wn||Mr==="time",Ui=24%yi===0,Mi=60%_i===0,mi=60%Ri===0,hi=a.useContext(Y),qi=hi.operationRef,va=hi.panelRef,Ea=hi.onSelect,ya=hi.hideRanges,oa=hi.defaultOpenValue,sa=a.useContext(Ge),Ni=sa.inRange,$n=sa.panelPosition,Ai=sa.rangedValue,Ii=sa.hoverRangedValue,Vi=a.useRef({}),Xi=a.useRef(!0),bi=Object(H.a)(null,{value:Zr,defaultValue:Jr,postState:function(pi){return!pi&&oa&&Mr==="time"?oa:pi}}),Aa=Object(U.a)(bi,2),ca=Aa[0],la=Aa[1],gi=Object(H.a)(null,{value:an,defaultValue:xt||ca,postState:function(pi){return pi||Kr.getNow()}}),Ba=Object(U.a)(gi,2),Ma=Ba[0],ra=Ba[1],Yi=function(pi){ra(pi),In&&In(pi)},Xa=function(pi){var Gi=he[Mr];return Gi?Gi(pi):pi},zi=Object(H.a)(function(){return Mr==="time"?"time":Xa("date")},{value:sr}),Ki=Object(U.a)(zi,2),ba=Ki[0],Ua=Ki[1];a.useEffect(function(){Ua(Mr)},[Mr]);var wa=a.useState(function(){return ba}),vi=Object(U.a)(wa,2),Ya=vi[0],za=vi[1],pa=function(pi,Gi){var oo=Xa(pi||ba);za(ba),Ua(oo),Rn&&(ba!==oo||Ce(Kr,Ma,Ma))&&Rn(Gi,oo)},Oi=function(pi,Gi){var oo=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;(ba===Mr||oo)&&(la(pi),Mn&&Mn(pi),Ea&&Ea(pi,Gi),vn&&!Ce(Kr,pi,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(A.a)(!1,"Panel not correct handle keyDown event. Please help to fire issue about this."),!1)},Ka=function(pi){Vi.current&&Vi.current.onBlur&&Vi.current.onBlur(pi)};qi&&$n!=="right"&&(qi.current={onKeyDown:So,onClose:function(){Vi.current&&Vi.current.onClose&&Vi.current.onClose()}}),a.useEffect(function(){Zr&&!Xi.current&&ra(Zr)},[Zr]),a.useEffect(function(){Xi.current=!1},[]);var ja,qa=Object(B.a)(Object(B.a)({},it),{},{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),Oi(pi,Gi)}}));break;case"year":ja=a.createElement(qr,Object.assign({},qa,{onSelect:function(pi,Gi){Yi(pi),Oi(pi,Gi)}}));break;case"month":ja=a.createElement(er,Object.assign({},qa,{onSelect:function(pi,Gi){Yi(pi),Oi(pi,Gi)}}));break;case"quarter":ja=a.createElement(Ht,Object.assign({},qa,{onSelect:function(pi,Gi){Yi(pi),Oi(pi,Gi)}}));break;case"week":ja=a.createElement(Wt,Object.assign({},qa,{onSelect:function(pi,Gi){Yi(pi),Oi(pi,Gi)}}));break;case"time":delete qa.showTime,ja=a.createElement(lt,Object.assign({},qa,Object(z.a)(wn)==="object"?wn:null,{onSelect:function(pi,Gi){Yi(pi),Oi(pi,Gi)}}));break;default:wn?ja=a.createElement(rt,Object.assign({},qa,{onSelect:function(pi,Gi){Yi(pi),Oi(pi,Gi)}})):ja=a.createElement(se,Object.assign({},qa,{onSelect:function(pi,Gi){Yi(pi),Oi(pi,Gi)}}))}var ho,Ca,to=function(){var pi=Kr.getNow(),Gi=Xe(Kr.getHour(pi),Kr.getMinute(pi),Kr.getSecond(pi),Ui?yi:1,Mi?_i:1,mi?Ri:1),oo=st(Kr,pi,Gi[0],Gi[1],Gi[2]);Oi(oo,"submit")};ya||(ho=Nn(nr,ba,Sn),Ca=jr({prefixCls:nr,components:ai,needConfirmButton:fa,okDisabled:!ca||Vt&&Vt(ca),locale:Er,showNow:fn,onNow:fa&&to,onOk:function(){ca&&(Oi(ca,"submit",!0),Xn&&Xn(ca))}}));var _o;if(Hn&&ba==="date"&&Mr==="date"&&!wn){var Ia=Kr.getNow(),ki="".concat(nr,"-today-btn"),Za=Vt&&Vt(Ia);_o=a.createElement("a",{className:C()(ki,Za&&"".concat(ki,"-disabled")),"aria-disabled":Za,onClick:function(){Za||Oi(Ia,"mouse",!0)}},Er.today)}return a.createElement(Y.Provider,{value:Object(B.a)(Object(B.a)({},hi),{},{hideHeader:"hideHeader"in it?bn:hi.hideHeader,hidePrevBtn:Ni&&$n==="right",hideNextBtn:Ni&&$n==="left"})},a.createElement("div",{tabIndex:rn,className:C()("".concat(nr,"-panel"),Or,(jt={},Object(N.a)(jt,"".concat(nr,"-panel-has-range"),Ai&&Ai[0]&&Ai[1]),Object(N.a)(jt,"".concat(nr,"-panel-has-range-hover"),Ii&&Ii[0]&&Ii[1]),Object(N.a)(jt,"".concat(nr,"-panel-rtl"),ri==="rtl"),jt)),style:wr,onKeyDown:So,onBlur:Ka,onMouseDown:En,ref:va},ja,ho||Ca||_o?a.createElement("div",{className:"".concat(nr,"-footer")},ho,Ca,_o):null))}var gn=Tn,Bn=e("uciX"),Kn={bottomLeft:{points:["tl","bl"],offset:[0,4],overflow:{adjustX:1,adjustY:1}},bottomRight:{points:["tr","br"],offset:[0,4],overflow:{adjustX:1,adjustY:1}},topLeft:{points:["bl","tl"],offset:[0,-4],overflow:{adjustX:0,adjustY:1}},topRight:{points:["br","tr"],offset:[0,-4],overflow:{adjustX:0,adjustY:1}}};function qn(it){var jt,Zt=it.prefixCls,nr=it.popupElement,Or=it.popupStyle,wr=it.visible,Er=it.dropdownClassName,Kr=it.dropdownAlign,Zr=it.transitionName,Jr=it.getPopupContainer,an=it.children,xt=it.range,Vt=it.popupPlacement,sr=it.direction,br="".concat(Zt,"-dropdown"),Mr=function(){return Vt!==void 0?Vt:sr==="rtl"?"bottomRight":"bottomLeft"};return a.createElement(Bn.a,{showAction:[],hideAction:[],popupPlacement:Mr(),builtinPlacements:Kn,prefixCls:br,popupTransitionName:Zr,popup:nr,popupAlign:Kr,popupVisible:wr,popupClassName:C()(Er,(jt={},Object(N.a)(jt,"".concat(br,"-range"),xt),Object(N.a)(jt,"".concat(br,"-rtl"),sr==="rtl"),jt)),popupStyle:Or,getPopupContainer:Jr},an)}var Yn=qn;function Vn(it){var jt=it.open,Zt=it.value,nr=it.isClickOutside,Or=it.triggerOpen,wr=it.forwardKeyDown,Er=it.blurToCancel,Kr=it.onSubmit,Zr=it.onCancel,Jr=it.onFocus,an=it.onBlur,xt=Object(a.useState)(!1),Vt=Object(U.a)(xt,2),sr=Vt[0],br=Vt[1],Mr=Object(a.useState)(!1),Dr=Object(U.a)(Mr,2),rn=Dr[0],fn=Dr[1],wn=Object(a.useRef)(!1),Hn=Object(a.useRef)(!1),Sn={onMouseDown:function(){br(!0),Or(!0)},onKeyDown:function(Mn){switch(Mn.which){case X.a.ENTER:{jt?Kr()!==!1&&br(!0):Or(!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),Zr();return}}!jt&&![X.a.SHIFT].includes(Mn.which)?Or(!0):sr||wr(Mn)},onFocus:function(Mn){br(!0),fn(!0),Jr&&Jr(Mn)},onBlur:function(Mn){if(wn.current||!nr(document.activeElement)){wn.current=!1;return}Er?setTimeout(function(){nr(document.activeElement)&&Zr()},0):jt&&(Or(!1),Hn.current&&Kr()),fn(!1),an&&an(Mn)}};return Object(a.useEffect)(function(){Hn.current=!1},[jt]),Object(a.useEffect)(function(){Hn.current=!0},[Zt]),Object(a.useEffect)(function(){return V(function(bn){var Mn=bn.target;jt&&(nr(Mn)?rn||Or(!1):(wn.current=!0,requestAnimationFrame(function(){wn.current=!1})))})}),[Sn,{focused:rn,typing:sr}]}function An(it){var jt=it.valueTexts,Zt=it.onTextChange,nr=a.useState(""),Or=Object(U.a)(nr,2),wr=Or[0],Er=Or[1],Kr=a.useRef([]);Kr.current=jt;function Zr(an){Er(an),Zt(an)}function Jr(){Er(Kr.current[0])}return a.useEffect(function(){jt.every(function(an){return an!==wr})&&Jr()},[jt.join("||")]),[wr,Zr,Jr]}var on=e("Gytx"),ia=e.n(on);function xa(it,jt){var Zt=jt.formatList,nr=jt.generateConfig,Or=jt.locale;return Object(ve.a)(function(){if(!it)return[[""],""];for(var wr="",Er=[],Kr=0;Kr<Zt.length;Kr+=1){var Zr=Zt[Kr],Jr=nr.locale.format(Or.locale,it,Zr);Er.push(Jr),Kr===0&&(wr=Jr)}return[Er,wr]},[it,Zt],function(wr,Er){return wr[0]!==Er[0]||!ia()(wr[1],Er[1])})}function ta(it,jt){var Zt=jt.formatList,nr=jt.generateConfig,Or=jt.locale,wr=Object(a.useState)(null),Er=Object(U.a)(wr,2),Kr=Er[0],Zr=Er[1],Jr=xa(Kr,{formatList:Zt,generateConfig:nr,locale:Or}),an=Object(U.a)(Jr,2),xt=an[1];function Vt(br){Zr(br)}function sr(){Zr(null)}return Object(a.useEffect)(function(){sr()},[it]),[xt,Vt,sr]}function Li(it){var jt,Zt=it.prefixCls,nr=Zt===void 0?"rc-picker":Zt,Or=it.id,wr=it.tabIndex,Er=it.style,Kr=it.className,Zr=it.dropdownClassName,Jr=it.dropdownAlign,an=it.popupStyle,xt=it.transitionName,Vt=it.generateConfig,sr=it.locale,br=it.inputReadOnly,Mr=it.allowClear,Dr=it.autoFocus,rn=it.showTime,fn=it.picker,wn=fn===void 0?"date":fn,Hn=it.format,Sn=it.use12Hours,bn=it.value,Mn=it.defaultValue,vn=it.open,Rn=it.defaultOpen,En=it.defaultOpenValue,In=it.suffixIcon,Xn=it.clearIcon,ai=it.disabled,ri=it.disabledDate,Di=it.placeholder,yi=it.getPopupContainer,xi=it.pickerRef,_i=it.panelRender,Un=it.onChange,Ri=it.onOpenChange,fa=it.onFocus,Ui=it.onBlur,Mi=it.onMouseDown,mi=it.onMouseUp,hi=it.onMouseEnter,qi=it.onMouseLeave,va=it.onContextMenu,Ea=it.onClick,ya=it.direction,oa=it.autoComplete,sa=oa===void 0?"off":oa,Ni=a.useRef(null),$n=wn==="date"&&!!rn||wn==="time",Ai=dt(be(Hn,wn,rn,Sn)),Ii=a.useRef(null),Vi=a.useRef(null),Xi=Object(H.a)(null,{value:bn,defaultValue:Mn}),bi=Object(U.a)(Xi,2),Aa=bi[0],ca=bi[1],la=a.useState(Aa),gi=Object(U.a)(la,2),Ba=gi[0],Ma=gi[1],ra=a.useRef(null),Yi=Object(H.a)(!1,{value:vn,defaultValue:Rn,postState:function(Ji){return ai?!1:Ji},onChange:function(Ji){Ri&&Ri(Ji),!Ji&&ra.current&&ra.current.onClose&&ra.current.onClose()}}),Xa=Object(U.a)(Yi,2),zi=Xa[0],Ki=Xa[1],ba=xa(Ba,{formatList:Ai,generateConfig:Vt,locale:sr}),Ua=Object(U.a)(ba,2),wa=Ua[0],vi=Ua[1],Ya=An({valueTexts:wa,onTextChange:function(Ji){var xo=Vt.locale.parse(sr.locale,Ji,Ai);xo&&(!ri||!ri(xo))&&Ma(xo)}}),za=Object(U.a)(Ya,3),pa=za[0],Oi=za[1],So=za[2],Ka=function(Ji){Ma(Ji),ca(Ji),Un&&!Ce(Vt,Aa,Ji)&&Un(Ji,Ji?Vt.locale.format(sr.locale,Ji,Ai[0]):"")},ja=function(Ji){if(ai&&Ji)return;Ki(Ji)},qa=function(Ji){return zi&&ra.current&&ra.current.onKeyDown?ra.current.onKeyDown(Ji):(Object(A.a)(!1,"Picker not correct forward KeyDown operation. Please help to fire issue about this."),!1)},ho=function(){mi&&mi.apply(void 0,arguments),Ni.current&&(Ni.current.focus(),ja(!0))},Ca=Vn({blurToCancel:$n,open:zi,value:pa,triggerOpen:ja,forwardKeyDown:qa,isClickOutside:function(Ji){return!te([Ii.current,Vi.current],Ji)},onSubmit:function(){return ri&&ri(Ba)?!1:(Ka(Ba),ja(!1),So(),!0)},onCancel:function(){ja(!1),Ma(Aa),So()},onFocus:fa,onBlur:Ui}),to=Object(U.a)(Ca,2),_o=to[0],Ia=to[1],ki=Ia.focused,Za=Ia.typing;a.useEffect(function(){zi||(Ma(Aa),!wa.length||wa[0]===""?Oi(""):vi!==pa&&So())},[zi,wa]),a.useEffect(function(){zi||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(B.a)(Object(B.a)({},it),{},{className:void 0,style:void 0,pickerValue:void 0,onPickerValueChange:void 0}),pi=a.createElement(gn,Object.assign({},Da,{generateConfig:Vt,className:C()(Object(N.a)({},"".concat(nr,"-panel-focused"),!Za)),value:Ba,locale:sr,tabIndex:-1,onChange:Ma,direction:ya}));_i&&(pi=_i(pi));var Gi=a.createElement("div",{className:"".concat(nr,"-panel-container"),onMouseDown:function(Ji){Ji.preventDefault()}},pi),oo;In&&(oo=a.createElement("span",{className:"".concat(nr,"-suffix")},In));var go;Mr&&Aa&&!ai&&(go=a.createElement("span",{onMouseDown:function(Ji){Ji.preventDefault(),Ji.stopPropagation()},onMouseUp:function(Ji){Ji.preventDefault(),Ji.stopPropagation(),Ka(null),ja(!1)},className:"".concat(nr,"-clear")},Xn||a.createElement("span",{className:"".concat(nr,"-clear-btn")})));var fo=function(Ji,xo){(xo==="submit"||xo!=="key"&&!$n)&&(Ka(Ji),ja(!1))},Ta=ya==="rtl"?"bottomRight":"bottomLeft",Fi=ta(pa,{formatList:Ai,generateConfig:Vt,locale:sr}),Ra=Object(U.a)(Fi,3),Vo=Ra[0],ro=Ra[1],vo=Ra[2];return a.createElement(Y.Provider,{value:{operationRef:ra,hideHeader:wn==="time",panelRef:Ii,onSelect:fo,open:zi,defaultOpenValue:En,onDateMouseEnter:ro,onDateMouseLeave:vo}},a.createElement(Yn,{visible:zi,popupElement:Gi,popupStyle:an,prefixCls:nr,dropdownClassName:Zr,dropdownAlign:Jr,getPopupContainer:yi,transitionName:xt,popupPlacement:Ta,direction:ya},a.createElement("div",{className:C()(nr,Kr,(jt={},Object(N.a)(jt,"".concat(nr,"-disabled"),ai),Object(N.a)(jt,"".concat(nr,"-focused"),ki),Object(N.a)(jt,"".concat(nr,"-rtl"),ya==="rtl"),jt)),style:Er,onMouseDown:Mi,onMouseUp:ho,onMouseEnter:hi,onMouseLeave:qi,onContextMenu:va,onClick:Ea},a.createElement("div",{className:C()("".concat(nr,"-input"),Object(N.a)({},"".concat(nr,"-input-placeholder"),!!Vo)),ref:Vi},a.createElement("input",Object.assign({id:Or,tabIndex:wr,disabled:ai,readOnly:br||!Za,value:Vo||pa,onChange:function(Ji){Oi(Ji.target.value)},autoFocus:Dr,placeholder:Di,ref:Ni,title:pa},_o,{size:ot(wn,Ai[0])},De(it),{autoComplete:sa})),oo,go))))}var Ci=function(it){Object(j.a)(Zt,it);var jt=Object(K.a)(Zt);function Zt(){var nr;return Object(F.a)(this,Zt),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(P.a)(Zt,[{key:"render",value:function(){return a.createElement(Li,Object.assign({},this.props,{pickerRef:this.pickerRef}))}}]),Zt}(a.Component),Gn=Ci;function Oa(it,jt,Zt){var nr=it.picker,Or=it.locale,wr=it.selectedValue,Er=it.disabledDate,Kr=it.disabled,Zr=it.generateConfig,Jr=Tt(wr,0),an=Tt(wr,1);function xt(Dr){var rn=Zr.getYear(Dr),fn=Zr.locale.getWeek(Or.locale,Dr);return rn*100+fn}function Vt(Dr){var rn=Zr.getYear(Dr),fn=Zr.getMonth(Dr);return rn*100+fn}function sr(Dr){var rn=Zr.getYear(Dr),fn=ft(Zr,Dr);return rn*10+fn}var br=a.useCallback(function(Dr){if(Er&&Er(Dr))return!0;if(Kr[1]&&an)return!or(Zr,Dr,an)&&Zr.isAfter(Dr,an);if(jt&&an)switch(nr){case"quarter":return sr(Dr)>sr(an);case"month":return Vt(Dr)>Vt(an);case"week":return xt(Dr)>xt(an);default:return!or(Zr,Dr,an)&&Zr.isAfter(Dr,an)}return!1},[Er,Kr[1],an,jt]),Mr=a.useCallback(function(Dr){if(Er&&Er(Dr))return!0;if(Kr[0]&&Jr)return!or(Zr,Dr,an)&&Zr.isAfter(Jr,Dr);if(Zt&&Jr)switch(nr){case"quarter":return sr(Dr)<sr(Jr);case"month":return Vt(Dr)<Vt(Jr);case"week":return xt(Dr)<xt(Jr);default:return!or(Zr,Dr,Jr)&&Zr.isAfter(Jr,Dr)}return!1},[Er,Kr[0],Jr,Zt]);return[br,Mr]}function mn(it,jt,Zt,nr){var Or=Fe(it,Zt,nr,1);function wr(Er){return Er(it,jt)?"same":Er(Or,jt)?"closing":"far"}switch(Zt){case"year":return wr(function(Er,Kr){return Jt(nr,Er,Kr)});case"quarter":case"month":return wr(function(Er,Kr){return mt(nr,Er,Kr)});default:return wr(function(Er,Kr){return It(nr,Er,Kr)})}}function On(it,jt,Zt,nr){var Or=Tt(it,0),wr=Tt(it,1);if(jt===0)return Or;if(Or&&wr){var Er=mn(Or,wr,Zt,nr);switch(Er){case"same":return Or;case"closing":return Or;default:return Fe(wr,Zt,nr,-1)}}return Or}function _n(it){var jt=it.values,Zt=it.picker,nr=it.defaultDates,Or=it.generateConfig,wr=a.useState(function(){return[Tt(nr,0),Tt(nr,1)]}),Er=Object(U.a)(wr,2),Kr=Er[0],Zr=Er[1],Jr=a.useState(null),an=Object(U.a)(Jr,2),xt=an[0],Vt=an[1],sr=Tt(jt,0),br=Tt(jt,1);function Mr(rn){return Kr[rn]?Kr[rn]:Tt(xt,rn)||On(jt,rn,Zt,Or)||sr||br||Or.getNow()}function Dr(rn,fn){if(rn){var wn=je(xt,rn,fn);Zr(je(Kr,null,fn)||[null,null]);var Hn=(fn+1)%2;Tt(jt,Hn)||(wn=je(wn,rn,Hn)),Vt(wn)}else(sr||br)&&Vt(null)}return[Mr,Dr]}function Ln(it,jt){return it&&it[0]&&it[1]&&jt.isAfter(it[0],it[1])?[it[1],it[0]]:it}function jn(it,jt,Zt,nr){return it||nr&&nr[jt]?!0:!!Zt[(jt+1)%2]}function ni(it){var jt,Zt,nr,Or=it.prefixCls,wr=Or===void 0?"rc-picker":Or,Er=it.id,Kr=it.style,Zr=it.className,Jr=it.popupStyle,an=it.dropdownClassName,xt=it.transitionName,Vt=it.dropdownAlign,sr=it.getPopupContainer,br=it.generateConfig,Mr=it.locale,Dr=it.placeholder,rn=it.autoFocus,fn=it.disabled,wn=it.format,Hn=it.picker,Sn=Hn===void 0?"date":Hn,bn=it.showTime,Mn=it.use12Hours,vn=it.separator,Rn=vn===void 0?"~":vn,En=it.value,In=it.defaultValue,Xn=it.defaultPickerValue,ai=it.open,ri=it.defaultOpen,Di=it.disabledDate,yi=it.disabledTime,xi=it.dateRender,_i=it.panelRender,Un=it.ranges,Ri=it.allowEmpty,fa=it.allowClear,Ui=it.suffixIcon,Mi=it.clearIcon,mi=it.pickerRef,hi=it.inputReadOnly,qi=it.mode,va=it.renderExtraFooter,Ea=it.onChange,ya=it.onOpenChange,oa=it.onPanelChange,sa=it.onCalendarChange,Ni=it.onFocus,$n=it.onBlur,Ai=it.onOk,Ii=it.components,Vi=it.order,Xi=it.direction,bi=it.activePickerIndex,Aa=it.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),zi=Object(a.useRef)(null),Ki=Object(a.useRef)(null),ba=dt(be(wn,Sn,bn,Mn)),Ua=Object(H.a)(0,{value:bi}),wa=Object(U.a)(Ua,2),vi=wa[0],Ya=wa[1],za=Object(a.useRef)(null),pa=a.useMemo(function(){return Array.isArray(fn)?fn:[fn||!1,fn||!1]},[fn]),Oi=Object(H.a)(null,{value:En,defaultValue:In,postState:function(ui){return Sn==="time"&&!Vi?ui:Ln(ui,br)}}),So=Object(U.a)(Oi,2),Ka=So[0],ja=So[1],qa=_n({values:Ka,picker:Sn,defaultDates:Xn,generateConfig:br}),ho=Object(U.a)(qa,2),Ca=ho[0],to=ho[1],_o=Object(H.a)(Ka,{postState:function(ui){var Pi=ui;if(pa[0]&&pa[1])return Pi;for(var Wn=0;Wn<2;Wn+=1)pa[Wn]&&!Tt(Pi,Wn)&&!Tt(Ri,Wn)&&(Pi=je(Pi,br.getNow(),Wn));return Pi}}),Ia=Object(U.a)(_o,2),ki=Ia[0],Za=Ia[1],Da=Object(H.a)([Sn,Sn],{value:qi}),pi=Object(U.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=Oa({picker:Sn,selectedValue:ki,locale:Mr,disabled:pa,disabledDate:Di,generateConfig:br},gi.current[1],gi.current[0]),Ta=Object(U.a)(fo,2),Fi=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&&za.current&&za.current.onClose&&za.current.onClose()}}),ro=Object(U.a)(Vo,2),vo=ro[0],po=ro[1],Ji=vo&&vi===0,xo=vo&&vi===1,is=Object(a.useState)(0),Zo=Object(U.a)(is,2),Ls=Zo[0],Cs=Zo[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=[zi,Ki][ua];ui.current&&ui.current.focus()},0)}function Ja(ua,ui){var Pi=ua,Wn=Tt(Pi,0),io=Tt(Pi,1);Wn&&io&&br.isAfter(Wn,io)&&(Sn==="week"&&!_e(br,Mr.locale,Wn,io)||Sn==="quarter"&&!bt(br,Wn,io)||Sn!=="week"&&Sn!=="quarter"&&Sn!=="time"&&!or(br,Wn,io)?(ui===0?(Pi=[Wn,null],io=null):(Wn=null,Pi=[null,io]),gi.current=Object(N.a)({},ui,!0)):(Sn!=="time"||Vi!==!1)&&(Pi=Ln(Pi,br))),Za(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 Jo=jn(Wn,0,pa,Ri),$o=jn(io,1,pa,Ri),ws=Pi===null||Jo&&$o;ws&&(ja(Pi),Ea&&(!Ce(br,Tt(Ka,0),Wn)||!Ce(br,Tt(Ka,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]||!Tt(Pi,Ho))&&Tt(Pi,ui)?bo(Ho):Go(!1,ui)}var Ga=function(ui){return vo&&za.current&&za.current.onKeyDown?za.current.onKeyDown(ui):(Object(A.a)(!1,"Picker not correct forward KeyDown operation. Please help to fire issue about this."),!1)},so={formatList:ba,generateConfig:br,locale:Mr},ps=xa(Tt(ki,0),so),Sr=Object(U.a)(ps,2),Xo=Sr[0],ss=Sr[1],_s=xa(Tt(ki,1),so),ka=Object(U.a)(_s,2),_a=ka[0],Oo=ka[1],Io=function(ui,Pi){var Wn=br.locale.parse(Mr.locale,ui,ba),io=Pi===0?Fi:Ra;Wn&&!io(Wn)&&(Za(je(ki,Wn,Pi)),to(Wn,Pi))},ts=An({valueTexts:Xo,onTextChange:function(ui){return Io(ui,0)}}),Po=Object(U.a)(ts,3),rs=Po[0],ms=Po[1],ls=Po[2],Ns=An({valueTexts:_a,onTextChange:function(ui){return Io(ui,1)}}),Ds=Object(U.a)(Ns,3),as=Ds[0],$s=Ds[1],cs=Ds[2],Mo=Object(a.useState)(null),Dn=Object(U.a)(Mo,2),Vs=Dn[0],Os=Dn[1],Bt=Object(a.useState)(null),pe=Object(U.a)(Bt,2),Ie=pe[0],Ne=pe[1],Qe=ta(rs,{formatList:ba,generateConfig:br,locale:Mr}),Ct=Object(U.a)(Qe,3),Ut=Ct[0],hr=Ct[1],gr=Ct[2],Rr=ta(as,{formatList:ba,generateConfig:br,locale:Mr}),$r=Object(U.a)(Rr,3),ln=$r[0],yn=$r[1],Cn=$r[2],Qn=function(ui){Ne(je(ki,ui,vi)),vi===0?hr(ui):yn(ui)},ti=function(){Ne(je(ki,null,vi)),vi===0?gr(null):Cn(null)},wi=function(ui,Pi){return{blurToCancel:la,forwardKeyDown:Ga,onBlur:$n,isClickOutside:function(io){return!te([Ma.current,ra.current,Yi.current],io)},onFocus:function(io){Ya(ui),Ni&&Ni(io)},triggerOpen:function(io){Go(io,ui)},onSubmit:function(){Ja(ki,ui),Pi()},onCancel:function(){Go(!1,ui),Za(Ka),Pi()}}},ea=Vn(Object(B.a)(Object(B.a)({},wi(0,ls)),{},{open:Ji,value:rs})),ji=Object(U.a)(ea,2),Sa=ji[0],lo=ji[1],Wa=lo.focused,yo=lo.typing,Ao=Vn(Object(B.a)(Object(B.a)({},wi(1,cs)),{},{open:xo,value:as})),$a=Object(U.a)(Ao,2),ko=$a[0],No=$a[1],Ha=No.focused,jo=No.typing,Fo=function(ui){!vo&&!zi.current.contains(ui.target)&&!Ki.current.contains(ui.target)&&(pa[0]?pa[1]||bo(1):bo(0))},Qo=function(ui){vo&&(Wa||Ha)&&!zi.current.contains(ui.target)&&!Ki.current.contains(ui.target)&&ui.preventDefault()},wo=Ka&&Ka[0]?br.locale.format(Mr.locale,Ka[0],"YYYYMMDDHHmmss"):"",us=Ka&&Ka[1]?br.locale.format(Mr.locale,Ka[1],"YYYYMMDDHHmmss"):"";Object(a.useEffect)(function(){vo||(Za(Ka),!Xo.length||Xo[0]===""?ms(""):ss!==rs&&ls(),!_a.length||_a[0]===""?$s(""):Oo!==as&&cs())},[vo,Xo,_a]),Object(a.useEffect)(function(){Za(Ka)},[wo,us]),mi&&(mi.current={focus:function(){zi.current&&zi.current.focus()},blur:function(){zi.current&&zi.current.blur(),Ki.current&&Ki.current.blur()}});var ns=Object.keys(Un||{}),Xs=ns.map(function(ua){var ui=Un[ua],Pi=typeof ui=="function"?ui():ui;return{label:ua,onClick:function(){Ja(Pi,null),Go(!1,vi)},onMouseEnter:function(){Os(Pi)},onMouseLeave:function(){Os(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&&Ie&&Ie[0]&&Ie[1]&&br.isAfter(Ie[1],Ie[0])&&(Pi=Ie);var Wn=bn;if(bn&&Object(z.a)(bn)==="object"&&bn.defaultValue){var io=bn.defaultValue;Wn=Object(B.a)(Object(B.a)({},bn),{},{defaultValue:Tt(io,vi)||void 0})}var qo=null;return xi&&(qo=function(os,Jo){return xi(os,Jo,{range:vi?"end":"start"})}),a.createElement(Ge.Provider,{value:{inRange:!0,panelPosition:ua,rangedValue:Vs||ki,hoverRangedValue:Pi}},a.createElement(gn,Object.assign({},it,ui,{dateRender:qo,showTime:Wn,mode:Gi[vi],generateConfig:br,style:void 0,direction:Xi,disabledDate:vi===0?Fi:Ra,disabledTime:function(os){return yi?yi(os,vi===0?"start":"end"):!1},className:C()(Object(N.a)({},"".concat(wr,"-panel-focused"),vi===0?!yo:!jo)),value:Tt(ki,vi),locale:Mr,tabIndex:-1,onPanelChange:function(os,Jo){go(je(Gi,Jo,vi),je(ki,os,vi));var $o=os;ua==="right"&&Gi[vi]===Jo&&($o=Fe($o,Jo,br,-1)),to($o,vi)},onOk:null,onSelect:void 0,onChange:void 0,defaultValue:void 0,defaultPickerValue:void 0})))}var Yo=0,Eo=0;vi&&ra.current&&Xa.current&&Ma.current&&(Yo=ra.current.offsetWidth+Xa.current.offsetWidth,Ma.current.offsetWidth&&Yo>Ma.current.offsetWidth&&(Eo=Yo));var ds=Xi==="rtl"?{right:Yo}:{left:Yo};function hs(){var ua,ui=Nn(wr,Gi[vi],va),Pi=jr({prefixCls:wr,components:Ii,needConfirmButton:la,okDisabled:!Tt(ki,vi)||Di&&Di(ki[vi]),locale:Mr,rangeList:Xs,onOk:function(){Tt(ki,vi)&&(Ja(ki,vi),Ai&&Ai(ki))}});if(Sn!=="time"&&!bn){var Wn=Ca(vi),io=Fe(Wn,Sn,br),qo=Gi[vi],gs=qo===Sn,os=Ys(gs?"left":!1,{pickerValue:Wn,onPickerValueChange:function(Ho){to(Ho,vi)}}),Jo=Ys("right",{pickerValue:io,onPickerValueChange:function(Ho){to(Fe(Ho,Sn,br,-1),vi)}});Xi==="rtl"?ua=a.createElement(a.Fragment,null,Jo,gs&&os):ua=a.createElement(a.Fragment,null,os,gs&&Jo)}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 _i&&($o=_i($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:C()("".concat(wr,"-range-wrapper"),"".concat(wr,"-").concat(Sn,"-range-wrapper")),style:{minWidth:Ls}},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&&(Tt(Ka,0)&&!pa[0]||Tt(Ka,1)&&!pa[1])&&(ys=a.createElement("span",{onMouseDown:function(ui){ui.preventDefault(),ui.stopPropagation()},onMouseUp:function(ui){ui.preventDefault(),ui.stopPropagation();var Pi=Ka;pa[0]||(Pi=je(Pi,null,0)),pa[1]||(Pi=je(Pi,null,1)),Ja(Pi,null),Go(!1,vi)},className:"".concat(wr,"-clear")},Mi||a.createElement("span",{className:"".concat(wr,"-clear-btn")})));var Ms={size:ot(Sn,ba[0])},As=0,ks=0;ra.current&&Yi.current&&Xa.current&&(vi===0?ks=ra.current.offsetWidth:(As=Yo,ks=Yi.current.offsetWidth));var Hs=Xi==="rtl"?{right:As}:{left:As},bs=function(ui,Pi){var Wn=je(ki,ui,vi);Pi==="submit"||Pi!=="key"&&!la?Ja(Wn,vi):Za(Wn)};return a.createElement(Y.Provider,{value:{operationRef:za,hideHeader:Sn==="time",onDateMouseEnter:Qn,onDateMouseLeave:ti,hideRanges:!0,onSelect:bs,open:vo}},a.createElement(Yn,{visible:vo,popupElement:Rs,popupStyle:Jr,prefixCls:wr,dropdownClassName:an,dropdownAlign:Vt,getPopupContainer:sr,transitionName:xt,range:!0,direction:Xi},a.createElement("div",Object.assign({ref:Ba,className:C()(wr,"".concat(wr,"-range"),Zr,(jt={},Object(N.a)(jt,"".concat(wr,"-disabled"),pa[0]&&pa[1]),Object(N.a)(jt,"".concat(wr,"-focused"),vi===0?Wa:Ha),Object(N.a)(jt,"".concat(wr,"-rtl"),Xi==="rtl"),jt)),style:Kr,onClick:Fo,onMouseDown:Qo},De(it)),a.createElement("div",{className:C()("".concat(wr,"-input"),(Zt={},Object(N.a)(Zt,"".concat(wr,"-input-active"),vi===0),Object(N.a)(Zt,"".concat(wr,"-input-placeholder"),!!Ut),Zt)),ref:ra},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:Tt(Dr,0)||"",ref:zi},Sa,Ms,{autoComplete:ca}))),a.createElement("div",{className:"".concat(wr,"-range-separator"),ref:Xa},Rn),a.createElement("div",{className:C()("".concat(wr,"-input"),(nr={},Object(N.a)(nr,"".concat(wr,"-input-active"),vi===1),Object(N.a)(nr,"".concat(wr,"-input-placeholder"),!!ln),nr)),ref:Yi},a.createElement("input",Object.assign({disabled:pa[1],readOnly:hi||!jo,value:ln||as,onChange:function(ui){$s(ui.target.value)},placeholder:Tt(Dr,1)||"",ref:Ki},ko,Ms,{autoComplete:ca}))),a.createElement("div",{className:"".concat(wr,"-active-bar"),style:Object(B.a)(Object(B.a)({},Hs),{},{width:ks,position:"absolute"})}),Do,ys)))}var di=function(it){Object(j.a)(Zt,it);var jt=Object(K.a)(Zt);function Zt(){var nr;return Object(F.a)(this,Zt),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(P.a)(Zt,[{key:"render",value:function(){return a.createElement(ni,Object.assign({},this.props,{pickerRef:this.pickerRef}))}}]),Zt}(a.Component),Na=di,Qi=Gn,ma=e("61s2");function Pa(it,jt,Zt){return Zt!==void 0?Zt:it==="year"&&jt.lang.yearPlaceholder?jt.lang.yearPlaceholder:it==="quarter"&&jt.lang.quarterPlaceholder?jt.lang.quarterPlaceholder:it==="month"&&jt.lang.monthPlaceholder?jt.lang.monthPlaceholder:it==="week"&&jt.lang.weekPlaceholder?jt.lang.weekPlaceholder:it==="time"&&jt.timePickerLocale.placeholder?jt.timePickerLocale.placeholder:jt.lang.placeholder}function Qa(it,jt,Zt){return Zt!==void 0?Zt:it==="year"&&jt.lang.yearPlaceholder?jt.lang.rangeYearPlaceholder:it==="month"&&jt.lang.monthPlaceholder?jt.lang.rangeMonthPlaceholder:it==="week"&&jt.lang.weekPlaceholder?jt.lang.rangeWeekPlaceholder:it==="time"&&jt.timePickerLocale.placeholder?jt.timePickerLocale.rangePlaceholder:jt.lang.rangePlaceholder}var Wi=e("uaoM"),Co=e("H84U"),aa=e("YMnH"),Hi=e("3Nzz"),ga=function(it,jt){var Zt={};for(var nr in it)Object.prototype.hasOwnProperty.call(it,nr)&&jt.indexOf(nr)<0&&(Zt[nr]=it[nr]);if(it!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Or=0,nr=Object.getOwnPropertySymbols(it);Or<nr.length;Or++)jt.indexOf(nr[Or])<0&&Object.prototype.propertyIsEnumerable.call(it,nr[Or])&&(Zt[nr[Or]]=it[nr[Or]]);return Zt};function ha(it){function jt(Zr,Jr){var an=function(xt){S()(sr,xt);var Vt=w()(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,In=En===void 0?!0:En,Xn=Sn.placeholder,ai=ga(Sn,["prefixCls","getPopupContainer","className","size","bordered","placeholder"]),ri=Mr.props,Di=ri.format,yi=ri.showTime,xi=fn("picker",bn),_i={showToday:!0},Un={};Zr&&(Un.picker=Zr);var Ri=Zr||Mr.props.picker;return Un=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(O.a,null):a.createElement(y.a,null),clearIcon:a.createElement(M.a,null),allowClear:!0,transitionName:"slide-up"},_i,ai,Un,{locale:Dr.lang,className:C()(vn,(Ui={},l()(Ui,"".concat(xi,"-").concat(Mi),Mi),l()(Ui,"".concat(xi,"-borderless"),!In),Ui)),prefixCls:xi,getPopupContainer:Mn||Hn,generateConfig:it,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)(Zr!=="quarter",Jr,"DatePicker.".concat(Jr," is legacy usage. Please use DatePicker[picker='").concat(Zr,"'] directly.")),Mr}return p()(sr,[{key:"render",value:function(){return a.createElement(aa.a,{componentName:"DatePicker",defaultLocale:this.getDefaultLocale},this.renderPicker)}}]),sr}(a.Component);return an.contextType=Co.b,Jr&&(an.displayName=Jr),an}var Zt=jt(),nr=jt("week","WeekPicker"),Or=jt("month","MonthPicker"),wr=jt("year","YearPicker"),Er=jt("time","TimePicker"),Kr=jt("quarter","QuarterPicker");return{DatePicker:Zt,WeekPicker:nr,MonthPicker:Or,YearPicker:wr,TimePicker:Er,QuarterPicker:Kr}}var mo=e("8ISB"),Fn=e.n(mo),$i=function(it,jt){var Zt={};for(var nr in it)Object.prototype.hasOwnProperty.call(it,nr)&&jt.indexOf(nr)<0&&(Zt[nr]=it[nr]);if(it!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Or=0,nr=Object.getOwnPropertySymbols(it);Or<nr.length;Or++)jt.indexOf(nr[Or])<0&&Object.prototype.propertyIsEnumerable.call(it,nr[Or])&&(Zt[nr[Or]]=it[nr[Or]]);return Zt};function eo(it){var jt=function(Zt){S()(Or,Zt);var nr=w()(Or);function Or(){var wr;return s()(this,Or),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,Kr=c()(c()({},ma.a),Er);return Kr.lang=c()(c()({},Kr.lang),(Er||{}).lang),Kr},wr.renderPicker=function(Er){var Kr=wr.context,Zr=Kr.getPrefixCls,Jr=Kr.direction,an=Kr.getPopupContainer,xt=wr.props,Vt=xt.prefixCls,sr=xt.getPopupContainer,br=xt.className,Mr=xt.size,Dr=xt.bordered,rn=Dr===void 0?!0:Dr,fn=xt.placeholder,wn=$i(xt,["prefixCls","getPopupContainer","className","size","bordered","placeholder"]),Hn=wr.props,Sn=Hn.format,bn=Hn.showTime,Mn=Hn.picker,vn=Zr("picker",Vt),Rn={};return Rn=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 In,Xn=Mr||En;return a.createElement(Na,c()({separator:a.createElement("span",{"aria-label":"to",className:"".concat(vn,"-separator")},a.createElement(Fn.a,null)),ref:wr.pickerRef,placeholder:Qa(Mn,Er,fn),suffixIcon:Mn==="time"?a.createElement(O.a,null):a.createElement(y.a,null),clearIcon:a.createElement(M.a,null),allowClear:!0,transitionName:"slide-up"},wn,Rn,{className:C()(br,(In={},l()(In,"".concat(vn,"-").concat(Xn),Xn),l()(In,"".concat(vn,"-borderless"),!rn),In)),locale:Er.lang,prefixCls:vn,getPopupContainer:sr||an,generateConfig:it,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:Jr}))})},wr}return p()(Or,[{key:"render",value:function(){return a.createElement(aa.a,{componentName:"DatePicker",defaultLocale:this.getDefaultLocale},this.renderPicker)}}]),Or}(a.Component);return jt.contextType=Co.b,jt}var To={button:r,rangeItem:d};function uo(it){return it?Array.isArray(it)?it:[it]:[]}function rr(it){var jt=it.format,Zt=it.picker,nr=it.showHour,Or=it.showMinute,wr=it.showSecond,Er=it.use12Hours,Kr=uo(jt)[0],Zr=c()({},it);return Kr&&(!Kr.includes("s")&&wr===void 0&&(Zr.showSecond=!1),!Kr.includes("m")&&Or===void 0&&(Zr.showMinute=!1),!Kr.includes("H")&&!Kr.includes("h")&&nr===void 0&&(Zr.showHour=!1),(Kr.includes("a")||Kr.includes("A"))&&Er===void 0&&(Zr.use12Hours=!0)),Zt==="time"?Zr:{showTime:Zr}}function Tr(it){var jt=ha(it),Zt=jt.DatePicker,nr=jt.WeekPicker,Or=jt.MonthPicker,wr=jt.YearPicker,Er=jt.TimePicker,Kr=jt.QuarterPicker,Zr=eo(it),Jr=Zt;return Jr.WeekPicker=nr,Jr.MonthPicker=Or,Jr.YearPicker=wr,Jr.RangePicker=Zr,Jr.TimePicker=Er,Jr.QuarterPicker=Kr,Jr}var Br=Tr,Wr=Br(v),hn=D.a=Wr},"+lIL":function(R,D,e){var g=e("ProS");e("/ry/"),e("3OrL");var f=e("L5E0"),A=e("7Phj");g.registerVisual(f),g.registerLayout(A)},"+nKL":function(R,D,e){"use strict";var g=e("q1tI"),f=e("TSYQ"),A=e.n(f),m=e("t23M");function v(Xe,Je){var et=Object.keys(Xe);if(Object.getOwnPropertySymbols){var at=Object.getOwnPropertySymbols(Xe);Je&&(at=at.filter(function(Ve){return Object.getOwnPropertyDescriptor(Xe,Ve).enumerable})),et.push.apply(et,at)}return et}function h(Xe){for(var Je=1;Je<arguments.length;Je++){var et=arguments[Je]!=null?arguments[Je]:{};Je%2?v(Object(et),!0).forEach(function(at){c(Xe,at,et[at])}):Object.getOwnPropertyDescriptors?Object.defineProperties(Xe,Object.getOwnPropertyDescriptors(et)):v(Object(et)).forEach(function(at){Object.defineProperty(Xe,at,Object.getOwnPropertyDescriptor(et,at))})}return Xe}function c(Xe,Je,et){return Je in Xe?Object.defineProperty(Xe,Je,{value:et,enumerable:!0,configurable:!0,writable:!0}):Xe[Je]=et,Xe}var a=function(Je){var et=Je.height,at=Je.offset,Ve=Je.children,le=Je.prefixCls,ae=Je.onInnerResize,lt={},Ze={display:"flex",flexDirection:"column"};return at!==void 0&&(lt={height:et,position:"relative",overflow:"hidden"},Ze=h(h({},Ze),{},{transform:"translateY(".concat(at,"px)"),position:"absolute",left:0,right:0,top:0})),g.createElement("div",{style:lt},g.createElement(m.a,{onResize:function(Jt){var mt=Jt.offsetHeight;mt&&ae()}},g.createElement("div",{style:Ze,className:A()(c({},"".concat(le,"-holder-inner"),le))},Ve)))},i=a,r=e("wgJM");function o(Xe){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?o=function(et){return typeof et}:o=function(et){return et&&typeof Symbol=="function"&&et.constructor===Symbol&&et!==Symbol.prototype?"symbol":typeof et},o(Xe)}function d(Xe,Je,et){return Je in Xe?Object.defineProperty(Xe,Je,{value:et,enumerable:!0,configurable:!0,writable:!0}):Xe[Je]=et,Xe}function n(Xe,Je){if(!(Xe instanceof Je))throw new TypeError("Cannot call a class as a function")}function l(Xe,Je){for(var et=0;et<Je.length;et++){var at=Je[et];at.enumerable=at.enumerable||!1,at.configurable=!0,"value"in at&&(at.writable=!0),Object.defineProperty(Xe,at.key,at)}}function t(Xe,Je,et){return Je&&l(Xe.prototype,Je),et&&l(Xe,et),Xe}function s(Xe,Je){if(typeof Je!="function"&&Je!==null)throw new TypeError("Super expression must either be null or a function");Xe.prototype=Object.create(Je&&Je.prototype,{constructor:{value:Xe,writable:!0,configurable:!0}}),Je&&u(Xe,Je)}function u(Xe,Je){return u=Object.setPrototypeOf||function(at,Ve){return at.__proto__=Ve,at},u(Xe,Je)}function p(Xe){var Je=T();return function(){var at=w(Xe),Ve;if(Je){var le=w(this).constructor;Ve=Reflect.construct(at,arguments,le)}else Ve=at.apply(this,arguments);return x(this,Ve)}}function x(Xe,Je){return Je&&(o(Je)==="object"||typeof Je=="function")?Je:S(Xe)}function S(Xe){if(Xe===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return Xe}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(Xe){return!1}}function w(Xe){return w=Object.setPrototypeOf?Object.getPrototypeOf:function(et){return et.__proto__||Object.getPrototypeOf(et)},w(Xe)}var E=20,C=function(Xe){s(et,Xe);var Je=p(et);function et(){var at;return n(this,et),at=Je.apply(this,arguments),at.moveRaf=null,at.visibleTimeout=null,at.state={dragging:!1,pageY:null,startTop:null,visible:!1},at.delayHidden=function(){clearTimeout(at.visibleTimeout),at.setState({visible:!0}),at.visibleTimeout=setTimeout(function(){at.setState({visible:!1})},2e3)},at.patchEvents=function(){window.addEventListener("mousemove",at.onMouseMove),window.addEventListener("mouseup",at.onMouseUp)},at.removeEvents=function(){window.removeEventListener("mousemove",at.onMouseMove),window.removeEventListener("mouseup",at.onMouseUp),r.a.cancel(at.moveRaf)},at.onContainerMouseDown=function(Ve){Ve.stopPropagation(),Ve.preventDefault()},at.onMouseDown=function(Ve){var le=at.props.onStartMove;at.setState({dragging:!0,pageY:Ve.pageY,startTop:at.getTop()}),le(),at.patchEvents(),Ve.stopPropagation(),Ve.preventDefault()},at.onMouseMove=function(Ve){var le=at.state,ae=le.dragging,lt=le.pageY,Ze=le.startTop,Te=at.props.onScroll;if(r.a.cancel(at.moveRaf),ae){var Jt=Ve.pageY-lt,mt=Ze+Jt,ft=at.getEnableScrollRange(),bt=at.getEnableHeightRange(),It=mt/bt,or=Math.ceil(It*ft);at.moveRaf=Object(r.a)(function(){Te(or)})}},at.onMouseUp=function(){var Ve=at.props.onStopMove;at.setState({dragging:!1}),Ve(),at.removeEvents()},at.getSpinHeight=function(){var Ve=at.props,le=Ve.height,ae=Ve.count,lt=le/ae*10;return lt=Math.max(lt,E),lt=Math.min(lt,le/2),Math.floor(lt)},at.getEnableScrollRange=function(){var Ve=at.props,le=Ve.scrollHeight,ae=Ve.height;return le-ae},at.getEnableHeightRange=function(){var Ve=at.props.height,le=at.getSpinHeight();return Ve-le},at.getTop=function(){var Ve=at.props.scrollTop,le=at.getEnableScrollRange(),ae=at.getEnableHeightRange(),lt=Ve/le;return lt*ae},at}return t(et,[{key:"componentDidUpdate",value:function(Ve){Ve.scrollTop!==this.props.scrollTop&&this.delayHidden()}},{key:"componentWillUnmount",value:function(){this.removeEvents(),clearTimeout(this.visibleTimeout)}},{key:"render",value:function(){var Ve=this.state,le=Ve.visible,ae=Ve.dragging,lt=this.props.prefixCls,Ze=this.getSpinHeight(),Te=this.getTop();return g.createElement("div",{className:"".concat(lt,"-scrollbar"),style:{width:8,top:0,bottom:0,right:0,position:"absolute",display:le?null:"none"},onMouseDown:this.onContainerMouseDown,onMouseMove:this.delayHidden},g.createElement("div",{className:A()("".concat(lt,"-scrollbar-thumb"),d({},"".concat(lt,"-scrollbar-thumb-moving"),ae)),style:{width:"100%",height:Ze,top:Te,left:0,position:"absolute",background:"rgba(0, 0, 0, 0.5)",borderRadius:99,cursor:"pointer",userSelect:"none"},onMouseDown:this.onMouseDown}))}}]),et}(g.Component);function _(Xe){var Je=Xe.children,et=Xe.setRef,at=g.useCallback(function(Ve){et(Ve)},[]);return g.cloneElement(Je,{ref:at})}function y(Xe,Je,et,at,Ve,le){var ae=le.getKey;return Xe.slice(Je,et+1).map(function(lt,Ze){var Te=Je+Ze,Jt=Ve(lt,Te,{}),mt=ae(lt);return g.createElement(_,{key:mt,setRef:function(bt){return at(lt,bt)}},Jt)})}var b=e("m+aA");function O(Xe,Je){if(!(Xe instanceof Je))throw new TypeError("Cannot call a class as a function")}function I(Xe,Je){for(var et=0;et<Je.length;et++){var at=Je[et];at.enumerable=at.enumerable||!1,at.configurable=!0,"value"in at&&(at.writable=!0),Object.defineProperty(Xe,at.key,at)}}function M(Xe,Je,et){return Je&&I(Xe.prototype,Je),et&&I(Xe,et),Xe}var F=function(){function Xe(){O(this,Xe),this.maps={},this.maps.prototype=null}return M(Xe,[{key:"set",value:function(et,at){this.maps[et]=at}},{key:"get",value:function(et){return this.maps[et]}}]),Xe}(),P=F;function j(Xe,Je){return H(Xe)||U(Xe,Je)||N(Xe,Je)||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 N(Xe,Je){if(!Xe)return;if(typeof Xe=="string")return B(Xe,Je);var et=Object.prototype.toString.call(Xe).slice(8,-1);if(et==="Object"&&Xe.constructor&&(et=Xe.constructor.name),et==="Map"||et==="Set")return Array.from(Xe);if(et==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(et))return B(Xe,Je)}function B(Xe,Je){(Je==null||Je>Xe.length)&&(Je=Xe.length);for(var et=0,at=new Array(Je);et<Je;et++)at[et]=Xe[et];return at}function U(Xe,Je){if(typeof Symbol=="undefined"||!(Symbol.iterator in Object(Xe)))return;var et=[],at=!0,Ve=!1,le=void 0;try{for(var ae=Xe[Symbol.iterator](),lt;!(at=(lt=ae.next()).done)&&!(et.push(lt.value),Je&&et.length===Je);at=!0);}catch(Ze){Ve=!0,le=Ze}finally{try{!at&&ae.return!=null&&ae.return()}finally{if(Ve)throw le}}return et}function H(Xe){if(Array.isArray(Xe))return Xe}function z(Xe,Je,et){var at=g.useState(0),Ve=j(at,2),le=Ve[0],ae=Ve[1],lt=Object(g.useRef)(new Map),Ze=Object(g.useRef)(new P);function Te(mt,ft){var bt=Xe(mt),It=lt.current.get(bt);ft?lt.current.set(bt,ft):lt.current.delete(bt),!It!==!ft&&(ft?Je==null||Je(mt):et==null||et(mt))}function Jt(){var mt=!1;lt.current.forEach(function(ft,bt){if(ft&&ft.offsetParent){var It=Object(b.a)(ft),or=It.offsetHeight;Ze.current.get(bt)!==or&&(mt=!0,Ze.current.set(bt,It.offsetHeight))}}),mt&&ae(function(ft){return ft+1})}return[Te,Jt,Ze.current,le]}function X(Xe,Je){var et=Object(g.useRef)(),at=Object(g.useRef)();return et.current=Xe,at.current=Je,function(Ve){var le=Math.max(Ve,0),ae=et.current-at.current;return Number.isNaN(ae)||(le=Math.min(le,ae)),le}}function W(Xe){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?W=function(et){return typeof et}:W=function(et){return et&&typeof Symbol=="function"&&et.constructor===Symbol&&et!==Symbol.prototype?"symbol":typeof et},W(Xe)}function Y(Xe,Je,et,at,Ve,le,ae){var lt=g.useRef();return function(Ze){if(r.a.cancel(lt.current),typeof Ze=="number")ae(Ze);else if(Ze&&W(Ze)==="object"){var Te,Jt=Ze.align;"index"in Ze?Te=Ze.index:Te=Je.findIndex(function(ft){return Ve(ft)===Ze.key});var mt=function ft(bt,It){if(bt<0||!Xe.current)return;var or=Xe.current.clientHeight,Pt=!1,_e=It;if(or){for(var Ce=It||Jt,Ee=0,we=0,Fe=0,Ye=0;Ye<=Te;Ye+=1){var Ge=Ve(Je[Ye]);we=Ee;var qe=et.get(Ge);Fe=we+(qe===void 0?at:qe),Ee=Fe,Ye===Te&&qe===void 0&&(Pt=!0)}var Ke=null;switch(Ce){case"top":Ke=we;break;case"bottom":Ke=Fe-or;break;default:{var ct=Xe.current.scrollTop,wt=ct+or;we<ct?_e="top":Fe>wt&&(_e="bottom")}}Ke!==null&&Ke!==Xe.current.scrollTop&&ae(Ke)}lt.current=Object(r.a)(function(){Pt&&le(),ft(bt-1,_e)})};mt(3)}}}function q(Xe,Je,et,at){var Ve=et-Xe,le=Je-et,ae=Math.min(Ve,le)*2;if(at<=ae){var lt=Math.floor(at/2);return at%2?et+lt+1:et-lt}return Ve>le?et-(at-le):et+(at-Ve)}function me(Xe,Je,et){var at=Xe.length,Ve=Je.length,le,ae;if(at===0&&Ve===0)return null;at<Ve?(le=Xe,ae=Je):(le=Je,ae=Xe);var lt={__EMPTY_ITEM__:!0};function Ze(It){return It!==void 0?et(It):lt}for(var Te=null,Jt=Math.abs(at-Ve)!==1,mt=0;mt<ae.length;mt+=1){var ft=Ze(le[mt]),bt=Ze(ae[mt]);if(ft!==bt){Te=mt,Jt=Jt||ft!==Ze(ae[mt+1]);break}}return Te===null?null:{index:Te,multiple:Jt}}function G(Xe,Je){return Me(Xe)||Ue(Xe,Je)||Ae(Xe,Je)||ye()}function ye(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
|
|
|
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function Ae(Xe,Je){if(!Xe)return;if(typeof Xe=="string")return ve(Xe,Je);var et=Object.prototype.toString.call(Xe).slice(8,-1);if(et==="Object"&&Xe.constructor&&(et=Xe.constructor.name),et==="Map"||et==="Set")return Array.from(Xe);if(et==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(et))return ve(Xe,Je)}function ve(Xe,Je){(Je==null||Je>Xe.length)&&(Je=Xe.length);for(var et=0,at=new Array(Je);et<Je;et++)at[et]=Xe[et];return at}function Ue(Xe,Je){if(typeof Symbol=="undefined"||!(Symbol.iterator in Object(Xe)))return;var et=[],at=!0,Ve=!1,le=void 0;try{for(var ae=Xe[Symbol.iterator](),lt;!(at=(lt=ae.next()).done)&&!(et.push(lt.value),Je&&et.length===Je);at=!0);}catch(Ze){Ve=!0,le=Ze}finally{try{!at&&ae.return!=null&&ae.return()}finally{if(Ve)throw le}}return et}function Me(Xe){if(Array.isArray(Xe))return Xe}function nt(Xe,Je,et){var at=g.useState(Xe),Ve=G(at,2),le=Ve[0],ae=Ve[1],lt=g.useState(null),Ze=G(lt,2),Te=Ze[0],Jt=Ze[1];return g.useEffect(function(){var mt=me(le||[],Xe||[],Je);(mt==null?void 0:mt.index)!==void 0&&(et==null||et(mt.index),Jt(Xe[mt.index])),ae(Xe)},[Xe]),[Te]}function ne(Xe){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?ne=function(et){return typeof et}:ne=function(et){return et&&typeof Symbol=="function"&&et.constructor===Symbol&&et!==Symbol.prototype?"symbol":typeof et},ne(Xe)}var be=(typeof navigator=="undefined"?"undefined":ne(navigator))==="object"&&/Firefox/i.test(navigator.userAgent),ot=be;function ue(Xe,Je){var et=Object(g.useRef)(0),at=Object(g.useRef)(null),Ve=Object(g.useRef)(null),le=Object(g.useRef)(!1);function ae(Ze){if(!Xe)return;ot||Ze.preventDefault(),r.a.cancel(at.current),et.current+=Ze.deltaY,Ve.current=Ze.deltaY,at.current=Object(r.a)(function(){var Te=le.current?10:1;Je(et.current*Te),et.current=0})}function lt(Ze){if(!Xe)return;Ze.preventDefault(),le.current=Ze.detail===Ve.current}return[ae,lt]}function Q(Xe,Je){var et=Object.keys(Xe);if(Object.getOwnPropertySymbols){var at=Object.getOwnPropertySymbols(Xe);Je&&(at=at.filter(function(Ve){return Object.getOwnPropertyDescriptor(Xe,Ve).enumerable})),et.push.apply(et,at)}return et}function V(Xe){for(var Je=1;Je<arguments.length;Je++){var et=arguments[Je]!=null?arguments[Je]:{};Je%2?Q(Object(et),!0).forEach(function(at){J(Xe,at,et[at])}):Object.getOwnPropertyDescriptors?Object.defineProperties(Xe,Object.getOwnPropertyDescriptors(et)):Q(Object(et)).forEach(function(at){Object.defineProperty(Xe,at,Object.getOwnPropertyDescriptor(et,at))})}return Xe}function J(Xe,Je,et){return Je in Xe?Object.defineProperty(Xe,Je,{value:et,enumerable:!0,configurable:!0,writable:!0}):Xe[Je]=et,Xe}function fe(Xe,Je){return Z(Xe)||te(Xe,Je)||Le(Xe,Je)||oe()}function oe(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
|
|
|
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function Le(Xe,Je){if(!Xe)return;if(typeof Xe=="string")return he(Xe,Je);var et=Object.prototype.toString.call(Xe).slice(8,-1);if(et==="Object"&&Xe.constructor&&(et=Xe.constructor.name),et==="Map"||et==="Set")return Array.from(Xe);if(et==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(et))return he(Xe,Je)}function he(Xe,Je){(Je==null||Je>Xe.length)&&(Je=Xe.length);for(var et=0,at=new Array(Je);et<Je;et++)at[et]=Xe[et];return at}function te(Xe,Je){if(typeof Symbol=="undefined"||!(Symbol.iterator in Object(Xe)))return;var et=[],at=!0,Ve=!1,le=void 0;try{for(var ae=Xe[Symbol.iterator](),lt;!(at=(lt=ae.next()).done)&&!(et.push(lt.value),Je&&et.length===Je);at=!0);}catch(Ze){Ve=!0,le=Ze}finally{try{!at&&ae.return!=null&&ae.return()}finally{if(Ve)throw le}}return et}function Z(Xe){if(Array.isArray(Xe))return Xe}function ge(Xe,Je){if(Xe==null)return{};var et=Re(Xe,Je),at,Ve;if(Object.getOwnPropertySymbols){var le=Object.getOwnPropertySymbols(Xe);for(Ve=0;Ve<le.length;Ve++){if(at=le[Ve],Je.indexOf(at)>=0)continue;if(!Object.prototype.propertyIsEnumerable.call(Xe,at))continue;et[at]=Xe[at]}}return et}function Re(Xe,Je){if(Xe==null)return{};var et={},at=Object.keys(Xe),Ve,le;for(le=0;le<at.length;le++){if(Ve=at[le],Je.indexOf(Ve)>=0)continue;et[Ve]=Xe[Ve]}return et}var ze=[],dt={overflowY:"auto",overflowAnchor:"none"};function De(Xe,Je){var et=Xe.prefixCls,at=et===void 0?"rc-virtual-list":et,Ve=Xe.className,le=Xe.height,ae=Xe.itemHeight,lt=Xe.fullHeight,Ze=lt===void 0?!0:lt,Te=Xe.style,Jt=Xe.data,mt=Xe.children,ft=Xe.itemKey,bt=Xe.virtual,It=Xe.component,or=It===void 0?"div":It,Pt=Xe.onScroll,_e=ge(Xe,["prefixCls","className","height","itemHeight","fullHeight","style","data","children","itemKey","virtual","component","onScroll"]),Ce=bt!==!1&&le&&ae&&Jt&&ae*Jt.length>le,Ee=g.useState(0),we=fe(Ee,2),Fe=we[0],Ye=we[1],Ge=g.useState(!1),qe=fe(Ge,2),Ke=qe[0],ct=qe[1],wt=A()(at,Ve),Lt=Jt||ze,de=Object(g.useRef)(),xe=g.useCallback(function(Ar){return typeof ft=="function"?ft(Ar):Ar[ft]},[ft]),$={getKey:xe};function se(Ar){Ye(function(Nr){var kr;return typeof Ar=="function"?kr=Ar(Nr):kr=Ar,de.current.scrollTop=kr,kr})}var Oe=Object(g.useRef)({start:0,end:Lt.length}),ke=Object(g.useRef)(),Pe=nt(Lt,xe),rt=fe(Pe,1),At=rt[0];ke.current=At;var Wt=z(xe,null,null),$t=fe(Wt,4),Rt=$t[0],zt=$t[1],Gt=$t[2],Qt=$t[3],Mt=g.useMemo(function(){if(!Ce)return{scrollHeight:void 0,start:0,end:Lt.length-1,offset:void 0};for(var Ar=0,Nr,kr,tn,qr=Lt.length,_r=0;_r<qr;_r+=1){var Qr=Lt[_r],Lr=xe(Qr),ur=Gt.get(Lr),pr=Ar+(ur===void 0?ae:ur);pr>=Fe&&Nr===void 0&&(Nr=_r,kr=Ar),pr>Fe+le&&tn===void 0&&(tn=_r),Ar=pr}return Nr===void 0&&(Nr=0,kr=0),tn===void 0&&(tn=Lt.length-1),tn=Math.min(tn+1,Lt.length),{scrollHeight:Ar,start:Nr,end:tn,offset:kr}},[Ce,Fe,Lt,Qt,le]),dr=Mt.scrollHeight,er=Mt.start,ht=Mt.end,Et=Mt.offset;Oe.current.start=er,Oe.current.end=ht;var pt=X(dr,le);function vt(Ar){var Nr=pt(Ar);Nr!==Fe&&se(Nr)}function Nt(Ar){var Nr=Ar.currentTarget.scrollTop;Nr!==Fe&&se(Nr),Pt==null||Pt(Ar)}var _t=ue(Ce,function(Ar){se(function(Nr){var kr=pt(Nr+Ar);return kr})}),gt=fe(_t,2),Ht=gt[0],kt=gt[1];g.useEffect(function(){return de.current.addEventListener("wheel",Ht),de.current.addEventListener("DOMMouseScroll",kt),function(){de.current.removeEventListener("wheel",Ht),de.current.removeEventListener("DOMMouseScroll",kt)}},[Ce]);var ir=Y(de,Lt,Gt,ae,xe,zt,se);g.useImperativeHandle(Je,function(){return{scrollTo:ir}});var Xt=y(Lt,er,ht,Rt,mt,$),mr=null;return le&&(mr=V(J({},Ze?"height":"maxHeight",le),dt),Ce&&(mr.overflowY="hidden",Ke&&(mr.pointerEvents="none"))),g.createElement("div",Object.assign({style:V(V({},Te),{},{position:"relative"}),className:wt},_e),g.createElement(or,{className:"".concat(at,"-holder"),style:mr,ref:de,onScroll:Nt},g.createElement(i,{prefixCls:at,height:dr,offset:Et,onInnerResize:zt},Xt)),Ce&&g.createElement(C,{prefixCls:at,scrollTop:Fe,height:le,scrollHeight:dr,count:Lt.length,onScroll:vt,onStartMove:function(){ct(!0)},onStopMove:function(){ct(!1)}}))}var Tt=g.forwardRef(De);Tt.displayName="List";var je=Tt,st=D.a=je},"+rIm":function(R,D,e){var g=e("bYtY"),f=g.retrieve,A=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,x=Math.PI,S=function(N,B){this.opt=B,this.axisModel=N,A(B,{labelOffset:0,nameDirection:1,tickDirection:1,labelDirection:1,silent:!0}),this.group=new c.Group;var U=new c.Group({position:B.position.slice(),rotation:B.rotation});U.updateTransform(),this._transform=U.transform,this._dumbGroup=U};S.prototype={constructor:S,hasBuilder:function(N){return!!T[N]},add:function(N){T[N].call(this)},getGroup:function(){return this.group}};var T={axisLine:function(){var N=this.opt,B=this.axisModel;if(!B.get("axisLine.show"))return;var U=this.axisModel.axis.getExtent(),H=this._transform,z=[U[0],0],X=[U[1],0];H&&(s(z,z,H),s(X,X,H));var W=m({lineCap:"round"},B.getModel("axisLine.lineStyle").getLineStyle());this.group.add(new c.Line({anid:"line",subPixelOptimize:!0,shape:{x1:z[0],y1:z[1],x2:X[0],y2:X[1]},style:W,strokeContainThreshold:N.strokeContainThreshold||5,silent:!0,z2:1}));var Y=B.get("axisLine.symbol"),q=B.get("axisLine.symbolSize"),me=B.get("axisLine.symbolOffset")||0;if(typeof me=="number"&&(me=[me,me]),Y!=null){typeof Y=="string"&&(Y=[Y,Y]),(typeof q=="string"||typeof q=="number")&&(q=[q,q]);var G=q[0],ye=q[1];v([{rotate:N.rotation+Math.PI/2,offset:me[0],r:0},{rotate:N.rotation-Math.PI/2,offset:me[1],r:Math.sqrt((z[0]-X[0])*(z[0]-X[0])+(z[1]-X[1])*(z[1]-X[1]))}],function(Ae,ve){if(Y[ve]!=="none"&&Y[ve]!=null){var Ue=n(Y[ve],-G/2,-ye/2,G,ye,W.stroke,!0),Me=Ae.r+Ae.offset,nt=[z[0]+Me*Math.cos(N.rotation),z[1]-Me*Math.sin(N.rotation)];Ue.attr({rotation:Ae.rotate,position:nt,silent:!0,z2:11}),this.group.add(Ue)}},this)}},axisTickLabel:function(){var N=this.axisModel,B=this.opt,U=F(this,N,B),H=j(this,N,B);y(N,H,U),P(this,N,B)},axisName:function(){var N=this.opt,B=this.axisModel,U=f(N.axisName,B.get("name"));if(!U)return;var H=B.get("nameLocation"),z=N.nameDirection,X=B.getModel("nameTextStyle"),W=B.get("nameGap")||0,Y=this.axisModel.axis.getExtent(),q=Y[0]>Y[1]?-1:1,me=[H==="start"?Y[0]-q*W:H==="end"?Y[1]+q*W:(Y[0]+Y[1])/2,I(H)?N.labelOffset+z*W:0],G,ye=B.get("nameRotate");ye!=null&&(ye=ye*x/180);var Ae;I(H)?G=E(N.rotation,ye!=null?ye:N.rotation,z):(G=C(N,H,ye||0,Y),Ae=N.axisNameAvailableWidth,Ae!=null&&(Ae=Math.abs(Ae/Math.sin(G.rotation)),!isFinite(Ae)&&(Ae=null)));var ve=X.getFont(),Ue=B.get("nameTruncate",!0)||{},Me=Ue.ellipsis,nt=f(N.nameTruncateMaxWidth,Ue.maxWidth,Ae),ne=Me!=null&&nt!=null?h.truncateText(U,nt,ve,Me,{minChar:2,placeholder:Ue.placeholder}):U,be=B.get("tooltip",!0),ot=B.mainType,ue={componentType:ot,name:U,$vars:["name"]};ue[ot+"Index"]=B.componentIndex;var Q=new c.Text({anid:"name",__fullText:U,__truncatedText:ne,position:me,rotation:G.rotation,silent:_(B),z2:1,tooltip:be&&be.show?m({content:U,formatter:function(){return U},formatterParams:ue},be):null});c.setTextStyle(Q.style,X,{text:ne,textFont:ve,textFill:X.getTextColor()||B.get("axisLine.lineStyle.color"),textAlign:X.get("align")||G.textAlign,textVerticalAlign:X.get("verticalAlign")||G.textVerticalAlign}),B.get("triggerEvent")&&(Q.eventData=w(B),Q.eventData.targetType="axisName",Q.eventData.name=U),this._dumbGroup.add(Q),Q.updateTransform(),this.group.add(Q),Q.decomposeTransform()}},w=S.makeAxisEventDataBase=function(N){var B={componentType:N.mainType,componentIndex:N.componentIndex};return B[N.mainType+"Index"]=N.componentIndex,B},E=S.innerTextLayout=function(N,B,U){var H=o(B-N),z,X;return r(H)?(X=U>0?"top":"bottom",z="center"):r(H-x)?(X=U>0?"bottom":"top",z="center"):(X="middle",H>0&&H<x?z=U>0?"right":"left":z=U>0?"left":"right"),{rotation:H,textAlign:z,textVerticalAlign:X}};function C(N,B,U,H){var z=o(U-N.rotation),X,W,Y=H[0]>H[1],q=B==="start"&&!Y||B!=="start"&&Y;return r(z-x/2)?(W=q?"bottom":"top",X="center"):r(z-x*1.5)?(W=q?"top":"bottom",X="center"):(W="middle",z<x*1.5&&z>x/2?X=q?"left":"right":X=q?"right":"left"),{rotation:z,textAlign:X,textVerticalAlign:W}}var _=S.isLabelSilent=function(N){var B=N.get("tooltip");return N.get("silent")||!(N.get("triggerEvent")||B&&B.show)};function y(N,B,U){if(p(N.axis))return;var H=N.get("axisLabel.showMinLabel"),z=N.get("axisLabel.showMaxLabel");B=B||[],U=U||[];var X=B[0],W=B[1],Y=B[B.length-1],q=B[B.length-2],me=U[0],G=U[1],ye=U[U.length-1],Ae=U[U.length-2];H===!1?(b(X),b(me)):O(X,W)&&(H?(b(W),b(G)):(b(X),b(me))),z===!1?(b(Y),b(ye)):O(q,Y)&&(z?(b(q),b(Ae)):(b(Y),b(ye)))}function b(N){N&&(N.ignore=!0)}function O(N,B,U){var H=N&&N.getBoundingRect().clone(),z=B&&B.getBoundingRect().clone();if(!H||!z)return;var X=l.identity([]);return l.rotate(X,X,-N.rotation),H.applyTransform(l.mul([],X,N.getLocalTransform())),z.applyTransform(l.mul([],X,B.getLocalTransform())),H.intersect(z)}function I(N){return N==="middle"||N==="center"}function M(N,B,U,H,z){for(var X=[],W=[],Y=[],q=0;q<N.length;q++){var me=N[q].coord;W[0]=me,W[1]=0,Y[0]=me,Y[1]=U,B&&(s(W,W,B),s(Y,Y,B));var G=new c.Line({anid:z+"_"+N[q].tickValue,subPixelOptimize:!0,shape:{x1:W[0],y1:W[1],x2:Y[0],y2:Y[1]},style:H,z2:2,silent:!0});X.push(G)}return X}function F(N,B,U){var H=B.axis,z=B.getModel("axisTick");if(!z.get("show")||H.scale.isBlank())return;for(var X=z.getModel("lineStyle"),W=U.tickDirection*z.get("length"),Y=H.getTicksCoords(),q=M(Y,N._transform,W,A(X.getLineStyle(),{stroke:B.get("axisLine.lineStyle.color")}),"ticks"),me=0;me<q.length;me++)N.group.add(q[me]);return q}function P(N,B,U){var H=B.axis,z=B.getModel("minorTick");if(!z.get("show")||H.scale.isBlank())return;var X=H.getMinorTicksCoords();if(!X.length)return;for(var W=z.getModel("lineStyle"),Y=U.tickDirection*z.get("length"),q=A(W.getLineStyle(),A(B.getModel("axisTick").getLineStyle(),{stroke:B.get("axisLine.lineStyle.color")})),me=0;me<X.length;me++)for(var G=M(X[me],N._transform,Y,q,"minorticks_"+me),ye=0;ye<G.length;ye++)N.group.add(G[ye])}function j(N,B,U){var H=B.axis,z=f(U.axisLabelShow,B.get("axisLabel.show"));if(!z||H.scale.isBlank())return;var X=B.getModel("axisLabel"),W=X.get("margin"),Y=H.getViewLabels(),q=(f(U.labelRotate,X.get("rotate"))||0)*x/180,me=E(U.rotation,q,U.labelDirection),G=B.getCategories&&B.getCategories(!0),ye=[],Ae=_(B),ve=B.get("triggerEvent");return v(Y,function(Ue,Me){var nt=Ue.tickValue,ne=Ue.formattedLabel,be=Ue.rawLabel,ot=X;G&&G[nt]&&G[nt].textStyle&&(ot=new a(G[nt].textStyle,X,B.ecModel));var ue=ot.getTextColor()||B.get("axisLine.lineStyle.color"),Q=H.dataToCoord(nt),V=[Q,U.labelOffset+U.labelDirection*W],J=new c.Text({anid:"label_"+nt,position:V,rotation:me.rotation,silent:Ae,z2:10});c.setTextStyle(J.style,ot,{text:ne,textAlign:ot.getShallow("align",!0)||me.textAlign,textVerticalAlign:ot.getShallow("verticalAlign",!0)||ot.getShallow("baseline",!0)||me.textVerticalAlign,textFill:typeof ue=="function"?ue(H.type==="category"?be:H.type==="value"?nt+"":nt,Me):ue}),ve&&(J.eventData=w(B),J.eventData.targetType="axisLabel",J.eventData.value=be),N._dumbGroup.add(J),J.updateTransform(),ye.push(J),N.group.add(J),J.decomposeTransform()}),ye}var K=S;R.exports=K},"+wW9":function(R,D,e){var g=e("bYtY"),f=g.each,A=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,x,S=0;S<t.length-1;S++)x=t[S],p[x]==null&&(p[x]={}),p=p[x];(u||p[t[S]]==null)&&(p[t[S]]=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&&(A(u)||(u=[u]),f(u,function(p){r(p)}))})}R.exports=n},"/IIm":function(R,D,e){var g=e("Tghj"),f=g.__DEV__,A=e("bYtY"),m=e("H6uX"),v=e("IwbS"),h=e("pP6R"),c=e("gPAo"),a=A.curry,i=A.each,r=A.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]},x={w:"ew",e:"ew",n:"ns",s:"ns",ne:"nesw",sw:"nesw",nw:"nwse",se:"nwse"},S={brushStyle:{lineWidth:2,stroke:"rgba(0,0,0,0.3)",fill:"rgba(0,0,0,0.1)"},transformable:!0,brushMode:"single",removeOnClick:!1},T=0;function w(te){m.call(this),this._zr=te,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_"+T++,this._handlers={},i(V,function(Z,ge){this._handlers[ge]=A.bind(Z,this)},this)}w.prototype={constructor:w,enableBrush:function(te){return this._brushType&&C(this),te.brushType&&E(this,te),this},setPanels:function(te){if(te&&te.length){var Z=this._panels={};A.each(te,function(ge){Z[ge.panelId]=A.clone(ge)})}else this._panels=null;return this},mount:function(te){te=te||{},this._enableGlobalPan=te.enableGlobalPan;var Z=this.group;return this._zr.add(Z),Z.attr({position:te.position||[0,0],rotation:te.rotation||0,scale:te.scale||[1,1]}),this._transform=Z.getLocalTransform(),this},eachCover:function(te,Z){i(this._covers,te,Z)},updateCovers:function(te){te=A.map(te,function(Xe){return A.merge(A.clone(S),Xe,!0)});var Z="\0-brush-index-",ge=this._covers,Re=this._covers=[],ze=this,dt=this._creatingCover;return new c(ge,te,Tt,De).add(je).update(je).remove(st).execute(),this;function De(Xe,Je){return(Xe.id!=null?Xe.id:Z+Je)+"-"+Xe.brushType}function Tt(Xe,Je){return De(Xe.__brushOption,Je)}function je(Xe,Je){var et=te[Xe];if(Je!=null&&ge[Je]===dt)Re[Xe]=ge[Je];else{var at=Re[Xe]=Je!=null?(ge[Je].__brushOption=et,ge[Je]):O(ze,b(ze,et));F(ze,at)}}function st(Xe){ge[Xe]!==dt&&ze.group.remove(ge[Xe])}},unmount:function(){return this.enableBrush(!1),N(this),this._zr.remove(this.group),this},dispose:function(){this.unmount(),this.off()}},A.mixin(w,m);function E(te,Z){var ge=te._zr;te._enableGlobalPan||h.take(ge,u,te._uid),_(ge,te._handlers),te._brushType=Z.brushType,te._brushOption=A.merge(A.clone(S),Z,!0)}function C(te){var Z=te._zr;h.release(Z,u,te._uid),y(Z,te._handlers),te._brushType=te._brushOption=null}function _(te,Z){i(Z,function(ge,Re){te.on(Re,ge)})}function y(te,Z){i(Z,function(ge,Re){te.off(Re,ge)})}function b(te,Z){var ge=oe[Z.brushType].createCover(te,Z);return ge.__brushOption=Z,M(ge,Z),te.group.add(ge),ge}function O(te,Z){var ge=P(Z);return ge.endCreating&&(ge.endCreating(te,Z),M(Z,Z.__brushOption)),Z}function I(te,Z){var ge=Z.__brushOption;P(Z).updateCoverShape(te,Z,ge.range,ge)}function M(te,Z){var ge=Z.z;ge==null&&(ge=l),te.traverse(function(Re){Re.z=ge,Re.z2=ge})}function F(te,Z){P(Z).updateCommon(te,Z),I(te,Z)}function P(te){return oe[te.__brushOption.brushType]}function j(te,Z,ge){var Re=te._panels;if(!Re)return!0;var ze,dt=te._transform;return i(Re,function(De){De.isTargetByCursor(Z,ge,dt)&&(ze=De)}),ze}function K(te,Z){var ge=te._panels;if(!ge)return!0;var Re=Z.__brushOption.panelId;return Re!=null?ge[Re]:!0}function N(te){var Z=te._covers,ge=Z.length;return i(Z,function(Re){te.group.remove(Re)},te),Z.length=0,!!ge}function B(te,Z){var ge=r(te._covers,function(Re){var ze=Re.__brushOption,dt=A.clone(ze.range);return{brushType:ze.brushType,panelId:ze.panelId,range:dt}});te.trigger("brush",ge,{isEnd:!!Z.isEnd,removeOnClick:!!Z.removeOnClick})}function U(te){var Z=te._track;if(!Z.length)return!1;var ge=Z[Z.length-1],Re=Z[0],ze=ge[0]-Re[0],dt=ge[1]-Re[1],De=n(ze*ze+dt*dt,.5);return De>t}function H(te){var Z=te.length-1;return Z<0&&(Z=0),[te[0],te[Z]]}function z(te,Z,ge,Re){var ze=new v.Group;return ze.add(new v.Rect({name:"main",style:q(ge),silent:!0,draggable:!0,cursor:"move",drift:a(te,Z,ze,"nswe"),ondragend:a(B,Z,{isEnd:!0})})),i(Re,function(dt){ze.add(new v.Rect({name:dt,style:{opacity:0},draggable:!0,silent:!0,invisible:!0,drift:a(te,Z,ze,dt),ondragend:a(B,Z,{isEnd:!0})}))}),ze}function X(te,Z,ge,Re){var ze=Re.brushStyle.lineWidth||0,dt=d(ze,s),De=ge[0][0],Tt=ge[1][0],je=De-ze/2,st=Tt-ze/2,Xe=ge[0][1],Je=ge[1][1],et=Xe-dt+ze/2,at=Je-dt+ze/2,Ve=Xe-De,le=Je-Tt,ae=Ve+ze,lt=le+ze;Y(te,Z,"main",De,Tt,Ve,le),Re.transformable&&(Y(te,Z,"w",je,st,dt,lt),Y(te,Z,"e",et,st,dt,lt),Y(te,Z,"n",je,st,ae,dt),Y(te,Z,"s",je,at,ae,dt),Y(te,Z,"nw",je,st,dt,dt),Y(te,Z,"ne",et,st,dt,dt),Y(te,Z,"sw",je,at,dt,dt),Y(te,Z,"se",et,at,dt,dt))}function W(te,Z){var ge=Z.__brushOption,Re=ge.transformable,ze=Z.childAt(0);ze.useStyle(q(ge)),ze.attr({silent:!Re,cursor:Re?"move":"default"}),i(["w","e","n","s","se","sw","ne","nw"],function(dt){var De=Z.childOfName(dt),Tt=ye(te,dt);De&&De.attr({silent:!Re,invisible:!Re,cursor:Re?x[Tt]+"-resize":null})})}function Y(te,Z,ge,Re,ze,dt,De){var Tt=Z.childOfName(ge);Tt&&Tt.setShape(nt(Me(te,Z,[[Re,ze],[Re+dt,ze+De]])))}function q(te){return A.defaults({strokeNoScale:!0},te.brushStyle)}function me(te,Z,ge,Re){var ze=[o(te,ge),o(Z,Re)],dt=[d(te,ge),d(Z,Re)];return[[ze[0],dt[0]],[ze[1],dt[1]]]}function G(te){return v.getTransform(te.group)}function ye(te,Z){if(Z.length>1){Z=Z.split("");var ge=[ye(te,Z[0]),ye(te,Z[1])];return(ge[0]==="e"||ge[0]==="w")&&ge.reverse(),ge.join("")}else{var Re={w:"left",e:"right",n:"top",s:"bottom"},ze={left:"w",right:"e",top:"n",bottom:"s"},ge=v.transformDirection(Re[Z],G(te));return ze[ge]}}function Ae(te,Z,ge,Re,ze,dt,De,Tt){var je=Re.__brushOption,st=te(je.range),Xe=Ue(ge,dt,De);i(ze.split(""),function(Je){var et=p[Je];st[et[0]][et[1]]+=Xe[et[0]]}),je.range=Z(me(st[0][0],st[1][0],st[0][1],st[1][1])),F(ge,Re),B(ge,{isEnd:!1})}function ve(te,Z,ge,Re,ze){var dt=Z.__brushOption.range,De=Ue(te,ge,Re);i(dt,function(Tt){Tt[0]+=De[0],Tt[1]+=De[1]}),F(te,Z),B(te,{isEnd:!1})}function Ue(te,Z,ge){var Re=te.group,ze=Re.transformCoordToLocal(Z,ge),dt=Re.transformCoordToLocal(0,0);return[ze[0]-dt[0],ze[1]-dt[1]]}function Me(te,Z,ge){var Re=K(te,Z);return Re&&Re!==!0?Re.clipPath(ge,te._transform):A.clone(ge)}function nt(te){var Z=o(te[0][0],te[1][0]),ge=o(te[0][1],te[1][1]),Re=d(te[0][0],te[1][0]),ze=d(te[0][1],te[1][1]);return{x:Z,y:ge,width:Re-Z,height:ze-ge}}function ne(te,Z,ge){if(!te._brushType||fe(te,Z))return;var Re=te._zr,ze=te._covers,dt=j(te,Z,ge);if(!te._dragging)for(var De=0;De<ze.length;De++){var Tt=ze[De].__brushOption;if(dt&&(dt===!0||Tt.panelId===dt.panelId)&&oe[Tt.brushType].contain(ze[De],ge[0],ge[1]))return}dt&&Re.setCursorStyle("crosshair")}function be(te){var Z=te.event;Z.preventDefault&&Z.preventDefault()}function ot(te,Z,ge){return te.childOfName("main").contain(Z,ge)}function ue(te,Z,ge,Re){var ze=te._creatingCover,dt=te._creatingPanel,De=te._brushOption,Tt;if(te._track.push(ge.slice()),U(te)||ze){if(dt&&!ze){De.brushMode==="single"&&N(te);var je=A.clone(De);je.brushType=Q(je.brushType,dt),je.panelId=dt===!0?null:dt.panelId,ze=te._creatingCover=b(te,je),te._covers.push(ze)}if(ze){var st=oe[Q(te._brushType,dt)],Xe=ze.__brushOption;Xe.range=st.getCreatingRange(Me(te,ze,te._track)),Re&&(O(te,ze),st.updateCommon(te,ze)),I(te,ze),Tt={isEnd:Re}}}else Re&&De.brushMode==="single"&&De.removeOnClick&&(j(te,Z,ge)&&N(te)&&(Tt={isEnd:Re,removeOnClick:!0}));return Tt}function Q(te,Z){return te==="auto"?Z.defaultBrushType:te}var V={mousedown:function(te){if(this._dragging)J(this,te);else if(!te.target||!te.target.draggable){be(te);var Z=this.group.transformCoordToLocal(te.offsetX,te.offsetY);this._creatingCover=null;var ge=this._creatingPanel=j(this,te,Z);ge&&(this._dragging=!0,this._track=[Z.slice()])}},mousemove:function(te){var Z=te.offsetX,ge=te.offsetY,Re=this.group.transformCoordToLocal(Z,ge);if(ne(this,te,Re),this._dragging){be(te);var ze=ue(this,te,Re,!1);ze&&B(this,ze)}},mouseup:function(te){J(this,te)}};function J(te,Z){if(te._dragging){be(Z);var ge=Z.offsetX,Re=Z.offsetY,ze=te.group.transformCoordToLocal(ge,Re),dt=ue(te,Z,ze,!0);te._dragging=!1,te._track=[],te._creatingCover=null,dt&&B(te,dt)}}function fe(te,Z,ge){var Re=te._zr;return Z<0||Z>Re.getWidth()||ge<0||ge>Re.getHeight()}var oe={lineX:Le(0),lineY:Le(1),rect:{createCover:function(te,Z){return z(a(Ae,function(ge){return ge},function(ge){return ge}),te,Z,["w","e","n","s","se","sw","ne","nw"])},getCreatingRange:function(te){var Z=H(te);return me(Z[1][0],Z[1][1],Z[0][0],Z[0][1])},updateCoverShape:function(te,Z,ge,Re){X(te,Z,ge,Re)},updateCommon:W,contain:ot},polygon:{createCover:function(te,Z){var ge=new v.Group;return ge.add(new v.Polyline({name:"main",style:q(Z),silent:!0})),ge},getCreatingRange:function(te){return te},endCreating:function(te,Z){Z.remove(Z.childAt(0)),Z.add(new v.Polygon({name:"main",draggable:!0,drift:a(ve,te,Z),ondragend:a(B,te,{isEnd:!0})}))},updateCoverShape:function(te,Z,ge,Re){Z.childAt(0).setShape({points:Me(te,Z,ge)})},updateCommon:W,contain:ot}};function Le(te){return{createCover:function(Z,ge){return z(a(Ae,function(Re){var ze=[Re,[0,100]];return te&&ze.reverse(),ze},function(Re){return Re[te]}),Z,ge,[["w","e"],["n","s"]][te])},getCreatingRange:function(Z){var ge=H(Z),Re=o(ge[0][te],ge[1][te]),ze=d(ge[0][te],ge[1][te]);return[Re,ze]},updateCoverShape:function(Z,ge,Re,ze){var dt,De=K(Z,ge);if(De!==!0&&De.getLinearBrushOtherExtent)dt=De.getLinearBrushOtherExtent(te,Z._transform);else{var Tt=Z._zr;dt=[0,[Tt.getWidth(),Tt.getHeight()][1-te]]}var je=[Re,dt];te&&je.reverse(),X(Z,ge,je,ze)},updateCommon:W,contain:ot}}var he=w;R.exports=he},"/MfK":function(R,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"},A=f,m=e("6VBw"),v=function(a,i){return g.createElement(m.a,Object.assign({},a,{ref:i,icon:A}))};v.displayName="DeleteOutlined";var h=D.a=g.forwardRef(v)},"/POA":function(R,D,e){!function(g,f){if(!0)R.exports=f();else var A,m}(window,function(){return function(g){var f={};function A(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,A),v.l=!0,v.exports}return A.m=g,A.c=f,A.d=function(m,v,h){A.o(m,v)||Object.defineProperty(m,v,{enumerable:!0,get:h})},A.r=function(m){typeof Symbol!="undefined"&&Symbol.toStringTag&&Object.defineProperty(m,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(m,"__esModule",{value:!0})},A.t=function(m,v){if(1&v&&(m=A(m)),8&v)return m;if(4&v&&typeof m=="object"&&m&&m.__esModule)return m;var h=Object.create(null);if(A.r(h),Object.defineProperty(h,"default",{enumerable:!0,value:m}),2&v&&typeof m!="string")for(var c in m)A.d(h,c,function(a){return m[a]}.bind(null,c));return h},A.n=function(m){var v=m&&m.__esModule?function(){return m.default}:function(){return m};return A.d(v,"a",v),v},A.o=function(m,v){return Object.prototype.hasOwnProperty.call(m,v)},A.p="",A(A.s=34)}([function(g,f,A){"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,A){"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=A(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,A){"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,A){"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,A){"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=A(8),c=A(3),a=A(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,A){"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.ISoundService=f.ISelectionService=f.IRenderService=f.IMouseService=f.ICoreBrowserService=f.ICharSizeService=void 0;var m=A(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,A){"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,A){"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,A){"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 x=0,S=void 0;(S=63&this.interim[++x])&&x<4;)p<<=6,p|=S;for(var T=(224&this.interim[0])==192?2:(240&this.interim[0])==224?3:4,w=T-x;s<w;){if(s>=i)return 0;if((192&(S=c[s++]))!=128){s--,u=!0;break}this.interim[x++]=S,p<<=6,p|=63&S}u||(T===2?p<128?s--:a[l++]=p:T===3?p<2048||p>=55296&&p<=57343||(a[l++]=p):p<65536||p>1114111||(a[l++]=p)),this.interim.fill(0)}for(var E=i-4,C=s;C<i;){for(;!(!(C<E)||128&(r=c[C])||128&(o=c[C+1])||128&(d=c[C+2])||128&(n=c[C+3]));)a[l++]=r,a[l++]=o,a[l++]=d,a[l++]=n,C+=4;if((r=c[C++])<128)a[l++]=r;else if((224&r)==192){if(C>=i)return this.interim[0]=r,l;if((192&(o=c[C++]))!=128){C--;continue}if((t=(31&r)<<6|63&o)<128){C--;continue}a[l++]=t}else if((240&r)==224){if(C>=i)return this.interim[0]=r,l;if((192&(o=c[C++]))!=128){C--;continue}if(C>=i)return this.interim[0]=r,this.interim[1]=o,l;if((192&(d=c[C++]))!=128){C--;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(C>=i)return this.interim[0]=r,l;if((192&(o=c[C++]))!=128){C--;continue}if(C>=i)return this.interim[0]=r,this.interim[1]=o,l;if((192&(d=c[C++]))!=128){C--;continue}if(C>=i)return this.interim[0]=r,this.interim[1]=o,this.interim[2]=d,l;if((192&(n=c[C++]))!=128){C--;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,A){"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,A){"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,x=s+Math.round((n-s)*d),S=u+Math.round((l-u)*d),T=p+Math.round((t-p)*d);return{css:m.toCss(x,S,T),rgba:m.toRgba(x,S,T)}},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,x=l>>24&255,S=l>>16&255,T=l>>8&255,w=i(h.relativeLuminance2(x,T,S),h.relativeLuminance2(s,u,p));w<t&&(x>0||S>0||T>0);)x-=Math.max(0,Math.ceil(.1*x)),S-=Math.max(0,Math.ceil(.1*S)),T-=Math.max(0,Math.ceil(.1*T)),w=i(h.relativeLuminance2(x,T,S),h.relativeLuminance2(s,u,p));return(x<<24|S<<16|T<<8|255)>>>0}function d(n,l,t){for(var s=n>>24&255,u=n>>16&255,p=n>>8&255,x=l>>24&255,S=l>>16&255,T=l>>8&255,w=i(h.relativeLuminance2(x,T,S),h.relativeLuminance2(s,u,p));w<t&&(x<255||S<255||T<255);)x=Math.min(255,x+Math.ceil(.1*(255-x))),S=Math.min(255,S+Math.ceil(.1*(255-S))),T=Math.min(255,T+Math.ceil(.1*(255-T))),w=i(h.relativeLuminance2(x,T,S),h.relativeLuminance2(s,u,p));return(x<<24|S<<16|T<<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,A){"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,A){"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,A){"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.BaseRenderLayer=void 0;var m=A(3),v=A(9),h=A(25),c=A(6),a=A(28),i=A(10),r=A(17),o=function(){function d(n,l,t,s,u,p,x,S){this._container=n,this._alpha=s,this._colors=u,this._rendererId=p,this._bufferService=x,this._optionsService=S,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(),x=!!n.isInverse(),S=!!n.isInverse();if(x){var T=t;t=u,u=T;var w=s;s=p,p=w}var E=this._resolveBackgroundRgba(p,u,x),C=this._resolveForegroundRgba(s,t,x,S),_=i.rgba.ensureContrastRatio(E,C,this._optionsService.options.minimumContrastRatio);if(_){var y={css:i.channels.toCss(_>>24&255,_>>16&255,_>>8&255),rgba:_};return this._colors.contrastCache.setColor(n.bg,n.fg,y),y}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,A){"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,A){"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,A){"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.BufferLine=f.DEFAULT_ATTR_DATA=void 0;var m=A(8),v=A(3),h=A(4),c=A(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 x=parseInt(p[u],10);x>=o&&(this._combined[x-o+d]=r._combined[x])}},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,A){"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,A){"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,A){"use strict";var m,v=this&&this.__extends||(m=function(_,y){return(m=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(b,O){b.__proto__=O}||function(b,O){for(var I in O)O.hasOwnProperty(I)&&(b[I]=O[I])})(_,y)},function(C,_){function y(){this.constructor=C}m(C,_),C.prototype=_===null?Object.create(_):(y.prototype=_.prototype,new y)});Object.defineProperty(f,"__esModule",{value:!0}),f.InputHandler=f.WindowsOptionsReportType=void 0;var h,c=A(12),a=A(20),i=A(39),r=A(2),o=A(15),d=A(8),n=A(16),l=A(0),t=A(3),s=A(4),u=A(6),p=A(22),x=A(24),S={"(":0,")":1,"*":2,"+":3,"-":1,".":2};function T(C,_){if(C>24)return _.setWinLines||!1;switch(C){case 1:return!!_.restoreWin;case 2:return!!_.minimizeWin;case 3:return!!_.setWinPosition;case 4:return!!_.setWinSizePixels;case 5:return!!_.raiseWin;case 6:return!!_.lowerWin;case 7:return!!_.refreshWin;case 8:return!!_.setWinSizeChars;case 9:return!!_.maximizeWin;case 10:return!!_.fullscreenWin;case 11:return!!_.getWinState;case 13:return!!_.getWinPosition;case 14:return!!_.getWinSizePixels;case 15:return!!_.getScreenSizePixels;case 16:return!!_.getCellSizePixels;case 18:return!!_.getWinSizeChars;case 19:return!!_.getScreenSizeChars;case 20:return!!_.getIconTitle;case 21:return!!_.getWinTitle;case 22:return!!_.pushTitle;case 23:return!!_.popTitle;case 24:return!!_.setWinLines}return!1}!function(C){C[C.GET_WIN_SIZE_PIXELS=0]="GET_WIN_SIZE_PIXELS",C[C.GET_CELL_SIZE_PIXELS=1]="GET_CELL_SIZE_PIXELS"}(h=f.WindowsOptionsReportType||(f.WindowsOptionsReportType={}));var w=function(){function C(_,y,b,O){this._bufferService=_,this._coreService=y,this._logService=b,this._optionsService=O,this._data=new Uint32Array(0)}return C.prototype.hook=function(_){this._data=new Uint32Array(0)},C.prototype.put=function(_,y,b){this._data=o.concat(this._data,_.subarray(y,b))},C.prototype.unhook=function(_){if(_){var y=d.utf32ToString(this._data);switch(this._data=new Uint32Array(0),y){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 b=this._bufferService.buffer.scrollTop+1+";"+(this._bufferService.buffer.scrollBottom+1)+"r";return this._coreService.triggerDataEvent(c.C0.ESC+"P1$r"+b+c.C0.ESC+"\\");case"m":return this._coreService.triggerDataEvent(c.C0.ESC+"P1$r0m"+c.C0.ESC+"\\");case" q":var O={block:2,underline:4,bar:6}[this._optionsService.options.cursorStyle];return O-=this._optionsService.options.cursorBlink?1:0,this._coreService.triggerDataEvent(c.C0.ESC+"P1$r"+O+" q"+c.C0.ESC+"\\");default:this._logService.debug("Unknown DCS $q %s",y),this._coreService.triggerDataEvent(c.C0.ESC+"P0$r"+c.C0.ESC+"\\")}}else this._data=new Uint32Array(0)},C}(),E=function(C){function _(y,b,O,I,M,F,P,j,K){K===void 0&&(K=new i.EscapeSequenceParser);var N=C.call(this)||this;N._bufferService=y,N._charsetService=b,N._coreService=O,N._dirtyRowService=I,N._logService=M,N._optionsService=F,N._coreMouseService=P,N._unicodeService=j,N._parser=K,N._parseBuffer=new Uint32Array(4096),N._stringDecoder=new d.StringToUtf32,N._utf8Decoder=new d.Utf8ToUtf32,N._workCell=new s.CellData,N._windowTitle="",N._iconName="",N._windowTitleStack=[],N._iconNameStack=[],N._curAttrData=n.DEFAULT_ATTR_DATA.clone(),N._eraseAttrDataInternal=n.DEFAULT_ATTR_DATA.clone(),N._onRequestBell=new l.EventEmitter,N._onRequestRefreshRows=new l.EventEmitter,N._onRequestReset=new l.EventEmitter,N._onRequestScroll=new l.EventEmitter,N._onRequestSyncScrollBar=new l.EventEmitter,N._onRequestWindowsOptionsReport=new l.EventEmitter,N._onA11yChar=new l.EventEmitter,N._onA11yTab=new l.EventEmitter,N._onCursorMove=new l.EventEmitter,N._onLineFeed=new l.EventEmitter,N._onScroll=new l.EventEmitter,N._onTitleChange=new l.EventEmitter,N.register(N._parser),N._parser.setCsiHandlerFallback(function(z,X){N._logService.debug("Unknown CSI code: ",{identifier:N._parser.identToString(z),params:X.toArray()})}),N._parser.setEscHandlerFallback(function(z){N._logService.debug("Unknown ESC code: ",{identifier:N._parser.identToString(z)})}),N._parser.setExecuteHandlerFallback(function(z){N._logService.debug("Unknown EXECUTE code: ",{code:z})}),N._parser.setOscHandlerFallback(function(z,X,W){N._logService.debug("Unknown OSC code: ",{identifier:z,action:X,data:W})}),N._parser.setDcsHandlerFallback(function(z,X,W){X==="HOOK"&&(W=W.toArray()),N._logService.debug("Unknown DCS code: ",{identifier:N._parser.identToString(z),action:X,payload:W})}),N._parser.setPrintHandler(function(z,X,W){return N.print(z,X,W)}),N._parser.setCsiHandler({final:"@"},function(z){return N.insertChars(z)}),N._parser.setCsiHandler({intermediates:" ",final:"@"},function(z){return N.scrollLeft(z)}),N._parser.setCsiHandler({final:"A"},function(z){return N.cursorUp(z)}),N._parser.setCsiHandler({intermediates:" ",final:"A"},function(z){return N.scrollRight(z)}),N._parser.setCsiHandler({final:"B"},function(z){return N.cursorDown(z)}),N._parser.setCsiHandler({final:"C"},function(z){return N.cursorForward(z)}),N._parser.setCsiHandler({final:"D"},function(z){return N.cursorBackward(z)}),N._parser.setCsiHandler({final:"E"},function(z){return N.cursorNextLine(z)}),N._parser.setCsiHandler({final:"F"},function(z){return N.cursorPrecedingLine(z)}),N._parser.setCsiHandler({final:"G"},function(z){return N.cursorCharAbsolute(z)}),N._parser.setCsiHandler({final:"H"},function(z){return N.cursorPosition(z)}),N._parser.setCsiHandler({final:"I"},function(z){return N.cursorForwardTab(z)}),N._parser.setCsiHandler({final:"J"},function(z){return N.eraseInDisplay(z)}),N._parser.setCsiHandler({prefix:"?",final:"J"},function(z){return N.eraseInDisplay(z)}),N._parser.setCsiHandler({final:"K"},function(z){return N.eraseInLine(z)}),N._parser.setCsiHandler({prefix:"?",final:"K"},function(z){return N.eraseInLine(z)}),N._parser.setCsiHandler({final:"L"},function(z){return N.insertLines(z)}),N._parser.setCsiHandler({final:"M"},function(z){return N.deleteLines(z)}),N._parser.setCsiHandler({final:"P"},function(z){return N.deleteChars(z)}),N._parser.setCsiHandler({final:"S"},function(z){return N.scrollUp(z)}),N._parser.setCsiHandler({final:"T"},function(z){return N.scrollDown(z)}),N._parser.setCsiHandler({final:"X"},function(z){return N.eraseChars(z)}),N._parser.setCsiHandler({final:"Z"},function(z){return N.cursorBackwardTab(z)}),N._parser.setCsiHandler({final:"`"},function(z){return N.charPosAbsolute(z)}),N._parser.setCsiHandler({final:"a"},function(z){return N.hPositionRelative(z)}),N._parser.setCsiHandler({final:"b"},function(z){return N.repeatPrecedingCharacter(z)}),N._parser.setCsiHandler({final:"c"},function(z){return N.sendDeviceAttributesPrimary(z)}),N._parser.setCsiHandler({prefix:">",final:"c"},function(z){return N.sendDeviceAttributesSecondary(z)}),N._parser.setCsiHandler({final:"d"},function(z){return N.linePosAbsolute(z)}),N._parser.setCsiHandler({final:"e"},function(z){return N.vPositionRelative(z)}),N._parser.setCsiHandler({final:"f"},function(z){return N.hVPosition(z)}),N._parser.setCsiHandler({final:"g"},function(z){return N.tabClear(z)}),N._parser.setCsiHandler({final:"h"},function(z){return N.setMode(z)}),N._parser.setCsiHandler({prefix:"?",final:"h"},function(z){return N.setModePrivate(z)}),N._parser.setCsiHandler({final:"l"},function(z){return N.resetMode(z)}),N._parser.setCsiHandler({prefix:"?",final:"l"},function(z){return N.resetModePrivate(z)}),N._parser.setCsiHandler({final:"m"},function(z){return N.charAttributes(z)}),N._parser.setCsiHandler({final:"n"},function(z){return N.deviceStatus(z)}),N._parser.setCsiHandler({prefix:"?",final:"n"},function(z){return N.deviceStatusPrivate(z)}),N._parser.setCsiHandler({intermediates:"!",final:"p"},function(z){return N.softReset(z)}),N._parser.setCsiHandler({intermediates:" ",final:"q"},function(z){return N.setCursorStyle(z)}),N._parser.setCsiHandler({final:"r"},function(z){return N.setScrollRegion(z)}),N._parser.setCsiHandler({final:"s"},function(z){return N.saveCursor(z)}),N._parser.setCsiHandler({final:"t"},function(z){return N.windowOptions(z)}),N._parser.setCsiHandler({final:"u"},function(z){return N.restoreCursor(z)}),N._parser.setCsiHandler({intermediates:"'",final:"}"},function(z){return N.insertColumns(z)}),N._parser.setCsiHandler({intermediates:"'",final:"~"},function(z){return N.deleteColumns(z)}),N._parser.setExecuteHandler(c.C0.BEL,function(){return N.bell()}),N._parser.setExecuteHandler(c.C0.LF,function(){return N.lineFeed()}),N._parser.setExecuteHandler(c.C0.VT,function(){return N.lineFeed()}),N._parser.setExecuteHandler(c.C0.FF,function(){return N.lineFeed()}),N._parser.setExecuteHandler(c.C0.CR,function(){return N.carriageReturn()}),N._parser.setExecuteHandler(c.C0.BS,function(){return N.backspace()}),N._parser.setExecuteHandler(c.C0.HT,function(){return N.tab()}),N._parser.setExecuteHandler(c.C0.SO,function(){return N.shiftOut()}),N._parser.setExecuteHandler(c.C0.SI,function(){return N.shiftIn()}),N._parser.setExecuteHandler(c.C1.IND,function(){return N.index()}),N._parser.setExecuteHandler(c.C1.NEL,function(){return N.nextLine()}),N._parser.setExecuteHandler(c.C1.HTS,function(){return N.tabSet()}),N._parser.setOscHandler(0,new p.OscHandler(function(z){N.setTitle(z),N.setIconName(z)})),N._parser.setOscHandler(1,new p.OscHandler(function(z){return N.setIconName(z)})),N._parser.setOscHandler(2,new p.OscHandler(function(z){return N.setTitle(z)})),N._parser.setEscHandler({final:"7"},function(){return N.saveCursor()}),N._parser.setEscHandler({final:"8"},function(){return N.restoreCursor()}),N._parser.setEscHandler({final:"D"},function(){return N.index()}),N._parser.setEscHandler({final:"E"},function(){return N.nextLine()}),N._parser.setEscHandler({final:"H"},function(){return N.tabSet()}),N._parser.setEscHandler({final:"M"},function(){return N.reverseIndex()}),N._parser.setEscHandler({final:"="},function(){return N.keypadApplicationMode()}),N._parser.setEscHandler({final:">"},function(){return N.keypadNumericMode()}),N._parser.setEscHandler({final:"c"},function(){return N.fullReset()}),N._parser.setEscHandler({final:"n"},function(){return N.setgLevel(2)}),N._parser.setEscHandler({final:"o"},function(){return N.setgLevel(3)}),N._parser.setEscHandler({final:"|"},function(){return N.setgLevel(3)}),N._parser.setEscHandler({final:"}"},function(){return N.setgLevel(2)}),N._parser.setEscHandler({final:"~"},function(){return N.setgLevel(1)}),N._parser.setEscHandler({intermediates:"%",final:"@"},function(){return N.selectDefaultCharset()}),N._parser.setEscHandler({intermediates:"%",final:"G"},function(){return N.selectDefaultCharset()});var B=function(X){U._parser.setEscHandler({intermediates:"(",final:X},function(){return N.selectCharset("("+X)}),U._parser.setEscHandler({intermediates:")",final:X},function(){return N.selectCharset(")"+X)}),U._parser.setEscHandler({intermediates:"*",final:X},function(){return N.selectCharset("*"+X)}),U._parser.setEscHandler({intermediates:"+",final:X},function(){return N.selectCharset("+"+X)}),U._parser.setEscHandler({intermediates:"-",final:X},function(){return N.selectCharset("-"+X)}),U._parser.setEscHandler({intermediates:".",final:X},function(){return N.selectCharset("."+X)}),U._parser.setEscHandler({intermediates:"/",final:X},function(){return N.selectCharset("/"+X)})},U=this;for(var H in a.CHARSETS)B(H);return N._parser.setEscHandler({intermediates:"#",final:"8"},function(){return N.screenAlignmentPattern()}),N._parser.setErrorHandler(function(z){return N._logService.error("Parsing error: ",z),z}),N._parser.setDcsHandler({intermediates:"$",final:"q"},new w(N._bufferService,N._coreService,N._logService,N._optionsService)),N}return v(_,C),Object.defineProperty(_.prototype,"onRequestBell",{get:function(){return this._onRequestBell.event},enumerable:!1,configurable:!0}),Object.defineProperty(_.prototype,"onRequestRefreshRows",{get:function(){return this._onRequestRefreshRows.event},enumerable:!1,configurable:!0}),Object.defineProperty(_.prototype,"onRequestReset",{get:function(){return this._onRequestReset.event},enumerable:!1,configurable:!0}),Object.defineProperty(_.prototype,"onRequestScroll",{get:function(){return this._onRequestScroll.event},enumerable:!1,configurable:!0}),Object.defineProperty(_.prototype,"onRequestSyncScrollBar",{get:function(){return this._onRequestSyncScrollBar.event},enumerable:!1,configurable:!0}),Object.defineProperty(_.prototype,"onRequestWindowsOptionsReport",{get:function(){return this._onRequestWindowsOptionsReport.event},enumerable:!1,configurable:!0}),Object.defineProperty(_.prototype,"onA11yChar",{get:function(){return this._onA11yChar.event},enumerable:!1,configurable:!0}),Object.defineProperty(_.prototype,"onA11yTab",{get:function(){return this._onA11yTab.event},enumerable:!1,configurable:!0}),Object.defineProperty(_.prototype,"onCursorMove",{get:function(){return this._onCursorMove.event},enumerable:!1,configurable:!0}),Object.defineProperty(_.prototype,"onLineFeed",{get:function(){return this._onLineFeed.event},enumerable:!1,configurable:!0}),Object.defineProperty(_.prototype,"onScroll",{get:function(){return this._onScroll.event},enumerable:!1,configurable:!0}),Object.defineProperty(_.prototype,"onTitleChange",{get:function(){return this._onTitleChange.event},enumerable:!1,configurable:!0}),_.prototype.dispose=function(){C.prototype.dispose.call(this)},_.prototype.parse=function(y){var b=this._bufferService.buffer,O=b.x,I=b.y;if(this._logService.debug("parsing data",y),this._parseBuffer.length<y.length&&this._parseBuffer.length<131072&&(this._parseBuffer=new Uint32Array(Math.min(y.length,131072))),this._dirtyRowService.clearRange(),y.length>131072)for(var M=0;M<y.length;M+=131072){var F=M+131072<y.length?M+131072:y.length,P=typeof y=="string"?this._stringDecoder.decode(y.substring(M,F),this._parseBuffer):this._utf8Decoder.decode(y.subarray(M,F),this._parseBuffer);this._parser.parse(this._parseBuffer,P)}else P=typeof y=="string"?this._stringDecoder.decode(y,this._parseBuffer):this._utf8Decoder.decode(y,this._parseBuffer),this._parser.parse(this._parseBuffer,P);(b=this._bufferService.buffer).x===O&&b.y===I||this._onCursorMove.fire(),this._onRequestRefreshRows.fire(this._dirtyRowService.start,this._dirtyRowService.end)},_.prototype.print=function(y,b,O){var I,M,F=this._bufferService.buffer,P=this._charsetService.charset,j=this._optionsService.options.screenReaderMode,K=this._bufferService.cols,N=this._coreService.decPrivateModes.wraparound,B=this._coreService.modes.insertMode,U=this._curAttrData,H=F.lines.get(F.ybase+F.y);this._dirtyRowService.markDirty(F.y),F.x&&O-b>0&&H.getWidth(F.x-1)===2&&H.setCellFromCodePoint(F.x-1,0,1,U.fg,U.bg,U.extended);for(var z=b;z<O;++z){if(I=y[z],M=this._unicodeService.wcwidth(I),I<127&&P){var X=P[String.fromCharCode(I)];X&&(I=X.charCodeAt(0))}if(j&&this._onA11yChar.fire(d.stringFromCodePoint(I)),M||!F.x){if(F.x+M-1>=K){if(N){for(;F.x<K;)H.setCellFromCodePoint(F.x++,0,1,U.fg,U.bg,U.extended);F.x=0,F.y++,F.y===F.scrollBottom+1?(F.y--,this._onRequestScroll.fire(this._eraseAttrData(),!0)):(F.y>=this._bufferService.rows&&(F.y=this._bufferService.rows-1),F.lines.get(F.ybase+F.y).isWrapped=!0),H=F.lines.get(F.ybase+F.y)}else if(F.x=K-1,M===2)continue}if(B&&(H.insertCells(F.x,M,F.getNullCell(U),U),H.getWidth(K-1)===2&&H.setCellFromCodePoint(K-1,t.NULL_CELL_CODE,t.NULL_CELL_WIDTH,U.fg,U.bg,U.extended)),H.setCellFromCodePoint(F.x++,I,M,U.fg,U.bg,U.extended),M>0)for(;--M;)H.setCellFromCodePoint(F.x++,0,0,U.fg,U.bg,U.extended)}else H.getWidth(F.x-1)?H.addCodepointToCell(F.x-1,I):H.addCodepointToCell(F.x-2,I)}O-b>0&&(H.loadCell(F.x-1,this._workCell),this._workCell.getWidth()===2||this._workCell.getCode()>65535?this._parser.precedingCodepoint=0:this._workCell.isCombined()?this._parser.precedingCodepoint=this._workCell.getChars().charCodeAt(0):this._parser.precedingCodepoint=this._workCell.content),F.x<K&&O-b>0&&H.getWidth(F.x)===0&&!H.hasContent(F.x)&&H.setCellFromCodePoint(F.x,0,1,U.fg,U.bg,U.extended),this._dirtyRowService.markDirty(F.y)},_.prototype.addCsiHandler=function(y,b){var O=this;return y.final!=="t"||y.prefix||y.intermediates?this._parser.addCsiHandler(y,b):this._parser.addCsiHandler(y,function(I){return!T(I.params[0],O._optionsService.options.windowOptions)||b(I)})},_.prototype.addDcsHandler=function(y,b){return this._parser.addDcsHandler(y,new x.DcsHandler(b))},_.prototype.addEscHandler=function(y,b){return this._parser.addEscHandler(y,b)},_.prototype.addOscHandler=function(y,b){return this._parser.addOscHandler(y,new p.OscHandler(b))},_.prototype.bell=function(){this._onRequestBell.fire()},_.prototype.lineFeed=function(){var y=this._bufferService.buffer;this._dirtyRowService.markDirty(y.y),this._optionsService.options.convertEol&&(y.x=0),y.y++,y.y===y.scrollBottom+1?(y.y--,this._onRequestScroll.fire(this._eraseAttrData())):y.y>=this._bufferService.rows&&(y.y=this._bufferService.rows-1),y.x>=this._bufferService.cols&&y.x--,this._dirtyRowService.markDirty(y.y),this._onLineFeed.fire()},_.prototype.carriageReturn=function(){this._bufferService.buffer.x=0},_.prototype.backspace=function(){var y,b=this._bufferService.buffer;if(!this._coreService.decPrivateModes.reverseWraparound)return this._restrictCursor(),void(b.x>0&&b.x--);if(this._restrictCursor(this._bufferService.cols),b.x>0)b.x--;else if(b.x===0&&b.y>b.scrollTop&&b.y<=b.scrollBottom&&((y=b.lines.get(b.ybase+b.y))===null||y===void 0?void 0:y.isWrapped)){b.lines.get(b.ybase+b.y).isWrapped=!1,b.y--,b.x=this._bufferService.cols-1;var O=b.lines.get(b.ybase+b.y);O.hasWidth(b.x)&&!O.hasContent(b.x)&&b.x--}this._restrictCursor()},_.prototype.tab=function(){if(!(this._bufferService.buffer.x>=this._bufferService.cols)){var y=this._bufferService.buffer.x;this._bufferService.buffer.x=this._bufferService.buffer.nextStop(),this._optionsService.options.screenReaderMode&&this._onA11yTab.fire(this._bufferService.buffer.x-y)}},_.prototype.shiftOut=function(){this._charsetService.setgLevel(1)},_.prototype.shiftIn=function(){this._charsetService.setgLevel(0)},_.prototype._restrictCursor=function(y){y===void 0&&(y=this._bufferService.cols-1),this._bufferService.buffer.x=Math.min(y,Math.max(0,this._bufferService.buffer.x)),this._bufferService.buffer.y=this._coreService.decPrivateModes.origin?Math.min(this._bufferService.buffer.scrollBottom,Math.max(this._bufferService.buffer.scrollTop,this._bufferService.buffer.y)):Math.min(this._bufferService.rows-1,Math.max(0,this._bufferService.buffer.y)),this._dirtyRowService.markDirty(this._bufferService.buffer.y)},_.prototype._setCursor=function(y,b){this._dirtyRowService.markDirty(this._bufferService.buffer.y),this._coreService.decPrivateModes.origin?(this._bufferService.buffer.x=y,this._bufferService.buffer.y=this._bufferService.buffer.scrollTop+b):(this._bufferService.buffer.x=y,this._bufferService.buffer.y=b),this._restrictCursor(),this._dirtyRowService.markDirty(this._bufferService.buffer.y)},_.prototype._moveCursor=function(y,b){this._restrictCursor(),this._setCursor(this._bufferService.buffer.x+y,this._bufferService.buffer.y+b)},_.prototype.cursorUp=function(y){var b=this._bufferService.buffer.y-this._bufferService.buffer.scrollTop;b>=0?this._moveCursor(0,-Math.min(b,y.params[0]||1)):this._moveCursor(0,-(y.params[0]||1))},_.prototype.cursorDown=function(y){var b=this._bufferService.buffer.scrollBottom-this._bufferService.buffer.y;b>=0?this._moveCursor(0,Math.min(b,y.params[0]||1)):this._moveCursor(0,y.params[0]||1)},_.prototype.cursorForward=function(y){this._moveCursor(y.params[0]||1,0)},_.prototype.cursorBackward=function(y){this._moveCursor(-(y.params[0]||1),0)},_.prototype.cursorNextLine=function(y){this.cursorDown(y),this._bufferService.buffer.x=0},_.prototype.cursorPrecedingLine=function(y){this.cursorUp(y),this._bufferService.buffer.x=0},_.prototype.cursorCharAbsolute=function(y){this._setCursor((y.params[0]||1)-1,this._bufferService.buffer.y)},_.prototype.cursorPosition=function(y){this._setCursor(y.length>=2?(y.params[1]||1)-1:0,(y.params[0]||1)-1)},_.prototype.charPosAbsolute=function(y){this._setCursor((y.params[0]||1)-1,this._bufferService.buffer.y)},_.prototype.hPositionRelative=function(y){this._moveCursor(y.params[0]||1,0)},_.prototype.linePosAbsolute=function(y){this._setCursor(this._bufferService.buffer.x,(y.params[0]||1)-1)},_.prototype.vPositionRelative=function(y){this._moveCursor(0,y.params[0]||1)},_.prototype.hVPosition=function(y){this.cursorPosition(y)},_.prototype.tabClear=function(y){var b=y.params[0];b===0?delete this._bufferService.buffer.tabs[this._bufferService.buffer.x]:b===3&&(this._bufferService.buffer.tabs={})},_.prototype.cursorForwardTab=function(y){if(!(this._bufferService.buffer.x>=this._bufferService.cols))for(var b=y.params[0]||1;b--;)this._bufferService.buffer.x=this._bufferService.buffer.nextStop()},_.prototype.cursorBackwardTab=function(y){if(!(this._bufferService.buffer.x>=this._bufferService.cols))for(var b=y.params[0]||1,O=this._bufferService.buffer;b--;)O.x=O.prevStop()},_.prototype._eraseInBufferLine=function(y,b,O,I){I===void 0&&(I=!1);var M=this._bufferService.buffer.lines.get(this._bufferService.buffer.ybase+y);M.replaceCells(b,O,this._bufferService.buffer.getNullCell(this._eraseAttrData()),this._eraseAttrData()),I&&(M.isWrapped=!1)},_.prototype._resetBufferLine=function(y){var b=this._bufferService.buffer.lines.get(this._bufferService.buffer.ybase+y);b.fill(this._bufferService.buffer.getNullCell(this._eraseAttrData())),b.isWrapped=!1},_.prototype.eraseInDisplay=function(y){var b;switch(this._restrictCursor(),y.params[0]){case 0:for(b=this._bufferService.buffer.y,this._dirtyRowService.markDirty(b),this._eraseInBufferLine(b++,this._bufferService.buffer.x,this._bufferService.cols,this._bufferService.buffer.x===0);b<this._bufferService.rows;b++)this._resetBufferLine(b);this._dirtyRowService.markDirty(b);break;case 1:for(b=this._bufferService.buffer.y,this._dirtyRowService.markDirty(b),this._eraseInBufferLine(b,0,this._bufferService.buffer.x+1,!0),this._bufferService.buffer.x+1>=this._bufferService.cols&&(this._bufferService.buffer.lines.get(b+1).isWrapped=!1);b--;)this._resetBufferLine(b);this._dirtyRowService.markDirty(0);break;case 2:for(b=this._bufferService.rows,this._dirtyRowService.markDirty(b-1);b--;)this._resetBufferLine(b);this._dirtyRowService.markDirty(0);break;case 3:var O=this._bufferService.buffer.lines.length-this._bufferService.rows;O>0&&(this._bufferService.buffer.lines.trimStart(O),this._bufferService.buffer.ybase=Math.max(this._bufferService.buffer.ybase-O,0),this._bufferService.buffer.ydisp=Math.max(this._bufferService.buffer.ydisp-O,0),this._onScroll.fire(0))}},_.prototype.eraseInLine=function(y){switch(this._restrictCursor(),y.params[0]){case 0:this._eraseInBufferLine(this._bufferService.buffer.y,this._bufferService.buffer.x,this._bufferService.cols);break;case 1:this._eraseInBufferLine(this._bufferService.buffer.y,0,this._bufferService.buffer.x+1);break;case 2:this._eraseInBufferLine(this._bufferService.buffer.y,0,this._bufferService.cols)}this._dirtyRowService.markDirty(this._bufferService.buffer.y)},_.prototype.insertLines=function(y){this._restrictCursor();var b=y.params[0]||1,O=this._bufferService.buffer;if(!(O.y>O.scrollBottom||O.y<O.scrollTop)){for(var I=O.ybase+O.y,M=this._bufferService.rows-1-O.scrollBottom,F=this._bufferService.rows-1+O.ybase-M+1;b--;)O.lines.splice(F-1,1),O.lines.splice(I,0,O.getBlankLine(this._eraseAttrData()));this._dirtyRowService.markRangeDirty(O.y,O.scrollBottom),O.x=0}},_.prototype.deleteLines=function(y){this._restrictCursor();var b=y.params[0]||1,O=this._bufferService.buffer;if(!(O.y>O.scrollBottom||O.y<O.scrollTop)){var I,M=O.ybase+O.y;for(I=this._bufferService.rows-1-O.scrollBottom,I=this._bufferService.rows-1+O.ybase-I;b--;)O.lines.splice(M,1),O.lines.splice(I,0,O.getBlankLine(this._eraseAttrData()));this._dirtyRowService.markRangeDirty(O.y,O.scrollBottom),O.x=0}},_.prototype.insertChars=function(y){this._restrictCursor();var b=this._bufferService.buffer.lines.get(this._bufferService.buffer.ybase+this._bufferService.buffer.y);b&&(b.insertCells(this._bufferService.buffer.x,y.params[0]||1,this._bufferService.buffer.getNullCell(this._eraseAttrData()),this._eraseAttrData()),this._dirtyRowService.markDirty(this._bufferService.buffer.y))},_.prototype.deleteChars=function(y){this._restrictCursor();var b=this._bufferService.buffer.lines.get(this._bufferService.buffer.ybase+this._bufferService.buffer.y);b&&(b.deleteCells(this._bufferService.buffer.x,y.params[0]||1,this._bufferService.buffer.getNullCell(this._eraseAttrData()),this._eraseAttrData()),this._dirtyRowService.markDirty(this._bufferService.buffer.y))},_.prototype.scrollUp=function(y){for(var b=y.params[0]||1,O=this._bufferService.buffer;b--;)O.lines.splice(O.ybase+O.scrollTop,1),O.lines.splice(O.ybase+O.scrollBottom,0,O.getBlankLine(this._eraseAttrData()));this._dirtyRowService.markRangeDirty(O.scrollTop,O.scrollBottom)},_.prototype.scrollDown=function(y){for(var b=y.params[0]||1,O=this._bufferService.buffer;b--;)O.lines.splice(O.ybase+O.scrollBottom,1),O.lines.splice(O.ybase+O.scrollTop,0,O.getBlankLine(n.DEFAULT_ATTR_DATA));this._dirtyRowService.markRangeDirty(O.scrollTop,O.scrollBottom)},_.prototype.scrollLeft=function(y){var b=this._bufferService.buffer;if(!(b.y>b.scrollBottom||b.y<b.scrollTop)){for(var O=y.params[0]||1,I=b.scrollTop;I<=b.scrollBottom;++I){var M=b.lines.get(b.ybase+I);M.deleteCells(0,O,b.getNullCell(this._eraseAttrData()),this._eraseAttrData()),M.isWrapped=!1}this._dirtyRowService.markRangeDirty(b.scrollTop,b.scrollBottom)}},_.prototype.scrollRight=function(y){var b=this._bufferService.buffer;if(!(b.y>b.scrollBottom||b.y<b.scrollTop)){for(var O=y.params[0]||1,I=b.scrollTop;I<=b.scrollBottom;++I){var M=b.lines.get(b.ybase+I);M.insertCells(0,O,b.getNullCell(this._eraseAttrData()),this._eraseAttrData()),M.isWrapped=!1}this._dirtyRowService.markRangeDirty(b.scrollTop,b.scrollBottom)}},_.prototype.insertColumns=function(y){var b=this._bufferService.buffer;if(!(b.y>b.scrollBottom||b.y<b.scrollTop)){for(var O=y.params[0]||1,I=b.scrollTop;I<=b.scrollBottom;++I){var M=this._bufferService.buffer.lines.get(b.ybase+I);M.insertCells(b.x,O,b.getNullCell(this._eraseAttrData()),this._eraseAttrData()),M.isWrapped=!1}this._dirtyRowService.markRangeDirty(b.scrollTop,b.scrollBottom)}},_.prototype.deleteColumns=function(y){var b=this._bufferService.buffer;if(!(b.y>b.scrollBottom||b.y<b.scrollTop)){for(var O=y.params[0]||1,I=b.scrollTop;I<=b.scrollBottom;++I){var M=b.lines.get(b.ybase+I);M.deleteCells(b.x,O,b.getNullCell(this._eraseAttrData()),this._eraseAttrData()),M.isWrapped=!1}this._dirtyRowService.markRangeDirty(b.scrollTop,b.scrollBottom)}},_.prototype.eraseChars=function(y){this._restrictCursor();var b=this._bufferService.buffer.lines.get(this._bufferService.buffer.ybase+this._bufferService.buffer.y);b&&(b.replaceCells(this._bufferService.buffer.x,this._bufferService.buffer.x+(y.params[0]||1),this._bufferService.buffer.getNullCell(this._eraseAttrData()),this._eraseAttrData()),this._dirtyRowService.markDirty(this._bufferService.buffer.y))},_.prototype.repeatPrecedingCharacter=function(y){if(this._parser.precedingCodepoint){for(var b=y.params[0]||1,O=new Uint32Array(b),I=0;I<b;++I)O[I]=this._parser.precedingCodepoint;this.print(O,0,O.length)}},_.prototype.sendDeviceAttributesPrimary=function(y){y.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"))},_.prototype.sendDeviceAttributesSecondary=function(y){y.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(y.params[0]+"c"):this._is("screen")&&this._coreService.triggerDataEvent(c.C0.ESC+"[>83;40003;0c"))},_.prototype._is=function(y){return(this._optionsService.options.termName+"").indexOf(y)===0},_.prototype.setMode=function(y){for(var b=0;b<y.length;b++)switch(y.params[b]){case 4:this._coreService.modes.insertMode=!0}},_.prototype.setModePrivate=function(y){for(var b=0;b<y.length;b++)switch(y.params[b]){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}},_.prototype.resetMode=function(y){for(var b=0;b<y.length;b++)switch(y.params[b]){case 4:this._coreService.modes.insertMode=!1}},_.prototype.resetModePrivate=function(y){for(var b=0;b<y.length;b++)switch(y.params[b]){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(),y.params[b]===1049&&this.restoreCursor(),this._coreService.isCursorInitialized=!0,this._onRequestRefreshRows.fire(0,this._bufferService.rows-1),this._onRequestSyncScrollBar.fire();break;case 2004:this._coreService.decPrivateModes.bracketedPasteMode=!1}},_.prototype._updateAttrColor=function(y,b,O,I,M){return b===2?(y|=50331648,y&=-16777216,y|=u.AttributeData.fromColorRGB([O,I,M])):b===5&&(y&=-50331904,y|=33554432|255&O),y},_.prototype._extractColor=function(y,b,O){var I=[0,0,-1,0,0,0],M=0,F=0;do{if(I[F+M]=y.params[b+F],y.hasSubParams(b+F)){var P=y.getSubParams(b+F),j=0;do I[1]===5&&(M=1),I[F+j+1+M]=P[j];while(++j<P.length&&j+F+1+M<I.length);break}if(I[1]===5&&F+M>=2||I[1]===2&&F+M>=5)break;I[1]&&(M=1)}while(++F+b<y.length&&F+M<I.length);for(j=2;j<I.length;++j)I[j]===-1&&(I[j]=0);switch(I[0]){case 38:O.fg=this._updateAttrColor(O.fg,I[1],I[3],I[4],I[5]);break;case 48:O.bg=this._updateAttrColor(O.bg,I[1],I[3],I[4],I[5]);break;case 58:O.extended=O.extended.clone(),O.extended.underlineColor=this._updateAttrColor(O.extended.underlineColor,I[1],I[3],I[4],I[5])}return F},_.prototype._processUnderline=function(y,b){b.extended=b.extended.clone(),(!~y||y>5)&&(y=1),b.extended.underlineStyle=y,b.fg|=268435456,y===0&&(b.fg&=-268435457),b.updateExtended()},_.prototype.charAttributes=function(y){if(y.length===1&&y.params[0]===0)return this._curAttrData.fg=n.DEFAULT_ATTR_DATA.fg,void(this._curAttrData.bg=n.DEFAULT_ATTR_DATA.bg);for(var b,O=y.length,I=this._curAttrData,M=0;M<O;M++)(b=y.params[M])>=30&&b<=37?(I.fg&=-50331904,I.fg|=16777216|b-30):b>=40&&b<=47?(I.bg&=-50331904,I.bg|=16777216|b-40):b>=90&&b<=97?(I.fg&=-50331904,I.fg|=16777224|b-90):b>=100&&b<=107?(I.bg&=-50331904,I.bg|=16777224|b-100):b===0?(I.fg=n.DEFAULT_ATTR_DATA.fg,I.bg=n.DEFAULT_ATTR_DATA.bg):b===1?I.fg|=134217728:b===3?I.bg|=67108864:b===4?(I.fg|=268435456,this._processUnderline(y.hasSubParams(M)?y.getSubParams(M)[0]:1,I)):b===5?I.fg|=536870912:b===7?I.fg|=67108864:b===8?I.fg|=1073741824:b===2?I.bg|=134217728:b===21?this._processUnderline(2,I):b===22?(I.fg&=-134217729,I.bg&=-134217729):b===23?I.bg&=-67108865:b===24?I.fg&=-268435457:b===25?I.fg&=-536870913:b===27?I.fg&=-67108865:b===28?I.fg&=-1073741825:b===39?(I.fg&=-67108864,I.fg|=16777215&n.DEFAULT_ATTR_DATA.fg):b===49?(I.bg&=-67108864,I.bg|=16777215&n.DEFAULT_ATTR_DATA.bg):b===38||b===48||b===58?M+=this._extractColor(y,M,I):b===59?(I.extended=I.extended.clone(),I.extended.underlineColor=-1,I.updateExtended()):b===100?(I.fg&=-67108864,I.fg|=16777215&n.DEFAULT_ATTR_DATA.fg,I.bg&=-67108864,I.bg|=16777215&n.DEFAULT_ATTR_DATA.bg):this._logService.debug("Unknown SGR attribute: %d.",b)},_.prototype.deviceStatus=function(y){switch(y.params[0]){case 5:this._coreService.triggerDataEvent(c.C0.ESC+"[0n");break;case 6:var b=this._bufferService.buffer.y+1,O=this._bufferService.buffer.x+1;this._coreService.triggerDataEvent(c.C0.ESC+"["+b+";"+O+"R")}},_.prototype.deviceStatusPrivate=function(y){switch(y.params[0]){case 6:var b=this._bufferService.buffer.y+1,O=this._bufferService.buffer.x+1;this._coreService.triggerDataEvent(c.C0.ESC+"[?"+b+";"+O+"R")}},_.prototype.softReset=function(y){this._coreService.isCursorHidden=!1,this._onRequestSyncScrollBar.fire(),this._bufferService.buffer.scrollTop=0,this._bufferService.buffer.scrollBottom=this._bufferService.rows-1,this._curAttrData=n.DEFAULT_ATTR_DATA.clone(),this._coreService.reset(),this._charsetService.reset(),this._bufferService.buffer.savedX=0,this._bufferService.buffer.savedY=this._bufferService.buffer.ybase,this._bufferService.buffer.savedCurAttrData.fg=this._curAttrData.fg,this._bufferService.buffer.savedCurAttrData.bg=this._curAttrData.bg,this._bufferService.buffer.savedCharset=this._charsetService.charset,this._coreService.decPrivateModes.origin=!1},_.prototype.setCursorStyle=function(y){var b=y.params[0]||1;switch(b){case 1:case 2:this._optionsService.options.cursorStyle="block";break;case 3:case 4:this._optionsService.options.cursorStyle="underline";break;case 5:case 6:this._optionsService.options.cursorStyle="bar"}var O=b%2==1;this._optionsService.options.cursorBlink=O},_.prototype.setScrollRegion=function(y){var b,O=y.params[0]||1;(y.length<2||(b=y.params[1])>this._bufferService.rows||b===0)&&(b=this._bufferService.rows),b>O&&(this._bufferService.buffer.scrollTop=O-1,this._bufferService.buffer.scrollBottom=b-1,this._setCursor(0,0))},_.prototype.windowOptions=function(y){if(T(y.params[0],this._optionsService.options.windowOptions)){var b=y.length>1?y.params[1]:0;switch(y.params[0]){case 14:b!==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:b!==0&&b!==2||(this._windowTitleStack.push(this._windowTitle),this._windowTitleStack.length>10&&this._windowTitleStack.shift()),b!==0&&b!==1||(this._iconNameStack.push(this._iconName),this._iconNameStack.length>10&&this._iconNameStack.shift());break;case 23:b!==0&&b!==2||this._windowTitleStack.length&&this.setTitle(this._windowTitleStack.pop()),b!==0&&b!==1||this._iconNameStack.length&&this.setIconName(this._iconNameStack.pop())}}},_.prototype.saveCursor=function(y){this._bufferService.buffer.savedX=this._bufferService.buffer.x,this._bufferService.buffer.savedY=this._bufferService.buffer.ybase+this._bufferService.buffer.y,this._bufferService.buffer.savedCurAttrData.fg=this._curAttrData.fg,this._bufferService.buffer.savedCurAttrData.bg=this._curAttrData.bg,this._bufferService.buffer.savedCharset=this._charsetService.charset},_.prototype.restoreCursor=function(y){this._bufferService.buffer.x=this._bufferService.buffer.savedX||0,this._bufferService.buffer.y=Math.max(this._bufferService.buffer.savedY-this._bufferService.buffer.ybase,0),this._curAttrData.fg=this._bufferService.buffer.savedCurAttrData.fg,this._curAttrData.bg=this._bufferService.buffer.savedCurAttrData.bg,this._charsetService.charset=this._savedCharset,this._bufferService.buffer.savedCharset&&(this._charsetService.charset=this._bufferService.buffer.savedCharset),this._restrictCursor()},_.prototype.setTitle=function(y){this._windowTitle=y,this._onTitleChange.fire(y)},_.prototype.setIconName=function(y){this._iconName=y},_.prototype.nextLine=function(){this._bufferService.buffer.x=0,this.index()},_.prototype.keypadApplicationMode=function(){this._logService.debug("Serial port requested application keypad."),this._coreService.decPrivateModes.applicationKeypad=!0,this._onRequestSyncScrollBar.fire()},_.prototype.keypadNumericMode=function(){this._logService.debug("Switching back to normal keypad."),this._coreService.decPrivateModes.applicationKeypad=!1,this._onRequestSyncScrollBar.fire()},_.prototype.selectDefaultCharset=function(){this._charsetService.setgLevel(0),this._charsetService.setgCharset(0,a.DEFAULT_CHARSET)},_.prototype.selectCharset=function(y){y.length===2?y[0]!=="/"&&this._charsetService.setgCharset(S[y[0]],a.CHARSETS[y[1]]||a.DEFAULT_CHARSET):this.selectDefaultCharset()},_.prototype.index=function(){this._restrictCursor();var y=this._bufferService.buffer;this._bufferService.buffer.y++,y.y===y.scrollBottom+1?(y.y--,this._onRequestScroll.fire(this._eraseAttrData())):y.y>=this._bufferService.rows&&(y.y=this._bufferService.rows-1),this._restrictCursor()},_.prototype.tabSet=function(){this._bufferService.buffer.tabs[this._bufferService.buffer.x]=!0},_.prototype.reverseIndex=function(){this._restrictCursor();var y=this._bufferService.buffer;if(y.y===y.scrollTop){var b=y.scrollBottom-y.scrollTop;y.lines.shiftElements(y.ybase+y.y,b,1),y.lines.set(y.ybase+y.y,y.getBlankLine(this._eraseAttrData())),this._dirtyRowService.markRangeDirty(y.scrollTop,y.scrollBottom)}else y.y--,this._restrictCursor()},_.prototype.fullReset=function(){this._parser.reset(),this._onRequestReset.fire()},_.prototype.reset=function(){this._curAttrData=n.DEFAULT_ATTR_DATA.clone(),this._eraseAttrDataInternal=n.DEFAULT_ATTR_DATA.clone()},_.prototype._eraseAttrData=function(){return this._eraseAttrDataInternal.bg&=-67108864,this._eraseAttrDataInternal.bg|=67108863&this._curAttrData.bg,this._eraseAttrDataInternal},_.prototype.setgLevel=function(y){this._charsetService.setgLevel(y)},_.prototype.screenAlignmentPattern=function(){var y=new s.CellData;y.content=1<<22|"E".charCodeAt(0),y.fg=this._curAttrData.fg,y.bg=this._curAttrData.bg;var b=this._bufferService.buffer;this._setCursor(0,0);for(var O=0;O<this._bufferService.rows;++O){var I=b.ybase+b.y+O,M=b.lines.get(I);M&&(M.fill(y),M.isWrapped=!1)}this._dirtyRowService.markAllDirty(),this._setCursor(0,0)},_}(r.Disposable);f.InputHandler=E},function(g,f,A){"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,A){"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,A){"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.OscHandler=f.OscParser=void 0;var m=A(23),v=A(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,A){"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.PAYLOAD_LIMIT=void 0,f.PAYLOAD_LIMIT=1e7},function(g,f,A){"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.DcsHandler=f.DcsParser=void 0;var m=A(8),v=A(21),h=A(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,A){"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.removeTerminalFromCache=f.acquireCharAtlas=void 0;var m=A(26),v=A(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,A){"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.is256Color=f.configEquals=f.generateConfig=void 0;var m=A(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,A){"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.ColorManager=f.DEFAULT_ANSI_COLORS=void 0;var m=A(10),v=A(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(E){return Number(E)}),p=u[0],x=u[1],S=u[2],T=u[3],w=Math.round(255*T);return{rgba:m.channels.toRgba(p,x,S,w),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,A){"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,A){"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=A(6),c=A(3),a=A(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,x=n.getFg(0),S=n.getBg(0),T=0;T<n.getTrimmedLength();T++)if(n.loadCell(T,this._workCell),this._workCell.getWidth()!==0){if(this._workCell.fg!==x||this._workCell.bg!==S){if(T-s>1)for(var w=this._getJoinedRanges(t,p,u,n,s),E=0;E<w.length;E++)l.push(w[E]);s=T,p=u,x=this._workCell.fg,S=this._workCell.bg}u+=this._workCell.getChars().length||c.WHITESPACE_CELL_CHAR.length}if(this._bufferService.cols-s>1)for(w=this._getJoinedRanges(t,p,u,n,s),E=0;E<w.length;E++)l.push(w[E]);return l},o.prototype._getJoinedRanges=function(d,n,l,t,s){for(var u=d.substring(n,l),p=this._characterJoiners[0].handler(u),x=1;x<this._characterJoiners.length;x++)for(var S=this._characterJoiners[x].handler(u),T=0;T<S.length;T++)o._mergeRanges(p,S[T]);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 x=l;x<this._bufferService.cols;x++){var S=n.getWidth(x),T=n.getString(x).length||c.WHITESPACE_CELL_CHAR.length;if(S!==0){if(!s&&p[0]<=u&&(p[0]=x,s=!0),p[1]<=u){if(p[1]=x,!(p=d[++t]))break;p[0]<=u?(p[0]=x,s=!0):s=!1}u+=T}}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,A){"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,A){"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,A){"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}(A(2).Disposable);f.ScreenDprMonitor=h},function(g,f,A){"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,A){"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.Terminal=void 0;var m=A(4),v=A(35),h=A(18),c=A(0),a=A(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,x=s;p<x.length;p++){var S=x[p];if(S===1/0||isNaN(S)||S%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,x){return u(p,x.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,A){"use strict";var m,v=this&&this.__extends||(m=function(N,B){return(m=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(U,H){U.__proto__=H}||function(U,H){for(var z in H)H.hasOwnProperty(z)&&(U[z]=H[z])})(N,B)},function(K,N){function B(){this.constructor=K}m(K,N),K.prototype=N===null?Object.create(N):(B.prototype=N.prototype,new B)});Object.defineProperty(f,"__esModule",{value:!0}),f.Terminal=void 0;var h=A(36),c=A(37),a=A(38),i=A(12),r=A(19),o=A(40),d=A(50),n=A(51),l=A(11),t=A(7),s=A(18),u=A(54),p=A(55),x=A(56),S=A(57),T=A(59),w=A(0),E=A(16),C=A(27),_=A(60),y=A(5),b=A(61),O=A(62),I=A(63),M=A(64),F=A(65),P=typeof window!="undefined"?window.document:null,j=function(K){function N(B){B===void 0&&(B={});var U=K.call(this,B)||this;return U.browser=l,U._keyDownHandled=!1,U._onCursorMove=new w.EventEmitter,U._onKey=new w.EventEmitter,U._onRender=new w.EventEmitter,U._onSelectionChange=new w.EventEmitter,U._onTitleChange=new w.EventEmitter,U._onFocus=new w.EventEmitter,U._onBlur=new w.EventEmitter,U._onA11yCharEmitter=new w.EventEmitter,U._onA11yTabEmitter=new w.EventEmitter,U._setup(),U.linkifier=U._instantiationService.createInstance(d.Linkifier),U.linkifier2=U.register(U._instantiationService.createInstance(I.Linkifier2)),U.register(U._inputHandler.onRequestBell(function(){return U.bell()})),U.register(U._inputHandler.onRequestRefreshRows(function(H,z){return U.refresh(H,z)})),U.register(U._inputHandler.onRequestReset(function(){return U.reset()})),U.register(U._inputHandler.onRequestScroll(function(H,z){return U.scroll(H,z||void 0)})),U.register(U._inputHandler.onRequestWindowsOptionsReport(function(H){return U._reportWindowsOptions(H)})),U.register(w.forwardEvent(U._inputHandler.onCursorMove,U._onCursorMove)),U.register(w.forwardEvent(U._inputHandler.onTitleChange,U._onTitleChange)),U.register(w.forwardEvent(U._inputHandler.onA11yChar,U._onA11yCharEmitter)),U.register(w.forwardEvent(U._inputHandler.onA11yTab,U._onA11yTabEmitter)),U.register(U._bufferService.onResize(function(H){return U._afterResize(H.cols,H.rows)})),U}return v(N,K),Object.defineProperty(N.prototype,"options",{get:function(){return this.optionsService.options},enumerable:!1,configurable:!0}),Object.defineProperty(N.prototype,"onCursorMove",{get:function(){return this._onCursorMove.event},enumerable:!1,configurable:!0}),Object.defineProperty(N.prototype,"onKey",{get:function(){return this._onKey.event},enumerable:!1,configurable:!0}),Object.defineProperty(N.prototype,"onRender",{get:function(){return this._onRender.event},enumerable:!1,configurable:!0}),Object.defineProperty(N.prototype,"onSelectionChange",{get:function(){return this._onSelectionChange.event},enumerable:!1,configurable:!0}),Object.defineProperty(N.prototype,"onTitleChange",{get:function(){return this._onTitleChange.event},enumerable:!1,configurable:!0}),Object.defineProperty(N.prototype,"onFocus",{get:function(){return this._onFocus.event},enumerable:!1,configurable:!0}),Object.defineProperty(N.prototype,"onBlur",{get:function(){return this._onBlur.event},enumerable:!1,configurable:!0}),Object.defineProperty(N.prototype,"onA11yChar",{get:function(){return this._onA11yCharEmitter.event},enumerable:!1,configurable:!0}),Object.defineProperty(N.prototype,"onA11yTab",{get:function(){return this._onA11yTabEmitter.event},enumerable:!1,configurable:!0}),N.prototype.dispose=function(){var B,U,H;this._isDisposed||(K.prototype.dispose.call(this),(B=this._renderService)===null||B===void 0||B.dispose(),this._customKeyEventHandler=void 0,this.write=function(){},(H=(U=this.element)===null||U===void 0?void 0:U.parentNode)===null||H===void 0||H.removeChild(this.element))},N.prototype._setup=function(){K.prototype._setup.call(this),this._customKeyEventHandler=void 0},Object.defineProperty(N.prototype,"buffer",{get:function(){return this.buffers.active},enumerable:!1,configurable:!0}),N.prototype.focus=function(){this.textarea&&this.textarea.focus({preventScroll:!0})},N.prototype._updateOptions=function(B){var U,H,z,X;switch(K.prototype._updateOptions.call(this,B),B){case"fontFamily":case"fontSize":(U=this._renderService)===null||U===void 0||U.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":(z=this.viewport)===null||z===void 0||z.syncScrollArea();break;case"screenReaderMode":this.optionsService.options.screenReaderMode?!this._accessibilityManager&&this._renderService&&(this._accessibilityManager=new x.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)}},N.prototype._onTextAreaFocus=function(B){this._coreService.decPrivateModes.sendFocus&&this._coreService.triggerDataEvent(i.C0.ESC+"[I"),this.updateCursorStyle(B),this.element.classList.add("focus"),this._showCursor(),this._onFocus.fire()},N.prototype.blur=function(){var B;return(B=this.textarea)===null||B===void 0?void 0:B.blur()},N.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()},N.prototype._syncTextArea=function(){if(this.textarea&&this.buffer.isCursorInViewport&&!this._compositionHelper.isComposing){var B=Math.ceil(this._charSizeService.height*this.optionsService.options.lineHeight),U=this._bufferService.buffer.y*B,H=this._bufferService.buffer.x*this._charSizeService.width;this.textarea.style.left=H+"px",this.textarea.style.top=U+"px",this.textarea.style.width=this._charSizeService.width+"px",this.textarea.style.height=B+"px",this.textarea.style.lineHeight=B+"px",this.textarea.style.zIndex="-5"}},N.prototype._initGlobal=function(){var B=this;this._bindKeys(),this.register(t.addDisposableDomListener(this.element,"copy",function(H){B.hasSelection()&&a.copyHandler(H,B._selectionService)}));var U=function(z){return a.handlePasteEvent(z,B.textarea,B._coreService)};this.register(t.addDisposableDomListener(this.textarea,"paste",U)),this.register(t.addDisposableDomListener(this.element,"paste",U)),l.isFirefox?this.register(t.addDisposableDomListener(this.element,"mousedown",function(H){H.button===2&&a.rightClickHandler(H,B.textarea,B.screenElement,B._selectionService,B.options.rightClickSelectsWord)})):this.register(t.addDisposableDomListener(this.element,"contextmenu",function(H){a.rightClickHandler(H,B.textarea,B.screenElement,B._selectionService,B.options.rightClickSelectsWord)})),l.isLinux&&this.register(t.addDisposableDomListener(this.element,"auxclick",function(H){H.button===1&&a.moveTextAreaUnderMouseCursor(H,B.textarea,B.screenElement)}))},N.prototype._bindKeys=function(){var B=this;this.register(t.addDisposableDomListener(this.textarea,"keyup",function(U){return B._keyUp(U)},!0)),this.register(t.addDisposableDomListener(this.textarea,"keydown",function(U){return B._keyDown(U)},!0)),this.register(t.addDisposableDomListener(this.textarea,"keypress",function(U){return B._keyPress(U)},!0)),this.register(t.addDisposableDomListener(this.textarea,"compositionstart",function(){return B._compositionHelper.compositionstart()})),this.register(t.addDisposableDomListener(this.textarea,"compositionupdate",function(U){return B._compositionHelper.compositionupdate(U)})),this.register(t.addDisposableDomListener(this.textarea,"compositionend",function(){return B._compositionHelper.compositionend()})),this.register(this.onRender(function(){return B._compositionHelper.updateCompositionElements()})),this.register(this.onRender(function(U){return B._queueLinkification(U.start,U.end)}))},N.prototype.open=function(B){var U=this;if(!B)throw new Error("Terminal requires a parent element.");P.body.contains(B)||this._logService.debug("Terminal.open was called on an element that was not attached to the DOM"),this._document=B.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"),B.appendChild(this.element);var H=P.createDocumentFragment();this._viewportElement=P.createElement("div"),this._viewportElement.classList.add("xterm-viewport"),H.appendChild(this._viewportElement),this._viewportScrollArea=P.createElement("div"),this._viewportScrollArea.classList.add("xterm-scroll-area"),this._viewportElement.appendChild(this._viewportScrollArea),this.screenElement=P.createElement("div"),this.screenElement.classList.add("xterm-screen"),this._helperContainer=P.createElement("div"),this._helperContainer.classList.add("xterm-helpers"),this.screenElement.appendChild(this._helperContainer),H.appendChild(this.screenElement),this.textarea=P.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(W){return U._onTextAreaFocus(W)})),this.register(t.addDisposableDomListener(this.textarea,"blur",function(){return U._onTextAreaBlur()})),this._helperContainer.appendChild(this.textarea);var z=this._instantiationService.createInstance(M.CoreBrowserService,this.textarea);this._instantiationService.setService(y.ICoreBrowserService,z),this._charSizeService=this._instantiationService.createInstance(b.CharSizeService,this._document,this._helperContainer),this._instantiationService.setService(y.ICharSizeService,this._charSizeService),this._compositionView=P.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 C.ColorManager(P,this.options.allowTransparency),this.register(this.optionsService.onOptionChange(function(W){return U._colorManager.onOptionsChange(W)})),this._colorManager.setTheme(this._theme);var X=this._createRenderer();this._renderService=this.register(this._instantiationService.createInstance(_.RenderService,X,this.rows,this.screenElement)),this._instantiationService.setService(y.IRenderService,this._renderService),this.register(this._renderService.onRenderedBufferChange(function(W){return U._onRender.fire(W)})),this.onResize(function(W){return U._renderService.resize(W.cols,W.rows)}),this._soundService=this._instantiationService.createInstance(u.SoundService),this._instantiationService.setService(y.ISoundService,this._soundService),this._mouseService=this._instantiationService.createInstance(O.MouseService),this._instantiationService.setService(y.IMouseService,this._mouseService),this.viewport=this._instantiationService.createInstance(c.Viewport,function(W,Y){return U.scrollLines(W,Y)},this._viewportElement,this._viewportScrollArea),this.viewport.onThemeChange(this._colorManager.colors),this.register(this._inputHandler.onRequestSyncScrollBar(function(){return U.viewport.syncScrollArea()})),this.register(this.viewport),this.register(this.onCursorMove(function(){U._renderService.onCursorMove(),U._syncTextArea()})),this.register(this.onResize(function(){return U._renderService.onResize(U.cols,U.rows)})),this.register(this.onBlur(function(){return U._renderService.onBlur()})),this.register(this.onFocus(function(){return U._renderService.onFocus()})),this.register(this._renderService.onDimensionsChange(function(){return U.viewport.syncScrollArea()})),this._selectionService=this.register(this._instantiationService.createInstance(n.SelectionService,this.element,this.screenElement)),this._instantiationService.setService(y.ISelectionService,this._selectionService),this.register(this._selectionService.onRequestScrollLines(function(W){return U.scrollLines(W.amount,W.suppressScrollEvent)})),this.register(this._selectionService.onSelectionChange(function(){return U._onSelectionChange.fire()})),this.register(this._selectionService.onRequestRedraw(function(W){return U._renderService.onSelectionChanged(W.start,W.end,W.columnSelectMode)})),this.register(this._selectionService.onLinuxMouseSelection(function(W){U.textarea.value=W,U.textarea.focus(),U.textarea.select()})),this.register(this.onScroll(function(){U.viewport.syncScrollArea(),U._selectionService.refresh()})),this.register(t.addDisposableDomListener(this._viewportElement,"scroll",function(){return U._selectionService.refresh()})),this._mouseZoneManager=this._instantiationService.createInstance(p.MouseZoneManager,this.element,this.screenElement),this.register(this._mouseZoneManager),this.register(this.onScroll(function(){return U._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(W){return U._selectionService.onMouseDown(W)})),this._coreMouseService.areMouseEventsActive?(this._selectionService.disable(),this.element.classList.add("enable-mouse-events")):this._selectionService.enable(),this.options.screenReaderMode&&(this._accessibilityManager=new x.AccessibilityManager(this,this._renderService)),this._charSizeService.measure(),this.refresh(0,this.rows-1),this._initGlobal(),this.bindMouse()},N.prototype._createRenderer=function(){switch(this.options.rendererType){case"canvas":return this._instantiationService.createInstance(o.Renderer,this._colorManager.colors,this.screenElement,this.linkifier,this.linkifier2);case"dom":return this._instantiationService.createInstance(S.DomRenderer,this._colorManager.colors,this.element,this.screenElement,this._viewportElement,this.linkifier,this.linkifier2);default:throw new Error('Unrecognized rendererType "'+this.options.rendererType+'"')}},N.prototype._setTheme=function(B){var U,H,z;this._theme=B,(U=this._colorManager)===null||U===void 0||U.setTheme(B),(H=this._renderService)===null||H===void 0||H.setColors(this._colorManager.colors),(z=this.viewport)===null||z===void 0||z.onThemeChange(this._colorManager.colors)},N.prototype.bindMouse=function(){var B=this,U=this,H=this.element;function z(G){var ye,Ae,ve=U._mouseService.getRawByteCoords(G,U.screenElement,U.cols,U.rows);if(!ve)return!1;switch(G.overrideType||G.type){case"mousemove":Ae=32,G.buttons===void 0?(ye=3,G.button!==void 0&&(ye=G.button<3?G.button:3)):ye=1&G.buttons?0:4&G.buttons?1:2&G.buttons?2:3;break;case"mouseup":Ae=0,ye=G.button<3?G.button:3;break;case"mousedown":Ae=1,ye=G.button<3?G.button:3;break;case"wheel":G.deltaY!==0&&(Ae=G.deltaY<0?0:1),ye=4;break;default:return!1}return!(Ae===void 0||ye===void 0||ye>4)&&U._coreMouseService.triggerMouseEvent({col:ve.x-33,row:ve.y-33,button:ye,action:Ae,ctrl:G.ctrlKey,alt:G.altKey,shift:G.shiftKey})}var X={mouseup:null,wheel:null,mousedrag:null,mousemove:null},W=function(ye){return z(ye),ye.buttons||(B._document.removeEventListener("mouseup",X.mouseup),X.mousedrag&&B._document.removeEventListener("mousemove",X.mousedrag)),B.cancel(ye)},Y=function(ye){return z(ye),ye.preventDefault(),B.cancel(ye)},q=function(ye){ye.buttons&&z(ye)},me=function(ye){ye.buttons||z(ye)};this.register(this._coreMouseService.onProtocolChange(function(G){G?(B.optionsService.options.logLevel==="debug"&&B._logService.debug("Binding to mouse events:",B._coreMouseService.explainEvents(G)),B.element.classList.add("enable-mouse-events"),B._selectionService.disable()):(B._logService.debug("Unbinding from mouse events."),B.element.classList.remove("enable-mouse-events"),B._selectionService.enable()),8&G?X.mousemove||(H.addEventListener("mousemove",me),X.mousemove=me):(H.removeEventListener("mousemove",X.mousemove),X.mousemove=null),16&G?X.wheel||(H.addEventListener("wheel",Y,{passive:!1}),X.wheel=Y):(H.removeEventListener("wheel",X.wheel),X.wheel=null),2&G?X.mouseup||(X.mouseup=W):(B._document.removeEventListener("mouseup",X.mouseup),X.mouseup=null),4&G?X.mousedrag||(X.mousedrag=q):(B._document.removeEventListener("mousemove",X.mousedrag),X.mousedrag=null)})),this._coreMouseService.activeProtocol=this._coreMouseService.activeProtocol,this.register(t.addDisposableDomListener(H,"mousedown",function(G){if(G.preventDefault(),B.focus(),B._coreMouseService.areMouseEventsActive&&!B._selectionService.shouldForceSelection(G))return z(G),X.mouseup&&B._document.addEventListener("mouseup",X.mouseup),X.mousedrag&&B._document.addEventListener("mousemove",X.mousedrag),B.cancel(G)})),this.register(t.addDisposableDomListener(H,"wheel",function(G){if(!X.wheel){if(!B.buffer.hasScrollback){var ye=B.viewport.getLinesScrolled(G);if(ye===0)return;for(var Ae=i.C0.ESC+(B._coreService.decPrivateModes.applicationCursorKeys?"O":"[")+(G.deltaY<0?"A":"B"),ve="",Ue=0;Ue<Math.abs(ye);Ue++)ve+=Ae;B._coreService.triggerDataEvent(ve,!0)}}},{passive:!0})),this.register(t.addDisposableDomListener(H,"wheel",function(G){if(!X.wheel)return B.viewport.onWheel(G)?void 0:B.cancel(G)},{passive:!1})),this.register(t.addDisposableDomListener(H,"touchstart",function(G){if(!B._coreMouseService.areMouseEventsActive)return B.viewport.onTouchStart(G),B.cancel(G)},{passive:!0})),this.register(t.addDisposableDomListener(H,"touchmove",function(G){if(!B._coreMouseService.areMouseEventsActive)return B.viewport.onTouchMove(G)?void 0:B.cancel(G)},{passive:!1}))},N.prototype.refresh=function(B,U){var H;(H=this._renderService)===null||H===void 0||H.refreshRows(B,U)},N.prototype._queueLinkification=function(B,U){var H;(H=this.linkifier)===null||H===void 0||H.linkifyRows(B,U)},N.prototype.updateCursorStyle=function(B){this._selectionService&&this._selectionService.shouldColumnSelect(B)?this.element.classList.add("column-select"):this.element.classList.remove("column-select")},N.prototype._showCursor=function(){this._coreService.isCursorInitialized||(this._coreService.isCursorInitialized=!0,this.refresh(this.buffer.y,this.buffer.y))},N.prototype.scrollLines=function(B,U){K.prototype.scrollLines.call(this,B,U),this.refresh(0,this.rows-1)},N.prototype.paste=function(B){a.paste(B,this.textarea,this._coreService)},N.prototype.attachCustomKeyEventHandler=function(B){this._customKeyEventHandler=B},N.prototype.registerLinkMatcher=function(B,U,H){var z=this.linkifier.registerLinkMatcher(B,U,H);return this.refresh(0,this.rows-1),z},N.prototype.deregisterLinkMatcher=function(B){this.linkifier.deregisterLinkMatcher(B)&&this.refresh(0,this.rows-1)},N.prototype.registerLinkProvider=function(B){return this.linkifier2.registerLinkProvider(B)},N.prototype.registerCharacterJoiner=function(B){var U=this._renderService.registerCharacterJoiner(B);return this.refresh(0,this.rows-1),U},N.prototype.deregisterCharacterJoiner=function(B){this._renderService.deregisterCharacterJoiner(B)&&this.refresh(0,this.rows-1)},Object.defineProperty(N.prototype,"markers",{get:function(){return this.buffer.markers},enumerable:!1,configurable:!0}),N.prototype.addMarker=function(B){if(this.buffer===this.buffers.normal)return this.buffer.addMarker(this.buffer.ybase+this.buffer.y+B)},N.prototype.hasSelection=function(){return!!this._selectionService&&this._selectionService.hasSelection},N.prototype.select=function(B,U,H){this._selectionService.setSelection(B,U,H)},N.prototype.getSelection=function(){return this._selectionService?this._selectionService.selectionText:""},N.prototype.getSelectionPosition=function(){if(this._selectionService&&this._selectionService.hasSelection)return{startColumn:this._selectionService.selectionStart[0],startRow:this._selectionService.selectionStart[1],endColumn:this._selectionService.selectionEnd[0],endRow:this._selectionService.selectionEnd[1]}},N.prototype.clearSelection=function(){var B;(B=this._selectionService)===null||B===void 0||B.clearSelection()},N.prototype.selectAll=function(){var B;(B=this._selectionService)===null||B===void 0||B.selectAll()},N.prototype.selectLines=function(B,U){var H;(H=this._selectionService)===null||H===void 0||H.selectLines(B,U)},N.prototype._keyDown=function(B){if(this._keyDownHandled=!1,this._customKeyEventHandler&&this._customKeyEventHandler(B)===!1)return!1;if(!this._compositionHelper.keydown(B))return this.buffer.ybase!==this.buffer.ydisp&&this.scrollToBottom(),!1;var U=T.evaluateKeyboardEvent(B,this._coreService.decPrivateModes.applicationCursorKeys,this.browser.isMac,this.options.macOptionIsMeta);if(this.updateCursorStyle(B),U.type===3||U.type===2){var H=this.rows-1;return this.scrollLines(U.type===2?-H:H),this.cancel(B,!0)}return U.type===1&&this.selectAll(),!!this._isThirdLevelShift(this.browser,B)||(U.cancel&&this.cancel(B,!0),!U.key||(U.key!==i.C0.ETX&&U.key!==i.C0.CR||(this.textarea.value=""),this._onKey.fire({key:U.key,domEvent:B}),this._showCursor(),this._coreService.triggerDataEvent(U.key,!0),this.optionsService.options.screenReaderMode?void(this._keyDownHandled=!0):this.cancel(B,!0)))},N.prototype._isThirdLevelShift=function(B,U){var H=B.isMac&&!this.options.macOptionIsMeta&&U.altKey&&!U.ctrlKey&&!U.metaKey||B.isWindows&&U.altKey&&U.ctrlKey&&!U.metaKey;return U.type==="keypress"?H:H&&(!U.keyCode||U.keyCode>47)},N.prototype._keyUp=function(B){this._customKeyEventHandler&&this._customKeyEventHandler(B)===!1||(function(U){return U.keyCode===16||U.keyCode===17||U.keyCode===18}(B)||this.focus(),this.updateCursorStyle(B))},N.prototype._keyPress=function(B){var U;if(this._keyDownHandled)return!1;if(this._customKeyEventHandler&&this._customKeyEventHandler(B)===!1)return!1;if(this.cancel(B),B.charCode)U=B.charCode;else if(B.which===null||B.which===void 0)U=B.keyCode;else{if(B.which===0||B.charCode===0)return!1;U=B.which}return!(!U||(B.altKey||B.ctrlKey||B.metaKey)&&!this._isThirdLevelShift(this.browser,B))&&(U=String.fromCharCode(U),this._onKey.fire({key:U,domEvent:B}),this._showCursor(),this._coreService.triggerDataEvent(U,!0),!0)},N.prototype.bell=function(){this._soundBell()&&this._soundService.playBellSound()},N.prototype.resize=function(B,U){B!==this.cols||U!==this.rows?K.prototype.resize.call(this,B,U):this._charSizeService&&!this._charSizeService.hasValidSize&&this._charSizeService.measure()},N.prototype._afterResize=function(B,U){var H,z;(H=this._charSizeService)===null||H===void 0||H.measure(),(z=this.viewport)===null||z===void 0||z.syncScrollArea(!0)},N.prototype.clear=function(){if(this.buffer.ybase!==0||this.buffer.y!==0){this.buffer.lines.set(0,this.buffer.lines.get(this.buffer.ybase+this.buffer.y)),this.buffer.lines.length=1,this.buffer.ydisp=0,this.buffer.ybase=0,this.buffer.y=0;for(var B=1;B<this.rows;B++)this.buffer.lines.push(this.buffer.getBlankLine(E.DEFAULT_ATTR_DATA));this.refresh(0,this.rows-1),this._onScroll.fire(this.buffer.ydisp)}},N.prototype.reset=function(){var B,U;this.options.rows=this.rows,this.options.cols=this.cols;var H=this._customKeyEventHandler;this._setup(),K.prototype.reset.call(this),(B=this._selectionService)===null||B===void 0||B.reset(),this._customKeyEventHandler=H,this.refresh(0,this.rows-1),(U=this.viewport)===null||U===void 0||U.syncScrollArea()},N.prototype._reportWindowsOptions=function(B){if(this._renderService)switch(B){case r.WindowsOptionsReportType.GET_WIN_SIZE_PIXELS:var U=this._renderService.dimensions.scaledCanvasWidth.toFixed(0),H=this._renderService.dimensions.scaledCanvasHeight.toFixed(0);this._coreService.triggerDataEvent(i.C0.ESC+"[4;"+H+";"+U+"t");break;case r.WindowsOptionsReportType.GET_CELL_SIZE_PIXELS:var z=this._renderService.dimensions.scaledCellWidth.toFixed(0),X=this._renderService.dimensions.scaledCellHeight.toFixed(0);this._coreService.triggerDataEvent(i.C0.ESC+"[6;"+X+";"+z+"t")}},N.prototype.cancel=function(B,U){if(this.options.cancelEvents||U)return B.preventDefault(),B.stopPropagation(),!1},N.prototype._visualBell=function(){return!1},N.prototype._soundBell=function(){return this.options.bellStyle==="sound"},N}(F.CoreTerminal);f.Terminal=j},function(g,f,A){"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=A(5),c=A(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,A){"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,x=p<3?l:s===null?s=Object.getOwnPropertyDescriptor(l,t):s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")x=Reflect.decorate(n,l,t,s);else for(var S=n.length-1;S>=0;S--)(u=n[S])&&(x=(p<3?u(x):p>3?u(l,t,x):u(l,t))||x);return p>3&&x&&Object.defineProperty(l,t,x),x},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=A(2),i=A(7),r=A(5),o=A(1),d=function(n){function l(t,s,u,p,x,S,T){var w=n.call(this)||this;return w._scrollLines=t,w._viewportElement=s,w._scrollArea=u,w._bufferService=p,w._optionsService=x,w._charSizeService=S,w._renderService=T,w.scrollBarWidth=0,w._currentRowHeight=0,w._lastRecordedBufferLength=0,w._lastRecordedViewportHeight=0,w._lastRecordedBufferHeight=0,w._lastTouchY=0,w._lastScrollTop=0,w._wheelPartialScroll=0,w._refreshAnimationFrame=null,w._ignoreNextScrollEvent=!1,w.scrollBarWidth=w._viewportElement.offsetWidth-w._scrollArea.offsetWidth||15,w.register(i.addDisposableDomListener(w._viewportElement,"scroll",w._onScroll.bind(w))),setTimeout(function(){return w.syncScrollArea()},0),w}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,A){"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,A){"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=A(2),c=A(15),a=A(21),i=A(22),r=A(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(S,T){return T}),t=function(T,w){return l.slice(T,w)},s=t(32,127),u=t(0,24);u.push(25),u.push.apply(u,t(28,32));var p,x=t(0,14);for(p in n.setDefault(1,0),n.addMany(s,0,2,0),x)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,x){},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 x=t.intermediates.charCodeAt(p);if(32>x||x>47)throw new Error("intermediate must be in range 0x20 .. 0x2f");u<<=8,u|=x}}if(t.final.length!==1)throw new Error("final must be a single byte");var S=t.final.charCodeAt(0);if(s[0]>S||S>s[1])throw new Error("final must be in range "+s[0]+" .. "+s[1]);return u<<=8,u|=S},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 S=p.indexOf(s);S!==-1&&p.splice(S,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 S=p.indexOf(s);S!==-1&&p.splice(S,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,x=this.currentState,S=this._oscParser,T=this._dcsParser,w=this._collect,E=this._params,C=this._transitions.table,_=0;_<s;++_){switch((p=C[x<<8|((u=t[_])<160?u:160)])>>4){case 2:for(var y=_+1;;++y){if(y>=s||(u=t[y])<32||u>126&&u<160){this._printHandler(t,_,y),_=y-1;break}if(++y>=s||(u=t[y])<32||u>126&&u<160){this._printHandler(t,_,y),_=y-1;break}if(++y>=s||(u=t[y])<32||u>126&&u<160){this._printHandler(t,_,y),_=y-1;break}if(++y>=s||(u=t[y])<32||u>126&&u<160){this._printHandler(t,_,y),_=y-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:_,code:u,currentState:x,collect:w,params:E,abort:!1}).abort)return;break;case 7:for(var b=this._csiHandlers[w<<8|u],O=b?b.length-1:-1;O>=0&&b[O](E)===!1;O--);O<0&&this._csiHandlerFb(w<<8|u,E),this.precedingCodepoint=0;break;case 8:do switch(u){case 59:E.addParam(0);break;case 58:E.addSubParam(-1);break;default:E.addDigit(u-48)}while(++_<s&&(u=t[_])>47&&u<60);_--;break;case 9:w<<=8,w|=u;break;case 10:for(var I=this._escHandlers[w<<8|u],M=I?I.length-1:-1;M>=0&&I[M]()===!1;M--);M<0&&this._escHandlerFb(w<<8|u),this.precedingCodepoint=0;break;case 11:E.reset(),E.addParam(0),w=0;break;case 12:T.hook(w<<8|u,E);break;case 13:for(var F=_+1;;++F)if(F>=s||(u=t[F])===24||u===26||u===27||u>127&&u<160){T.put(t,_,F),_=F-1;break}break;case 14:T.unhook(u!==24&&u!==26),u===27&&(p|=1),E.reset(),E.addParam(0),w=0,this.precedingCodepoint=0;break;case 4:S.start();break;case 5:for(var P=_+1;;P++)if(P>=s||(u=t[P])<32||u>127&&u<=159){S.put(t,_,P),_=P-1;break}break;case 6:S.end(u!==24&&u!==26),u===27&&(p|=1),E.reset(),E.addParam(0),w=0,this.precedingCodepoint=0}x=15&p}this._collect=w,this.currentState=x},l}(h.Disposable);f.EscapeSequenceParser=d},function(g,f,A){"use strict";var m,v=this&&this.__extends||(m=function(T,w){return(m=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(E,C){E.__proto__=C}||function(E,C){for(var _ in C)C.hasOwnProperty(_)&&(E[_]=C[_])})(T,w)},function(S,T){function w(){this.constructor=S}m(S,T),S.prototype=T===null?Object.create(T):(w.prototype=T.prototype,new w)}),h=this&&this.__decorate||function(S,T,w,E){var C,_=arguments.length,y=_<3?T:E===null?E=Object.getOwnPropertyDescriptor(T,w):E;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")y=Reflect.decorate(S,T,w,E);else for(var b=S.length-1;b>=0;b--)(C=S[b])&&(y=(_<3?C(y):_>3?C(T,w,y):C(T,w))||y);return _>3&&y&&Object.defineProperty(T,w,y),y},c=this&&this.__param||function(S,T){return function(w,E){T(w,E,S)}};Object.defineProperty(f,"__esModule",{value:!0}),f.Renderer=void 0;var a=A(41),i=A(47),r=A(48),o=A(49),d=A(29),n=A(2),l=A(5),t=A(1),s=A(25),u=A(0),p=1,x=function(S){function T(w,E,C,_,y,b,O,I,M){var F=S.call(this)||this;F._colors=w,F._screenElement=E,F._bufferService=y,F._charSizeService=b,F._optionsService=O,F._id=p++,F._onRequestRedraw=new u.EventEmitter;var P=F._optionsService.options.allowTransparency;return F._characterJoinerRegistry=new d.CharacterJoinerRegistry(F._bufferService),F._renderLayers=[new a.TextRenderLayer(F._screenElement,0,F._colors,F._characterJoinerRegistry,P,F._id,F._bufferService,O),new i.SelectionRenderLayer(F._screenElement,1,F._colors,F._id,F._bufferService,O),new o.LinkRenderLayer(F._screenElement,2,F._colors,F._id,C,_,F._bufferService,O),new r.CursorRenderLayer(F._screenElement,3,F._colors,F._id,F._onRequestRedraw,F._bufferService,O,I,M)],F.dimensions={scaledCharWidth:0,scaledCharHeight:0,scaledCellWidth:0,scaledCellHeight:0,scaledCharLeft:0,scaledCharTop:0,scaledCanvasWidth:0,scaledCanvasHeight:0,canvasWidth:0,canvasHeight:0,actualCellWidth:0,actualCellHeight:0},F._devicePixelRatio=window.devicePixelRatio,F._updateDimensions(),F.onOptionsChanged(),F}return v(T,S),Object.defineProperty(T.prototype,"onRequestRedraw",{get:function(){return this._onRequestRedraw.event},enumerable:!1,configurable:!0}),T.prototype.dispose=function(){for(var w=0,E=this._renderLayers;w<E.length;w++)E[w].dispose();S.prototype.dispose.call(this),s.removeTerminalFromCache(this._id)},T.prototype.onDevicePixelRatioChange=function(){this._devicePixelRatio!==window.devicePixelRatio&&(this._devicePixelRatio=window.devicePixelRatio,this.onResize(this._bufferService.cols,this._bufferService.rows))},T.prototype.setColors=function(w){this._colors=w;for(var E=0,C=this._renderLayers;E<C.length;E++){var _=C[E];_.setColors(this._colors),_.reset()}},T.prototype.onResize=function(w,E){this._updateDimensions();for(var C=0,_=this._renderLayers;C<_.length;C++)_[C].resize(this.dimensions);this._screenElement.style.width=this.dimensions.canvasWidth+"px",this._screenElement.style.height=this.dimensions.canvasHeight+"px"},T.prototype.onCharSizeChanged=function(){this.onResize(this._bufferService.cols,this._bufferService.rows)},T.prototype.onBlur=function(){this._runOperation(function(w){return w.onBlur()})},T.prototype.onFocus=function(){this._runOperation(function(w){return w.onFocus()})},T.prototype.onSelectionChanged=function(w,E,C){C===void 0&&(C=!1),this._runOperation(function(_){return _.onSelectionChanged(w,E,C)})},T.prototype.onCursorMove=function(){this._runOperation(function(w){return w.onCursorMove()})},T.prototype.onOptionsChanged=function(){this._runOperation(function(w){return w.onOptionsChanged()})},T.prototype.clear=function(){this._runOperation(function(w){return w.reset()})},T.prototype._runOperation=function(w){for(var E=0,C=this._renderLayers;E<C.length;E++)w(C[E])},T.prototype.renderRows=function(w,E){for(var C=0,_=this._renderLayers;C<_.length;C++)_[C].onGridChanged(w,E)},T.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)},T.prototype.registerCharacterJoiner=function(w){return this._characterJoinerRegistry.registerCharacterJoiner(w)},T.prototype.deregisterCharacterJoiner=function(w){return this._characterJoinerRegistry.deregisterCharacterJoiner(w)},T=h([c(4,t.IBufferService),c(5,l.ICharSizeService),c(6,t.IOptionsService),c(7,t.ICoreService),c(8,l.ICoreBrowserService)],T)}(n.Disposable);f.Renderer=x},function(g,f,A){"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=A(42),c=A(13),a=A(6),i=A(3),r=A(29),o=A(4),d=function(n){function l(t,s,u,p,x,S,T,w){var E=n.call(this,t,"text",s,x,u,S,T,w)||this;return E._characterWidth=0,E._characterFont="",E._characterOverlapCache={},E._workCell=new o.CellData,E._state=new h.GridCache,E._characterJoinerRegistry=p,E}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 x=t;x<=s;x++)for(var S=x+this._bufferService.buffer.ydisp,T=this._bufferService.buffer.lines.get(S),w=u?u.getJoinedCharacters(S):[],E=0;E<this._bufferService.cols;E++){T.loadCell(E,this._workCell);var C=this._workCell,_=!1,y=E;if(C.getWidth()!==0){if(w.length>0&&E===w[0][0]){_=!0;var b=w.shift();C=new r.JoinedCellData(this._workCell,T.translateToString(!0,b[0],b[1]),b[1]-b[0]),y=b[1]-1}!_&&this._isOverlapping(C)&&y<T.length-1&&T.getCodePoint(y+1)===i.NULL_CELL_CODE&&(C.content&=-12582913,C.content|=2<<22),p(C,E,x),E=y}}},l.prototype._drawBackground=function(t,s){var u=this,p=this._ctx,x=this._bufferService.cols,S=0,T=0,w=null;p.save(),this._forEachCell(t,s,null,function(E,C,_){var y=null;E.isInverse()?y=E.isFgDefault()?u._colors.foreground.css:E.isFgRGB()?"rgb("+a.AttributeData.toColorRGB(E.getFgColor()).join(",")+")":u._colors.ansi[E.getFgColor()].css:E.isBgRGB()?y="rgb("+a.AttributeData.toColorRGB(E.getBgColor()).join(",")+")":E.isBgPalette()&&(y=u._colors.ansi[E.getBgColor()].css),w===null&&(S=C,T=_),_!==T?(p.fillStyle=w||"",u._fillCells(S,T,x-S,1),S=C,T=_):w!==y&&(p.fillStyle=w||"",u._fillCells(S,T,C-S,1),S=C,T=_),w=y}),w!==null&&(p.fillStyle=w,this._fillCells(S,T,x-S,1)),p.restore()},l.prototype._drawForeground=function(t,s){var u=this;this._forEachCell(t,s,this._characterJoinerRegistry,function(p,x,S){if(!p.isInvisible()&&(u._drawChars(p,x,S),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 T=p.getBgColor();u._optionsService.options.drawBoldTextInBrightColors&&p.isBold()&&T<8&&(T+=8),u._ctx.fillStyle=u._colors.ansi[T].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 w=p.getFgColor();u._optionsService.options.drawBoldTextInBrightColors&&p.isBold()&&w<8&&(w+=8),u._ctx.fillStyle=u._colors.ansi[w].css}u._fillBottomLineAtCells(x,S,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,A){"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,A){"use strict";var m,v=this&&this.__extends||(m=function(p,x){return(m=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(S,T){S.__proto__=T}||function(S,T){for(var w in T)T.hasOwnProperty(w)&&(S[w]=T[w])})(p,x)},function(u,p){function x(){this.constructor=u}m(u,p),u.prototype=p===null?Object.create(p):(x.prototype=p.prototype,new x)});Object.defineProperty(f,"__esModule",{value:!0}),f.NoneCharAtlas=f.DynamicCharAtlas=f.getGlyphCacheKey=void 0;var h=A(9),c=A(44),a=A(27),i=A(46),r=A(11),o=A(28),d=A(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(x,S){var T=u.call(this)||this;T._config=S,T._drawToCacheCount=0,T._glyphsWaitingOnBitmap=[],T._bitmapCommitTimeout=null,T._bitmap=null,T._cacheCanvas=x.createElement("canvas"),T._cacheCanvas.width=1024,T._cacheCanvas.height=1024,T._cacheCtx=o.throwIfFalsy(T._cacheCanvas.getContext("2d",{alpha:!0}));var w=x.createElement("canvas");w.width=T._config.scaledCharWidth,w.height=T._config.scaledCharHeight,T._tmpCtx=o.throwIfFalsy(w.getContext("2d",{alpha:T._config.allowTransparency})),T._width=Math.floor(1024/T._config.scaledCharWidth),T._height=Math.floor(1024/T._config.scaledCharHeight);var E=T._width*T._height;return T._cacheMap=new i.LRUMap(E),T._cacheMap.prealloc(E),T}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(x,S,T,w){if(S.code===32)return!0;if(!this._canCache(S))return!1;var E=l(S),C=this._cacheMap.get(E);if(C!=null)return this._drawFromCache(x,C,T,w),!0;if(this._drawToCacheCount<100){var _=void 0;_=this._cacheMap.size<this._cacheMap.capacity?this._cacheMap.size:this._cacheMap.peek().index;var y=this._drawToCache(S,_);return this._cacheMap.set(E,y),this._drawFromCache(x,y,T,w),!0}return!1},p.prototype._canCache=function(x){return x.code<256},p.prototype._toCoordinateX=function(x){return x%this._width*this._config.scaledCharWidth},p.prototype._toCoordinateY=function(x){return Math.floor(x/this._width)*this._config.scaledCharHeight},p.prototype._drawFromCache=function(x,S,T,w){if(!S.isEmpty){var E=this._toCoordinateX(S.index),C=this._toCoordinateY(S.index);x.drawImage(S.inBitmap?this._bitmap:this._cacheCanvas,E,C,this._config.scaledCharWidth,this._config.scaledCharHeight,T,w,this._config.scaledCharWidth,this._config.scaledCharHeight)}},p.prototype._getColorFromAnsiIndex=function(x){return x<this._config.colors.ansi.length?this._config.colors.ansi[x]:a.DEFAULT_ANSI_COLORS[x]},p.prototype._getBackgroundColor=function(x){return this._config.allowTransparency?n:x.bg===h.INVERTED_DEFAULT_COLOR?this._config.colors.foreground:x.bg<256?this._getColorFromAnsiIndex(x.bg):this._config.colors.background},p.prototype._getForegroundColor=function(x){return x.fg===h.INVERTED_DEFAULT_COLOR?d.color.opaque(this._config.colors.background):x.fg<256?this._getColorFromAnsiIndex(x.fg):this._config.colors.foreground},p.prototype._drawToCache=function(x,S){this._drawToCacheCount++,this._tmpCtx.save();var T=this._getBackgroundColor(x);this._tmpCtx.globalCompositeOperation="copy",this._tmpCtx.fillStyle=T.css,this._tmpCtx.fillRect(0,0,this._config.scaledCharWidth,this._config.scaledCharHeight),this._tmpCtx.globalCompositeOperation="source-over";var w=x.bold?this._config.fontWeightBold:this._config.fontWeight,E=x.italic?"italic":"";this._tmpCtx.font=E+" "+w+" "+this._config.fontSize*this._config.devicePixelRatio+"px "+this._config.fontFamily,this._tmpCtx.textBaseline="middle",this._tmpCtx.fillStyle=this._getForegroundColor(x).css,x.dim&&(this._tmpCtx.globalAlpha=h.DIM_OPACITY),this._tmpCtx.fillText(x.chars,0,this._config.scaledCharHeight/2),this._tmpCtx.restore();var C=this._tmpCtx.getImageData(0,0,this._config.scaledCharWidth,this._config.scaledCharHeight),_=!1;this._config.allowTransparency||(_=function(I,M){for(var F=!0,P=M.rgba>>>24,j=M.rgba>>>16&255,K=M.rgba>>>8&255,N=0;N<I.data.length;N+=4)I.data[N]===P&&I.data[N+1]===j&&I.data[N+2]===K?I.data[N+3]=0:F=!1;return F}(C,T));var y=this._toCoordinateX(S),b=this._toCoordinateY(S);this._cacheCtx.putImageData(C,y,b);var O={index:S,isEmpty:_,inBitmap:!1};return this._addGlyphToBitmap(O),O},p.prototype._addGlyphToBitmap=function(x){var S=this;!("createImageBitmap"in window)||r.isFirefox||r.isSafari||(this._glyphsWaitingOnBitmap.push(x),this._bitmapCommitTimeout===null&&(this._bitmapCommitTimeout=window.setTimeout(function(){return S._generateBitmap()},100)))},p.prototype._generateBitmap=function(){var x=this,S=this._glyphsWaitingOnBitmap;this._glyphsWaitingOnBitmap=[],window.createImageBitmap(this._cacheCanvas).then(function(T){x._bitmap=T;for(var w=0;w<S.length;w++)S[w].inBitmap=!0}),this._bitmapCommitTimeout=null},p}(c.BaseCharAtlas);f.DynamicCharAtlas=t;var s=function(u){function p(x,S){return u.call(this)||this}return v(p,u),p.prototype.draw=function(x,S,T,w){return!1},p}(c.BaseCharAtlas);f.NoneCharAtlas=s},function(g,f,A){"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,A){"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,A){"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,A){"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 x=l===t?r[0]:this._bufferService.cols;this._fillCells(s,l,x-s,1);var S=Math.max(t-l-1,0);if(this._fillCells(0,l+1,this._bufferService.cols,S),l!==t){var T=n===t?r[0]:this._bufferService.cols;this._fillCells(0,t,T,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}(A(13).BaseRenderLayer);f.SelectionRenderLayer=h},function(g,f,A){"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=A(13),c=A(4),a=function(r){function o(d,n,l,t,s,u,p,x,S){var T=r.call(this,d,"cursor",n,!0,l,t,u,p)||this;return T._onRequestRedraw=s,T._coreService=x,T._coreBrowserService=S,T._cell=new c.CellData,T._state={x:0,y:0,isFocused:!1,style:"",width:0},T._cursorRenderers={bar:T._renderBarCursor.bind(T),block:T._renderBlockCursor.bind(T),underline:T._renderUnderlineCursor.bind(T)},T}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,A){"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=A(13),c=A(9),a=A(26),i=function(r){function o(d,n,l,t,s,u,p,x){var S=r.call(this,d,"link",n,!0,l,t,p,x)||this;return s.onShowLinkUnderline(function(T){return S._onShowLinkUnderline(T)}),s.onHideLinkUnderline(function(T){return S._onHideLinkUnderline(T)}),u.onShowLinkUnderline(function(T){return S._onShowLinkUnderline(T)}),u.onHideLinkUnderline(function(T){return S._onHideLinkUnderline(T)}),S}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,A){"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=A(0),c=A(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 T=l[typeof n.matchIndex!="number"?0:n.matchIndex];if(!T)return x._logService.debug("match found without corresponding matchIndex",l,n),"break";if(u=d.indexOf(T,u+1),s.lastIndex=u+T.length,u<0)return"break";var w=x._bufferService.buffer.stringIndexToBufferIndex(o,u);if(w[0]<0)return"break";var E=x._bufferService.buffer.lines.get(w[0]);if(!E)return"break";var C=E.getFg(w[1]),_=C?C>>9&511:void 0;n.validationCallback?n.validationCallback(T,function(y){t._rowsTimeoutId||y&&t._addLink(w[1],w[0]-t._bufferService.buffer.ydisp,T,n,_)}):x._addLink(w[1],w[0]-x._bufferService.buffer.ydisp,T,n,_)},x=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,x=d+Math.floor(o/this._bufferService.cols),S=(p+u)%this._bufferService.cols,T=x+Math.floor((p+u)/this._bufferService.cols);S===0&&(S=this._bufferService.cols,T--),this._mouseZoneManager.add(new i(p+1,x+1,S+1,T+1,function(w){if(l.handler)return l.handler(w,n);var E=window.open();E?(E.opener=null,E.location.href=n):console.warn("Opening link blocked as opener could not be cleared")},function(){s._onShowLinkUnderline.fire(s._createLinkHoverEvent(p,x,S,T,t)),s._element.classList.add("xterm-cursor-pointer")},function(w){s._onLinkTooltip.fire(s._createLinkHoverEvent(p,x,S,T,t)),l.hoverTooltipCallback&&l.hoverTooltipCallback(w,n,{start:{x:p,y:x},end:{x:S,y:T}})},function(){s._onHideLinkUnderline.fire(s._createLinkHoverEvent(p,x,S,T,t)),s._element.classList.remove("xterm-cursor-pointer"),l.hoverLeaveCallback&&l.hoverLeaveCallback()},function(w){return!l.willLinkActivate||l.willLinkActivate(w,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,x){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=x};f.MouseZone=i},function(g,f,A){"use strict";var m,v=this&&this.__extends||(m=function(T,w){return(m=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(E,C){E.__proto__=C}||function(E,C){for(var _ in C)C.hasOwnProperty(_)&&(E[_]=C[_])})(T,w)},function(S,T){function w(){this.constructor=S}m(S,T),S.prototype=T===null?Object.create(T):(w.prototype=T.prototype,new w)}),h=this&&this.__decorate||function(S,T,w,E){var C,_=arguments.length,y=_<3?T:E===null?E=Object.getOwnPropertyDescriptor(T,w):E;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")y=Reflect.decorate(S,T,w,E);else for(var b=S.length-1;b>=0;b--)(C=S[b])&&(y=(_<3?C(y):_>3?C(T,w,y):C(T,w))||y);return _>3&&y&&Object.defineProperty(T,w,y),y},c=this&&this.__param||function(S,T){return function(w,E){T(w,E,S)}};Object.defineProperty(f,"__esModule",{value:!0}),f.SelectionService=void 0;var a=A(11),i=A(52),r=A(4),o=A(0),d=A(5),n=A(1),l=A(30),t=A(53),s=A(2),u=String.fromCharCode(160),p=new RegExp(u,"g"),x=function(S){function T(w,E,C,_,y,b,O){var I=S.call(this)||this;return I._element=w,I._screenElement=E,I._bufferService=C,I._coreService=_,I._mouseService=y,I._optionsService=b,I._renderService=O,I._dragScrollAmount=0,I._enabled=!0,I._workCell=new r.CellData,I._mouseDownTimeStamp=0,I._onLinuxMouseSelection=I.register(new o.EventEmitter),I._onRedrawRequest=I.register(new o.EventEmitter),I._onSelectionChange=I.register(new o.EventEmitter),I._onRequestScrollLines=I.register(new o.EventEmitter),I._mouseMoveListener=function(M){return I._onMouseMove(M)},I._mouseUpListener=function(M){return I._onMouseUp(M)},I._coreService.onUserInput(function(){I.hasSelection&&I.clearSelection()}),I._trimListener=I._bufferService.buffer.lines.onTrim(function(M){return I._onTrim(M)}),I.register(I._bufferService.buffers.onBufferActivate(function(M){return I._onBufferActivate(M)})),I.enable(),I._model=new i.SelectionModel(I._bufferService),I._activeSelectionMode=0,I}return v(T,S),Object.defineProperty(T.prototype,"onLinuxMouseSelection",{get:function(){return this._onLinuxMouseSelection.event},enumerable:!1,configurable:!0}),Object.defineProperty(T.prototype,"onRequestRedraw",{get:function(){return this._onRedrawRequest.event},enumerable:!1,configurable:!0}),Object.defineProperty(T.prototype,"onSelectionChange",{get:function(){return this._onSelectionChange.event},enumerable:!1,configurable:!0}),Object.defineProperty(T.prototype,"onRequestScrollLines",{get:function(){return this._onRequestScrollLines.event},enumerable:!1,configurable:!0}),T.prototype.dispose=function(){this._removeMouseDownListeners()},T.prototype.reset=function(){this.clearSelection()},T.prototype.disable=function(){this.clearSelection(),this._enabled=!1},T.prototype.enable=function(){this._enabled=!0},Object.defineProperty(T.prototype,"selectionStart",{get:function(){return this._model.finalSelectionStart},enumerable:!1,configurable:!0}),Object.defineProperty(T.prototype,"selectionEnd",{get:function(){return this._model.finalSelectionEnd},enumerable:!1,configurable:!0}),Object.defineProperty(T.prototype,"hasSelection",{get:function(){var E=this._model.finalSelectionStart,C=this._model.finalSelectionEnd;return!(!E||!C)&&(E[0]!==C[0]||E[1]!==C[1])},enumerable:!1,configurable:!0}),Object.defineProperty(T.prototype,"selectionText",{get:function(){var E=this._model.finalSelectionStart,C=this._model.finalSelectionEnd;if(!E||!C)return"";var _=this._bufferService.buffer,y=[];if(this._activeSelectionMode===3){if(E[0]===C[0])return"";for(var b=E[1];b<=C[1];b++){var O=_.translateBufferLineToString(b,!0,E[0],C[0]);y.push(O)}}else{var I=E[1]===C[1]?C[0]:void 0;for(y.push(_.translateBufferLineToString(E[1],!0,E[0],I)),b=E[1]+1;b<=C[1]-1;b++){var M=_.lines.get(b);O=_.translateBufferLineToString(b,!0),M&&M.isWrapped?y[y.length-1]+=O:y.push(O)}E[1]!==C[1]&&(M=_.lines.get(C[1]),O=_.translateBufferLineToString(C[1],!0,0,C[0]),M&&M.isWrapped?y[y.length-1]+=O:y.push(O))}return y.map(function(F){return F.replace(p," ")}).join(a.isWindows?`\r
|
|
|
`:`
|
|
|
`)},enumerable:!1,configurable:!0}),T.prototype.clearSelection=function(){this._model.clearSelection(),this._removeMouseDownListeners(),this.refresh(),this._onSelectionChange.fire()},T.prototype.refresh=function(w){var E=this;(this._refreshAnimationFrame||(this._refreshAnimationFrame=window.requestAnimationFrame(function(){return E._refresh()})),a.isLinux&&w)&&this.selectionText.length&&this._onLinuxMouseSelection.fire(this.selectionText)},T.prototype._refresh=function(){this._refreshAnimationFrame=void 0,this._onRedrawRequest.fire({start:this._model.finalSelectionStart,end:this._model.finalSelectionEnd,columnSelectMode:this._activeSelectionMode===3})},T.prototype.isClickInSelection=function(w){var E=this._getMouseBufferCoords(w),C=this._model.finalSelectionStart,_=this._model.finalSelectionEnd;return!!(C&&_&&E)&&this._areCoordsInSelection(E,C,_)},T.prototype._areCoordsInSelection=function(w,E,C){return w[1]>E[1]&&w[1]<C[1]||E[1]===C[1]&&w[1]===E[1]&&w[0]>=E[0]&&w[0]<C[0]||E[1]<C[1]&&w[1]===C[1]&&w[0]<C[0]||E[1]<C[1]&&w[1]===E[1]&&w[0]>=E[0]},T.prototype.selectWordAtCursor=function(w){var E=this._getMouseBufferCoords(w);E&&(this._selectWordAt(E,!1),this._model.selectionEnd=void 0,this.refresh(!0))},T.prototype.selectAll=function(){this._model.isSelectAllActive=!0,this.refresh(),this._onSelectionChange.fire()},T.prototype.selectLines=function(w,E){this._model.clearSelection(),w=Math.max(w,0),E=Math.min(E,this._bufferService.buffer.lines.length-1),this._model.selectionStart=[0,w],this._model.selectionEnd=[this._bufferService.cols,E],this.refresh(),this._onSelectionChange.fire()},T.prototype._onTrim=function(w){this._model.onTrim(w)&&this.refresh()},T.prototype._getMouseBufferCoords=function(w){var E=this._mouseService.getCoords(w,this._screenElement,this._bufferService.cols,this._bufferService.rows,!0);if(E)return E[0]--,E[1]--,E[1]+=this._bufferService.buffer.ydisp,E},T.prototype._getMouseEventScrollAmount=function(w){var E=l.getCoordsRelativeToElement(w,this._screenElement)[1],C=this._renderService.dimensions.canvasHeight;return E>=0&&E<=C?0:(E>C&&(E-=C),E=Math.min(Math.max(E,-50),50),(E/=50)/Math.abs(E)+Math.round(14*E))},T.prototype.shouldForceSelection=function(w){return a.isMac?w.altKey&&this._optionsService.options.macOptionClickForcesSelection:w.shiftKey},T.prototype.onMouseDown=function(w){if(this._mouseDownTimeStamp=w.timeStamp,(w.button!==2||!this.hasSelection)&&w.button===0){if(!this._enabled){if(!this.shouldForceSelection(w))return;w.stopPropagation()}w.preventDefault(),this._dragScrollAmount=0,this._enabled&&w.shiftKey?this._onIncrementalClick(w):w.detail===1?this._onSingleClick(w):w.detail===2?this._onDoubleClick(w):w.detail===3&&this._onTripleClick(w),this._addMouseDownListeners(),this.refresh(!0)}},T.prototype._addMouseDownListeners=function(){var w=this;this._screenElement.ownerDocument&&(this._screenElement.ownerDocument.addEventListener("mousemove",this._mouseMoveListener),this._screenElement.ownerDocument.addEventListener("mouseup",this._mouseUpListener)),this._dragScrollIntervalTimer=window.setInterval(function(){return w._dragScroll()},50)},T.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},T.prototype._onIncrementalClick=function(w){this._model.selectionStart&&(this._model.selectionEnd=this._getMouseBufferCoords(w))},T.prototype._onSingleClick=function(w){if(this._model.selectionStartLength=0,this._model.isSelectAllActive=!1,this._activeSelectionMode=this.shouldColumnSelect(w)?3:0,this._model.selectionStart=this._getMouseBufferCoords(w),this._model.selectionStart){this._model.selectionEnd=void 0;var E=this._bufferService.buffer.lines.get(this._model.selectionStart[1]);E&&E.length!==this._model.selectionStart[0]&&E.hasWidth(this._model.selectionStart[0])===0&&this._model.selectionStart[0]++}},T.prototype._onDoubleClick=function(w){var E=this._getMouseBufferCoords(w);E&&(this._activeSelectionMode=1,this._selectWordAt(E,!0))},T.prototype._onTripleClick=function(w){var E=this._getMouseBufferCoords(w);E&&(this._activeSelectionMode=2,this._selectLineAt(E[1]))},T.prototype.shouldColumnSelect=function(w){return w.altKey&&!(a.isMac&&this._optionsService.options.macOptionClickForcesSelection)},T.prototype._onMouseMove=function(w){if(w.stopImmediatePropagation(),this._model.selectionStart){var E=this._model.selectionEnd?[this._model.selectionEnd[0],this._model.selectionEnd[1]]:null;if(this._model.selectionEnd=this._getMouseBufferCoords(w),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(w),this._activeSelectionMode!==3&&(this._dragScrollAmount>0?this._model.selectionEnd[0]=this._bufferService.cols:this._dragScrollAmount<0&&(this._model.selectionEnd[0]=0));var C=this._bufferService.buffer;if(this._model.selectionEnd[1]<C.lines.length){var _=C.lines.get(this._model.selectionEnd[1]);_&&_.hasWidth(this._model.selectionEnd[0])===0&&this._model.selectionEnd[0]++}E&&E[0]===this._model.selectionEnd[0]&&E[1]===this._model.selectionEnd[1]||this.refresh(!0)}else this.refresh(!0)}},T.prototype._dragScroll=function(){if(this._model.selectionEnd&&this._model.selectionStart&&this._dragScrollAmount){this._onRequestScrollLines.fire({amount:this._dragScrollAmount,suppressScrollEvent:!1});var w=this._bufferService.buffer;this._dragScrollAmount>0?(this._activeSelectionMode!==3&&(this._model.selectionEnd[0]=this._bufferService.cols),this._model.selectionEnd[1]=Math.min(w.ydisp+this._bufferService.rows,w.lines.length-1)):(this._activeSelectionMode!==3&&(this._model.selectionEnd[0]=0),this._model.selectionEnd[1]=w.ydisp),this.refresh()}},T.prototype._onMouseUp=function(w){var E=w.timeStamp-this._mouseDownTimeStamp;if(this._removeMouseDownListeners(),this.selectionText.length<=1&&E<500&&w.altKey){if(this._bufferService.buffer.ybase===this._bufferService.buffer.ydisp){var C=this._mouseService.getCoords(w,this._element,this._bufferService.cols,this._bufferService.rows,!1);if(C&&C[0]!==void 0&&C[1]!==void 0){var _=t.moveToCellSequence(C[0]-1,C[1]-1,this._bufferService,this._coreService.decPrivateModes.applicationCursorKeys);this._coreService.triggerDataEvent(_,!0)}}}else this.hasSelection&&this._onSelectionChange.fire()},T.prototype._onBufferActivate=function(w){var E=this;this.clearSelection(),this._trimListener.dispose(),this._trimListener=w.activeBuffer.lines.onTrim(function(C){return E._onTrim(C)})},T.prototype._convertViewportColToCharacterIndex=function(w,E){for(var C=E[0],_=0;E[0]>=_;_++){var y=w.loadCell(_,this._workCell).getChars().length;this._workCell.getWidth()===0?C--:y>1&&E[0]!==_&&(C+=y-1)}return C},T.prototype.setSelection=function(w,E,C){this._model.clearSelection(),this._removeMouseDownListeners(),this._model.selectionStart=[w,E],this._model.selectionStartLength=C,this.refresh()},T.prototype._getWordAt=function(w,E,C,_){if(C===void 0&&(C=!0),_===void 0&&(_=!0),!(w[0]>=this._bufferService.cols)){var y=this._bufferService.buffer,b=y.lines.get(w[1]);if(b){var O=y.translateBufferLineToString(w[1],!1),I=this._convertViewportColToCharacterIndex(b,w),M=I,F=w[0]-I,P=0,j=0,K=0,N=0;if(O.charAt(I)===" "){for(;I>0&&O.charAt(I-1)===" ";)I--;for(;M<O.length&&O.charAt(M+1)===" ";)M++}else{var B=w[0],U=w[0];b.getWidth(B)===0&&(P++,B--),b.getWidth(U)===2&&(j++,U++);var H=b.getString(U).length;for(H>1&&(N+=H-1,M+=H-1);B>0&&I>0&&!this._isCharWordSeparator(b.loadCell(B-1,this._workCell));){b.loadCell(B-1,this._workCell);var z=this._workCell.getChars().length;this._workCell.getWidth()===0?(P++,B--):z>1&&(K+=z-1,I-=z-1),I--,B--}for(;U<b.length&&M+1<O.length&&!this._isCharWordSeparator(b.loadCell(U+1,this._workCell));){b.loadCell(U+1,this._workCell);var X=this._workCell.getChars().length;this._workCell.getWidth()===2?(j++,U++):X>1&&(N+=X-1,M+=X-1),M++,U++}}M++;var W=I+F-P+K,Y=Math.min(this._bufferService.cols,M-I+P+j-K-N);if(E||O.slice(I,M).trim()!==""){if(C&&W===0&&b.getCodePoint(0)!==32){var q=y.lines.get(w[1]-1);if(q&&b.isWrapped&&q.getCodePoint(this._bufferService.cols-1)!==32){var me=this._getWordAt([this._bufferService.cols-1,w[1]-1],!1,!0,!1);if(me){var G=this._bufferService.cols-me.start;W-=G,Y+=G}}}if(_&&W+Y===this._bufferService.cols&&b.getCodePoint(this._bufferService.cols-1)!==32){var ye=y.lines.get(w[1]+1);if(ye&&ye.isWrapped&&ye.getCodePoint(0)!==32){var Ae=this._getWordAt([0,w[1]+1],!1,!1,!0);Ae&&(Y+=Ae.length)}}return{start:W,length:Y}}}}},T.prototype._selectWordAt=function(w,E){var C=this._getWordAt(w,E);if(C){for(;C.start<0;)C.start+=this._bufferService.cols,w[1]--;this._model.selectionStart=[C.start,w[1]],this._model.selectionStartLength=C.length}},T.prototype._selectToWordAt=function(w){var E=this._getWordAt(w,!0);if(E){for(var C=w[1];E.start<0;)E.start+=this._bufferService.cols,C--;if(!this._model.areSelectionValuesReversed())for(;E.start+E.length>this._bufferService.cols;)E.length-=this._bufferService.cols,C++;this._model.selectionEnd=[this._model.areSelectionValuesReversed()?E.start:E.start+E.length,C]}},T.prototype._isCharWordSeparator=function(w){return w.getWidth()!==0&&this._optionsService.options.wordSeparator.indexOf(w.getChars())>=0},T.prototype._selectLineAt=function(w){var E=this._bufferService.buffer.getWrappedRangeForLine(w);this._model.selectionStart=[0,E.first],this._model.selectionEnd=[this._bufferService.cols,E.last],this._model.selectionStartLength=0},T=h([c(2,n.IBufferService),c(3,n.ICoreService),c(4,d.IMouseService),c(5,n.IOptionsService),c(6,d.IRenderService)],T)}(s.Disposable);f.SelectionService=x},function(g,f,A){"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,A){"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.moveToCellSequence=void 0;var m=A(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,x){for(var S=0,T=u-h(x,u),w=p-h(x,p),E=0;E<Math.abs(T-w);E++){var C=c(u,p)==="A"?-1:1,_=x.buffer.lines.get(T+C*E);_&&_.isWrapped&&S++}return S}(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,x="";u!==n||p!==l;)u+=t?1:-1,t&&u>s.cols-1?(x+=s.buffer.translateBufferLineToString(p,!1,o,u),u=0,o=0,p++):!t&&u<0&&(x+=s.buffer.translateBufferLineToString(p,!1,0,o+1),o=u=s.cols-1,p--);return x+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(x,S,T,w,E,C){return v(S,w,E,C).length===0?"":r(a(x,S,x,S-h(E,S),!1,E).length,i("D",C))}(s,u,0,d,n,l)+v(u,d,n,l)+function(x,S,T,w,E,C){var _;_=v(S,w,E,C).length>0?w-h(E,w):S;var y=w,b=function(O,I,M,F,P,j){var K;return K=v(M,F,P,j).length>0?F-h(P,F):I,O<M&&K<=F||O>=M&&K<F?"C":"D"}(x,S,T,w,E,C);return r(a(x,_,T,y,b==="C",E).length,i(b,C))}(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(x,S){return S.cols-x}(u>d?o:s,n)+(p-1)*n.cols+1+((u>d?s:o)-1),i(t,l))}},function(g,f,A){"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=A(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,A){"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,x=p<3?l:s===null?s=Object.getOwnPropertyDescriptor(l,t):s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")x=Reflect.decorate(n,l,t,s);else for(var S=n.length-1;S>=0;S--)(u=n[S])&&(x=(p<3?u(x):p>3?u(l,t,x):u(l,t))||x);return p>3&&x&&Object.defineProperty(l,t,x),x},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=A(2),i=A(7),r=A(5),o=A(1),d=function(n){function l(t,s,u,p,x,S){var T=n.call(this)||this;return T._element=t,T._screenElement=s,T._bufferService=u,T._mouseService=p,T._selectionService=x,T._optionsService=S,T._zones=[],T._areZonesActive=!1,T._lastHoverCoords=[void 0,void 0],T._initialSelectionLength=0,T.register(i.addDisposableDomListener(T._element,"mousedown",function(w){return T._onMouseDown(w)})),T._mouseMoveListener=function(w){return T._onMouseMove(w)},T._mouseLeaveListener=function(w){return T._onMouseLeave(w)},T._clickListener=function(w){return T._onClick(w)},T}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],x=0;x<this._zones.length;x++){var S=this._zones[x];if(S.y1===S.y2){if(p===S.y1&&u>=S.x1&&u<S.x2)return S}else if(p===S.y1&&u>=S.x1||p===S.y2&&u<S.x2||p>S.y1&&p<S.y2)return S}},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,A){"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 x in p)p.hasOwnProperty(x)&&(u[x]=p[x])})(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=A(18),c=A(11),a=A(31),i=A(7),r=A(2),o=A(32),d=A(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 x=0;x<p._terminal.rows;x++)p._rowElements[x]=p._createAccessibilityTreeNode(),p._rowContainer.appendChild(p._rowElements[x]);if(p._topBoundaryFocusListener=function(S){return p._onBoundaryFocus(S,0)},p._bottomBoundaryFocusListener=function(S){return p._onBoundaryFocus(S,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(S){return p._onResize(S.rows)})),p.register(p._terminal.onRender(function(S){return p._refreshRows(S.start,S.end)})),p.register(p._terminal.onScroll(function(){return p._refreshRows()})),p.register(p._terminal.onA11yChar(function(S){return p._onChar(S)})),p.register(p._terminal.onLineFeed(function(){return p._onChar(`
|
|
|
`)})),p.register(p._terminal.onA11yTab(function(S){return p._onTab(S)})),p.register(p._terminal.onKey(function(S){return p._onKey(S.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,x=this._rowElements[u===0?1:this._rowElements.length-2];if(p.getAttribute("aria-posinset")!==(u===0?"1":""+this._terminal.buffer.lines.length)&&s.relatedTarget===x){var S,T;if(u===0?(S=p,T=this._rowElements.pop(),this._rowContainer.removeChild(T)):(S=this._rowElements.shift(),T=p,this._rowContainer.removeChild(S)),S.removeEventListener("focus",this._topBoundaryFocusListener),T.removeEventListener("focus",this._bottomBoundaryFocusListener),u===0){var w=this._createAccessibilityTreeNode();this._rowElements.unshift(w),this._rowContainer.insertAdjacentElement("afterbegin",w)}else w=this._createAccessibilityTreeNode(),this._rowElements.push(w),this._rowContainer.appendChild(w);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,x=p.lines.length.toString(),S=s;S<=u;S++){var T=p.translateBufferLineToString(p.ydisp+S,!0),w=(p.ydisp+S+1).toString(),E=this._rowElements[S];E&&(T.length===0?E.innerHTML=" ":E.textContent=T,E.setAttribute("aria-posinset",w),E.setAttribute("aria-setsize",x))}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,A){"use strict";var m,v=this&&this.__extends||(m=function(x,S){return(m=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(T,w){T.__proto__=w}||function(T,w){for(var E in w)w.hasOwnProperty(E)&&(T[E]=w[E])})(x,S)},function(p,x){function S(){this.constructor=p}m(p,x),p.prototype=x===null?Object.create(x):(S.prototype=x.prototype,new S)}),h=this&&this.__decorate||function(p,x,S,T){var w,E=arguments.length,C=E<3?x:T===null?T=Object.getOwnPropertyDescriptor(x,S):T;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")C=Reflect.decorate(p,x,S,T);else for(var _=p.length-1;_>=0;_--)(w=p[_])&&(C=(E<3?w(C):E>3?w(x,S,C):w(x,S))||C);return E>3&&C&&Object.defineProperty(x,S,C),C},c=this&&this.__param||function(p,x){return function(S,T){x(S,T,p)}};Object.defineProperty(f,"__esModule",{value:!0}),f.DomRenderer=void 0;var a=A(58),i=A(9),r=A(2),o=A(5),d=A(1),n=A(0),l=A(10),t=A(17),s=1,u=function(p){function x(S,T,w,E,C,_,y,b,O){var I=p.call(this)||this;return I._colors=S,I._element=T,I._screenElement=w,I._viewportElement=E,I._linkifier=C,I._linkifier2=_,I._charSizeService=y,I._optionsService=b,I._bufferService=O,I._terminalClass=s++,I._rowElements=[],I._rowContainer=document.createElement("div"),I._rowContainer.classList.add("xterm-rows"),I._rowContainer.style.lineHeight="normal",I._rowContainer.setAttribute("aria-hidden","true"),I._refreshRowElements(I._bufferService.cols,I._bufferService.rows),I._selectionContainer=document.createElement("div"),I._selectionContainer.classList.add("xterm-selection"),I._selectionContainer.setAttribute("aria-hidden","true"),I.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},I._updateDimensions(),I._injectCss(),I._rowFactory=new a.DomRendererRowFactory(document,I._optionsService,I._colors),I._element.classList.add("xterm-dom-renderer-owner-"+I._terminalClass),I._screenElement.appendChild(I._rowContainer),I._screenElement.appendChild(I._selectionContainer),I._linkifier.onShowLinkUnderline(function(M){return I._onLinkHover(M)}),I._linkifier.onHideLinkUnderline(function(M){return I._onLinkLeave(M)}),I._linkifier2.onShowLinkUnderline(function(M){return I._onLinkHover(M)}),I._linkifier2.onHideLinkUnderline(function(M){return I._onLinkLeave(M)}),I}return v(x,p),Object.defineProperty(x.prototype,"onRequestRedraw",{get:function(){return new n.EventEmitter().event},enumerable:!1,configurable:!0}),x.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)},x.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 S=0,T=this._rowElements;S<T.length;S++){var w=T[S];w.style.width=this.dimensions.canvasWidth+"px",w.style.height=this.dimensions.actualCellHeight+"px",w.style.lineHeight=this.dimensions.actualCellHeight+"px",w.style.overflow="hidden"}this._dimensionsStyleElement||(this._dimensionsStyleElement=document.createElement("style"),this._screenElement.appendChild(this._dimensionsStyleElement));var E=this._terminalSelector+" .xterm-rows span { display: inline-block; height: 100%; vertical-align: top; width: "+this.dimensions.actualCellWidth+"px}";this._dimensionsStyleElement.innerHTML=E,this._selectionContainer.style.height=this._viewportElement.style.height,this._screenElement.style.width=this.dimensions.canvasWidth+"px",this._screenElement.style.height=this.dimensions.canvasHeight+"px"},x.prototype.setColors=function(S){this._colors=S,this._injectCss()},x.prototype._injectCss=function(){var S=this;this._themeStyleElement||(this._themeStyleElement=document.createElement("style"),this._screenElement.appendChild(this._themeStyleElement));var T=this._terminalSelector+" .xterm-rows { color: "+this._colors.foreground.css+"; font-family: "+this._optionsService.options.fontFamily+"; font-size: "+this._optionsService.options.fontSize+"px;}";T+=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;}",T+="@keyframes blink_box_shadow_"+this._terminalClass+" { 50% { box-shadow: none; }}",T+="@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+"; }}",T+=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;}",T+=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(w,E){T+=S._terminalSelector+" .xterm-fg-"+E+" { color: "+w.css+"; }"+S._terminalSelector+" .xterm-bg-"+E+" { background-color: "+w.css+"; }"}),T+=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=T},x.prototype.onDevicePixelRatioChange=function(){this._updateDimensions()},x.prototype._refreshRowElements=function(S,T){for(var w=this._rowElements.length;w<=T;w++){var E=document.createElement("div");this._rowContainer.appendChild(E),this._rowElements.push(E)}for(;this._rowElements.length>T;)this._rowContainer.removeChild(this._rowElements.pop())},x.prototype.onResize=function(S,T){this._refreshRowElements(S,T),this._updateDimensions()},x.prototype.onCharSizeChanged=function(){this._updateDimensions()},x.prototype.onBlur=function(){this._rowContainer.classList.remove("xterm-focus")},x.prototype.onFocus=function(){this._rowContainer.classList.add("xterm-focus")},x.prototype.onSelectionChanged=function(S,T,w){for(;this._selectionContainer.children.length;)this._selectionContainer.removeChild(this._selectionContainer.children[0]);if(S&&T){var E=S[1]-this._bufferService.buffer.ydisp,C=T[1]-this._bufferService.buffer.ydisp,_=Math.max(E,0),y=Math.min(C,this._bufferService.rows-1);if(!(_>=this._bufferService.rows||y<0)){var b=document.createDocumentFragment();if(w)b.appendChild(this._createSelectionElement(_,S[0],T[0],y-_+1));else{var O=E===_?S[0]:0,I=_===y?T[0]:this._bufferService.cols;b.appendChild(this._createSelectionElement(_,O,I));var M=y-_-1;if(b.appendChild(this._createSelectionElement(_+1,0,this._bufferService.cols,M)),_!==y){var F=C===y?T[0]:this._bufferService.cols;b.appendChild(this._createSelectionElement(y,0,F))}}this._selectionContainer.appendChild(b)}}},x.prototype._createSelectionElement=function(S,T,w,E){E===void 0&&(E=1);var C=document.createElement("div");return C.style.height=E*this.dimensions.actualCellHeight+"px",C.style.top=S*this.dimensions.actualCellHeight+"px",C.style.left=T*this.dimensions.actualCellWidth+"px",C.style.width=this.dimensions.actualCellWidth*(w-T)+"px",C},x.prototype.onCursorMove=function(){},x.prototype.onOptionsChanged=function(){this._updateDimensions(),this._injectCss()},x.prototype.clear=function(){for(var S=0,T=this._rowElements;S<T.length;S++)T[S].innerHTML=""},x.prototype.renderRows=function(S,T){for(var w=this._bufferService.buffer.ybase+this._bufferService.buffer.y,E=Math.min(this._bufferService.buffer.x,this._bufferService.cols-1),C=this._optionsService.options.cursorBlink,_=S;_<=T;_++){var y=this._rowElements[_];y.innerHTML="";var b=_+this._bufferService.buffer.ydisp,O=this._bufferService.buffer.lines.get(b),I=this._optionsService.options.cursorStyle;y.appendChild(this._rowFactory.createRow(O,b===w,I,E,C,this.dimensions.actualCellWidth,this._bufferService.cols))}},Object.defineProperty(x.prototype,"_terminalSelector",{get:function(){return".xterm-dom-renderer-owner-"+this._terminalClass},enumerable:!1,configurable:!0}),x.prototype.registerCharacterJoiner=function(S){return-1},x.prototype.deregisterCharacterJoiner=function(S){return!1},x.prototype._onLinkHover=function(S){this._setCellUnderline(S.x1,S.x2,S.y1,S.y2,S.cols,!0)},x.prototype._onLinkLeave=function(S){this._setCellUnderline(S.x1,S.x2,S.y1,S.y2,S.cols,!1)},x.prototype._setCellUnderline=function(S,T,w,E,C,_){for(;S!==T||w!==E;){var y=this._rowElements[w];if(!y)return;var b=y.children[S];b&&(b.style.textDecoration=_?"underline":"none"),++S>=C&&(S=0,w++)}},x=h([c(6,o.ICharSizeService),c(7,d.IOptionsService),c(8,d.IBufferService)],x)}(r.Disposable);f.DomRenderer=u},function(g,f,A){"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=A(9),v=A(3),h=A(4),c=A(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(),x=0,S=Math.min(o.length,u)-1;S>=0;S--)if(o.loadCell(S,this._workCell).getCode()!==v.NULL_CELL_CODE||d&&S===l){x=S+1;break}for(S=0;S<x;S++){o.loadCell(S,this._workCell);var T=this._workCell.getWidth();if(T!==0){var w=this._document.createElement("span");if(T>1&&(w.style.width=s*T+"px"),d&&S===l)switch(w.classList.add(f.CURSOR_CLASS),t&&w.classList.add(f.CURSOR_BLINK_CLASS),n){case"bar":w.classList.add(f.CURSOR_STYLE_BAR_CLASS);break;case"underline":w.classList.add(f.CURSOR_STYLE_UNDERLINE_CLASS);break;default:w.classList.add(f.CURSOR_STYLE_BLOCK_CLASS)}this._workCell.isBold()&&w.classList.add(f.BOLD_CLASS),this._workCell.isItalic()&&w.classList.add(f.ITALIC_CLASS),this._workCell.isDim()&&w.classList.add(f.DIM_CLASS),this._workCell.isUnderline()&&w.classList.add(f.UNDERLINE_CLASS),this._workCell.isInvisible()?w.textContent=v.WHITESPACE_CELL_CHAR:w.textContent=this._workCell.getChars()||v.WHITESPACE_CELL_CHAR;var E=this._workCell.getFgColor(),C=this._workCell.getFgColorMode(),_=this._workCell.getBgColor(),y=this._workCell.getBgColorMode(),b=!!this._workCell.isInverse();if(b){var O=E;E=_,_=O;var I=C;C=y,y=I}switch(C){case 16777216:case 33554432:this._workCell.isBold()&&E<8&&this._optionsService.options.drawBoldTextInBrightColors&&(E+=8),this._applyMinimumContrast(w,this._colors.background,this._colors.ansi[E])||w.classList.add("xterm-fg-"+E);break;case 50331648:var M=c.rgba.toColor(E>>16&255,E>>8&255,255&E);this._applyMinimumContrast(w,this._colors.background,M)||this._addStyle(w,"color:#"+i(E.toString(16),"0",6));break;case 0:default:this._applyMinimumContrast(w,this._colors.background,this._colors.foreground)||b&&w.classList.add("xterm-fg-"+m.INVERTED_DEFAULT_COLOR)}switch(y){case 16777216:case 33554432:w.classList.add("xterm-bg-"+_);break;case 50331648:this._addStyle(w,"background-color:#"+i(_.toString(16),"0",6));break;case 0:default:b&&w.classList.add("xterm-bg-"+m.INVERTED_DEFAULT_COLOR)}p.appendChild(w)}}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,A){"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.evaluateKeyboardEvent=void 0;var m=A(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,A){"use strict";var m,v=this&&this.__extends||(m=function(u,p){return(m=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(x,S){x.__proto__=S}||function(x,S){for(var T in S)S.hasOwnProperty(T)&&(x[T]=S[T])})(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,x){var S,T=arguments.length,w=T<3?u:x===null?x=Object.getOwnPropertyDescriptor(u,p):x;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")w=Reflect.decorate(s,u,p,x);else for(var E=s.length-1;E>=0;E--)(S=s[E])&&(w=(T<3?S(w):T>3?S(u,p,w):S(u,p))||w);return T>3&&w&&Object.defineProperty(u,p,w),w},c=this&&this.__param||function(s,u){return function(p,x){u(p,x,s)}};Object.defineProperty(f,"__esModule",{value:!0}),f.RenderService=void 0;var a=A(31),i=A(0),r=A(2),o=A(32),d=A(7),n=A(1),l=A(5),t=function(s){function u(p,x,S,T,w,E){var C=s.call(this)||this;if(C._renderer=p,C._rowCount=x,C._isPaused=!1,C._needsFullRefresh=!1,C._isNextRenderRedrawOnly=!0,C._needsSelectionRefresh=!1,C._canvasWidth=0,C._canvasHeight=0,C._selectionState={start:void 0,end:void 0,columnSelectMode:!1},C._onDimensionsChange=new i.EventEmitter,C._onRender=new i.EventEmitter,C._onRefreshRequest=new i.EventEmitter,C.register({dispose:function(){return C._renderer.dispose()}}),C._renderDebouncer=new a.RenderDebouncer(function(y,b){return C._renderRows(y,b)}),C.register(C._renderDebouncer),C._screenDprMonitor=new o.ScreenDprMonitor,C._screenDprMonitor.setListener(function(){return C.onDevicePixelRatioChange()}),C.register(C._screenDprMonitor),C.register(E.onResize(function(y){return C._fullRefresh()})),C.register(T.onOptionChange(function(){return C._renderer.onOptionsChanged()})),C.register(w.onCharSizeChange(function(){return C.onCharSizeChanged()})),C._renderer.onRequestRedraw(function(y){return C.refreshRows(y.start,y.end,!0)}),C.register(d.addDisposableDomListener(window,"resize",function(){return C.onDevicePixelRatioChange()})),"IntersectionObserver"in window){var _=new IntersectionObserver(function(y){return C._onIntersectionChange(y[y.length-1])},{threshold:0});_.observe(S),C.register({dispose:function(){return _.disconnect()}})}return C}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,x,S){S===void 0&&(S=!1),this._isPaused?this._needsFullRefresh=!0:(S||(this._isNextRenderRedrawOnly=!1),this._renderDebouncer.refresh(p,x,this._rowCount))},u.prototype._renderRows=function(p,x){this._renderer.renderRows(p,x),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:x}),this._isNextRenderRedrawOnly=!0},u.prototype.resize=function(p,x){this._rowCount=x,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 x=this;this._renderer.dispose(),this._renderer=p,this._renderer.onRequestRedraw(function(S){return x.refreshRows(S.start,S.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,x){this._renderer.onResize(p,x),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,x,S){this._selectionState.start=p,this._selectionState.end=x,this._selectionState.columnSelectMode=S,this._renderer.onSelectionChanged(p,x,S)},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,A){"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=A(1),c=A(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,A){"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=A(5),c=A(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,A){"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,x=p<3?l:s===null?s=Object.getOwnPropertyDescriptor(l,t):s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")x=Reflect.decorate(n,l,t,s);else for(var S=n.length-1;S>=0;S--)(u=n[S])&&(x=(p<3?u(x):p>3?u(l,t,x):u(l,t))||x);return p>3&&x&&Object.defineProperty(l,t,x),x},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=A(1),i=A(0),r=A(2),o=A(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 x=u[p];if(x.classList.contains("xterm"))break;if(x.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(x,S){var T;s?((T=u._activeProviderReplies)===null||T===void 0?void 0:T.get(S))&&(p=u._checkLinkProviderResult(S,t,p)):x.provideLinks(t.y,function(w){var E,C;if(!u._isMouseOut){var _=w==null?void 0:w.map(function(y){return{link:y}});(E=u._activeProviderReplies)===null||E===void 0||E.set(S,_),p=u._checkLinkProviderResult(S,t,p),((C=u._activeProviderReplies)===null||C===void 0?void 0:C.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 x=s.get(p);if(x)for(var S=0;S<x.length;S++)for(var T=x[S],w=T.link.range.start.y<t?0:T.link.range.start.x,E=T.link.range.end.y>t?this._bufferService.cols:T.link.range.end.x,C=w;C<=E;C++){if(u.has(C)){x.splice(S--,1);break}u.add(C)}}},l.prototype._checkLinkProviderResult=function(t,s,u){var p,x=this;if(!this._activeProviderReplies)return u;for(var S=this._activeProviderReplies.get(t),T=!1,w=0;w<t;w++)this._activeProviderReplies.has(w)&&!this._activeProviderReplies.get(w)||(T=!0);if(!T&&S){var E=S.find(function(_){return x._linkAtPosition(_.link,s)});E&&(u=!0,this._handleNewLink(E))}if(this._activeProviderReplies.size===this._linkProviders.length&&!u)for(w=0;w<this._activeProviderReplies.size;w++){var C=(p=this._activeProviderReplies.get(w))===null||p===void 0?void 0:p.find(function(_){return x._linkAtPosition(_.link,s)});if(C){u=!0,this._handleNewLink(C);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 x,S;return(S=(x=s._currentLink)===null||x===void 0?void 0:x.state)===null||S===void 0?void 0:S.decorations.pointerCursor},set:function(x){var S,T;((S=s._currentLink)===null||S===void 0?void 0:S.state)&&s._currentLink.state.decorations.pointerCursor!==x&&(s._currentLink.state.decorations.pointerCursor=x,s._currentLink.state.isHovered&&((T=s._element)===null||T===void 0||T.classList.toggle("xterm-cursor-pointer",x)))}},underline:{get:function(){var x,S;return(S=(x=s._currentLink)===null||x===void 0?void 0:x.state)===null||S===void 0?void 0:S.decorations.underline},set:function(x){var S,T,w;((S=s._currentLink)===null||S===void 0?void 0:S.state)&&((w=(T=s._currentLink)===null||T===void 0?void 0:T.state)===null||w===void 0?void 0:w.decorations.underline)!==x&&(s._currentLink.state.decorations.underline=x,s._currentLink.state.isHovered&&s._fireUnderlineEvent(t.link,x))}}}),this._renderService&&this._linkCacheDisposables.push(this._renderService.onRenderedBufferChange(function(p){var x=p.start===0?0:p.start+1+s._bufferService.buffer.ydisp;s._clearCurrentLink(x,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,x=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(x)},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,x=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||x&&t.range.start.x<=s.x||p&&x)&&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,x){return{x1:t,y1:s,x2:u,y2:p,cols:this._bufferService.cols,fg:x}},l=h([c(0,a.IBufferService)],l)}(r.Disposable);f.Linkifier2=d},function(g,f,A){"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,A){"use strict";var m,v=this&&this.__extends||(m=function(E,C){return(m=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(_,y){_.__proto__=y}||function(_,y){for(var b in y)y.hasOwnProperty(b)&&(_[b]=y[b])})(E,C)},function(w,E){function C(){this.constructor=w}m(w,E),w.prototype=E===null?Object.create(E):(C.prototype=E.prototype,new C)});Object.defineProperty(f,"__esModule",{value:!0}),f.CoreTerminal=void 0;var h=A(2),c=A(1),a=A(66),i=A(67),r=A(68),o=A(74),d=A(75),n=A(0),l=A(76),t=A(77),s=A(78),u=A(80),p=A(81),x=A(19),S=A(82),T=function(w){function E(C){var _=w.call(this)||this;return _._onBinary=new n.EventEmitter,_._onData=new n.EventEmitter,_._onLineFeed=new n.EventEmitter,_._onResize=new n.EventEmitter,_._onScroll=new n.EventEmitter,_._instantiationService=new a.InstantiationService,_.optionsService=new o.OptionsService(C),_._instantiationService.setService(c.IOptionsService,_.optionsService),_._bufferService=_.register(_._instantiationService.createInstance(r.BufferService)),_._instantiationService.setService(c.IBufferService,_._bufferService),_._logService=_._instantiationService.createInstance(i.LogService),_._instantiationService.setService(c.ILogService,_._logService),_._coreService=_.register(_._instantiationService.createInstance(d.CoreService,function(){return _.scrollToBottom()})),_._instantiationService.setService(c.ICoreService,_._coreService),_._coreMouseService=_._instantiationService.createInstance(l.CoreMouseService),_._instantiationService.setService(c.ICoreMouseService,_._coreMouseService),_._dirtyRowService=_._instantiationService.createInstance(t.DirtyRowService),_._instantiationService.setService(c.IDirtyRowService,_._dirtyRowService),_.unicodeService=_._instantiationService.createInstance(s.UnicodeService),_._instantiationService.setService(c.IUnicodeService,_.unicodeService),_._charsetService=_._instantiationService.createInstance(u.CharsetService),_._instantiationService.setService(c.ICharsetService,_._charsetService),_._inputHandler=new x.InputHandler(_._bufferService,_._charsetService,_._coreService,_._dirtyRowService,_._logService,_.optionsService,_._coreMouseService,_.unicodeService),_.register(n.forwardEvent(_._inputHandler.onLineFeed,_._onLineFeed)),_.register(_._inputHandler),_.register(n.forwardEvent(_._bufferService.onResize,_._onResize)),_.register(n.forwardEvent(_._coreService.onData,_._onData)),_.register(n.forwardEvent(_._coreService.onBinary,_._onBinary)),_.register(_.optionsService.onOptionChange(function(y){return _._updateOptions(y)})),_._writeBuffer=new S.WriteBuffer(function(y){return _._inputHandler.parse(y)}),_}return v(E,w),Object.defineProperty(E.prototype,"onBinary",{get:function(){return this._onBinary.event},enumerable:!1,configurable:!0}),Object.defineProperty(E.prototype,"onData",{get:function(){return this._onData.event},enumerable:!1,configurable:!0}),Object.defineProperty(E.prototype,"onLineFeed",{get:function(){return this._onLineFeed.event},enumerable:!1,configurable:!0}),Object.defineProperty(E.prototype,"onResize",{get:function(){return this._onResize.event},enumerable:!1,configurable:!0}),Object.defineProperty(E.prototype,"onScroll",{get:function(){return this._onScroll.event},enumerable:!1,configurable:!0}),Object.defineProperty(E.prototype,"cols",{get:function(){return this._bufferService.cols},enumerable:!1,configurable:!0}),Object.defineProperty(E.prototype,"rows",{get:function(){return this._bufferService.rows},enumerable:!1,configurable:!0}),Object.defineProperty(E.prototype,"buffers",{get:function(){return this._bufferService.buffers},enumerable:!1,configurable:!0}),E.prototype.dispose=function(){var C;this._isDisposed||(w.prototype.dispose.call(this),(C=this._windowsMode)===null||C===void 0||C.dispose(),this._windowsMode=void 0)},E.prototype.write=function(C,_){this._writeBuffer.write(C,_)},E.prototype.writeSync=function(C){this._writeBuffer.writeSync(C)},E.prototype.resize=function(C,_){isNaN(C)||isNaN(_)||(C=Math.max(C,r.MINIMUM_COLS),_=Math.max(_,r.MINIMUM_ROWS),this._bufferService.resize(C,_))},E.prototype.scroll=function(C,_){_===void 0&&(_=!1);var y,b=this._bufferService.buffer;(y=this._cachedBlankLine)&&y.length===this.cols&&y.getFg(0)===C.fg&&y.getBg(0)===C.bg||(y=b.getBlankLine(C,_),this._cachedBlankLine=y),y.isWrapped=_;var O=b.ybase+b.scrollTop,I=b.ybase+b.scrollBottom;if(b.scrollTop===0){var M=b.lines.isFull;I===b.lines.length-1?M?b.lines.recycle().copyFrom(y):b.lines.push(y.clone()):b.lines.splice(I+1,0,y.clone()),M?this._bufferService.isUserScrolling&&(b.ydisp=Math.max(b.ydisp-1,0)):(b.ybase++,this._bufferService.isUserScrolling||b.ydisp++)}else{var F=I-O+1;b.lines.shiftElements(O+1,F-1,-1),b.lines.set(I,y.clone())}this._bufferService.isUserScrolling||(b.ydisp=b.ybase),this._dirtyRowService.markRangeDirty(b.scrollTop,b.scrollBottom),this._onScroll.fire(b.ydisp)},E.prototype.scrollLines=function(C,_){var y=this._bufferService.buffer;if(C<0){if(y.ydisp===0)return;this._bufferService.isUserScrolling=!0}else C+y.ydisp>=y.ybase&&(this._bufferService.isUserScrolling=!1);var b=y.ydisp;y.ydisp=Math.max(Math.min(y.ydisp+C,y.ybase),0),b!==y.ydisp&&(_||this._onScroll.fire(y.ydisp))},E.prototype.scrollPages=function(C){this.scrollLines(C*(this.rows-1))},E.prototype.scrollToTop=function(){this.scrollLines(-this._bufferService.buffer.ydisp)},E.prototype.scrollToBottom=function(){this.scrollLines(this._bufferService.buffer.ybase-this._bufferService.buffer.ydisp)},E.prototype.scrollToLine=function(C){var _=C-this._bufferService.buffer.ydisp;_!==0&&this.scrollLines(_)},E.prototype.addEscHandler=function(C,_){return this._inputHandler.addEscHandler(C,_)},E.prototype.addDcsHandler=function(C,_){return this._inputHandler.addDcsHandler(C,_)},E.prototype.addCsiHandler=function(C,_){return this._inputHandler.addCsiHandler(C,_)},E.prototype.addOscHandler=function(C,_){return this._inputHandler.addOscHandler(C,_)},E.prototype._setup=function(){this.optionsService.options.windowsMode&&this._enableWindowsMode()},E.prototype.reset=function(){this._inputHandler.reset(),this._bufferService.reset(),this._charsetService.reset(),this._coreService.reset(),this._coreMouseService.reset()},E.prototype._updateOptions=function(C){var _;switch(C){case"scrollback":this.buffers.resize(this.cols,this.rows);break;case"windowsMode":this.optionsService.options.windowsMode?this._enableWindowsMode():((_=this._windowsMode)===null||_===void 0||_.dispose(),this._windowsMode=void 0)}},E.prototype._enableWindowsMode=function(){var C=this;if(!this._windowsMode){var _=[];_.push(this.onLineFeed(p.updateWindowsModeWrappedState.bind(null,this._bufferService))),_.push(this.addCsiHandler({final:"H"},function(){return p.updateWindowsModeWrappedState(C._bufferService),!1})),this._windowsMode={dispose:function(){for(var b=0,O=_;b<O.length;b++)O[b].dispose()}}}},E}(h.Disposable);f.CoreTerminal=T},function(g,f,A){"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=A(1),h=A(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(S,T){return S.index-T.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 x=n.length>0?n[0].index:o.length;if(o.length!==x)throw new Error("[createInstance] First service dependency of "+r.name+" at position "+(x+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,A){"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=A(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,A){"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,x=p<3?l:s===null?s=Object.getOwnPropertyDescriptor(l,t):s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")x=Reflect.decorate(n,l,t,s);else for(var S=n.length-1;S>=0;S--)(u=n[S])&&(x=(p<3?u(x):p>3?u(l,t,x):u(l,t))||x);return p>3&&x&&Object.defineProperty(l,t,x),x},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=A(1),i=A(69),r=A(0),o=A(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,A){"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=A(70),c=A(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}(A(2).Disposable);f.BufferSet=a},function(g,f,A){"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.BufferStringIterator=f.Buffer=f.MAX_BUFFER_SIZE=void 0;var m=A(71),v=A(16),h=A(4),c=A(3),a=A(72),i=A(73),r=A(20),o=A(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 x=0;x<this.lines.length;x++)this.lines.get(x).resize(t,u);var S=0;if(this._rows<s)for(var T=this._rows;T<s;T++)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+S+1?(this.ybase--,S++,this.ydisp>0&&this.ydisp--):this.lines.push(new v.BufferLine(t,u)));else for(T=this._rows;T>s;T--)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 w=this.lines.length-p;w>0&&(this.lines.trimStart(w),this.ybase=Math.max(this.ybase-w,0),this.ydisp=Math.max(this.ydisp-w,0),this.savedY=Math.max(this.savedY-w,0)),this.lines.maxLength=p}this.x=Math.min(this.x,t-1),this.y=Math.min(this.y,s-1),S&&(this.y+=S),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(x=0;x<this.lines.length;x++)this.lines.get(x).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),x=u;x-- >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=[],x=0,S=this.lines.length-1;S>=0;S--){var T=this.lines.get(S);if(!(!T||!T.isWrapped&&T.getTrimmedLength()<=t)){for(var w=[T];T.isWrapped&&S>0;)T=this.lines.get(--S),w.unshift(T);var E=this.ybase+this.y;if(!(E>=S&&E<S+w.length)){var C=w[w.length-1].getTrimmedLength(),_=a.reflowSmallerGetNewLineLengths(w,this._cols,t),y=_.length-w.length,b=void 0;b=this.ybase===0&&this.y!==this.lines.length-1?Math.max(0,this.y-this.lines.maxLength+y):Math.max(0,this.lines.length-this.lines.maxLength+y);for(var O=[],I=0;I<y;I++){var M=this.getBlankLine(v.DEFAULT_ATTR_DATA,!0);O.push(M)}O.length>0&&(p.push({start:S+w.length+x,newLines:O}),x+=O.length),w.push.apply(w,O);var F=_.length-1,P=_[F];P===0&&(P=_[--F]);for(var j=w.length-y-1,K=C;j>=0;){var N=Math.min(K,P);if(w[F].copyCellsFrom(w[j],K-N,P-N,N,!0),(P-=N)===0&&(P=_[--F]),(K-=N)===0){j--;var B=Math.max(j,0);K=a.getWrappedLineTrimmedLength(w,B,this._cols)}}for(I=0;I<w.length;I++)_[I]<t&&w[I].setCell(_[I],u);for(var U=y-b;U-- >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+x)-s&&(this.ybase===this.ydisp&&this.ydisp++,this.ybase++);this.savedY=Math.min(this.savedY+y,this.ybase+s-1)}}}if(p.length>0){var H=[],z=[];for(I=0;I<this.lines.length;I++)z.push(this.lines.get(I));var X=this.lines.length,W=X-1,Y=0,q=p[Y];this.lines.length=Math.min(this.lines.maxLength,this.lines.length+x);var me=0;for(I=Math.min(this.lines.maxLength-1,X+x-1);I>=0;I--)if(q&&q.start>W+me){for(var G=q.newLines.length-1;G>=0;G--)this.lines.set(I--,q.newLines[G]);I++,H.push({index:W+1,amount:q.newLines.length}),me+=q.newLines.length,q=p[++Y]}else this.lines.set(I,z[W--]);var ye=0;for(I=H.length-1;I>=0;I--)H[I].index+=ye,this.lines.onInsertEmitter.fire(H[I]),ye+=H[I].amount;var Ae=Math.max(0,X+x-this.lines.maxLength);Ae>0&&this.lines.onTrimEmitter.fire(Ae)}},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 x=u?p.getTrimmedLength():p.length,S=0;S<x;++S)if(p.get(S)[c.CHAR_DATA_WIDTH_INDEX]&&(s-=p.get(S)[c.CHAR_DATA_CHAR_INDEX].length||1),s<0)return[t,S];t++}return[t,0]},l.prototype.translateBufferLineToString=function(t,s,u,p){u===void 0&&(u=0);var x=this.lines.get(t);return x?x.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,x){return new n(this,t,s,u,p,x)},l}();f.Buffer=d;var n=function(){function l(t,s,u,p,x,S){u===void 0&&(u=0),p===void 0&&(p=t.lines.length),x===void 0&&(x=0),S===void 0&&(S=0),this._buffer=t,this._trimRight=s,this._startIndex=u,this._endIndex=p,this._startOverscan=x,this._endOverscan=S,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,A){"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.CircularList=void 0;var m=A(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,A){"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 x=m(l,u,h),S=x-p,T=c-s,w=Math.min(S,T);l[t].copyCellsFrom(l[u],p,s,w,!1),(s+=w)===c&&(t++,s=0),(p+=w)===x&&(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 E=0,C=l.length-1;C>0&&(C>t||l[C].getTrimmedLength()===0);C--)E++;E>0&&(r.push(o+l.length-E),r.push(E)),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,A){"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=A(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}(A(2).Disposable);f.Marker=c},function(g,f,A){"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.OptionsService=f.DEFAULT_OPTIONS=f.DEFAULT_BELL_SOUND=void 0;var m=A(0),v=A(11),h=A(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,A){"use strict";var m,v=this&&this.__extends||(m=function(s,u){return(m=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(p,x){p.__proto__=x}||function(p,x){for(var S in x)x.hasOwnProperty(S)&&(p[S]=x[S])})(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 x,S=arguments.length,T=S<3?s:p===null?p=Object.getOwnPropertyDescriptor(s,u):p;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")T=Reflect.decorate(t,s,u,p);else for(var w=t.length-1;w>=0;w--)(x=t[w])&&(T=(S<3?x(T):S>3?x(s,u,T):x(s,u))||T);return S>3&&T&&Object.defineProperty(s,u,T),T},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=A(1),i=A(0),r=A(33),o=A(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,x,S){var T=t.call(this)||this;return T._bufferService=p,T._logService=x,T._optionsService=S,T.isCursorInitialized=!1,T.isCursorHidden=!1,T._onData=T.register(new i.EventEmitter),T._onUserInput=T.register(new i.EventEmitter),T._onBinary=T.register(new i.EventEmitter),T._scrollToBottom=u,T.register({dispose:function(){return T._scrollToBottom=void 0}}),T.modes=r.clone(d),T.decPrivateModes=r.clone(n),T}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 x=this._bufferService.buffer;x.ybase!==x.ydisp&&this._scrollToBottom(),p&&this._onUserInput.fire(),this._logService.debug('sending data "'+u+'"',function(){return u.split("").map(function(S){return S.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,A){"use strict";var m=this&&this.__decorate||function(n,l,t,s){var u,p=arguments.length,x=p<3?l:s===null?s=Object.getOwnPropertyDescriptor(l,t):s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")x=Reflect.decorate(n,l,t,s);else for(var S=n.length-1;S>=0;S--)(u=n[S])&&(x=(p<3?u(x):p>3?u(l,t,x):u(l,t))||x);return p>3&&x&&Object.defineProperty(l,t,x),x},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=A(1),c=A(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?"":"[M"+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 x=0,S=Object.keys(o);x<S.length;x++){var T=S[x];this.addEncoding(T,o[T])}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,A){"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=A(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,A){"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.UnicodeService=void 0;var m=A(0),v=A(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,A){"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.UnicodeV6=void 0;var m,v=A(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,A){"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,A){"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.updateWindowsModeWrappedState=void 0;var m=A(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,A){"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,A){"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(R,D,e){var g=e("knOB"),f=e("qZFw"),A=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};A.prototype={type:"polar",axisPointerEnabled:!0,constructor:A,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=A;R.exports=m},"/WM3":function(R,D,e){var g=e("QuXc"),f=e("bYtY"),A=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=A(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}}}};R.exports=m},"/d5a":function(R,D){var e={average:function(A){for(var m=0,v=0,h=0;h<A.length;h++)isNaN(A[h])||(m+=A[h],v++);return v===0?NaN:m/v},sum:function(A){for(var m=0,v=0;v<A.length;v++)m+=A[v]||0;return m},max:function(A){for(var m=-Infinity,v=0;v<A.length;v++)A[v]>m&&(m=A[v]);return isFinite(m)?m:NaN},min:function(A){for(var m=Infinity,v=0;v<A.length;v++)A[v]<m&&(m=A[v]);return isFinite(m)?m:NaN},nearest:function(A){return A[0]}},g=function(A,m){return Math.round(A.length/2)};function f(A){return{seriesType:A,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))}}}}}R.exports=f},"/ezw":function(R,D,e){"use strict";var g=e("lSNA"),f=e.n(g),A=e("pVnL"),m=e.n(A),v=e("cDf5"),h=e.n(v),c=e("q1tI"),a=e("TSYQ"),i=e.n(a),r=function(U){var H=U.prefixCls,z=U.className,X=U.width,W=U.style;return c.createElement("h3",{className:i()(H,z),style:m()({width:X},W)})},o=r,d=e("RIqP"),n=e.n(d),l=function(U){var H=function(G){var ye=U.width,Ae=U.rows,ve=Ae===void 0?2:Ae;return Array.isArray(ye)?ye[G]:ve-1===G?ye:void 0},z=U.prefixCls,X=U.className,W=U.style,Y=U.rows,q=n()(Array(Y)).map(function(me,G){return c.createElement("li",{key:G,style:{width:H(G)}})});return c.createElement("ul",{className:i()(z,X),style:W},q)},t=l,s=e("H84U"),u=function(U){var H,z,X=U.prefixCls,W=U.className,Y=U.style,q=U.size,me=U.shape,G=i()((H={},f()(H,"".concat(X,"-lg"),q==="large"),f()(H,"".concat(X,"-sm"),q==="small"),H)),ye=i()((z={},f()(z,"".concat(X,"-circle"),me==="circle"),f()(z,"".concat(X,"-square"),me==="square"),f()(z,"".concat(X,"-round"),me==="round"),z)),Ae=typeof q=="number"?{width:q,height:q,lineHeight:"".concat(q,"px")}:{};return c.createElement("span",{className:i()(X,W,G,ye),style:m()(m()({},Ae),Y)})},p=u,x=e("BGR+"),S=function(U){var H=function(X){var W=X.getPrefixCls,Y=U.prefixCls,q=U.className,me=U.active,G=W("skeleton",Y),ye=Object(x.default)(U,["prefixCls"]),Ae=i()(G,q,"".concat(G,"-element"),f()({},"".concat(G,"-active"),me));return c.createElement("div",{className:Ae},c.createElement(p,m()({prefixCls:"".concat(G,"-avatar")},ye)))};return c.createElement(s.a,null,H)};S.defaultProps={size:"default",shape:"circle"};var T=S,w=function(U){var H=function(X){var W=X.getPrefixCls,Y=U.prefixCls,q=U.className,me=U.active,G=W("skeleton",Y),ye=Object(x.default)(U,["prefixCls"]),Ae=i()(G,q,"".concat(G,"-element"),f()({},"".concat(G,"-active"),me));return c.createElement("div",{className:Ae},c.createElement(p,m()({prefixCls:"".concat(G,"-button")},ye)))};return c.createElement(s.a,null,H)};w.defaultProps={size:"default"};var E=w,C=function(U){var H=function(X){var W=X.getPrefixCls,Y=U.prefixCls,q=U.className,me=U.active,G=W("skeleton",Y),ye=Object(x.default)(U,["prefixCls"]),Ae=i()(G,q,"".concat(G,"-element"),f()({},"".concat(G,"-active"),me));return c.createElement("div",{className:Ae},c.createElement(p,m()({prefixCls:"".concat(G,"-input")},ye)))};return c.createElement(s.a,null,H)};C.defaultProps={size:"default"};var _=C,y="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",b=function(U){var H=function(X){var W=X.getPrefixCls,Y=U.prefixCls,q=U.className,me=U.style,G=W("skeleton",Y),ye=i()(G,q,"".concat(G,"-element"));return c.createElement("div",{className:ye},c.createElement("div",{className:i()("".concat(G,"-image"),q),style:me},c.createElement("svg",{viewBox:"0 0 1098 1024",xmlns:"http://www.w3.org/2000/svg",className:"".concat(G,"-image-svg")},c.createElement("path",{d:y,className:"".concat(G,"-image-path")}))))};return c.createElement(s.a,null,H)},O=b;function I(B){return B&&h()(B)==="object"?B:{}}function M(B,U){return B&&!U?{size:"large",shape:"square"}:{size:"large",shape:"circle"}}function F(B,U){return!B&&U?{width:"38%"}:B&&U?{width:"50%"}:{}}function P(B,U){var H={};return(!B||!U)&&(H.width="61%"),!B&&U?H.rows=3:H.rows=2,H}var j=function(U){var H=function(X){var W=X.getPrefixCls,Y=X.direction,q=U.prefixCls,me=U.loading,G=U.className,ye=U.children,Ae=U.avatar,ve=U.title,Ue=U.paragraph,Me=U.active,nt=U.round,ne=W("skeleton",q);if(me||!("loading"in U)){var be,ot=!!Ae,ue=!!ve,Q=!!Ue,V;if(ot){var J=m()(m()({prefixCls:"".concat(ne,"-avatar")},M(ue,Q)),I(Ae));V=c.createElement("div",{className:"".concat(ne,"-header")},c.createElement(p,J))}var fe;if(ue||Q){var oe;if(ue){var Le=m()(m()({prefixCls:"".concat(ne,"-title")},F(ot,Q)),I(ve));oe=c.createElement(o,Le)}var he;if(Q){var te=m()(m()({prefixCls:"".concat(ne,"-paragraph")},P(ot,ue)),I(Ue));he=c.createElement(t,te)}fe=c.createElement("div",{className:"".concat(ne,"-content")},oe,he)}var Z=i()(ne,G,(be={},f()(be,"".concat(ne,"-with-avatar"),ot),f()(be,"".concat(ne,"-active"),Me),f()(be,"".concat(ne,"-rtl"),Y==="rtl"),f()(be,"".concat(ne,"-round"),nt),be));return c.createElement("div",{className:Z},V,fe)}return ye};return c.createElement(s.a,null,H)};j.defaultProps={avatar:!1,title:!0,paragraph:!0},j.Button=E,j.Avatar=T,j.Input=_,j.Image=O;var K=j,N=D.a=K},"/iHx":function(R,D,e){var g=e("6GrX"),f=e("IwbS"),A=["textStyle","color"],m={getTextColor:function(v){var h=this.ecModel;return this.getShallow("color")||(!v&&h?h.get(A):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"))}};R.exports=m},"/ry/":function(R,D,e){var g=e("bYtY"),f=e("T4UG"),A=e("5GhG"),m=A.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;R.exports=h},"/stD":function(R,D,e){var g=e("bYtY"),f=e("IUWy"),A=e("Kagy"),m=A.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;R.exports=c},"/wGt":function(R,D,e){"use strict";var g=e("lSNA"),f=e.n(g),A=e("pVnL"),m=e.n(A),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"),x=e("Ji7U"),S=e("md7G"),T=e("foSv"),w=e("1W/9"),E=e("rePB"),C=e("JX7q"),_=e("TSYQ"),y=e.n(_),b=e("qx4F"),O=e("4IlW");function I(oe){return Array.isArray(oe)?oe:[oe]}var M={transition:"transitionend",WebkitTransition:"webkitTransitionEnd",MozTransition:"transitionend",OTransition:"oTransitionEnd otransitionend"},F=Object.keys(M).filter(function(oe){if(typeof document=="undefined")return!1;var Le=document.getElementsByTagName("html")[0];return oe in(Le?Le.style:{})})[0],P=M[F];function j(oe,Le,he,te){oe.addEventListener?oe.addEventListener(Le,he,te):oe.attachEvent&&oe.attachEvent("on".concat(Le),he)}function K(oe,Le,he,te){oe.removeEventListener?oe.removeEventListener(Le,he,te):oe.attachEvent&&oe.detachEvent("on".concat(Le),he)}function N(oe,Le){var he=typeof oe=="function"?oe(Le):oe;return Array.isArray(he)?he.length===2?he:[he[0],he[1]]:[he]}var B=function(Le){return!isNaN(parseFloat(Le))&&isFinite(Le)},U=!(typeof window!="undefined"&&window.document&&window.document.createElement),H=function oe(Le,he,te,Z){if(!he||he===document||he instanceof Document)return!1;if(he===Le.parentNode)return!0;var ge=Math.max(Math.abs(te),Math.abs(Z))===Math.abs(Z),Re=Math.max(Math.abs(te),Math.abs(Z))===Math.abs(te),ze=he.scrollHeight-he.clientHeight,dt=he.scrollWidth-he.clientWidth,De=document.defaultView.getComputedStyle(he),Tt=De.overflowY==="auto"||De.overflowY==="scroll",je=De.overflowX==="auto"||De.overflowX==="scroll",st=ze&&Tt,Xe=dt&&je;return ge&&(!st||st&&(he.scrollTop>=ze&&Z<0||he.scrollTop<=0&&Z>0))||Re&&(!Xe||Xe&&(he.scrollLeft>=dt&&te<0||he.scrollLeft<=0&&te>0))?oe(Le,he.parentNode,te,Z):!1};function z(oe){var Le=X();return function(){var te=Object(T.a)(oe),Z;if(Le){var ge=Object(T.a)(this).constructor;Z=Reflect.construct(te,arguments,ge)}else Z=te.apply(this,arguments);return Object(S.a)(this,Z)}}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(oe){return!1}}var W={},Y=function(oe){Object(x.a)(he,oe);var Le=z(he);function he(te){var Z;return Object(u.a)(this,he),Z=Le.call(this,te),Z.domFocus=function(){Z.dom&&Z.dom.focus()},Z.removeStartHandler=function(ge){if(ge.touches.length>1)return;Z.startPos={x:ge.touches[0].clientX,y:ge.touches[0].clientY}},Z.removeMoveHandler=function(ge){if(ge.changedTouches.length>1)return;var Re=ge.currentTarget,ze=ge.changedTouches[0].clientX-Z.startPos.x,dt=ge.changedTouches[0].clientY-Z.startPos.y;(Re===Z.maskDom||Re===Z.handlerDom||Re===Z.contentDom&&H(Re,ge.target,ze,dt))&&ge.cancelable&&ge.preventDefault()},Z.transitionEnd=function(ge){var Re=ge.target;K(Re,P,Z.transitionEnd),Re.style.transition=""},Z.onKeyDown=function(ge){if(ge.keyCode===O.a.ESC){var Re=Z.props.onClose;ge.stopPropagation(),Re&&Re(ge)}},Z.onWrapperTransitionEnd=function(ge){var Re=Z.props,ze=Re.open,dt=Re.afterVisibleChange;ge.target===Z.contentWrapper&&ge.propertyName.match(/transform$/)&&(Z.dom.style.transition="",!ze&&Z.getCurrentDrawerSome()&&(document.body.style.overflowX="",Z.maskDom&&(Z.maskDom.style.left="",Z.maskDom.style.width="")),dt&&dt(!!ze))},Z.openLevelTransition=function(){var ge=Z.props,Re=ge.open,ze=ge.width,dt=ge.height,De=Z.getHorizontalBoolAndPlacementName(),Tt=De.isHorizontal,je=De.placementName,st=Z.contentDom?Z.contentDom.getBoundingClientRect()[Tt?"width":"height"]:0,Xe=(Tt?ze:dt)||st;Z.setLevelAndScrolling(Re,je,Xe)},Z.setLevelTransform=function(ge,Re,ze,dt){var De=Z.props,Tt=De.placement,je=De.levelMove,st=De.duration,Xe=De.ease,Je=De.showMask;Z.levelDom.forEach(function(et){et.style.transition="transform ".concat(st," ").concat(Xe),j(et,P,Z.transitionEnd);var at=ge?ze:0;if(je){var Ve=N(je,{target:et,open:ge});at=ge?Ve[0]:Ve[1]||0}var le=typeof at=="number"?"".concat(at,"px"):at,ae=Tt==="left"||Tt==="top"?le:"-".concat(le);ae=Je&&Tt==="right"&&dt?"calc(".concat(ae," + ").concat(dt,"px)"):ae,et.style.transform=at?"".concat(Re,"(").concat(ae,")"):""})},Z.setLevelAndScrolling=function(ge,Re,ze){var dt=Z.props.onChange;if(!U){var De=document.body.scrollHeight>(window.innerHeight||document.documentElement.clientHeight)&&window.innerWidth>document.body.offsetWidth?Object(b.a)(!0):0;Z.setLevelTransform(ge,Re,ze,De),Z.toggleScrollingToDrawerAndBody(De)}dt&&dt(ge)},Z.toggleScrollingToDrawerAndBody=function(ge){var Re=Z.props,ze=Re.getOpenCount,dt=Re.getContainer,De=Re.showMask,Tt=Re.open,je=dt&&dt(),st=ze&&ze();if(je&&je.parentNode===document.body&&De){var Xe=["touchstart"],Je=[document.body,Z.maskDom,Z.handlerDom,Z.contentDom];Tt&&document.body.style.overflow!=="hidden"?(ge&&Z.addScrollingEffect(ge),st===1&&(document.body.style.overflow="hidden"),document.body.style.touchAction="none",Je.forEach(function(et,at){if(!et)return;j(et,Xe[at]||"touchmove",at?Z.removeMoveHandler:Z.removeStartHandler,Z.passive)})):Z.getCurrentDrawerSome()&&(st||(document.body.style.overflow=""),document.body.style.touchAction="",ge&&Z.remScrollingEffect(ge),Je.forEach(function(et,at){if(!et)return;K(et,Xe[at]||"touchmove",at?Z.removeMoveHandler:Z.removeStartHandler,Z.passive)}))}},Z.addScrollingEffect=function(ge){var Re=Z.props,ze=Re.placement,dt=Re.duration,De=Re.ease,Tt=Re.getOpenCount,je=Re.switchScrollingEffect,st=Tt&&Tt();st===1&&je();var Xe="width ".concat(dt," ").concat(De),Je="transform ".concat(dt," ").concat(De);Z.dom.style.transition="none";switch(ze){case"right":Z.dom.style.transform="translateX(-".concat(ge,"px)");break;case"top":case"bottom":Z.dom.style.width="calc(100% - ".concat(ge,"px)"),Z.dom.style.transform="translateZ(0)";break;default:break}clearTimeout(Z.timeout),Z.timeout=setTimeout(function(){Z.dom&&(Z.dom.style.transition="".concat(Je,",").concat(Xe),Z.dom.style.width="",Z.dom.style.transform="")})},Z.remScrollingEffect=function(ge){var Re=Z.props,ze=Re.placement,dt=Re.duration,De=Re.ease,Tt=Re.getOpenCount,je=Re.switchScrollingEffect,st=Tt&&Tt();st||je(!0),F&&(document.body.style.overflowX="hidden"),Z.dom.style.transition="none";var Xe,Je="width ".concat(dt," ").concat(De),et="transform ".concat(dt," ").concat(De);switch(ze){case"left":{Z.dom.style.width="100%",Je="width 0s ".concat(De," ").concat(dt);break}case"right":{Z.dom.style.transform="translateX(".concat(ge,"px)"),Z.dom.style.width="100%",Je="width 0s ".concat(De," ").concat(dt),Z.maskDom&&(Z.maskDom.style.left="-".concat(ge,"px"),Z.maskDom.style.width="calc(100% + ".concat(ge,"px)"));break}case"top":case"bottom":{Z.dom.style.width="calc(100% + ".concat(ge,"px)"),Z.dom.style.height="100%",Z.dom.style.transform="translateZ(0)",Xe="height 0s ".concat(De," ").concat(dt);break}default:break}clearTimeout(Z.timeout),Z.timeout=setTimeout(function(){Z.dom&&(Z.dom.style.transition="".concat(et,",").concat(Xe?"".concat(Xe,","):"").concat(Je),Z.dom.style.transform="",Z.dom.style.width="",Z.dom.style.height="")})},Z.getCurrentDrawerSome=function(){return!Object.keys(W).some(function(ge){return W[ge]})},Z.getLevelDom=function(ge){var Re=ge.level,ze=ge.getContainer;if(U)return;var dt=ze&&ze(),De=dt?dt.parentNode:null;if(Z.levelDom=[],Re==="all"){var Tt=De?Array.prototype.slice.call(De.children):[];Tt.forEach(function(je){je.nodeName!=="SCRIPT"&&je.nodeName!=="STYLE"&&je.nodeName!=="LINK"&&je!==dt&&Z.levelDom.push(je)})}else Re&&I(Re).forEach(function(je){document.querySelectorAll(je).forEach(function(st){Z.levelDom.push(st)})})},Z.getHorizontalBoolAndPlacementName=function(){var ge=Z.props.placement,Re=ge==="left"||ge==="right",ze="translate".concat(Re?"X":"Y");return{isHorizontal:Re,placementName:ze}},Z.state={_self:Object(C.a)(Z)},Z}return Object(p.a)(he,[{key:"componentDidMount",value:function(){var Z=this;if(!U){var ge=!1;try{window.addEventListener("test",null,Object.defineProperty({},"passive",{get:function(){return ge=!0,null}}))}catch(Tt){}this.passive=ge?{passive:!1}:!1}var Re=this.props,ze=Re.open,dt=Re.getContainer,De=dt&&dt();this.drawerId="drawer_id_".concat(Number((Date.now()+Math.random()).toString().replace(".",Math.round(Math.random()*9).toString())).toString(16)),this.getLevelDom(this.props),ze&&(De&&De.parentNode===document.body&&(W[this.drawerId]=ze),this.openLevelTransition(),this.forceUpdate(function(){Z.domFocus()}))}},{key:"componentDidUpdate",value:function(Z){var ge=this.props,Re=ge.open,ze=ge.getContainer,dt=ze&&ze();Re!==Z.open&&(Re&&this.domFocus(),dt&&dt.parentNode===document.body&&(W[this.drawerId]=!!Re),this.openLevelTransition())}},{key:"componentWillUnmount",value:function(){var Z=this.props,ge=Z.getOpenCount,Re=Z.open,ze=Z.switchScrollingEffect,dt=typeof ge=="function"&&ge();delete W[this.drawerId],Re&&(this.setLevelTransform(!1),document.body.style.touchAction=""),dt||(document.body.style.overflow="",ze(!0))}},{key:"render",value:function(){var Z,ge=this,Re=this.props,ze=Re.className,dt=Re.children,De=Re.style,Tt=Re.width,je=Re.height,st=Re.defaultOpen,Xe=Re.open,Je=Re.prefixCls,et=Re.placement,at=Re.level,Ve=Re.levelMove,le=Re.ease,ae=Re.duration,lt=Re.getContainer,Ze=Re.handler,Te=Re.onChange,Jt=Re.afterVisibleChange,mt=Re.showMask,ft=Re.maskClosable,bt=Re.maskStyle,It=Re.onClose,or=Re.onHandleClick,Pt=Re.keyboard,_e=Re.getOpenCount,Ce=Re.switchScrollingEffect,Ee=Object(s.a)(Re,["className","children","style","width","height","defaultOpen","open","prefixCls","placement","level","levelMove","ease","duration","getContainer","handler","onChange","afterVisibleChange","showMask","maskClosable","maskStyle","onClose","onHandleClick","keyboard","getOpenCount","switchScrollingEffect"]),we=this.dom?Xe:!1,Fe=y()(Je,(Z={},Object(E.a)(Z,"".concat(Je,"-").concat(et),!0),Object(E.a)(Z,"".concat(Je,"-open"),we),Object(E.a)(Z,ze||"",!!ze),Object(E.a)(Z,"no-mask",!mt),Z)),Ye=this.getHorizontalBoolAndPlacementName(),Ge=Ye.placementName,qe=et==="left"||et==="top"?"-100%":"100%",Ke=we?"":"".concat(Ge,"(").concat(qe,")"),ct=Ze&&t.cloneElement(Ze,{onClick:function(Lt){Ze.props.onClick&&Ze.props.onClick(),or&&or(Lt)},ref:function(Lt){ge.handlerDom=Lt}});return t.createElement("div",Object.assign({},Ee,{tabIndex:-1,className:Fe,style:De,ref:function(Lt){ge.dom=Lt},onKeyDown:we&&Pt?this.onKeyDown:void 0,onTransitionEnd:this.onWrapperTransitionEnd}),mt&&t.createElement("div",{className:"".concat(Je,"-mask"),onClick:ft?It:void 0,style:bt,ref:function(Lt){ge.maskDom=Lt}}),t.createElement("div",{className:"".concat(Je,"-content-wrapper"),style:{transform:Ke,msTransform:Ke,width:B(Tt)?"".concat(Tt,"px"):Tt,height:B(je)?"".concat(je,"px"):je},ref:function(Lt){ge.contentWrapper=Lt}},t.createElement("div",{className:"".concat(Je,"-content"),ref:function(Lt){ge.contentDom=Lt},onTouchStart:we&&mt?this.removeStartHandler:void 0,onTouchMove:we&&mt?this.removeMoveHandler:void 0},dt),ct))}}],[{key:"getDerivedStateFromProps",value:function(Z,ge){var Re=ge.prevProps,ze=ge._self,dt={prevProps:Z};if(Re!==void 0){var De=Z.placement,Tt=Z.level;De!==Re.placement&&(ze.contentDom=null),Tt!==Re.level&&ze.getLevelDom(Z)}return dt}}]),he}(t.Component);Y.defaultProps={switchScrollingEffect:function(){}};var q=Y;function me(oe){var Le=G();return function(){var te=Object(T.a)(oe),Z;if(Le){var ge=Object(T.a)(this).constructor;Z=Reflect.construct(te,arguments,ge)}else Z=te.apply(this,arguments);return Object(S.a)(this,Z)}}function G(){if(typeof Reflect=="undefined"||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(oe){return!1}}var ye=function(oe){Object(x.a)(he,oe);var Le=me(he);function he(te){var Z;Object(u.a)(this,he),Z=Le.call(this,te),Z.onHandleClick=function(Re){var ze=Z.props,dt=ze.onHandleClick,De=ze.open;if(dt&&dt(Re),typeof De=="undefined"){var Tt=Z.state.open;Z.setState({open:!Tt})}},Z.onClose=function(Re){var ze=Z.props,dt=ze.onClose,De=ze.open;dt&&dt(Re),typeof De=="undefined"&&Z.setState({open:!1})};var ge=typeof te.open!="undefined"?te.open:!!te.defaultOpen;return Z.state={open:ge},"onMaskClick"in te&&console.warn("`onMaskClick` are removed, please use `onClose` instead."),Z}return Object(p.a)(he,[{key:"render",value:function(){var Z=this,ge=this.props,Re=ge.defaultOpen,ze=ge.getContainer,dt=ge.wrapperClassName,De=ge.forceRender,Tt=ge.handler,je=Object(s.a)(ge,["defaultOpen","getContainer","wrapperClassName","forceRender","handler"]),st=this.state.open;if(!ze)return t.createElement("div",{className:dt,ref:function(et){Z.dom=et}},t.createElement(q,Object.assign({},je,{open:st,handler:Tt,getContainer:function(){return Z.dom},onClose:this.onClose,onHandleClick:this.onHandleClick})));var Xe=!!Tt||De;return t.createElement(w.a,{visible:st,forceRender:Xe,getContainer:ze,wrapperClassName:dt},function(Je){var et=Je.visible,at=Je.afterClose,Ve=Object(s.a)(Je,["visible","afterClose"]);return t.createElement(q,Object.assign({},je,Ve,{open:et!==void 0?et:st,afterVisibleChange:at!==void 0?at:je.afterVisibleChange,handler:Tt,onClose:Z.onClose,onHandleClick:Z.onHandleClick}))})}}],[{key:"getDerivedStateFromProps",value:function(Z,ge){var Re=ge.prevProps,ze={prevProps:Z};return typeof Re!="undefined"&&Z.open!==Re.open&&(ze.open=Z.open),ze}}]),he}(t.Component);ye.defaultProps={prefixCls:"drawer",placement:"left",getContainer:"body",defaultOpen:!1,level:"all",duration:".3s",ease:"cubic-bezier(0.78, 0.14, 0.15, 0.86)",onChange:function(){},afterVisibleChange:function(){},handler:t.createElement("div",{className:"drawer-handle"},t.createElement("i",{className:"drawer-handle-icon"})),showMask:!0,maskClosable:!0,maskStyle:{},wrapperClassName:"",className:"",keyboard:!0,forceRender:!1};var Ae=ye,ve=Ae,Ue=e("V/uB"),Me=e.n(Ue),nt=e("BGR+"),ne=e("H84U"),be=e("CWQg"),ot=function(oe,Le){var he={};for(var te in oe)Object.prototype.hasOwnProperty.call(oe,te)&&Le.indexOf(te)<0&&(he[te]=oe[te]);if(oe!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Z=0,te=Object.getOwnPropertySymbols(oe);Z<te.length;Z++)Le.indexOf(te[Z])<0&&Object.prototype.propertyIsEnumerable.call(oe,te[Z])&&(he[te[Z]]=oe[te[Z]]);return he},ue=t.createContext(null),Q=Object(be.a)("top","right","bottom","left"),V={distance:180},J=function(oe){d()(he,oe);var Le=l()(he);function he(){var te;return h()(this,he),te=Le.apply(this,arguments),te.state={push:!1},te.push=function(){te.props.push&&te.setState({push:!0})},te.pull=function(){te.props.push&&te.setState({push:!1})},te.onDestroyTransitionEnd=function(){var Z=te.getDestroyOnClose();if(!Z)return;te.props.visible||(te.destroyClose=!0,te.forceUpdate())},te.getDestroyOnClose=function(){return te.props.destroyOnClose&&!te.props.visible},te.getPushDistance=function(){var Z=te.props.push,ge;return typeof Z=="boolean"?ge=Z?V.distance:0:ge=Z.distance,parseFloat(String(ge||0))},te.getPushTransform=function(Z){var ge=te.getPushDistance();if(Z==="left"||Z==="right")return"translateX(".concat(Z==="left"?ge:-ge,"px)");if(Z==="top"||Z==="bottom")return"translateY(".concat(Z==="top"?ge:-ge,"px)")},te.getRcDrawerStyle=function(){var Z=te.props,ge=Z.zIndex,Re=Z.placement,ze=Z.mask,dt=Z.style,De=te.state.push,Tt=ze?{}:te.getOffsetStyle();return m()(m()({zIndex:ge,transform:De?te.getPushTransform(Re):void 0},Tt),dt)},te.renderBody=function(){var Z=te.props,ge=Z.bodyStyle,Re=Z.drawerStyle,ze=Z.prefixCls,dt=Z.visible;if(te.destroyClose&&!dt)return null;te.destroyClose=!1;var De={},Tt=te.getDestroyOnClose();return Tt&&(De.opacity=0,De.transition="opacity .3s"),t.createElement("div",{className:"".concat(ze,"-wrapper-body"),style:m()(m()({},De),Re),onTransitionEnd:te.onDestroyTransitionEnd},te.renderHeader(),t.createElement("div",{className:"".concat(ze,"-body"),style:ge},te.props.children),te.renderFooter())},te.renderProvider=function(Z){return te.parentDrawer=Z,t.createElement(ne.a,null,function(ge){var Re=ge.getPopupContainer,ze=ge.getPrefixCls,dt=te.props,De=dt.prefixCls,Tt=dt.placement,je=dt.className,st=dt.mask,Xe=dt.direction,Je=dt.visible,et=ot(dt,["prefixCls","placement","className","mask","direction","visible"]),at=ze("select",De),Ve=y()(je,f()({"no-mask":!st},"".concat(at,"-rtl"),Xe==="rtl")),le=st?te.getOffsetStyle():{};return t.createElement(ue.Provider,{value:r()(te)},t.createElement(ve,m()({handler:!1},Object(nt.default)(et,["zIndex","style","closable","closeIcon","destroyOnClose","drawerStyle","headerStyle","bodyStyle","footerStyle","footer","locale","title","push","visible","getPopupContainer","rootPrefixCls","getPrefixCls","renderEmpty","csp","pageHeader","autoInsertSpaceInButton","width","height","dropdownMatchSelectWidth","getTargetContainer"]),{getContainer:et.getContainer===void 0&&Re?function(){return Re(document.body)}:et.getContainer},le,{prefixCls:at,open:Je,showMask:st,placement:Tt,style:te.getRcDrawerStyle(),className:Ve}),te.renderBody()))})},te}return a()(he,[{key:"componentDidMount",value:function(){var Z=this.props.visible;Z&&this.parentDrawer&&this.parentDrawer.push()}},{key:"componentDidUpdate",value:function(Z){var ge=this.props.visible;Z.visible!==ge&&this.parentDrawer&&(ge?this.parentDrawer.push():this.parentDrawer.pull())}},{key:"componentWillUnmount",value:function(){this.parentDrawer&&(this.parentDrawer.pull(),this.parentDrawer=null)}},{key:"getOffsetStyle",value:function(){var Z=this.props,ge=Z.placement,Re=Z.width,ze=Z.height,dt=Z.visible,De=Z.mask;if(!dt&&!De)return{};var Tt={};return ge==="left"||ge==="right"?Tt.width=Re:Tt.height=ze,Tt}},{key:"renderHeader",value:function(){var Z=this.props,ge=Z.title,Re=Z.prefixCls,ze=Z.closable,dt=Z.headerStyle;if(!ge&&!ze)return null;var De=ge?"".concat(Re,"-header"):"".concat(Re,"-header-no-title");return t.createElement("div",{className:De,style:dt},ge&&t.createElement("div",{className:"".concat(Re,"-title")},ge),ze&&this.renderCloseIcon())}},{key:"renderFooter",value:function(){var Z=this.props,ge=Z.footer,Re=Z.footerStyle,ze=Z.prefixCls;if(!ge)return null;var dt="".concat(ze,"-footer");return t.createElement("div",{className:dt,style:Re},ge)}},{key:"renderCloseIcon",value:function(){var Z=this.props,ge=Z.closable,Re=Z.closeIcon,ze=Re===void 0?t.createElement(Me.a,null):Re,dt=Z.prefixCls,De=Z.onClose;return ge&&t.createElement("button",{onClick:De,"aria-label":"Close",className:"".concat(dt,"-close"),style:{"--scroll-bar":"".concat(Object(b.a)(),"px")}},ze)}},{key:"render",value:function(){return t.createElement(ue.Consumer,null,this.renderProvider)}}]),he}(t.Component);J.defaultProps={width:256,height:256,closable:!0,placement:"right",maskClosable:!0,mask:!0,level:null,keyboard:!0,push:V};var fe=D.a=Object(ne.c)({prefixCls:"drawer"})(J)},"/y7N":function(R,D,e){var g=e("bYtY"),f=e("IwbS"),A=e("6GrX"),m=e("7aKB"),v=e("Fofx"),h=e("aX7z"),c=e("+rIm");function a(u){var p=u.get("type"),x=u.getModel(p+"Style"),S;return p==="line"?(S=x.getLineStyle(),S.fill=null):p==="shadow"&&(S=x.getAreaStyle(),S.stroke=null),S}function i(u,p,x,S,T){var w=x.get("value"),E=o(w,p.axis,p.ecModel,x.get("seriesDataIndices"),{precision:x.get("label.precision"),formatter:x.get("label.formatter")}),C=x.getModel("label"),_=m.normalizeCssArray(C.get("padding")||0),y=C.getFont(),b=A.getBoundingRect(E,y),O=T.position,I=b.width+_[1]+_[3],M=b.height+_[0]+_[2],F=T.align;F==="right"&&(O[0]-=I),F==="center"&&(O[0]-=I/2);var P=T.verticalAlign;P==="bottom"&&(O[1]-=M),P==="middle"&&(O[1]-=M/2),r(O,I,M,S);var j=C.get("backgroundColor");(!j||j==="auto")&&(j=p.get("axisLine.lineStyle.color")),u.label={shape:{x:0,y:0,width:I,height:M,r:C.get("borderRadius")},position:O.slice(),style:{text:E,textFont:y,textFill:C.getTextColor(),textPosition:"inside",textPadding:_,fill:j,stroke:C.get("borderColor")||"transparent",lineWidth:C.get("borderWidth")||0,shadowBlur:C.get("shadowBlur"),shadowColor:C.get("shadowColor"),shadowOffsetX:C.get("shadowOffsetX"),shadowOffsetY:C.get("shadowOffsetY")},z2:10}}function r(u,p,x,S){var T=S.getWidth(),w=S.getHeight();u[0]=Math.min(u[0]+p,T)-p,u[1]=Math.min(u[1]+x,w)-x,u[0]=Math.max(u[0],0),u[1]=Math.max(u[1],0)}function o(u,p,x,S,T){u=p.scale.parse(u);var w=p.scale.getLabel(u,{precision:T.precision}),E=T.formatter;if(E){var C={value:h.getAxisRawValue(p,u),axisDimension:p.dim,axisIndex:p.index,seriesData:[]};g.each(S,function(_){var y=x.getSeriesByIndex(_.seriesIndex),b=_.dataIndexInside,O=y&&y.getDataParams(b);O&&C.seriesData.push(O)}),g.isString(E)?w=E.replace("{value}",w):g.isFunction(E)&&(w=E(C))}return w}function d(u,p,x){var S=v.create();return v.rotate(S,S,x.rotation),v.translate(S,S,x.position),f.applyTransform([u.dataToCoord(p),(x.labelOffset||0)+(x.labelDirection||1)*(x.labelMargin||0)],S)}function n(u,p,x,S,T,w){var E=c.innerTextLayout(x.rotation,0,x.labelDirection);x.labelMargin=T.get("label.margin"),i(p,S,T,w,{position:d(S.axis,u,x),align:E.textAlign,verticalAlign:E.textVerticalAlign})}function l(u,p,x){return x=x||0,{x1:u[x],y1:u[1-x],x2:p[x],y2:p[1-x]}}function t(u,p,x){return x=x||0,{x:u[x],y:u[1-x],width:p[x],height:p[1-x]}}function s(u,p,x,S,T,w){return{cx:u,cy:p,r0:x,r:S,startAngle:T,endAngle:w,clockwise:!0}}D.buildElStyle=a,D.buildLabelElOption=i,D.getValueLabel=o,D.getTransformedPosition=d,D.buildCartesianSingleLabelElOption=n,D.makeLineShape=l,D.makeRectShape=t,D.makeSectorShape=s},"/zsF":function(R,D,e){"use strict";var g=e("cIOH"),f=e.n(g),A=e("bE4E"),m=e.n(A)},"0/Rx":function(R,D){function e(g){return{seriesType:g,reset:function(f,A){var m=A.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})}}}R.exports=e},"01d+":function(R,D,e){var g=e("bYtY"),f=g.each,A=e("HF/U"),m=A.simpleLayout,v=A.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(x){n=n.concat(d.mapDimension(x,!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)})}R.exports=h},"03A+":function(R,D,e){var g=e("JTzB"),f=e("ExA7"),A=Object.prototype,m=A.hasOwnProperty,v=A.propertyIsEnumerable,h=g(function(){return arguments}())?g:function(c){return f(c)&&m.call(c,"callee")&&!v.call(c,"callee")};R.exports=h},"06DH":function(R,D,e){var g=e("ProS"),f=e("bYtY"),A=e("Kagy"),m=e("IUWy"),v=A.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(T){var w=T.subType,E=T.id,C=i[l](w,E,T,t);C&&(f.defaults(C,T.option),u.series.push(C));var _=T.coordinateSystem;if(_&&_.type==="cartesian2d"&&(l==="line"||l==="bar")){var y=_.getAxesByScale("ordinal")[0];if(y){var b=y.dim,O=b+"Axis",I=d.queryComponents({mainType:O,index:T.get(name+"Index"),id:T.get(name+"Id")})[0],M=I.componentIndex;u[O]=u[O]||[];for(var F=0;F<=M;F++)u[O][M]=u[O][M]||{};u[O][M].boundaryGap=l==="bar"}}};f.each(r,function(T){f.indexOf(T,l)>=0&&f.each(T,function(w){t.setIconStatus(w,"normal")})}),t.setIconStatus(l,"emphasis"),d.eachComponent({mainType:"series",query:s==null?null:{seriesIndex:s}},p);var x;if(l==="stack"){var S=u.series&&u.series[0]&&u.series[0].stack===h;x=S?f.merge({stack:v.title.tiled},v.title):f.clone(v.title)}n.dispatchAction({type:"changeMagicType",currentType:l,newOption:u,newTitle:x,featureName:"magicType"})},g.registerAction({type:"changeMagicType",event:"magicTypeChanged",update:"prepareAndUpdate"},function(d,n){n.mergeOption(d.newOption)}),m.register("magicType",c);var o=c;R.exports=o},"06Qe":function(R,D,e){var g=e("ItGF"),f="urn:schemas-microsoft-com:vml",A=typeof window=="undefined"?null:window,m=!1,v=A&&A.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)")}D.doc=v,D.createNode=h,D.initVML=a},"09Wf":function(R,D,e){"use strict";e.d(D,"b",function(){return f}),e.d(D,"a",function(){return A});var g=e("CWQg"),f=Object(g.a)("success","processing","error","default","warning"),A=Object(g.a)("pink","red","yellow","orange","cyan","green","blue","purple","geekblue","magenta","volcano","gold","lime")},"0Bwj":function(R,D,e){var g=e("T4UG"),f=e("I3/A"),A=e("7aKB"),m=A.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(x,S){x.wrapMethod("getItemModel",function(T,w){return T.customizeGetParent(function(E){var C=this.parentModel,_=C.getData().getItemLayout(w).depth,y=C.levelModels[_];return y||this.parentModel}),T}),S.wrapMethod("getItemModel",function(T,w){return T.customizeGetParent(function(E){var C=this.parentModel,_=C.getGraph().getEdgeByIndex(w),y=_.node1.getLayout().depth,b=C.levelModels[y];return b||this.parentModel}),T})}},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;R.exports=i},"0Cz8":function(R,D,e){var g=e("Xi7e"),f=e("ebwN"),A=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 A(i)}return a.set(h,c),this.size=a.size,this}R.exports=v},"0HBW":function(R,D,e){var g=e("ProS"),f=e("bYtY");e("Hxpc"),e("7uqq"),e("dmGj"),e("SehX");function A(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}})}A("toggleSelected",{type:"geoToggleSelect",event:"geoselectchanged"}),A("select",{type:"geoSelect",event:"geoselected"}),A("unSelect",{type:"geoUnSelect",event:"geounselected"})},"0JAE":function(R,D,e){var g=e("bYtY"),f=e("+TT/"),A=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=A.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(x){p(n,x)&&(l[d[x]]=n[x]*t[x])});var s={width:r.getWidth(),height:r.getHeight()},u=this._rect=f.getLayoutRect(l,s);g.each([0,1],function(x){p(n,x)||(n[x]=u[d[x]]/t[x])});function p(x,S){return x[S]!=null&&x[S]!=="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;R.exports=a},"0JQy":function(R,D){var e="\\ud800-\\udfff",g="\\u0300-\\u036f",f="\\ufe20-\\ufe2f",A="\\u20d0-\\u20ff",m=g+f+A,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("|")+")",x=RegExp(a+"(?="+a+")|"+p+u,"g");function S(T){return T.match(x)||[]}R.exports=S},"0NbB":function(R,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"},A=f,m=e("6VBw"),v=function(a,i){return g.createElement(m.a,Object.assign({},a,{ref:i,icon:A}))};v.displayName="CaretDownOutlined";var h=D.a=g.forwardRef(v)},"0V0F":function(R,D,e){var g=e("bYtY"),f=g.createHashMap,A=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){A(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 x,S;n?S=d.getRawIndex(u):x=d.get(c.stackedByDimension,u);for(var T=NaN,w=a-1;w>=0;w--){var E=h[w];if(n||(S=E.data.rawIndexOf(E.stackedByDimension,x)),S>=0){var C=E.data.getByRawIndex(E.stackResultDimension,S);if(p>=0&&C>0||p<=0&&C<0){p+=C,T=C;break}}}return i[0]=p,i[1]=T,i});d.hostModel.setData(l),c.data=l})}R.exports=m},"0XgM":function(R,D,e){},"0fbx":function(R,D,e){},"0o9m":function(R,D,e){var g=e("ProS");e("hNWo"),e("RlCK"),e("XpcN");var f=e("kDyi"),A=e("bLfw");g.registerProcessor(g.PRIORITY.PROCESSOR.SERIES_FILTER,f),A.registerSubTypeDefaulter("legend",function(){return"plain"})},"0qV/":function(R,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(R,D){var e=arguments[3],g=arguments[4],f=arguments[5],A=JSON.stringify;R.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("+A(h)+");(f.default ? f.default : f)(self);}",l];var t={};s(n);function s(w){t[w]=!0;for(var E in g[w][1]){var C=g[w][1][E];t[C]||s(C)}}var u="("+e+")({"+Object.keys(t).map(function(w){return A(w)+":["+g[w][0]+","+A(g[w][1])+"]"}).join(",")+"},{},["+A(n)+"])",p=window.URL||window.webkitURL||window.mozURL||window.msURL,x=new Blob([u],{type:"text/javascript"});if(v&&v.bare)return x;var S=p.createObjectURL(x),T=new Worker(S);return T.objectURL=S,T}},"0s+r":function(R,D,e){var g=e("bYtY"),f=e("QBsz"),A=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,x,S){m.call(this),this.storage=u,this.painter=p,this.painterRoot=S,x=x||new r,this.proxy=null,this._hovered={},this._lastTouchMoment,this._lastX,this._lastY,this._gestureMgr,A.call(this),this.setHandlerProxy(x)};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,x=u.zrY,S=l(this,p,x),T=this._hovered,w=T.target;w&&!w.__zr&&(T=this.findHover(T.x,T.y),w=T.target);var E=this._hovered=S?{x:p,y:x}:this.findHover(p,x),C=E.target,_=this.proxy;_.setCursor&&_.setCursor(C?C.cursor:"default"),w&&C!==w&&this.dispatchToElement(T,"mouseout",u),this.dispatchToElement(E,"mousemove",u),C&&C!==w&&this.dispatchToElement(E,"mouseover",u)},mouseout:function(u){var p=u.zrEventControl,x=u.zrIsToLocalDOM;p!=="only_globalout"&&this.dispatchToElement(this._hovered,"mouseout",u),p!=="no_globalout"&&(!x&&this.trigger("globalout",{type:"globalout",event:u}))},resize:function(u){this._hovered={}},dispatch:function(u,p){var x=this[u];x&&x.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,x){u=u||{};var S=u.target;if(S&&S.silent)return;for(var T="on"+p,w=a(p,u,x);S&&!(S[T]&&(w.cancelBubble=S[T].call(S,w)),S.trigger(p,w),S=S.parent,w.cancelBubble););w.cancelBubble||(this.trigger(p,w),this.painter&&this.painter.eachOtherLayer(function(E){typeof E[T]=="function"&&E[T].call(E,w),E.trigger&&E.trigger(p,w)}))},findHover:function(u,p,x){for(var S=this.storage.getDisplayList(),T={x:u,y:p},w=S.length-1;w>=0;w--){var E;if(S[w]!==x&&!S[w].ignore&&(E=n(S[w],u,p))&&(!T.topTarget&&(T.topTarget=S[w]),E!==c)){T.target=S[w];break}}return T},processGesture:function(u,p){this._gestureMgr||(this._gestureMgr=new h);var x=this._gestureMgr;p==="start"&&x.clear();var S=x.recognize(u,this.findHover(u.zrX,u.zrY,null).target,this.proxy.dom);if(p==="end"&&x.clear(),S){var T=S.type;u.gestureEvent=T,this.dispatchToElement({target:S.target},T,S.event)}}},g.each(["click","mousedown","mouseup","mousewheel","dblclick","contextmenu"],function(s){d.prototype[s]=function(u){var p=u.zrX,x=u.zrY,S=l(this,p,x),T,w;if((s!=="mouseup"||!S)&&(T=this.findHover(p,x),w=T.target),s==="mousedown")this._downEl=w,this._downPoint=[u.zrX,u.zrY],this._upEl=w;else if(s==="mouseup")this._upEl=w;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(T,s,u)}});function n(s,u,p){if(s[s.rectHover?"rectContain":"contain"](u,p)){for(var x=s,S;x;){if(x.clipPath&&!x.clipPath.contain(u,p))return!1;x.silent&&(S=!0),x=x.parent}return S?c:!0}return!1}function l(s,u,p){var x=s.painter;return u<0||u>x.getWidth()||p<0||p>x.getHeight()}g.mixin(d,m),g.mixin(d,A);var t=d;R.exports=t},"0ycA":function(R,D){function e(){return[]}R.exports=e},"10cm":function(R,D,e){var g=e("ProS"),f=e("2B6p"),A=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=A(a,v);c.setCenter&&c.setCenter(i.center),c.setZoom&&c.setZoom(i.zoom)})})},"15/o":function(R,D,e){},"19Vz":function(R,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 A(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?A(a):f(a)},20)}function v(a){c(a)&&A(a)}function h(a){var i=a.getWrapperElement(),r=c(a);i.className=i.className.replace(" CodeMirror-empty","")+(r?" CodeMirror-empty":""),r?A(a):f(a)}function c(a){return a.lineCount()===1&&a.getLine(0)===""}})},"1Jh7":function(R,D,e){var g=e("y+Vt"),f=e("T6xi"),A=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)}});R.exports=A},"1LEl":function(R,D,e){var g=e("ProS"),f=e("F9bG"),A=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"),A.superApply(this._model,"remove",arguments)},dispose:function(v,h){f.unregister("axisPointer",h),A.superApply(this._model,"dispose",arguments)}}),m=A;R.exports=m},"1MYJ":function(R,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)}});R.exports=f},"1NG9":function(R,D,e){var g=e("y+Vt"),f=e("QBsz"),A=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,x,S,T,w,E,C,_,y,b,O){return b==="none"||!b?l.apply(this,arguments):n.apply(this,arguments)}function n(p,x,S,T,w,E,C,_,y,b,O){for(var I=0,M=S,F=0;F<T;F++){var P=x[M];if(M>=w||M<0)break;if(o(P)){if(O){M+=E;continue}break}if(M===S)p[E>0?"moveTo":"lineTo"](P[0],P[1]);else if(y>0){var j=x[I],K=b==="y"?1:0,N=(P[K]-j[K])*y;c(i,j),i[K]=j[K]+N,c(r,P),r[K]=P[K]-N,p.bezierCurveTo(i[0],i[1],r[0],r[1],P[0],P[1])}else p.lineTo(P[0],P[1]);I=M,M+=E}return F}function l(p,x,S,T,w,E,C,_,y,b,O){for(var I=0,M=S,F=0;F<T;F++){var P=x[M];if(M>=w||M<0)break;if(o(P)){if(O){M+=E;continue}break}if(M===S)p[E>0?"moveTo":"lineTo"](P[0],P[1]),c(i,P);else if(y>0){var j=M+E,K=x[j];if(O)for(;K&&o(x[j]);)j+=E,K=x[j];var N=.5,B=x[I],K=x[j];if(!K||o(K))c(r,P);else{o(K)&&!O&&(K=P),f.sub(a,K,B);var U,H;if(b==="x"||b==="y"){var z=b==="x"?0:1;U=Math.abs(P[z]-B[z]),H=Math.abs(P[z]-K[z])}else U=f.dist(P,B),H=f.dist(P,K);N=H/(H+U),h(r,P,a,-y*(1-N))}m(i,i,_),v(i,i,C),m(r,r,_),v(r,r,C),p.bezierCurveTo(i[0],i[1],r[0],r[1],P[0],P[1]),h(i,P,a,y*N)}else p.lineTo(P[0],P[1]);I=M,M+=E}return F}function t(p,x){var S=[Infinity,Infinity],T=[-Infinity,-Infinity];if(x)for(var w=0;w<p.length;w++){var E=p[w];E[0]<S[0]&&(S[0]=E[0]),E[1]<S[1]&&(S[1]=E[1]),E[0]>T[0]&&(T[0]=E[0]),E[1]>T[1]&&(T[1]=E[1])}return{min:x?S:T,max:x?T:S}}var s=g.extend({type:"ec-polyline",shape:{points:[],smooth:0,smoothConstraint:!0,smoothMonotone:null,connectNulls:!1},style:{fill:null,stroke:"#000"},brush:A(g.prototype.brush),buildPath:function(p,x){var S=x.points,T=0,w=S.length,E=t(S,x.smoothConstraint);if(x.connectNulls){for(;w>0&&o(S[w-1]);w--);for(;T<w&&o(S[T]);T++);}for(;T<w;)T+=d(p,S,T,w,w,1,E.min,E.max,x.smooth,x.smoothMonotone,x.connectNulls)+1}}),u=g.extend({type:"ec-polygon",shape:{points:[],stackedOnPoints:[],smooth:0,stackedOnSmooth:0,smoothConstraint:!0,smoothMonotone:null,connectNulls:!1},brush:A(g.prototype.brush),buildPath:function(p,x){var S=x.points,T=x.stackedOnPoints,w=0,E=S.length,C=x.smoothMonotone,_=t(S,x.smoothConstraint),y=t(T,x.smoothConstraint);if(x.connectNulls){for(;E>0&&o(S[E-1]);E--);for(;w<E&&o(S[w]);w++);}for(;w<E;){var b=d(p,S,w,E,E,1,_.min,_.max,x.smooth,C,x.connectNulls);d(p,T,w+b-1,b,E,-1,y.min,y.max,x.stackedOnSmooth,C,x.connectNulls),w+=b+1,p.closePath()}}});D.Polyline=s,D.Polygon=u},"1RvN":function(R,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},A=function(c){this._list=new e,this._map={},this._maxSize=c||10,this._lastRemovedEntry=null},m=A.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=A;R.exports=v},"1bdT":function(R,D,e){var g=e("3gBT"),f=e("H6uX"),A=e("DN4a"),m=e("vWvF"),v=e("bYtY"),h=function(i){A.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,A),v.mixin(h,f);var c=h;R.exports=c},"1dTM":function(R,D,e){"use strict";Object.defineProperty(D,"__esModule",{value:!0}),D.default=void 0;var g=e("GQ8N"),f=b(e("Lo0S")),A=e("VSMT"),m=e("GdRQ"),v=e("SZEN"),h=e("vewr"),c=_(e("YJ9k")),a=_(e("MZdM")),i=_(e("ItS6")),r=_(e("whVF")),o=_(e("Fv0C")),d=_(e("LCi9")),n=_(e("rwxt")),l=_(e("Mmt2")),t=_(e("iUHT")),s=_(e("mHUz")),u=_(e("P2ho")),p=e("NBmB");e("mdZa");var x=_(e("34/K")),S=_(e("hXwI")),T=_(e("SgaC")),w=_(e("3690")),E=_(e("8K/p")),C=_(e("xO64"));function _(fe){return fe&&fe.__esModule?fe:{default:fe}}function y(){if(typeof WeakMap!="function")return null;var fe=new WeakMap;return y=function(){return fe},fe}function b(fe){if(fe&&fe.__esModule)return fe;if(fe===null||O(fe)!=="object"&&typeof fe!="function")return{default:fe};var oe=y();if(oe&&oe.has(fe))return oe.get(fe);var Le={},he=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var te in fe)if(Object.prototype.hasOwnProperty.call(fe,te)){var Z=he?Object.getOwnPropertyDescriptor(fe,te):null;Z&&(Z.get||Z.set)?Object.defineProperty(Le,te,Z):Le[te]=fe[te]}return Le.default=fe,oe&&oe.set(fe,Le),Le}function O(fe){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?O=function(Le){return typeof Le}:O=function(Le){return Le&&typeof Symbol=="function"&&Le.constructor===Symbol&&Le!==Symbol.prototype?"symbol":typeof Le},O(fe)}function I(fe,oe){if(!(fe instanceof oe))throw new TypeError("Cannot call a class as a function")}function M(fe,oe){for(var Le=0;Le<oe.length;Le++){var he=oe[Le];he.enumerable=he.enumerable||!1,he.configurable=!0,"value"in he&&(he.writable=!0),Object.defineProperty(fe,he.key,he)}}function F(fe,oe,Le){return oe&&M(fe.prototype,oe),Le&&M(fe,Le),fe}function P(fe,oe){if(typeof oe!="function"&&oe!==null)throw new TypeError("Super expression must either be null or a function");fe.prototype=Object.create(oe&&oe.prototype,{constructor:{value:fe,writable:!0,configurable:!0}}),oe&&j(fe,oe)}function j(fe,oe){return j=Object.setPrototypeOf||function(he,te){return he.__proto__=te,he},j(fe,oe)}function K(fe){var oe=U();return function(){var he=H(fe),te;if(oe){var Z=H(this).constructor;te=Reflect.construct(he,arguments,Z)}else te=he.apply(this,arguments);return N(this,te)}}function N(fe,oe){return oe&&(O(oe)==="object"||typeof oe=="function")?oe:B(fe)}function B(fe){if(fe===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return fe}function U(){if(typeof Reflect=="undefined"||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(fe){return!1}}function H(fe){return H=Object.setPrototypeOf?Object.getPrototypeOf:function(Le){return Le.__proto__||Object.getPrototypeOf(Le)},H(fe)}var z=3,X="rgb(40, 40, 40)",W=17,Y=50,q=19,me=75,G=50,ye=1e3,Ae=50,ve=1,Ue=1<<1,Me=1<<2,nt=1<<3,ne=1<<4,be=1<<24,ot=1<<25,ue=1<<26,Q=1<<27,V=1<<28,J=function(fe){P(Le,fe);var oe=K(Le);function Le(he,te,Z){var ge;if(I(this,Le),!he)throw new Error("Must specify target");if(!te)throw new Error("Must specify URL");ge=oe.call(this),ge._target=he,ge._url=te,Z=Z||{},ge._rfbCredentials=Z.credentials||{},ge._shared="shared"in Z?!!Z.shared:!0,ge._repeaterID=Z.repeaterID||"",ge._wsProtocols=Z.wsProtocols||[],ge._rfbConnectionState="",ge._rfbInitState="",ge._rfbAuthScheme=-1,ge._rfbCleanDisconnect=!0,ge._rfbVersion=0,ge._rfbMaxVersion=3.8,ge._rfbTightVNC=!1,ge._rfbVeNCryptState=0,ge._rfbXvpVer=0,ge._fbWidth=0,ge._fbHeight=0,ge._fbName="",ge._capabilities={power:!1},ge._supportsFence=!1,ge._supportsContinuousUpdates=!1,ge._enabledContinuousUpdates=!1,ge._supportsSetDesktopSize=!1,ge._screenID=0,ge._screenFlags=0,ge._qemuExtKeyEventSupported=!1,ge._clipboardText=null,ge._clipboardServerCapabilitiesActions={},ge._clipboardServerCapabilitiesFormats={},ge._sock=null,ge._display=null,ge._flushing=!1,ge._keyboard=null,ge._gestures=null,ge._disconnTimer=null,ge._resizeTimeout=null,ge._mouseMoveTimer=null,ge._decoders={},ge._FBU={rects:0,x:0,y:0,width:0,height:0,encoding:null},ge._mousePos={},ge._mouseButtonMask=0,ge._mouseLastMoveTime=0,ge._viewportDragging=!1,ge._viewportDragPos={},ge._viewportHasMoved=!1,ge._accumulatedWheelDeltaX=0,ge._accumulatedWheelDeltaY=0,ge._gestureLastTapTime=null,ge._gestureFirstDoubleTapEv=null,ge._gestureLastMagnitudeX=0,ge._gestureLastMagnitudeY=0,ge._eventHandlers={focusCanvas:ge._focusCanvas.bind(B(ge)),windowResize:ge._windowResize.bind(B(ge)),handleMouse:ge._handleMouse.bind(B(ge)),handleWheel:ge._handleWheel.bind(B(ge)),handleGesture:ge._handleGesture.bind(B(ge))},f.Debug(">> RFB.constructor"),ge._screen=document.createElement("div"),ge._screen.style.display="flex",ge._screen.style.width="100%",ge._screen.style.height="100%",ge._screen.style.overflow="auto",ge._screen.style.background=X,ge._canvas=document.createElement("canvas"),ge._canvas.style.margin="auto",ge._canvas.style.outline="none",ge._canvas.style.flexShrink="0",ge._canvas.width=0,ge._canvas.height=0,ge._canvas.tabIndex=-1,ge._screen.appendChild(ge._canvas),ge._cursor=new n.default,ge._cursorImage=Le.cursors.none,ge._decoders[p.encodings.encodingRaw]=new x.default,ge._decoders[p.encodings.encodingCopyRect]=new S.default,ge._decoders[p.encodings.encodingRRE]=new T.default,ge._decoders[p.encodings.encodingHextile]=new w.default,ge._decoders[p.encodings.encodingTight]=new E.default,ge._decoders[p.encodings.encodingTightPNG]=new C.default;try{ge._display=new a.default(ge._canvas)}catch(Re){throw f.Error("Display exception: "+Re),Re}return ge._display.onflush=ge._onFlush.bind(B(ge)),ge._keyboard=new o.default(ge._canvas),ge._keyboard.onkeyevent=ge._handleKeyEvent.bind(B(ge)),ge._gestures=new d.default,ge._sock=new l.default,ge._sock.on("message",function(){ge._handleMessage()}),ge._sock.on("open",function(){ge._rfbConnectionState==="connecting"&&ge._rfbInitState===""?(ge._rfbInitState="ProtocolVersion",f.Debug("Starting VNC handshake")):ge._fail("Unexpected server connection while "+ge._rfbConnectionState)}),ge._sock.on("close",function(Re){f.Debug("WebSocket on-close event");var ze="";Re.code&&(ze="(code: "+Re.code,Re.reason&&(ze+=", reason: "+Re.reason),ze+=")");switch(ge._rfbConnectionState){case"connecting":ge._fail("Connection closed "+ze);break;case"connected":ge._updateConnectionState("disconnecting"),ge._updateConnectionState("disconnected");break;case"disconnecting":ge._updateConnectionState("disconnected");break;case"disconnected":ge._fail("Unexpected server disconnect when already disconnected "+ze);break;default:ge._fail("Unexpected server disconnect before connecting "+ze);break}ge._sock.off("close")}),ge._sock.on("error",function(Re){return f.Warn("WebSocket on-error event")}),setTimeout(ge._updateConnectionState.bind(B(ge),"connecting")),f.Debug("<< RFB.constructor"),ge.dragViewport=!1,ge.focusOnClick=!0,ge._viewOnly=!1,ge._clipViewport=!1,ge._scaleViewport=!1,ge._resizeSession=!1,ge._showDotCursor=!1,Z.showDotCursor!==void 0&&(f.Warn("Specifying showDotCursor as a RFB constructor argument is deprecated"),ge._showDotCursor=Z.showDotCursor),ge._qualityLevel=6,ge._compressionLevel=2,ge}return F(Le,[{key:"disconnect",value:function(){this._updateConnectionState("disconnecting"),this._sock.off("error"),this._sock.off("message"),this._sock.off("open")}},{key:"sendCredentials",value:function(te){this._rfbCredentials=te,setTimeout(this._initMsg.bind(this),0)}},{key:"sendCtrlAltDel",value:function(){if(this._rfbConnectionState!=="connected"||this._viewOnly)return;f.Info("Sending Ctrl-Alt-Del"),this.sendKey(s.default.XK_Control_L,"ControlLeft",!0),this.sendKey(s.default.XK_Alt_L,"AltLeft",!0),this.sendKey(s.default.XK_Delete,"Delete",!0),this.sendKey(s.default.XK_Delete,"Delete",!1),this.sendKey(s.default.XK_Alt_L,"AltLeft",!1),this.sendKey(s.default.XK_Control_L,"ControlLeft",!1)}},{key:"machineShutdown",value:function(){this._xvpOp(1,2)}},{key:"machineReboot",value:function(){this._xvpOp(1,3)}},{key:"machineReset",value:function(){this._xvpOp(1,4)}},{key:"sendKey",value:function(te,Z,ge){if(this._rfbConnectionState!=="connected"||this._viewOnly)return;if(ge===void 0){this.sendKey(te,Z,!0),this.sendKey(te,Z,!1);return}var Re=u.default[Z];if(this._qemuExtKeyEventSupported&&Re)te=te||0,f.Info("Sending key ("+(ge?"down":"up")+"): keysym "+te+", scancode "+Re),Le.messages.QEMUExtendedKeyEvent(this._sock,te,ge,Re);else{if(!te)return;f.Info("Sending keysym ("+(ge?"down":"up")+"): "+te),Le.messages.keyEvent(this._sock,te,ge?1:0)}}},{key:"focus",value:function(){this._canvas.focus()}},{key:"blur",value:function(){this._canvas.blur()}},{key:"clipboardPasteFrom",value:function(te){if(this._rfbConnectionState!=="connected"||this._viewOnly)return;if(this._clipboardServerCapabilitiesFormats[ve]&&this._clipboardServerCapabilitiesActions[Q])this._clipboardText=te,Le.messages.extendedClipboardNotify(this._sock,[ve]);else{for(var Z=new Uint8Array(te.length),ge=0;ge<te.length;ge++)Z[ge]=te.charCodeAt(ge);Le.messages.clientCutText(this._sock,Z)}}},{key:"_connect",value:function(){f.Debug(">> RFB.connect"),f.Info("connecting to "+this._url);try{this._sock.open(this._url,this._wsProtocols)}catch(te){te.name==="SyntaxError"?this._fail("Invalid host or port ("+te+")"):this._fail("Error when opening socket ("+te+")")}this._target.appendChild(this._screen),this._gestures.attach(this._canvas),this._cursor.attach(this._canvas),this._refreshCursor(),window.addEventListener("resize",this._eventHandlers.windowResize),this._canvas.addEventListener("mousedown",this._eventHandlers.focusCanvas),this._canvas.addEventListener("touchstart",this._eventHandlers.focusCanvas),this._canvas.addEventListener("mousedown",this._eventHandlers.handleMouse),this._canvas.addEventListener("mouseup",this._eventHandlers.handleMouse),this._canvas.addEventListener("mousemove",this._eventHandlers.handleMouse),this._canvas.addEventListener("click",this._eventHandlers.handleMouse),this._canvas.addEventListener("contextmenu",this._eventHandlers.handleMouse),this._canvas.addEventListener("wheel",this._eventHandlers.handleWheel),this._canvas.addEventListener("gesturestart",this._eventHandlers.handleGesture),this._canvas.addEventListener("gesturemove",this._eventHandlers.handleGesture),this._canvas.addEventListener("gestureend",this._eventHandlers.handleGesture),f.Debug("<< RFB.connect")}},{key:"_disconnect",value:function(){f.Debug(">> RFB.disconnect"),this._cursor.detach(),this._canvas.removeEventListener("gesturestart",this._eventHandlers.handleGesture),this._canvas.removeEventListener("gesturemove",this._eventHandlers.handleGesture),this._canvas.removeEventListener("gestureend",this._eventHandlers.handleGesture),this._canvas.removeEventListener("wheel",this._eventHandlers.handleWheel),this._canvas.removeEventListener("mousedown",this._eventHandlers.handleMouse),this._canvas.removeEventListener("mouseup",this._eventHandlers.handleMouse),this._canvas.removeEventListener("mousemove",this._eventHandlers.handleMouse),this._canvas.removeEventListener("click",this._eventHandlers.handleMouse),this._canvas.removeEventListener("contextmenu",this._eventHandlers.handleMouse),this._canvas.removeEventListener("mousedown",this._eventHandlers.focusCanvas),this._canvas.removeEventListener("touchstart",this._eventHandlers.focusCanvas),window.removeEventListener("resize",this._eventHandlers.windowResize),this._keyboard.ungrab(),this._gestures.detach(),this._sock.close();try{this._target.removeChild(this._screen)}catch(te){if(!(te.name==="NotFoundError"))throw te}clearTimeout(this._resizeTimeout),clearTimeout(this._mouseMoveTimer),f.Debug("<< RFB.disconnect")}},{key:"_focusCanvas",value:function(te){if(!this.focusOnClick)return;this.focus()}},{key:"_setDesktopName",value:function(te){this._fbName=te,this.dispatchEvent(new CustomEvent("desktopname",{detail:{name:this._fbName}}))}},{key:"_windowResize",value:function(te){var Z=this;window.requestAnimationFrame(function(){Z._updateClip(),Z._updateScale()}),this._resizeSession&&(clearTimeout(this._resizeTimeout),this._resizeTimeout=setTimeout(this._requestRemoteResize.bind(this),500))}},{key:"_updateClip",value:function(){var te=this._display.clipViewport,Z=this._clipViewport;if(this._scaleViewport&&(Z=!1),te!==Z&&(this._display.clipViewport=Z),Z){var ge=this._screenSize();this._display.viewportChangeSize(ge.w,ge.h),this._fixScrollbars()}}},{key:"_updateScale",value:function(){if(!this._scaleViewport)this._display.scale=1;else{var te=this._screenSize();this._display.autoscale(te.w,te.h)}this._fixScrollbars()}},{key:"_requestRemoteResize",value:function(){if(clearTimeout(this._resizeTimeout),this._resizeTimeout=null,!this._resizeSession||this._viewOnly||!this._supportsSetDesktopSize)return;var te=this._screenSize();Le.messages.setDesktopSize(this._sock,Math.floor(te.w),Math.floor(te.h),this._screenID,this._screenFlags),f.Debug("Requested new desktop size: "+te.w+"x"+te.h)}},{key:"_screenSize",value:function(){var te=this._screen.getBoundingClientRect();return{w:te.width,h:te.height}}},{key:"_fixScrollbars",value:function(){var te=this._screen.style.overflow;this._screen.style.overflow="hidden",this._screen.getBoundingClientRect(),this._screen.style.overflow=te}},{key:"_updateConnectionState",value:function(te){var Z=this,ge=this._rfbConnectionState;if(te===ge){f.Debug("Already in state '"+te+"', ignoring");return}if(ge==="disconnected"){f.Error("Tried changing state of a disconnected RFB object");return}switch(te){case"connected":if(ge!=="connecting"){f.Error("Bad transition to connected state, previous connection state: "+ge);return}break;case"disconnected":if(ge!=="disconnecting"){f.Error("Bad transition to disconnected state, previous connection state: "+ge);return}break;case"connecting":if(ge!==""){f.Error("Bad transition to connecting state, previous connection state: "+ge);return}break;case"disconnecting":if(ge!=="connected"&&ge!=="connecting"){f.Error("Bad transition to disconnecting state, previous connection state: "+ge);return}break;default:f.Error("Unknown connection state: "+te);return}this._rfbConnectionState=te,f.Debug("New state '"+te+"', was '"+ge+"'."),this._disconnTimer&&te!=="disconnecting"&&(f.Debug("Clearing disconnect timer"),clearTimeout(this._disconnTimer),this._disconnTimer=null,this._sock.off("close"));switch(te){case"connecting":this._connect();break;case"connected":this.dispatchEvent(new CustomEvent("connect",{detail:{}}));break;case"disconnecting":this._disconnect(),this._disconnTimer=setTimeout(function(){f.Error("Disconnection timed out."),Z._updateConnectionState("disconnected")},z*1e3);break;case"disconnected":this.dispatchEvent(new CustomEvent("disconnect",{detail:{clean:this._rfbCleanDisconnect}}));break}}},{key:"_fail",value:function(te){switch(this._rfbConnectionState){case"disconnecting":f.Error("Failed when disconnecting: "+te);break;case"connected":f.Error("Failed while connected: "+te);break;case"connecting":f.Error("Failed when connecting: "+te);break;default:f.Error("RFB failure: "+te);break}return this._rfbCleanDisconnect=!1,this._updateConnectionState("disconnecting"),this._updateConnectionState("disconnected"),!1}},{key:"_setCapability",value:function(te,Z){this._capabilities[te]=Z,this.dispatchEvent(new CustomEvent("capabilities",{detail:{capabilities:this._capabilities}}))}},{key:"_handleMessage",value:function(){if(this._sock.rQlen===0){f.Warn("handleMessage called on an empty receive queue");return}switch(this._rfbConnectionState){case"disconnected":f.Error("Got data while disconnected");break;case"connected":for(;!this._flushing;){if(!this._normalMsg())break;if(this._sock.rQlen===0)break}break;default:this._initMsg();break}}},{key:"_handleKeyEvent",value:function(te,Z,ge){this.sendKey(te,Z,ge)}},{key:"_handleMouse",value:function(te){if(te.type==="click"&&te.target!==this._canvas)return;if(te.stopPropagation(),te.preventDefault(),te.type==="click"||te.type==="contextmenu")return;var Z=(0,v.clientToElement)(te.clientX,te.clientY,this._canvas);switch(te.type){case"mousedown":(0,h.setCapture)(this._canvas),this._handleMouseButton(Z.x,Z.y,!0,1<<te.button);break;case"mouseup":this._handleMouseButton(Z.x,Z.y,!1,1<<te.button);break;case"mousemove":this._handleMouseMove(Z.x,Z.y);break}}},{key:"_handleMouseButton",value:function(te,Z,ge,Re){if(this.dragViewport)if(ge&&!this._viewportDragging){this._viewportDragging=!0,this._viewportDragPos={x:te,y:Z},this._viewportHasMoved=!1;return}else{if(this._viewportDragging=!1,this._viewportHasMoved)return;this._sendMouse(te,Z,Re)}this._mouseMoveTimer!==null&&(clearTimeout(this._mouseMoveTimer),this._mouseMoveTimer=null,this._sendMouse(te,Z,this._mouseButtonMask)),ge?this._mouseButtonMask|=Re:this._mouseButtonMask&=~Re,this._sendMouse(te,Z,this._mouseButtonMask)}},{key:"_handleMouseMove",value:function(te,Z){var ge=this;if(this._viewportDragging){var Re=this._viewportDragPos.x-te,ze=this._viewportDragPos.y-Z;(this._viewportHasMoved||Math.abs(Re)>m.dragThreshold||Math.abs(ze)>m.dragThreshold)&&(this._viewportHasMoved=!0,this._viewportDragPos={x:te,y:Z},this._display.viewportChangePos(Re,ze));return}if(this._mousePos={x:te,y:Z},this._mouseMoveTimer==null){var dt=Date.now()-this._mouseLastMoveTime;dt>W?(this._sendMouse(te,Z,this._mouseButtonMask),this._mouseLastMoveTime=Date.now()):this._mouseMoveTimer=setTimeout(function(){ge._handleDelayedMouseMove()},W-dt)}}},{key:"_handleDelayedMouseMove",value:function(){this._mouseMoveTimer=null,this._sendMouse(this._mousePos.x,this._mousePos.y,this._mouseButtonMask),this._mouseLastMoveTime=Date.now()}},{key:"_sendMouse",value:function(te,Z,ge){if(this._rfbConnectionState!=="connected")return;if(this._viewOnly)return;Le.messages.pointerEvent(this._sock,this._display.absX(te),this._display.absY(Z),ge)}},{key:"_handleWheel",value:function(te){if(this._rfbConnectionState!=="connected")return;if(this._viewOnly)return;te.stopPropagation(),te.preventDefault();var Z=(0,v.clientToElement)(te.clientX,te.clientY,this._canvas),ge=te.deltaX,Re=te.deltaY;te.deltaMode!==0&&(ge*=q,Re*=q),this._accumulatedWheelDeltaX+=ge,this._accumulatedWheelDeltaY+=Re,Math.abs(this._accumulatedWheelDeltaX)>=Y&&(this._accumulatedWheelDeltaX<0?(this._handleMouseButton(Z.x,Z.y,!0,1<<5),this._handleMouseButton(Z.x,Z.y,!1,1<<5)):this._accumulatedWheelDeltaX>0&&(this._handleMouseButton(Z.x,Z.y,!0,1<<6),this._handleMouseButton(Z.x,Z.y,!1,1<<6)),this._accumulatedWheelDeltaX=0),Math.abs(this._accumulatedWheelDeltaY)>=Y&&(this._accumulatedWheelDeltaY<0?(this._handleMouseButton(Z.x,Z.y,!0,1<<3),this._handleMouseButton(Z.x,Z.y,!1,1<<3)):this._accumulatedWheelDeltaY>0&&(this._handleMouseButton(Z.x,Z.y,!0,1<<4),this._handleMouseButton(Z.x,Z.y,!1,1<<4)),this._accumulatedWheelDeltaY=0)}},{key:"_fakeMouseMove",value:function(te,Z,ge){this._handleMouseMove(Z,ge),this._cursor.move(te.detail.clientX,te.detail.clientY)}},{key:"_handleTapEvent",value:function(te,Z){var ge=(0,v.clientToElement)(te.detail.clientX,te.detail.clientY,this._canvas);if(this._gestureLastTapTime!==null&&Date.now()-this._gestureLastTapTime<ye&&this._gestureFirstDoubleTapEv.detail.type===te.detail.type){var Re=this._gestureFirstDoubleTapEv.detail.clientX-te.detail.clientX,ze=this._gestureFirstDoubleTapEv.detail.clientY-te.detail.clientY,dt=Math.hypot(Re,ze);dt<Ae?ge=(0,v.clientToElement)(this._gestureFirstDoubleTapEv.detail.clientX,this._gestureFirstDoubleTapEv.detail.clientY,this._canvas):this._gestureFirstDoubleTapEv=te}else this._gestureFirstDoubleTapEv=te;this._gestureLastTapTime=Date.now(),this._fakeMouseMove(this._gestureFirstDoubleTapEv,ge.x,ge.y),this._handleMouseButton(ge.x,ge.y,!0,Z),this._handleMouseButton(ge.x,ge.y,!1,Z)}},{key:"_handleGesture",value:function(te){var Z,ge=(0,v.clientToElement)(te.detail.clientX,te.detail.clientY,this._canvas);switch(te.type){case"gesturestart":switch(te.detail.type){case"onetap":this._handleTapEvent(te,1);break;case"twotap":this._handleTapEvent(te,4);break;case"threetap":this._handleTapEvent(te,2);break;case"drag":this._fakeMouseMove(te,ge.x,ge.y),this._handleMouseButton(ge.x,ge.y,!0,1);break;case"longpress":this._fakeMouseMove(te,ge.x,ge.y),this._handleMouseButton(ge.x,ge.y,!0,4);break;case"twodrag":this._gestureLastMagnitudeX=te.detail.magnitudeX,this._gestureLastMagnitudeY=te.detail.magnitudeY,this._fakeMouseMove(te,ge.x,ge.y);break;case"pinch":this._gestureLastMagnitudeX=Math.hypot(te.detail.magnitudeX,te.detail.magnitudeY),this._fakeMouseMove(te,ge.x,ge.y);break}break;case"gesturemove":switch(te.detail.type){case"onetap":case"twotap":case"threetap":break;case"drag":case"longpress":this._fakeMouseMove(te,ge.x,ge.y);break;case"twodrag":for(this._fakeMouseMove(te,ge.x,ge.y);te.detail.magnitudeY-this._gestureLastMagnitudeY>G;)this._handleMouseButton(ge.x,ge.y,!0,8),this._handleMouseButton(ge.x,ge.y,!1,8),this._gestureLastMagnitudeY+=G;for(;te.detail.magnitudeY-this._gestureLastMagnitudeY<-G;)this._handleMouseButton(ge.x,ge.y,!0,16),this._handleMouseButton(ge.x,ge.y,!1,16),this._gestureLastMagnitudeY-=G;for(;te.detail.magnitudeX-this._gestureLastMagnitudeX>G;)this._handleMouseButton(ge.x,ge.y,!0,32),this._handleMouseButton(ge.x,ge.y,!1,32),this._gestureLastMagnitudeX+=G;for(;te.detail.magnitudeX-this._gestureLastMagnitudeX<-G;)this._handleMouseButton(ge.x,ge.y,!0,64),this._handleMouseButton(ge.x,ge.y,!1,64),this._gestureLastMagnitudeX-=G;break;case"pinch":if(this._fakeMouseMove(te,ge.x,ge.y),Z=Math.hypot(te.detail.magnitudeX,te.detail.magnitudeY),Math.abs(Z-this._gestureLastMagnitudeX)>me){for(this._handleKeyEvent(s.default.XK_Control_L,"ControlLeft",!0);Z-this._gestureLastMagnitudeX>me;)this._handleMouseButton(ge.x,ge.y,!0,8),this._handleMouseButton(ge.x,ge.y,!1,8),this._gestureLastMagnitudeX+=me;for(;Z-this._gestureLastMagnitudeX<-me;)this._handleMouseButton(ge.x,ge.y,!0,16),this._handleMouseButton(ge.x,ge.y,!1,16),this._gestureLastMagnitudeX-=me}this._handleKeyEvent(s.default.XK_Control_L,"ControlLeft",!1);break}break;case"gestureend":switch(te.detail.type){case"onetap":case"twotap":case"threetap":case"pinch":case"twodrag":break;case"drag":this._fakeMouseMove(te,ge.x,ge.y),this._handleMouseButton(ge.x,ge.y,!1,1);break;case"longpress":this._fakeMouseMove(te,ge.x,ge.y),this._handleMouseButton(ge.x,ge.y,!1,4);break}break}}},{key:"_negotiateProtocolVersion",value:function(){if(this._sock.rQwait("version",12))return!1;var te=this._sock.rQshiftStr(12).substr(4,7);f.Info("Server ProtocolVersion: "+te);var Z=0;switch(te){case"000.000":Z=1;break;case"003.003":case"003.006":case"003.889":this._rfbVersion=3.3;break;case"003.007":this._rfbVersion=3.7;break;case"003.008":case"004.000":case"004.001":case"005.000":this._rfbVersion=3.8;break;default:return this._fail("Invalid server version "+te)}if(Z){for(var ge="ID:"+this._repeaterID;ge.length<250;)ge+="\0";return this._sock.sendString(ge),!0}this._rfbVersion>this._rfbMaxVersion&&(this._rfbVersion=this._rfbMaxVersion);var Re="00"+parseInt(this._rfbVersion,10)+".00"+this._rfbVersion*10%10;this._sock.sendString("RFB "+Re+`
|
|
|
`),f.Debug("Sent ProtocolVersion: "+Re),this._rfbInitState="Security"}},{key:"_negotiateSecurity",value:function(){function te(Re,ze){for(var dt=0;dt<ze.length;dt++)if(ze[dt]===Re)return!0;return!1}if(this._rfbVersion>=3.7){var Z=this._sock.rQshift8();if(this._sock.rQwait("security type",Z,1))return!1;if(Z===0)return this._rfbInitState="SecurityReason",this._securityContext="no security types",this._securityStatus=1,this._initMsg();var ge=this._sock.rQshiftBytes(Z);if(f.Debug("Server security types: "+ge),te(1,ge))this._rfbAuthScheme=1;else if(te(22,ge))this._rfbAuthScheme=22;else if(te(16,ge))this._rfbAuthScheme=16;else if(te(2,ge))this._rfbAuthScheme=2;else if(te(19,ge))this._rfbAuthScheme=19;else return this._fail("Unsupported security types (types: "+ge+")");this._sock.send([this._rfbAuthScheme])}else{if(this._sock.rQwait("security scheme",4))return!1;if(this._rfbAuthScheme=this._sock.rQshift32(),this._rfbAuthScheme==0)return this._rfbInitState="SecurityReason",this._securityContext="authentication scheme",this._securityStatus=1,this._initMsg()}return this._rfbInitState="Authentication",f.Debug("Authenticating using scheme: "+this._rfbAuthScheme),this._initMsg()}},{key:"_handleSecurityReason",value:function(){if(this._sock.rQwait("reason length",4))return!1;var te=this._sock.rQshift32(),Z="";if(te>0){if(this._sock.rQwait("reason",te,4))return!1;Z=this._sock.rQshiftStr(te)}return Z!==""?(this.dispatchEvent(new CustomEvent("securityfailure",{detail:{status:this._securityStatus,reason:Z}})),this._fail("Security negotiation failed on "+this._securityContext+" (reason: "+Z+")")):(this.dispatchEvent(new CustomEvent("securityfailure",{detail:{status:this._securityStatus}})),this._fail("Security negotiation failed on "+this._securityContext))}},{key:"_negotiateXvpAuth",value:function(){if(this._rfbCredentials.username===void 0||this._rfbCredentials.password===void 0||this._rfbCredentials.target===void 0)return this.dispatchEvent(new CustomEvent("credentialsrequired",{detail:{types:["username","password","target"]}})),!1;var te=String.fromCharCode(this._rfbCredentials.username.length)+String.fromCharCode(this._rfbCredentials.target.length)+this._rfbCredentials.username+this._rfbCredentials.target;return this._sock.sendString(te),this._rfbAuthScheme=2,this._negotiateAuthentication()}},{key:"_negotiateVeNCryptAuth",value:function(){if(this._rfbVeNCryptState==0){if(this._sock.rQwait("vencrypt version",2))return!1;var te=this._sock.rQshift8(),Z=this._sock.rQshift8();if(!(te==0&&Z==2))return this._fail("Unsupported VeNCrypt version "+te+"."+Z);this._sock.send([0,2]),this._rfbVeNCryptState=1}if(this._rfbVeNCryptState==1){if(this._sock.rQwait("vencrypt ack",1))return!1;var ge=this._sock.rQshift8();if(ge!=0)return this._fail("VeNCrypt failure "+ge);this._rfbVeNCryptState=2}if(this._rfbVeNCryptState==2){if(this._sock.rQwait("vencrypt subtypes length",1))return!1;var Re=this._sock.rQshift8();if(Re<1)return this._fail("VeNCrypt subtypes empty");this._rfbVeNCryptSubtypesLength=Re,this._rfbVeNCryptState=3}if(this._rfbVeNCryptState==3){if(this._sock.rQwait("vencrypt subtypes",4*this._rfbVeNCryptSubtypesLength))return!1;for(var ze=[],dt=0;dt<this._rfbVeNCryptSubtypesLength;dt++)ze.push(this._sock.rQshift32());if(ze.indexOf(256)!=-1)this._sock.send([0,0,1,0]),this._rfbVeNCryptState=4;else return this._fail("VeNCrypt Plain subtype not offered by server")}if(this._rfbVeNCryptState==4){if(!this._rfbCredentials.username||!this._rfbCredentials.password)return this.dispatchEvent(new CustomEvent("credentialsrequired",{detail:{types:["username","password"]}})),!1;var De=(0,A.encodeUTF8)(this._rfbCredentials.username),Tt=(0,A.encodeUTF8)(this._rfbCredentials.password);return this._sock.send([0,0,0,De.length]),this._sock.send([0,0,0,Tt.length]),this._sock.sendString(De),this._sock.sendString(Tt),this._rfbInitState="SecurityResult",!0}}},{key:"_negotiateStdVNCAuth",value:function(){if(this._sock.rQwait("auth challenge",16))return!1;if(this._rfbCredentials.password===void 0)return this.dispatchEvent(new CustomEvent("credentialsrequired",{detail:{types:["password"]}})),!1;var te=Array.prototype.slice.call(this._sock.rQshiftBytes(16)),Z=Le.genDES(this._rfbCredentials.password,te);return this._sock.send(Z),this._rfbInitState="SecurityResult",!0}},{key:"_negotiateTightUnixAuth",value:function(){return this._rfbCredentials.username===void 0||this._rfbCredentials.password===void 0?(this.dispatchEvent(new CustomEvent("credentialsrequired",{detail:{types:["username","password"]}})),!1):(this._sock.send([0,0,0,this._rfbCredentials.username.length]),this._sock.send([0,0,0,this._rfbCredentials.password.length]),this._sock.sendString(this._rfbCredentials.username),this._sock.sendString(this._rfbCredentials.password),this._rfbInitState="SecurityResult",!0)}},{key:"_negotiateTightTunnels",value:function(te){for(var Z={0:{vendor:"TGHT",signature:"NOTUNNEL"}},ge={},Re=0;Re<te;Re++){var ze=this._sock.rQshift32(),dt=this._sock.rQshiftStr(4),De=this._sock.rQshiftStr(8);ge[ze]={vendor:dt,signature:De}}return f.Debug("Server Tight tunnel types: "+ge),ge[1]&&ge[1].vendor==="SICR"&&ge[1].signature==="SCHANNEL"&&(f.Debug("Detected Siemens server. Assuming NOTUNNEL support."),ge[0]={vendor:"TGHT",signature:"NOTUNNEL"}),ge[0]?ge[0].vendor!=Z[0].vendor||ge[0].signature!=Z[0].signature?this._fail("Client's tunnel type had the incorrect vendor or signature"):(f.Debug("Selected tunnel type: "+Z[0]),this._sock.send([0,0,0,0]),!1):this._fail("Server wanted tunnels, but doesn't support the notunnel type")}},{key:"_negotiateTightAuth",value:function(){if(!this._rfbTightVNC){if(this._sock.rQwait("num tunnels",4))return!1;var te=this._sock.rQshift32();if(te>0&&this._sock.rQwait("tunnel capabilities",16*te,4))return!1;if(this._rfbTightVNC=!0,te>0)return this._negotiateTightTunnels(te),!1}if(this._sock.rQwait("sub auth count",4))return!1;var Z=this._sock.rQshift32();if(Z===0)return this._rfbInitState="SecurityResult",!0;if(this._sock.rQwait("sub auth capabilities",16*Z,4))return!1;for(var ge={STDVNOAUTH__:1,STDVVNCAUTH_:2,TGHTULGNAUTH:129},Re=[],ze=0;ze<Z;ze++){this._sock.rQshift32();var dt=this._sock.rQshiftStr(12);Re.push(dt)}f.Debug("Server Tight authentication types: "+Re);for(var De in ge)if(Re.indexOf(De)!=-1){this._sock.send([0,0,0,ge[De]]),f.Debug("Selected authentication type: "+De);switch(De){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: "+De+")")}}return this._fail("No supported sub-auth types!")}},{key:"_negotiateAuthentication",value:function(){switch(this._rfbAuthScheme){case 1:return this._rfbVersion>=3.8?(this._rfbInitState="SecurityResult",!0):(this._rfbInitState="ClientInitialisation",this._initMsg());case 22:return this._negotiateXvpAuth();case 2:return this._negotiateStdVNCAuth();case 16:return this._negotiateTightAuth();case 19:return this._negotiateVeNCryptAuth();case 129:return this._negotiateTightUnixAuth();default:return this._fail("Unsupported auth scheme (scheme: "+this._rfbAuthScheme+")")}}},{key:"_handleSecurityResult",value:function(){if(this._sock.rQwait("VNC auth response ",4))return!1;var te=this._sock.rQshift32();return te===0?(this._rfbInitState="ClientInitialisation",f.Debug("Authentication OK"),this._initMsg()):this._rfbVersion>=3.8?(this._rfbInitState="SecurityReason",this._securityContext="security result",this._securityStatus=te,this._initMsg()):(this.dispatchEvent(new CustomEvent("securityfailure",{detail:{status:te}})),this._fail("Security handshake failed"))}},{key:"_negotiateServerInit",value:function(){if(this._sock.rQwait("server initialization",24))return!1;var te=this._sock.rQshift16(),Z=this._sock.rQshift16(),ge=this._sock.rQshift8(),Re=this._sock.rQshift8(),ze=this._sock.rQshift8(),dt=this._sock.rQshift8(),De=this._sock.rQshift16(),Tt=this._sock.rQshift16(),je=this._sock.rQshift16(),st=this._sock.rQshift8(),Xe=this._sock.rQshift8(),Je=this._sock.rQshift8();this._sock.rQskipBytes(3);var et=this._sock.rQshift32();if(this._sock.rQwait("server init name",et,24))return!1;var at=this._sock.rQshiftStr(et);if(at=(0,A.decodeUTF8)(at,!0),this._rfbTightVNC){if(this._sock.rQwait("TightVNC extended server init header",8,24+et))return!1;var Ve=this._sock.rQshift16(),le=this._sock.rQshift16(),ae=this._sock.rQshift16();this._sock.rQskipBytes(2);var lt=(Ve+le+ae)*16;if(this._sock.rQwait("TightVNC extended server init header",lt,32+et))return!1;this._sock.rQskipBytes(16*Ve),this._sock.rQskipBytes(16*le),this._sock.rQskipBytes(16*ae)}return f.Info("Screen: "+te+"x"+Z+", bpp: "+ge+", depth: "+Re+", bigEndian: "+ze+", trueColor: "+dt+", redMax: "+De+", greenMax: "+Tt+", blueMax: "+je+", redShift: "+st+", greenShift: "+Xe+", blueShift: "+Je),this._setDesktopName(at),this._resize(te,Z),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),Le.messages.pixelFormat(this._sock,this._fbDepth,!0),this._sendEncodings(),Le.messages.fbUpdateRequest(this._sock,!1,0,0,this._fbWidth,this._fbHeight),this._updateConnectionState("connected"),!0}},{key:"_sendEncodings",value:function(){var te=[];te.push(p.encodings.encodingCopyRect),this._fbDepth==24&&(te.push(p.encodings.encodingTight),te.push(p.encodings.encodingTightPNG),te.push(p.encodings.encodingHextile),te.push(p.encodings.encodingRRE)),te.push(p.encodings.encodingRaw),te.push(p.encodings.pseudoEncodingQualityLevel0+this._qualityLevel),te.push(p.encodings.pseudoEncodingCompressLevel0+this._compressionLevel),te.push(p.encodings.pseudoEncodingDesktopSize),te.push(p.encodings.pseudoEncodingLastRect),te.push(p.encodings.pseudoEncodingQEMUExtendedKeyEvent),te.push(p.encodings.pseudoEncodingExtendedDesktopSize),te.push(p.encodings.pseudoEncodingXvp),te.push(p.encodings.pseudoEncodingFence),te.push(p.encodings.pseudoEncodingContinuousUpdates),te.push(p.encodings.pseudoEncodingDesktopName),te.push(p.encodings.pseudoEncodingExtendedClipboard),this._fbDepth==24&&(te.push(p.encodings.pseudoEncodingVMwareCursor),te.push(p.encodings.pseudoEncodingCursor)),Le.messages.clientEncodings(this._sock,te)}},{key:"_initMsg",value:function(){switch(this._rfbInitState){case"ProtocolVersion":return this._negotiateProtocolVersion();case"Security":return this._negotiateSecurity();case"Authentication":return this._negotiateAuthentication();case"SecurityResult":return this._handleSecurityResult();case"SecurityReason":return this._handleSecurityReason();case"ClientInitialisation":return this._sock.send([this._shared?1:0]),this._rfbInitState="ServerInitialisation",!0;case"ServerInitialisation":return this._negotiateServerInit();default:return this._fail("Unknown init state (state: "+this._rfbInitState+")")}}},{key:"_handleSetColourMapMsg",value:function(){return f.Debug("SetColorMapEntries"),this._fail("Unexpected SetColorMapEntries message")}},{key:"_handleServerCutText",value:function(){if(f.Debug("ServerCutText"),this._sock.rQwait("ServerCutText header",7,1))return!1;this._sock.rQskipBytes(3);var te=this._sock.rQshift32();if(te=(0,g.toSigned32bit)(te),this._sock.rQwait("ServerCutText content",Math.abs(te),8))return!1;if(te>=0){var Z=this._sock.rQshiftStr(te);if(this._viewOnly)return!0;this.dispatchEvent(new CustomEvent("clipboard",{detail:{text:Z}}))}else{te=Math.abs(te);var ge=this._sock.rQshift32(),Re=ge&65535,ze=ge&4278190080,dt=!!(ze&be);if(dt){this._clipboardServerCapabilitiesFormats={},this._clipboardServerCapabilitiesActions={};for(var De=0;De<=15;De++){var Tt=1<<De;Re&Tt&&(this._clipboardServerCapabilitiesFormats[Tt]=!0,this._sock.rQshift32())}for(var je=24;je<=31;je++){var st=1<<je;this._clipboardServerCapabilitiesActions[st]=!!(ze&st)}var Xe=[be,ot,ue,Q,V];Le.messages.extendedClipboardCaps(this._sock,Xe,{extendedClipboardFormatText:0})}else if(ze===ot){if(this._viewOnly)return!0;this._clipboardText!=null&&this._clipboardServerCapabilitiesActions[V]&&(Re&ve&&Le.messages.extendedClipboardProvide(this._sock,[ve],[this._clipboardText]))}else if(ze===ue){if(this._viewOnly)return!0;this._clipboardServerCapabilitiesActions[Q]&&(this._clipboardText!=null?Le.messages.extendedClipboardNotify(this._sock,[ve]):Le.messages.extendedClipboardNotify(this._sock,[]))}else if(ze===Q){if(this._viewOnly)return!0;this._clipboardServerCapabilitiesActions[ot]&&(Re&ve&&Le.messages.extendedClipboardRequest(this._sock,[ve]))}else if(ze===V){if(this._viewOnly)return!0;if(!(Re&ve))return!0;this._clipboardText=null;var Je=this._sock.rQshiftBytes(te-4),et=new i.default,at=null;et.setInput(Je);for(var Ve=0;Ve<=15;Ve++){var le=1<<Ve;if(Re&le){var ae=0,lt=et.inflate(4);ae|=lt[0]<<24,ae|=lt[1]<<16,ae|=lt[2]<<8,ae|=lt[3];var Ze=et.inflate(ae);le===ve&&(at=Ze)}}if(et.setInput(null),at!==null){for(var Te="",Jt=0;Jt<at.length;Jt++)Te+=String.fromCharCode(at[Jt]);at=Te,at=(0,A.decodeUTF8)(at),at.length>0&&at.charAt(at.length-1)==="\0"&&(at=at.slice(0,-1)),at=at.replace(`\r
|
|
|
`,`
|
|
|
`),this.dispatchEvent(new CustomEvent("clipboard",{detail:{text:at}}))}}else return this._fail("Unexpected action in extended clipboard message: "+ze)}return!0}},{key:"_handleServerFenceMsg",value:function(){if(this._sock.rQwait("ServerFence header",8,1))return!1;this._sock.rQskipBytes(3);var te=this._sock.rQshift32(),Z=this._sock.rQshift8();if(this._sock.rQwait("ServerFence payload",Z,9))return!1;Z>64&&(f.Warn("Bad payload length ("+Z+") in fence response"),Z=64);var ge=this._sock.rQshiftStr(Z);return this._supportsFence=!0,te&1<<31?(te&=1<<0|1<<1,Le.messages.clientFence(this._sock,te,ge),!0):this._fail("Unexpected fence response")}},{key:"_handleXvpMsg",value:function(){if(this._sock.rQwait("XVP version and message",3,1))return!1;this._sock.rQskipBytes(1);var te=this._sock.rQshift8(),Z=this._sock.rQshift8();switch(Z){case 0:f.Error("XVP Operation Failed");break;case 1:this._rfbXvpVer=te,f.Info("XVP extensions enabled (version "+this._rfbXvpVer+")"),this._setCapability("power",!0);break;default:this._fail("Illegal server XVP message (msg: "+Z+")");break}return!0}},{key:"_normalMsg",value:function(){var te;this._FBU.rects>0?te=0:te=this._sock.rQshift8();var Z,ge;switch(te){case 0:return ge=this._framebufferUpdate(),ge&&!this._enabledContinuousUpdates&&Le.messages.fbUpdateRequest(this._sock,!0,0,0,this._fbWidth,this._fbHeight),ge;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 Z=!this._supportsContinuousUpdates,this._supportsContinuousUpdates=!0,this._enabledContinuousUpdates=!1,Z&&(this._enabledContinuousUpdates=!0,this._updateContinuousUpdates(),f.Info("Enabling continuous updates.")),!0;case 248:return this._handleServerFenceMsg();case 250:return this._handleXvpMsg();default:return this._fail("Unexpected server message (type "+te+")"),f.Debug("sock.rQslice(0, 30): "+this._sock.rQslice(0,30)),!0}}},{key:"_onFlush",value:function(){this._flushing=!1,this._sock.rQlen>0&&this._handleMessage()}},{key:"_framebufferUpdate",value:function(){if(this._FBU.rects===0){if(this._sock.rQwait("FBU header",3,1))return!1;if(this._sock.rQskipBytes(1),this._FBU.rects=this._sock.rQshift16(),this._display.pending())return this._flushing=!0,this._display.flush(),!1}for(;this._FBU.rects>0;){if(this._FBU.encoding===null){if(this._sock.rQwait("rect header",12))return!1;var te=this._sock.rQshiftBytes(12);this._FBU.x=(te[0]<<8)+te[1],this._FBU.y=(te[2]<<8)+te[3],this._FBU.width=(te[4]<<8)+te[5],this._FBU.height=(te[6]<<8)+te[7],this._FBU.encoding=parseInt((te[8]<<24)+(te[9]<<16)+(te[10]<<8)+te[11],10)}if(!this._handleRect())return!1;this._FBU.rects--,this._FBU.encoding=null}return this._display.flip(),!0}},{key:"_handleRect",value:function(){switch(this._FBU.encoding){case p.encodings.pseudoEncodingLastRect:return this._FBU.rects=1,!0;case p.encodings.pseudoEncodingVMwareCursor:return this._handleVMwareCursor();case p.encodings.pseudoEncodingCursor:return this._handleCursor();case p.encodings.pseudoEncodingQEMUExtendedKeyEvent:try{var te=document.createEvent("keyboardEvent");te.code!==void 0&&(this._qemuExtKeyEventSupported=!0)}catch(Z){}return!0;case p.encodings.pseudoEncodingDesktopName:return this._handleDesktopName();case p.encodings.pseudoEncodingDesktopSize:return this._resize(this._FBU.width,this._FBU.height),!0;case p.encodings.pseudoEncodingExtendedDesktopSize:return this._handleExtendedDesktopSize();default:return this._handleDataRect()}}},{key:"_handleVMwareCursor",value:function(){var te=this._FBU.x,Z=this._FBU.y,ge=this._FBU.width,Re=this._FBU.height;if(this._sock.rQwait("VMware cursor encoding",1))return!1;var ze=this._sock.rQshift8();this._sock.rQshift8();var dt,De=4;if(ze==0){var Tt=4294967040|0;if(dt=new Array(ge*Re*De),this._sock.rQwait("VMware cursor classic encoding",ge*Re*De*2,2))return!1;for(var je=new Array(ge*Re),st=0;st<ge*Re;st++)je[st]=this._sock.rQshift32();for(var Xe=new Array(ge*Re),Je=0;Je<ge*Re;Je++)Xe[Je]=this._sock.rQshift32();for(var et=0;et<ge*Re;et++)if(je[et]==0){var at=Xe[et],Ve=at>>8&255,le=at>>16&255,ae=at>>24&255;dt[et*De]=Ve,dt[et*De+1]=le,dt[et*De+2]=ae,dt[et*De+3]=255}else(je[et]&Tt)==Tt?Xe[et]==0?(dt[et*De]=0,dt[et*De+1]=0,dt[et*De+2]=0,dt[et*De+3]=0):((Xe[et]&Tt)==Tt,dt[et*De]=0,dt[et*De+1]=0,dt[et*De+2]=0,dt[et*De+3]=255):(dt[et*De]=0,dt[et*De+1]=0,dt[et*De+2]=0,dt[et*De+3]=255)}else if(ze==1){if(this._sock.rQwait("VMware cursor alpha encoding",ge*Re*4,2))return!1;dt=new Array(ge*Re*De);for(var lt=0;lt<ge*Re;lt++){var Ze=this._sock.rQshift32();dt[lt*4]=Ze>>24&255,dt[lt*4+1]=Ze>>16&255,dt[lt*4+2]=Ze>>8&255,dt[lt*4+3]=Ze&255}}else return f.Warn("The given cursor type is not supported: "+ze+" given."),!1;return this._updateCursor(dt,te,Z,ge,Re),!0}},{key:"_handleCursor",value:function(){var te=this._FBU.x,Z=this._FBU.y,ge=this._FBU.width,Re=this._FBU.height,ze=ge*Re*4,dt=Math.ceil(ge/8)*Re,De=ze+dt;if(this._sock.rQwait("cursor encoding",De))return!1;for(var Tt=this._sock.rQshiftBytes(ze),je=this._sock.rQshiftBytes(dt),st=new Uint8Array(ge*Re*4),Xe=0,Je=0;Je<Re;Je++)for(var et=0;et<ge;et++){var at=Je*Math.ceil(ge/8)+Math.floor(et/8),Ve=je[at]<<et%8&128?255:0;st[Xe]=Tt[Xe+2],st[Xe+1]=Tt[Xe+1],st[Xe+2]=Tt[Xe],st[Xe+3]=Ve,Xe+=4}return this._updateCursor(st,te,Z,ge,Re),!0}},{key:"_handleDesktopName",value:function(){if(this._sock.rQwait("DesktopName",4))return!1;var te=this._sock.rQshift32();if(this._sock.rQwait("DesktopName",te,4))return!1;var Z=this._sock.rQshiftStr(te);return Z=(0,A.decodeUTF8)(Z,!0),this._setDesktopName(Z),!0}},{key:"_handleExtendedDesktopSize",value:function(){if(this._sock.rQwait("ExtendedDesktopSize",4))return!1;var te=this._sock.rQpeek8(),Z=4+te*16;if(this._sock.rQwait("ExtendedDesktopSize",Z))return!1;var ge=!this._supportsSetDesktopSize;this._supportsSetDesktopSize=!0,ge&&this._requestRemoteResize(),this._sock.rQskipBytes(1),this._sock.rQskipBytes(3);for(var Re=0;Re<te;Re+=1)Re===0?(this._screenID=this._sock.rQshiftBytes(4),this._sock.rQskipBytes(2),this._sock.rQskipBytes(2),this._sock.rQskipBytes(2),this._sock.rQskipBytes(2),this._screenFlags=this._sock.rQshiftBytes(4)):this._sock.rQskipBytes(16);if(this._FBU.x===1&&this._FBU.y!==0){var ze="";switch(this._FBU.y){case 1:ze="Resize is administratively prohibited";break;case 2:ze="Out of resources";break;case 3:ze="Invalid screen layout";break;default:ze="Unknown reason";break}f.Warn("Server did not accept the resize request: "+ze)}else this._resize(this._FBU.width,this._FBU.height);return!0}},{key:"_handleDataRect",value:function(){var te=this._decoders[this._FBU.encoding];if(!te)return this._fail("Unsupported encoding (encoding: "+this._FBU.encoding+")"),!1;try{return te.decodeRect(this._FBU.x,this._FBU.y,this._FBU.width,this._FBU.height,this._sock,this._display,this._fbDepth)}catch(Z){return this._fail("Error decoding rect: "+Z),!1}}},{key:"_updateContinuousUpdates",value:function(){if(!this._enabledContinuousUpdates)return;Le.messages.enableContinuousUpdates(this._sock,!0,0,0,this._fbWidth,this._fbHeight)}},{key:"_resize",value:function(te,Z){this._fbWidth=te,this._fbHeight=Z,this._display.resize(this._fbWidth,this._fbHeight),this._updateClip(),this._updateScale(),this._updateContinuousUpdates()}},{key:"_xvpOp",value:function(te,Z){if(this._rfbXvpVer<te)return;f.Info("Sending XVP operation "+Z+" (version "+te+")"),Le.messages.xvpOp(this._sock,te,Z)}},{key:"_updateCursor",value:function(te,Z,ge,Re,ze){this._cursorImage={rgbaPixels:te,hotx:Z,hoty:ge,w:Re,h:ze},this._refreshCursor()}},{key:"_shouldShowDotCursor",value:function(){if(!this._showDotCursor)return!1;for(var te=3;te<this._cursorImage.rgbaPixels.length;te+=4)if(this._cursorImage.rgbaPixels[te])return!1;return!0}},{key:"_refreshCursor",value:function(){if(this._rfbConnectionState!=="connecting"&&this._rfbConnectionState!=="connected")return;var te=this._shouldShowDotCursor()?Le.cursors.dot:this._cursorImage;this._cursor.change(te.rgbaPixels,te.hotx,te.hoty,te.w,te.h)}},{key:"viewOnly",get:function(){return this._viewOnly},set:function(te){this._viewOnly=te,(this._rfbConnectionState==="connecting"||this._rfbConnectionState==="connected")&&(te?this._keyboard.ungrab():this._keyboard.grab())}},{key:"capabilities",get:function(){return this._capabilities}},{key:"touchButton",get:function(){return 0},set:function(te){f.Warn("Using old API!")}},{key:"clipViewport",get:function(){return this._clipViewport},set:function(te){this._clipViewport=te,this._updateClip()}},{key:"scaleViewport",get:function(){return this._scaleViewport},set:function(te){this._scaleViewport=te,te&&this._clipViewport&&this._updateClip(),this._updateScale(),!te&&this._clipViewport&&this._updateClip()}},{key:"resizeSession",get:function(){return this._resizeSession},set:function(te){this._resizeSession=te,te&&this._requestRemoteResize()}},{key:"showDotCursor",get:function(){return this._showDotCursor},set:function(te){this._showDotCursor=te,this._refreshCursor()}},{key:"background",get:function(){return this._screen.style.background},set:function(te){this._screen.style.background=te}},{key:"qualityLevel",get:function(){return this._qualityLevel},set:function(te){if(!Number.isInteger(te)||te<0||te>9){f.Error("qualityLevel must be an integer between 0 and 9");return}if(this._qualityLevel===te)return;this._qualityLevel=te,this._rfbConnectionState==="connected"&&this._sendEncodings()}},{key:"compressionLevel",get:function(){return this._compressionLevel},set:function(te){if(!Number.isInteger(te)||te<0||te>9){f.Error("compressionLevel must be an integer between 0 and 9");return}if(this._compressionLevel===te)return;this._compressionLevel=te,this._rfbConnectionState==="connected"&&this._sendEncodings()}}],[{key:"genDES",value:function(te,Z){var ge=te.split("").map(function(Re){return Re.charCodeAt(0)});return new t.default(ge).encrypt(Z)}}]),Le}(c.default);D.default=J,J.messages={keyEvent:function(oe,Le,he){var te=oe._sQ,Z=oe._sQlen;te[Z]=4,te[Z+1]=he,te[Z+2]=0,te[Z+3]=0,te[Z+4]=Le>>24,te[Z+5]=Le>>16,te[Z+6]=Le>>8,te[Z+7]=Le,oe._sQlen+=8,oe.flush()},QEMUExtendedKeyEvent:function(oe,Le,he,te){function Z(dt){var De=te>>8,Tt=te&255;return De===224&&Tt<127?Tt|128:dt}var ge=oe._sQ,Re=oe._sQlen;ge[Re]=255,ge[Re+1]=0,ge[Re+2]=he>>8,ge[Re+3]=he,ge[Re+4]=Le>>24,ge[Re+5]=Le>>16,ge[Re+6]=Le>>8,ge[Re+7]=Le;var ze=Z(te);ge[Re+8]=ze>>24,ge[Re+9]=ze>>16,ge[Re+10]=ze>>8,ge[Re+11]=ze,oe._sQlen+=12,oe.flush()},pointerEvent:function(oe,Le,he,te){var Z=oe._sQ,ge=oe._sQlen;Z[ge]=5,Z[ge+1]=te,Z[ge+2]=Le>>8,Z[ge+3]=Le,Z[ge+4]=he>>8,Z[ge+5]=he,oe._sQlen+=6,oe.flush()},_buildExtendedClipboardFlags:function(oe,Le){for(var he=new Uint8Array(4),te=0,Z=0,ge=0;ge<oe.length;ge++)Z|=oe[ge];for(var Re=0;Re<Le.length;Re++)te|=Le[Re];return he[0]=Z>>24,he[1]=0,he[2]=0,he[3]=te,he},extendedClipboardProvide:function(oe,Le,he){for(var te=new r.default,Z=[],ge=0;ge<Le.length;ge++){if(Le[ge]!=ve)throw new Error("Unsupported extended clipboard format for Provide message.");he[ge]=he[ge].replace(/\r\n|\r|\n/gm,`\r
|
|
|
`);var Re=(0,A.encodeUTF8)(he[ge]+"\0");Z.push(Re.length>>24&255,Re.length>>16&255,Re.length>>8&255,Re.length&255);for(var ze=0;ze<Re.length;ze++)Z.push(Re.charCodeAt(ze))}var dt=te.deflate(new Uint8Array(Z)),De=new Uint8Array(4+dt.length);De.set(J.messages._buildExtendedClipboardFlags([V],Le)),De.set(dt,4),J.messages.clientCutText(oe,De,!0)},extendedClipboardNotify:function(oe,Le){var he=J.messages._buildExtendedClipboardFlags([Q],Le);J.messages.clientCutText(oe,he,!0)},extendedClipboardRequest:function(oe,Le){var he=J.messages._buildExtendedClipboardFlags([ot],Le);J.messages.clientCutText(oe,he,!0)},extendedClipboardCaps:function(oe,Le,he){var te=Object.keys(he),Z=new Uint8Array(4+4*te.length);te.map(function(ze){return parseInt(ze)}),te.sort(function(ze,dt){return ze-dt}),Z.set(J.messages._buildExtendedClipboardFlags(Le,[]));for(var ge=4,Re=0;Re<te.length;Re++)Z[ge]=he[te[Re]]>>24,Z[ge+1]=he[te[Re]]>>16,Z[ge+2]=he[te[Re]]>>8,Z[ge+3]=he[te[Re]]>>0,ge+=4,Z[3]|=1<<te[Re];J.messages.clientCutText(oe,Z,!0)},clientCutText:function(oe,Le){var he=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1,te=oe._sQ,Z=oe._sQlen;te[Z]=6,te[Z+1]=0,te[Z+2]=0,te[Z+3]=0;var ge;he?ge=(0,g.toUnsigned32bit)(-Le.length):ge=Le.length,te[Z+4]=ge>>24,te[Z+5]=ge>>16,te[Z+6]=ge>>8,te[Z+7]=ge,oe._sQlen+=8;for(var Re=0,ze=Le.length;ze>0;){for(var dt=Math.min(ze,oe._sQbufferSize-oe._sQlen),De=0;De<dt;De++)te[oe._sQlen+De]=Le[Re+De];oe._sQlen+=dt,oe.flush(),ze-=dt,Re+=dt}},setDesktopSize:function(oe,Le,he,te,Z){var ge=oe._sQ,Re=oe._sQlen;ge[Re]=251,ge[Re+1]=0,ge[Re+2]=Le>>8,ge[Re+3]=Le,ge[Re+4]=he>>8,ge[Re+5]=he,ge[Re+6]=1,ge[Re+7]=0,ge[Re+8]=te>>24,ge[Re+9]=te>>16,ge[Re+10]=te>>8,ge[Re+11]=te,ge[Re+12]=0,ge[Re+13]=0,ge[Re+14]=0,ge[Re+15]=0,ge[Re+16]=Le>>8,ge[Re+17]=Le,ge[Re+18]=he>>8,ge[Re+19]=he,ge[Re+20]=Z>>24,ge[Re+21]=Z>>16,ge[Re+22]=Z>>8,ge[Re+23]=Z,oe._sQlen+=24,oe.flush()},clientFence:function(oe,Le,he){var te=oe._sQ,Z=oe._sQlen;te[Z]=248,te[Z+1]=0,te[Z+2]=0,te[Z+3]=0,te[Z+4]=Le>>24,te[Z+5]=Le>>16,te[Z+6]=Le>>8,te[Z+7]=Le;var ge=he.length;te[Z+8]=ge;for(var Re=0;Re<ge;Re++)te[Z+9+Re]=he.charCodeAt(Re);oe._sQlen+=9+ge,oe.flush()},enableContinuousUpdates:function(oe,Le,he,te,Z,ge){var Re=oe._sQ,ze=oe._sQlen;Re[ze]=150,Re[ze+1]=Le,Re[ze+2]=he>>8,Re[ze+3]=he,Re[ze+4]=te>>8,Re[ze+5]=te,Re[ze+6]=Z>>8,Re[ze+7]=Z,Re[ze+8]=ge>>8,Re[ze+9]=ge,oe._sQlen+=10,oe.flush()},pixelFormat:function(oe,Le,he){var te=oe._sQ,Z=oe._sQlen,ge;Le>16?ge=32:Le>8?ge=16:ge=8;var Re=Math.floor(Le/3);te[Z]=0,te[Z+1]=0,te[Z+2]=0,te[Z+3]=0,te[Z+4]=ge,te[Z+5]=Le,te[Z+6]=0,te[Z+7]=he?1:0,te[Z+8]=0,te[Z+9]=(1<<Re)-1,te[Z+10]=0,te[Z+11]=(1<<Re)-1,te[Z+12]=0,te[Z+13]=(1<<Re)-1,te[Z+14]=Re*2,te[Z+15]=Re*1,te[Z+16]=Re*0,te[Z+17]=0,te[Z+18]=0,te[Z+19]=0,oe._sQlen+=20,oe.flush()},clientEncodings:function(oe,Le){var he=oe._sQ,te=oe._sQlen;he[te]=2,he[te+1]=0,he[te+2]=Le.length>>8,he[te+3]=Le.length;for(var Z=te+4,ge=0;ge<Le.length;ge++){var Re=Le[ge];he[Z]=Re>>24,he[Z+1]=Re>>16,he[Z+2]=Re>>8,he[Z+3]=Re,Z+=4}oe._sQlen+=Z-te,oe.flush()},fbUpdateRequest:function(oe,Le,he,te,Z,ge){var Re=oe._sQ,ze=oe._sQlen;typeof he=="undefined"&&(he=0),typeof te=="undefined"&&(te=0),Re[ze]=3,Re[ze+1]=Le?1:0,Re[ze+2]=he>>8&255,Re[ze+3]=he&255,Re[ze+4]=te>>8&255,Re[ze+5]=te&255,Re[ze+6]=Z>>8&255,Re[ze+7]=Z&255,Re[ze+8]=ge>>8&255,Re[ze+9]=ge&255,oe._sQlen+=10,oe.flush()},xvpOp:function(oe,Le,he){var te=oe._sQ,Z=oe._sQlen;te[Z]=250,te[Z+1]=0,te[Z+2]=Le,te[Z+3]=he,oe._sQlen+=4,oe.flush()}},J.cursors={none:{rgbaPixels:new Uint8Array,w:0,h:0,hotx:0,hoty:0},dot:{rgbaPixels:new Uint8Array([255,255,255,255,0,0,0,255,255,255,255,255,0,0,0,255,0,0,0,0,0,0,0,255,255,255,255,255,0,0,0,255,255,255,255,255]),w:3,h:3,hotx:1,hoty:1}}},"1eCo":function(R,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},A={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:A;for(var i in a)c[i]=a[i];for(var i in v)c[i]=v[i];var r,o;function d(I,M){function F(K){return M.tokenize=K,K(I,M)}var P=I.next();if(P=="<")return I.eat("!")?I.eat("[")?I.match("CDATA[")?F(t("atom","]]>")):null:I.match("--")?F(t("comment","-->")):I.match("DOCTYPE",!0,!0)?(I.eatWhile(/[\w\._\-]/),F(s(1))):null:I.eat("?")?(I.eatWhile(/[\w\._\-]/),M.tokenize=t("meta","?>"),"meta"):(r=I.eat("/")?"closeTag":"openTag",M.tokenize=n,"tag bracket");if(P=="&"){var j;return I.eat("#")?I.eat("x")?j=I.eatWhile(/[a-fA-F\d]/)&&I.eat(";"):j=I.eatWhile(/[\d]/)&&I.eat(";"):j=I.eatWhile(/[\w\.\-:]/)&&I.eat(";"),j?"atom":"error"}else return I.eatWhile(/[^&<]/),null}d.isInText=!0;function n(I,M){var F=I.next();if(F==">"||F=="/"&&I.eat(">"))return M.tokenize=d,r=F==">"?"endTag":"selfcloseTag","tag bracket";if(F=="=")return r="equals",null;if(F=="<"){M.tokenize=d,M.state=S,M.tagName=M.tagStart=null;var P=M.tokenize(I,M);return P?P+" tag error":"tag error"}else return/[\'\"]/.test(F)?(M.tokenize=l(F),M.stringStartCol=I.column(),M.tokenize(I,M)):(I.match(/^[^\s\u00a0=<>\"\']*[^\s\u00a0=<>\"\'\/]/),"word")}function l(I){var M=function(P,j){for(;!P.eol();)if(P.next()==I){j.tokenize=n;break}return"string"};return M.isInAttribute=!0,M}function t(I,M){return function(F,P){for(;!F.eol();){if(F.match(M)){P.tokenize=d;break}F.next()}return I}}function s(I){return function(M,F){for(var P;(P=M.next())!=null;){if(P=="<")return F.tokenize=s(I+1),F.tokenize(M,F);if(P==">")if(I==1){F.tokenize=d;break}else return F.tokenize=s(I-1),F.tokenize(M,F)}return"meta"}}function u(I,M,F){this.prev=I.context,this.tagName=M,this.indent=I.indented,this.startOfLine=F,(c.doNotIndent.hasOwnProperty(M)||I.context&&I.context.noIndent)&&(this.noIndent=!0)}function p(I){I.context&&(I.context=I.context.prev)}function x(I,M){for(var F;;){if(!I.context)return;if(F=I.context.tagName,!c.contextGrabbers.hasOwnProperty(F)||!c.contextGrabbers[F].hasOwnProperty(M))return;p(I)}}function S(I,M,F){return I=="openTag"?(F.tagStart=M.column(),T):I=="closeTag"?w:S}function T(I,M,F){return I=="word"?(F.tagName=M.current(),o="tag",_):c.allowMissingTagName&&I=="endTag"?(o="tag bracket",_(I,M,F)):(o="error",T)}function w(I,M,F){if(I=="word"){var P=M.current();return F.context&&F.context.tagName!=P&&c.implicitlyClosed.hasOwnProperty(F.context.tagName)&&p(F),F.context&&F.context.tagName==P||c.matchClosing===!1?(o="tag",E):(o="tag error",C)}else return c.allowMissingTagName&&I=="endTag"?(o="tag bracket",E(I,M,F)):(o="error",C)}function E(I,M,F){return I!="endTag"?(o="error",E):(p(F),S)}function C(I,M,F){return o="error",E(I,M,F)}function _(I,M,F){if(I=="word")return o="attribute",y;if(I=="endTag"||I=="selfcloseTag"){var P=F.tagName,j=F.tagStart;return F.tagName=F.tagStart=null,I=="selfcloseTag"||c.autoSelfClosers.hasOwnProperty(P)?x(F,P):(x(F,P),F.context=new u(F,P,j==F.indented)),S}return o="error",_}function y(I,M,F){return I=="equals"?b:(c.allowMissing||(o="error"),_(I,M,F))}function b(I,M,F){return I=="string"?O:I=="word"&&c.allowUnquoted?(o="string",_):(o="error",_(I,M,F))}function O(I,M,F){return I=="string"?O:_(I,M,F)}return{startState:function(M){var F={tokenize:d,state:S,indented:M||0,tagName:null,tagStart:null,context:null};return M!=null&&(F.baseIndent=M),F},token:function(M,F){if(!F.tagName&&M.sol()&&(F.indented=M.indentation()),M.eatSpace())return null;r=null;var P=F.tokenize(M,F);return(P||r)&&P!="comment"&&(o=null,F.state=F.state(r||P,M,F),o&&(P=o=="error"?P+" error":o)),P},indent:function(M,F,P){var j=M.context;if(M.tokenize.isInAttribute)return M.tagStart==M.indented?M.stringStartCol+1:M.indented+h;if(j&&j.noIndent)return g.Pass;if(M.tokenize!=n&&M.tokenize!=d)return P?P.match(/^(\s*)/)[0].length:0;if(M.tagName)return c.multilineTagIndentPastTag!==!1?M.tagStart+M.tagName.length+2:M.tagStart+h*(c.multilineTagIndentFactor||1);if(c.alignCDATA&&/<!\[CDATA\[/.test(F))return 0;var K=F&&/^<(\/)?([\w_:\.-]*)/.exec(F);if(K&&K[1])for(;j;)if(j.tagName==K[2]){j=j.prev;break}else if(c.implicitlyClosed.hasOwnProperty(j.tagName))j=j.prev;else break;else if(K)for(;j;){var N=c.contextGrabbers[j.tagName];if(N&&N.hasOwnProperty(K[2]))j=j.prev;else break}for(;j&&j.prev&&!j.startOfLine;)j=j.prev;return j?j.indent+h:M.baseIndent||0},electricInput:/<\/[\s\w:]+>$/,blockCommentStart:"<!--",blockCommentEnd:"-->",configuration:c.htmlMode?"html":"xml",helperType:c.htmlMode?"html":"xml",skipAttribute:function(M){M.state==b&&(M.state=_)},xmlCurrentTag:function(M){return M.tagName?{name:M.tagName,close:M.type=="closeTag"}:null},xmlCurrentContext:function(M){for(var F=[],P=M.context;P;P=P.prev)P.tagName&&F.push(P.tagName);return F.reverse()}}}),g.defineMIME("text/xml","xml"),g.defineMIME("application/xml","xml"),g.mimeModes.hasOwnProperty("text/html")||g.defineMIME("text/html",{name:"xml",htmlMode:!0})})},"1hJj":function(R,D,e){var g=e("e4Nc"),f=e("ftKO"),A=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=A,R.exports=m},"1j5w":function(R,D,e){"use strict";e.d(D,"e",function(){return Xe}),e.d(D,"b",function(){return Ee}),e.d(D,"d",function(){return Ee}),e.d(D,"c",function(){return Fe}),e.d(D,"a",function(){return Ge});var g=e("VTBJ"),f=e("1OyB"),A=e("vuIU"),m=e("JX7q"),v=e("Ji7U"),h=e("LK+K"),c=e("q1tI"),a=function(){var Ke=function(wt,Lt){return Ke=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(de,xe){de.__proto__=xe}||function(de,xe){for(var $ in xe)xe.hasOwnProperty($)&&(de[$]=xe[$])},Ke(wt,Lt)};return function(ct,wt){Ke(ct,wt);function Lt(){this.constructor=ct}ct.prototype=wt===null?Object.create(wt):(Lt.prototype=wt.prototype,new Lt)}}(),i=c.createContext(null),r=function(Ke){a(ct,Ke);function ct(){return Ke!==null&&Ke.apply(this,arguments)||this}return ct.prototype.render=function(){return c.createElement(i.Provider,{value:this.props.store},this.props.children)},ct}(c.Component),o=e("Gytx"),d=e.n(o),n=e("2mql"),l=e.n(n),t=function(){var Ke=function(wt,Lt){return Ke=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(de,xe){de.__proto__=xe}||function(de,xe){for(var $ in xe)xe.hasOwnProperty($)&&(de[$]=xe[$])},Ke(wt,Lt)};return function(ct,wt){Ke(ct,wt);function Lt(){this.constructor=ct}ct.prototype=wt===null?Object.create(wt):(Lt.prototype=wt.prototype,new Lt)}}(),s=function(){return s=Object.assign||function(Ke){for(var ct,wt=1,Lt=arguments.length;wt<Lt;wt++){ct=arguments[wt];for(var de in ct)Object.prototype.hasOwnProperty.call(ct,de)&&(Ke[de]=ct[de])}return Ke},s.apply(this,arguments)};function u(Ke){return Ke.displayName||Ke.name||"Component"}var p=function(){return{}};function x(Ke,ct){ct===void 0&&(ct={});var wt=!!Ke,Lt=Ke||p;return function(xe){var $=function(Oe){t(ke,Oe);function ke(Pe,rt){var At=Oe.call(this,Pe,rt)||this;return At.unsubscribe=null,At.handleChange=function(){if(!At.unsubscribe)return;var Wt=Lt(At.store.getState(),At.props);At.setState({subscribed:Wt})},At.store=At.context,At.state={subscribed:Lt(At.store.getState(),Pe),store:At.store,props:Pe},At}return ke.getDerivedStateFromProps=function(Pe,rt){return Ke&&Ke.length===2&&Pe!==rt.props?{subscribed:Lt(rt.store.getState(),Pe),props:Pe}:{props:Pe}},ke.prototype.componentDidMount=function(){this.trySubscribe()},ke.prototype.componentWillUnmount=function(){this.tryUnsubscribe()},ke.prototype.shouldComponentUpdate=function(Pe,rt){return!d()(this.props,Pe)||!d()(this.state.subscribed,rt.subscribed)},ke.prototype.trySubscribe=function(){wt&&(this.unsubscribe=this.store.subscribe(this.handleChange),this.handleChange())},ke.prototype.tryUnsubscribe=function(){this.unsubscribe&&(this.unsubscribe(),this.unsubscribe=null)},ke.prototype.render=function(){var Pe=s(s(s({},this.props),this.state.subscribed),{store:this.store});return c.createElement(xe,s({},Pe,{ref:this.props.miniStoreForwardedRef}))},ke.displayName="Connect("+u(xe)+")",ke.contextType=i,ke}(c.Component);if(ct.forwardRef){var se=c.forwardRef(function(Oe,ke){return c.createElement($,s({},Oe,{miniStoreForwardedRef:ke}))});return l()(se,xe)}return l()($,xe)}}var S=function(){return S=Object.assign||function(Ke){for(var ct,wt=1,Lt=arguments.length;wt<Lt;wt++){ct=arguments[wt];for(var de in ct)Object.prototype.hasOwnProperty.call(ct,de)&&(Ke[de]=ct[de])}return Ke},S.apply(this,arguments)};function T(Ke){var ct=Ke,wt=[];function Lt($){ct=S(S({},ct),$);for(var se=0;se<wt.length;se++)wt[se]()}function de(){return ct}function xe($){return wt.push($),function(){var Oe=wt.indexOf($);wt.splice(Oe,1)}}return{setState:Lt,getState:de,subscribe:xe}}var w=e("BGR+"),E=e("wx14"),C=e("rePB"),_=e("4IlW"),y=e("2GS6"),b=e("TSYQ"),O=e.n(b),I=e("U8pU"),M=e("ODXe"),F=/iPhone/i,P=/iPod/i,j=/iPad/i,K=/\bAndroid(?:.+)Mobile\b/i,N=/Android/i,B=/\bAndroid(?:.+)SD4930UR\b/i,U=/\bAndroid(?:.+)(?:KF[A-Z]{2,4})\b/i,H=/Windows Phone/i,z=/\bWindows(?:.+)ARM\b/i,X=/BlackBerry/i,W=/BB10/i,Y=/Opera Mini/i,q=/\b(CriOS|Chrome)(?:.+)Mobile/i,me=/Mobile(?:.+)Firefox\b/i;function G(Ke,ct){return Ke.test(ct)}function ye(Ke){var ct=Ke||(typeof navigator!="undefined"?navigator.userAgent:""),wt=ct.split("[FBAN");if(typeof wt[1]!="undefined"){var Lt=wt,de=Object(M.a)(Lt,1);ct=de[0]}if(wt=ct.split("Twitter"),typeof wt[1]!="undefined"){var xe=wt,$=Object(M.a)(xe,1);ct=$[0]}var se={apple:{phone:G(F,ct)&&!G(H,ct),ipod:G(P,ct),tablet:!G(F,ct)&&G(j,ct)&&!G(H,ct),device:(G(F,ct)||G(P,ct)||G(j,ct))&&!G(H,ct)},amazon:{phone:G(B,ct),tablet:!G(B,ct)&&G(U,ct),device:G(B,ct)||G(U,ct)},android:{phone:!G(H,ct)&&G(B,ct)||!G(H,ct)&&G(K,ct),tablet:!G(H,ct)&&!G(B,ct)&&!G(K,ct)&&(G(U,ct)||G(N,ct)),device:!G(H,ct)&&(G(B,ct)||G(U,ct)||G(K,ct)||G(N,ct))||G(/\bokhttp\b/i,ct)},windows:{phone:G(H,ct),tablet:G(z,ct),device:G(H,ct)||G(z,ct)},other:{blackberry:G(X,ct),blackberry10:G(W,ct),opera:G(Y,ct),firefox:G(me,ct),chrome:G(q,ct),device:G(X,ct)||G(W,ct)||G(Y,ct)||G(me,ct)||G(q,ct)},any:null,phone:null,tablet:null};return se.any=se.apple.device||se.android.device||se.windows.device||se.other.device,se.phone=se.apple.phone||se.android.phone||se.windows.phone,se.tablet=se.apple.tablet||se.android.tablet||se.windows.tablet,se}var Ae=Object(g.a)(Object(g.a)({},ye()),{},{isMobile:ye}),ve=Ae;function Ue(){}function Me(Ke,ct,wt){var Lt=ct||"";return Ke.key||"".concat(Lt,"item_").concat(wt)}function nt(Ke){return"".concat(Ke,"-menu-")}function ne(Ke,ct){var wt=-1;c.Children.forEach(Ke,function(Lt){wt+=1,Lt&&Lt.type&&Lt.type.isMenuItemGroup?c.Children.forEach(Lt.props.children,function(de){wt+=1,ct(de,wt)}):ct(Lt,wt)})}function be(Ke,ct,wt){if(!Ke||wt.find)return;c.Children.forEach(Ke,function(Lt){if(Lt){var de=Lt.type;if(!de||!(de.isSubMenu||de.isMenuItem||de.isMenuItemGroup))return;ct.indexOf(Lt.key)!==-1?wt.find=!0:Lt.props.children&&be(Lt.props.children,ct,wt)}})}var ot=["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"],ue=function(ct){var wt=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,Lt=ct&&typeof ct.getBoundingClientRect=="function"&&ct.getBoundingClientRect().width;if(Lt){if(wt){var de=getComputedStyle(ct),xe=de.marginLeft,$=de.marginRight;Lt+=+xe.replace("px","")+ +$.replace("px","")}Lt=+Lt.toFixed(6)}return Lt||0},Q=function(ct,wt,Lt){ct&&Object(I.a)(ct.style)==="object"&&(ct.style[wt]=Lt)},V=function(){return ve.any},J=e("KQm4"),fe=e("Ff2n"),oe=e("i8i4"),Le=e("bdgK"),he=e("uciX"),te=e("8XRh"),Z={adjustX:1,adjustY:1},ge={topLeft:{points:["bl","tl"],overflow:Z,offset:[0,-7]},bottomLeft:{points:["tl","bl"],overflow:Z,offset:[0,7]},leftTop:{points:["tr","tl"],overflow:Z,offset:[-4,0]},rightTop:{points:["tl","tr"],overflow:Z,offset:[4,0]}},Re={topLeft:{points:["bl","tl"],overflow:Z,offset:[0,-7]},bottomLeft:{points:["tl","bl"],overflow:Z,offset:[0,7]},rightTop:{points:["tr","tl"],overflow:Z,offset:[-4,0]},leftTop:{points:["tl","tr"],overflow:Z,offset:[4,0]}},ze=ge,dt=0,De={horizontal:"bottomLeft",vertical:"rightTop","vertical-left":"rightTop","vertical-right":"leftTop"},Tt=function(ct,wt,Lt){var de=nt(wt),xe=ct.getState();ct.setState({defaultActiveFirst:Object(g.a)(Object(g.a)({},xe.defaultActiveFirst),{},Object(C.a)({},de,Lt))})},je=function(Ke){Object(v.a)(wt,Ke);var ct=Object(h.a)(wt);function wt(Lt){var de;Object(f.a)(this,wt),de=ct.call(this,Lt),de.onDestroy=function(Pe){de.props.onDestroy(Pe)},de.onKeyDown=function(Pe){var rt=Pe.keyCode,At=de.menuInstance,Wt=de.props,$t=Wt.isOpen,Rt=Wt.store;if(rt===_.a.ENTER)return de.onTitleClick(Pe),Tt(Rt,de.props.eventKey,!0),!0;if(rt===_.a.RIGHT)return $t?At.onKeyDown(Pe):(de.triggerOpenChange(!0),Tt(Rt,de.props.eventKey,!0)),!0;if(rt===_.a.LEFT){var zt;if($t)zt=At.onKeyDown(Pe);else return;return zt||(de.triggerOpenChange(!1),zt=!0),zt}return $t&&(rt===_.a.UP||rt===_.a.DOWN)?At.onKeyDown(Pe):void 0},de.onOpenChange=function(Pe){de.props.onOpenChange(Pe)},de.onPopupVisibleChange=function(Pe){de.triggerOpenChange(Pe,Pe?"mouseenter":"mouseleave")},de.onMouseEnter=function(Pe){var rt=de.props,At=rt.eventKey,Wt=rt.onMouseEnter,$t=rt.store;Tt($t,de.props.eventKey,!1),Wt({key:At,domEvent:Pe})},de.onMouseLeave=function(Pe){var rt=de.props,At=rt.parentMenu,Wt=rt.eventKey,$t=rt.onMouseLeave;At.subMenuInstance=Object(m.a)(de),$t({key:Wt,domEvent:Pe})},de.onTitleMouseEnter=function(Pe){var rt=de.props,At=rt.eventKey,Wt=rt.onItemHover,$t=rt.onTitleMouseEnter;Wt({key:At,hover:!0}),$t({key:At,domEvent:Pe})},de.onTitleMouseLeave=function(Pe){var rt=de.props,At=rt.parentMenu,Wt=rt.eventKey,$t=rt.onItemHover,Rt=rt.onTitleMouseLeave;At.subMenuInstance=Object(m.a)(de),$t({key:Wt,hover:!1}),Rt({key:Wt,domEvent:Pe})},de.onTitleClick=function(Pe){var rt=Object(m.a)(de),At=rt.props;if(At.onTitleClick({key:At.eventKey,domEvent:Pe}),At.triggerSubMenuAction==="hover")return;de.triggerOpenChange(!At.isOpen,"click"),Tt(At.store,de.props.eventKey,!1)},de.onSubMenuClick=function(Pe){typeof de.props.onClick=="function"&&de.props.onClick(de.addKeyPath(Pe))},de.onSelect=function(Pe){de.props.onSelect(Pe)},de.onDeselect=function(Pe){de.props.onDeselect(Pe)},de.getPrefixCls=function(){return"".concat(de.props.rootPrefixCls,"-submenu")},de.getActiveClassName=function(){return"".concat(de.getPrefixCls(),"-active")},de.getDisabledClassName=function(){return"".concat(de.getPrefixCls(),"-disabled")},de.getSelectedClassName=function(){return"".concat(de.getPrefixCls(),"-selected")},de.getOpenClassName=function(){return"".concat(de.props.rootPrefixCls,"-submenu-open")},de.saveMenuInstance=function(Pe){de.menuInstance=Pe},de.addKeyPath=function(Pe){return Object(g.a)(Object(g.a)({},Pe),{},{keyPath:(Pe.keyPath||[]).concat(de.props.eventKey)})},de.triggerOpenChange=function(Pe,rt){var At=de.props.eventKey,Wt=function(){de.onOpenChange({key:At,item:Object(m.a)(de),trigger:rt,open:Pe})};rt==="mouseenter"?de.mouseenterTimeout=setTimeout(function(){Wt()},0):Wt()},de.isChildrenSelected=function(){var Pe={find:!1};return be(de.props.children,de.props.selectedKeys,Pe),Pe.find},de.isOpen=function(){return de.props.openKeys.indexOf(de.props.eventKey)!==-1},de.adjustWidth=function(){if(!de.subMenuTitle||!de.menuInstance)return;var Pe=oe.findDOMNode(de.menuInstance);if(Pe.offsetWidth>=de.subMenuTitle.offsetWidth)return;Pe.style.minWidth="".concat(de.subMenuTitle.offsetWidth,"px")},de.saveSubMenuTitle=function(Pe){de.subMenuTitle=Pe},de.getBaseProps=function(){var Pe=Object(m.a)(de),rt=Pe.props;return{mode:rt.mode==="horizontal"?"vertical":rt.mode,visible:de.props.isOpen,level:rt.level+1,inlineIndent:rt.inlineIndent,focusable:!1,onClick:de.onSubMenuClick,onSelect:de.onSelect,onDeselect:de.onDeselect,onDestroy:de.onDestroy,selectedKeys:rt.selectedKeys,eventKey:"".concat(rt.eventKey,"-menu-"),openKeys:rt.openKeys,motion:rt.motion,onOpenChange:de.onOpenChange,subMenuOpenDelay:rt.subMenuOpenDelay,parentMenu:Object(m.a)(de),subMenuCloseDelay:rt.subMenuCloseDelay,forceSubMenuRender:rt.forceSubMenuRender,triggerSubMenuAction:rt.triggerSubMenuAction,builtinPlacements:rt.builtinPlacements,defaultActiveFirst:rt.store.getState().defaultActiveFirst[nt(rt.eventKey)],multiple:rt.multiple,prefixCls:rt.rootPrefixCls,id:de.internalMenuId,manualRef:de.saveMenuInstance,itemIcon:rt.itemIcon,expandIcon:rt.expandIcon,direction:rt.direction}},de.getMotion=function(Pe,rt){var At=Object(m.a)(de),Wt=At.haveRendered,$t=de.props,Rt=$t.motion,zt=$t.rootPrefixCls,Gt=Object(g.a)(Object(g.a)({},Rt),{},{leavedClassName:"".concat(zt,"-hidden"),removeOnLeave:!1,motionAppear:Wt||!rt||Pe!=="inline"});return Gt};var xe=Lt.store,$=Lt.eventKey,se=xe.getState(),Oe=se.defaultActiveFirst;de.isRootMenu=!1;var ke=!1;return Oe&&(ke=Oe[$]),Tt(xe,$,ke),de}return Object(A.a)(wt,[{key:"componentDidMount",value:function(){this.componentDidUpdate()}},{key:"componentDidUpdate",value:function(){var de=this,xe=this.props,$=xe.mode,se=xe.parentMenu,Oe=xe.manualRef;if(Oe&&Oe(this),$!=="horizontal"||!se.isRootMenu||!this.props.isOpen)return;this.minWidthTimeout=setTimeout(function(){return de.adjustWidth()},0)}},{key:"componentWillUnmount",value:function(){var de=this.props,xe=de.onDestroy,$=de.eventKey;xe&&xe($),this.minWidthTimeout&&clearTimeout(this.minWidthTimeout),this.mouseenterTimeout&&clearTimeout(this.mouseenterTimeout)}},{key:"renderChildren",value:function(de){var xe=this,$=this.getBaseProps(),se=this.getMotion($.mode,$.visible);if(this.haveRendered=!0,this.haveOpened=this.haveOpened||$.visible||$.forceSubMenuRender,!this.haveOpened)return c.createElement("div",null);var Oe=$.direction;return c.createElement(te.default,Object.assign({visible:$.visible},se),function(ke){var Pe=ke.className,rt=ke.style,At=O()("".concat($.prefixCls,"-sub"),Pe,Object(C.a)({},"".concat($.prefixCls,"-rtl"),Oe==="rtl"));return c.createElement(ft,Object.assign({},$,{id:xe.internalMenuId,className:At,style:rt}),de)})}},{key:"render",value:function(){var de,xe=Object(g.a)({},this.props),$=xe.isOpen,se=this.getPrefixCls(),Oe=xe.mode==="inline",ke=O()(se,"".concat(se,"-").concat(xe.mode),(de={},Object(C.a)(de,xe.className,!!xe.className),Object(C.a)(de,this.getOpenClassName(),$),Object(C.a)(de,this.getActiveClassName(),xe.active||$&&!Oe),Object(C.a)(de,this.getDisabledClassName(),xe.disabled),Object(C.a)(de,this.getSelectedClassName(),this.isChildrenSelected()),de));this.internalMenuId||(xe.eventKey?this.internalMenuId="".concat(xe.eventKey,"$Menu"):(dt+=1,this.internalMenuId="$__$".concat(dt,"$Menu")));var Pe={},rt={},At={};xe.disabled||(Pe={onMouseLeave:this.onMouseLeave,onMouseEnter:this.onMouseEnter},rt={onClick:this.onTitleClick},At={onMouseEnter:this.onTitleMouseEnter,onMouseLeave:this.onTitleMouseLeave});var Wt={},$t=xe.direction;Oe&&($t==="rtl"?Wt.paddingRight=xe.inlineIndent*xe.level:Wt.paddingLeft=xe.inlineIndent*xe.level);var Rt={};this.props.isOpen&&(Rt={"aria-owns":this.internalMenuId});var zt=null;xe.mode!=="horizontal"&&(zt=this.props.expandIcon,typeof this.props.expandIcon=="function"&&(zt=c.createElement(this.props.expandIcon,Object(g.a)({},this.props))));var Gt=c.createElement("div",Object.assign({ref:this.saveSubMenuTitle,style:Wt,className:"".concat(se,"-title"),role:"button"},At,rt,{"aria-expanded":$},Rt,{"aria-haspopup":"true",title:typeof xe.title=="string"?xe.title:void 0}),xe.title,zt||c.createElement("i",{className:"".concat(se,"-arrow")})),Qt=this.renderChildren(xe.children),Mt=xe.parentMenu.isRootMenu?xe.parentMenu.props.getPopupContainer:function(kt){return kt.parentNode},dr=De[xe.mode],er=xe.popupOffset?{offset:xe.popupOffset}:{},ht=xe.mode==="inline"?"":xe.popupClassName;ht+=$t==="rtl"?" ".concat(se,"-rtl"):"";var Et=xe.disabled,pt=xe.triggerSubMenuAction,vt=xe.subMenuOpenDelay,Nt=xe.forceSubMenuRender,_t=xe.subMenuCloseDelay,gt=xe.builtinPlacements;ot.forEach(function(kt){return delete xe[kt]}),delete xe.onClick;var Ht=$t==="rtl"?Object.assign({},Re,gt):Object.assign({},ge,gt);return delete xe.direction,c.createElement("li",Object.assign({},xe,Pe,{className:ke,role:"menuitem"}),Oe&&Gt,Oe&&Qt,!Oe&&c.createElement(he.a,{prefixCls:se,popupClassName:O()("".concat(se,"-popup"),ht),getPopupContainer:Mt,builtinPlacements:Ht,popupPlacement:dr,popupVisible:$,popupAlign:er,popup:Qt,action:Et?[]:[pt],mouseEnterDelay:vt,mouseLeaveDelay:_t,onPopupVisibleChange:this.onPopupVisibleChange,forceRender:Nt},Gt))}}]),wt}(c.Component);je.defaultProps={onMouseEnter:Ue,onMouseLeave:Ue,onTitleMouseEnter:Ue,onTitleMouseLeave:Ue,onTitleClick:Ue,manualRef:Ue,mode:"vertical",title:""};var st=x(function(Ke,ct){var wt=Ke.openKeys,Lt=Ke.activeKey,de=Ke.selectedKeys,xe=ct.eventKey,$=ct.subMenuKey;return{isOpen:wt.indexOf(xe)>-1,active:Lt[$]===xe,selectedKeys:de}})(je);st.isSubMenu=!0;var Xe=st,Je="menuitem-overflowed",et=.5,at=function(Ke){Object(v.a)(wt,Ke);var ct=Object(h.a)(wt);function wt(){var Lt;return Object(f.a)(this,wt),Lt=ct.apply(this,arguments),Lt.resizeObserver=null,Lt.mutationObserver=null,Lt.originalTotalWidth=0,Lt.overflowedItems=[],Lt.menuItemSizes=[],Lt.cancelFrameId=null,Lt.state={lastVisibleIndex:void 0},Lt.getMenuItemNodes=function(){var de=Lt.props.prefixCls,xe=oe.findDOMNode(Object(m.a)(Lt));return xe?[].slice.call(xe.children).filter(function($){return $.className.split(" ").indexOf("".concat(de,"-overflowed-submenu"))<0}):[]},Lt.getOverflowedSubMenuItem=function(de,xe,$){var se=Lt.props,Oe=se.overflowedIndicator,ke=se.level,Pe=se.mode,rt=se.prefixCls,At=se.theme;if(ke!==1||Pe!=="horizontal")return null;var Wt=Lt.props.children[0],$t=Wt.props,Rt=$t.children,zt=$t.title,Gt=$t.style,Qt=Object(fe.a)($t,["children","title","style"]),Mt=Object(g.a)({},Gt),dr="".concat(de,"-overflowed-indicator"),er="".concat(de,"-overflowed-indicator");xe.length===0&&$!==!0?Mt=Object(g.a)(Object(g.a)({},Mt),{},{display:"none"}):$&&(Mt=Object(g.a)(Object(g.a)({},Mt),{},{visibility:"hidden",position:"absolute"}),dr="".concat(dr,"-placeholder"),er="".concat(er,"-placeholder"));var ht=At?"".concat(rt,"-").concat(At):"",Et={};return ot.forEach(function(pt){Qt[pt]!==void 0&&(Et[pt]=Qt[pt])}),c.createElement(Xe,Object.assign({title:Oe,className:"".concat(rt,"-overflowed-submenu"),popupClassName:ht},Et,{key:dr,eventKey:er,disabled:!1,style:Mt}),xe)},Lt.setChildrenWidthAndResize=function(){if(Lt.props.mode!=="horizontal")return;var de=oe.findDOMNode(Object(m.a)(Lt));if(!de)return;var xe=de.children;if(!xe||xe.length===0)return;var $=de.children[xe.length-1];Q($,"display","inline-block");var se=Lt.getMenuItemNodes(),Oe=se.filter(function(ke){return ke.className.split(" ").indexOf(Je)>=0});Oe.forEach(function(ke){Q(ke,"display","inline-block")}),Lt.menuItemSizes=se.map(function(ke){return ue(ke,!0)}),Oe.forEach(function(ke){Q(ke,"display","none")}),Lt.overflowedIndicatorWidth=ue(de.children[de.children.length-1],!0),Lt.originalTotalWidth=Lt.menuItemSizes.reduce(function(ke,Pe){return ke+Pe},0),Lt.handleResize(),Q($,"display","none")},Lt.handleResize=function(){if(Lt.props.mode!=="horizontal")return;var de=oe.findDOMNode(Object(m.a)(Lt));if(!de)return;var xe=ue(de);Lt.overflowedItems=[];var $=0,se;Lt.originalTotalWidth>xe+et&&(se=-1,Lt.menuItemSizes.forEach(function(Oe){$+=Oe,$+Lt.overflowedIndicatorWidth<=xe&&(se+=1)})),Lt.setState({lastVisibleIndex:se})},Lt}return Object(A.a)(wt,[{key:"componentDidMount",value:function(){var de=this;if(this.setChildrenWidthAndResize(),this.props.level===1&&this.props.mode==="horizontal"){var xe=oe.findDOMNode(this);if(!xe)return;this.resizeObserver=new Le.default(function($){$.forEach(function(){var se=de.cancelFrameId;cancelAnimationFrame(se),de.cancelFrameId=requestAnimationFrame(de.setChildrenWidthAndResize)})}),[].slice.call(xe.children).concat(xe).forEach(function($){de.resizeObserver.observe($)}),typeof MutationObserver!="undefined"&&(this.mutationObserver=new MutationObserver(function(){de.resizeObserver.disconnect(),[].slice.call(xe.children).concat(xe).forEach(function($){de.resizeObserver.observe($)}),de.setChildrenWidthAndResize()}),this.mutationObserver.observe(xe,{attributes:!1,childList:!0,subTree:!1}))}}},{key:"componentWillUnmount",value:function(){this.resizeObserver&&this.resizeObserver.disconnect(),this.mutationObserver&&this.mutationObserver.disconnect(),cancelAnimationFrame(this.cancelFrameId)}},{key:"renderChildren",value:function(de){var xe=this,$=this.state.lastVisibleIndex;return(de||[]).reduce(function(se,Oe,ke){var Pe=Oe;if(xe.props.mode==="horizontal"){var rt=xe.getOverflowedSubMenuItem(Oe.props.eventKey,[]);$!==void 0&&xe.props.className.indexOf("".concat(xe.props.prefixCls,"-root"))!==-1&&(ke>$&&(Pe=c.cloneElement(Oe,{style:{display:"none"},eventKey:"".concat(Oe.props.eventKey,"-hidden"),className:"".concat(Je)})),ke===$+1&&(xe.overflowedItems=de.slice($+1).map(function(Wt){return c.cloneElement(Wt,{key:Wt.props.eventKey,mode:"vertical-left"})}),rt=xe.getOverflowedSubMenuItem(Oe.props.eventKey,xe.overflowedItems)));var At=[].concat(Object(J.a)(se),[rt,Pe]);return ke===de.length-1&&At.push(xe.getOverflowedSubMenuItem(Oe.props.eventKey,[],!0)),At}return[].concat(Object(J.a)(se),[Pe])},[])}},{key:"render",value:function(){var de=this.props,xe=de.visible,$=de.prefixCls,se=de.overflowedIndicator,Oe=de.mode,ke=de.level,Pe=de.tag,rt=de.children,At=de.theme,Wt=Object(fe.a)(de,["visible","prefixCls","overflowedIndicator","mode","level","tag","children","theme"]),$t=Pe;return c.createElement($t,Object.assign({},Wt),this.renderChildren(rt))}}]),wt}(c.Component);at.defaultProps={tag:"div",className:""};var Ve=at;function le(Ke){return Ke.length?Ke.every(function(ct){return!!ct.props.disabled}):!0}function ae(Ke,ct,wt){var Lt=Ke.getState();Ke.setState({activeKey:Object(g.a)(Object(g.a)({},Lt.activeKey),{},Object(C.a)({},ct,wt))})}function lt(Ke){return Ke.eventKey||"0-menu-"}function Ze(Ke,ct){var wt=ct,Lt=Ke.children,de=Ke.eventKey;if(wt){var xe;if(ne(Lt,function($,se){$&&$.props&&!$.props.disabled&&wt===Me($,de,se)&&(xe=!0)}),xe)return wt}return wt=null,Ke.defaultActiveFirst&&ne(Lt,function($,se){!wt&&$&&!$.props.disabled&&(wt=Me($,de,se))}),wt}function Te(Ke){if(Ke){var ct=this.instanceArray.indexOf(Ke);ct!==-1?this.instanceArray[ct]=Ke:this.instanceArray.push(Ke)}}var Jt=function(Ke){Object(v.a)(wt,Ke);var ct=Object(h.a)(wt);function wt(Lt){var de;return Object(f.a)(this,wt),de=ct.call(this,Lt),de.onKeyDown=function(xe,$){var se=xe.keyCode,Oe;if(de.getFlatInstanceArray().forEach(function(Pe){Pe&&Pe.props.active&&Pe.onKeyDown&&(Oe=Pe.onKeyDown(xe))}),Oe)return 1;var ke=null;return(se===_.a.UP||se===_.a.DOWN)&&(ke=de.step(se===_.a.UP?-1:1)),ke?(xe.preventDefault(),ae(de.props.store,lt(de.props),ke.props.eventKey),typeof $=="function"&&$(ke),1):void 0},de.onItemHover=function(xe){var $=xe.key,se=xe.hover;ae(de.props.store,lt(de.props),se?$:null)},de.onDeselect=function(xe){de.props.onDeselect(xe)},de.onSelect=function(xe){de.props.onSelect(xe)},de.onClick=function(xe){de.props.onClick(xe)},de.onOpenChange=function(xe){de.props.onOpenChange(xe)},de.onDestroy=function(xe){de.props.onDestroy(xe)},de.getFlatInstanceArray=function(){return de.instanceArray},de.step=function(xe){var $=de.getFlatInstanceArray(),se=de.props.store.getState().activeKey[lt(de.props)],Oe=$.length;if(!Oe)return null;xe<0&&($=$.concat().reverse());var ke=-1;if($.every(function(Wt,$t){return Wt&&Wt.props.eventKey===se?(ke=$t,!1):!0}),!de.props.defaultActiveFirst&&ke!==-1&&le($.slice(ke,Oe-1)))return;var Pe=(ke+1)%Oe,rt=Pe;do{var At=$[rt];if(!At||At.props.disabled)rt=(rt+1)%Oe;else return At}while(rt!==Pe);return null},de.renderCommonMenuItem=function(xe,$,se){var Oe=de.props.store.getState(),ke=Object(m.a)(de),Pe=ke.props,rt=Me(xe,Pe.eventKey,$),At=xe.props;if(!At||typeof xe.type=="string")return xe;var Wt=rt===Oe.activeKey,$t=Object(g.a)(Object(g.a)({mode:At.mode||Pe.mode,level:Pe.level,inlineIndent:Pe.inlineIndent,renderMenuItem:de.renderMenuItem,rootPrefixCls:Pe.prefixCls,index:$,parentMenu:Pe.parentMenu,manualRef:At.disabled?void 0:Object(y.a)(xe.ref,Te.bind(Object(m.a)(de))),eventKey:rt,active:!At.disabled&&Wt,multiple:Pe.multiple,onClick:function(zt){(At.onClick||Ue)(zt),de.onClick(zt)},onItemHover:de.onItemHover,motion:Pe.motion,subMenuOpenDelay:Pe.subMenuOpenDelay,subMenuCloseDelay:Pe.subMenuCloseDelay,forceSubMenuRender:Pe.forceSubMenuRender,onOpenChange:de.onOpenChange,onDeselect:de.onDeselect,onSelect:de.onSelect,builtinPlacements:Pe.builtinPlacements,itemIcon:At.itemIcon||de.props.itemIcon,expandIcon:At.expandIcon||de.props.expandIcon},se),{},{direction:Pe.direction});return(Pe.mode==="inline"||V())&&($t.triggerSubMenuAction="click"),c.cloneElement(xe,$t)},de.renderMenuItem=function(xe,$,se){if(!xe)return null;var Oe=de.props.store.getState(),ke={openKeys:Oe.openKeys,selectedKeys:Oe.selectedKeys,triggerSubMenuAction:de.props.triggerSubMenuAction,subMenuKey:se};return de.renderCommonMenuItem(xe,$,ke)},Lt.store.setState({activeKey:Object(g.a)(Object(g.a)({},Lt.store.getState().activeKey),{},Object(C.a)({},Lt.eventKey,Ze(Lt,Lt.activeKey)))}),de.instanceArray=[],de}return Object(A.a)(wt,[{key:"componentDidMount",value:function(){this.props.manualRef&&this.props.manualRef(this)}},{key:"shouldComponentUpdate",value:function(de){return this.props.visible||de.visible||this.props.className!==de.className||!d()(this.props.style,de.style)}},{key:"componentDidUpdate",value:function(de){var xe=this.props,$="activeKey"in xe?xe.activeKey:xe.store.getState().activeKey[lt(xe)],se=Ze(xe,$);if(se!==$)ae(xe.store,lt(xe),se);else if("activeKey"in de){var Oe=Ze(de,de.activeKey);se!==Oe&&ae(xe.store,lt(xe),se)}}},{key:"render",value:function(){var de=this,xe=Object(E.a)({},this.props);this.instanceArray=[];var $=O()(xe.prefixCls,xe.className,"".concat(xe.prefixCls,"-").concat(xe.mode)),se={className:$,role:xe.role||"menu"};xe.id&&(se.id=xe.id),xe.focusable&&(se.tabIndex=0,se.onKeyDown=this.onKeyDown);var Oe=xe.prefixCls,ke=xe.eventKey,Pe=xe.visible,rt=xe.level,At=xe.mode,Wt=xe.overflowedIndicator,$t=xe.theme;return ot.forEach(function(Rt){return delete xe[Rt]}),delete xe.onClick,c.createElement(Ve,Object.assign({},xe,{prefixCls:Oe,mode:At,tag:"ul",level:rt,theme:$t,visible:Pe,overflowedIndicator:Wt},se),c.Children.map(xe.children,function(Rt,zt){return de.renderMenuItem(Rt,zt,ke||"0-menu-")}))}}]),wt}(c.Component);Jt.defaultProps={prefixCls:"rc-menu",className:"",mode:"vertical",level:1,inlineIndent:24,visible:!0,focusable:!0,style:{},manualRef:Ue};var mt=x()(Jt),ft=mt,bt=e("Kwbf");function It(Ke,ct,wt){var Lt=Ke.prefixCls,de=Ke.motion,xe=Ke.defaultMotions,$=xe===void 0?{}:xe,se=Ke.openAnimation,Oe=Ke.openTransitionName,ke=ct.switchingModeFromInline;if(de)return de;if(Object(I.a)(se)==="object"&&se)Object(bt.a)(!1,"Object type of `openAnimation` is removed. Please use `motion` instead.");else if(typeof se=="string")return{motionName:"".concat(Lt,"-open-").concat(se)};if(Oe)return{motionName:Oe};var Pe=$[wt];return Pe||(ke?null:$.other)}var or=function(Ke){Object(v.a)(wt,Ke);var ct=Object(h.a)(wt);function wt(Lt){var de;Object(f.a)(this,wt),de=ct.call(this,Lt),de.inlineOpenKeys=[],de.onSelect=function(se){var Oe=Object(m.a)(de),ke=Oe.props;if(ke.selectable){var Pe=de.store.getState(),rt=Pe.selectedKeys,At=se.key;ke.multiple?rt=rt.concat([At]):rt=[At],"selectedKeys"in ke||de.store.setState({selectedKeys:rt}),ke.onSelect(Object(g.a)(Object(g.a)({},se),{},{selectedKeys:rt}))}},de.onClick=function(se){var Oe=de.getRealMenuMode(),ke=Object(m.a)(de),Pe=ke.store,rt=ke.props.onOpenChange;Oe!=="inline"&&!("openKeys"in de.props)&&(Pe.setState({openKeys:[]}),rt([])),de.props.onClick(se)},de.onKeyDown=function(se,Oe){de.innerMenu.getWrappedInstance().onKeyDown(se,Oe)},de.onOpenChange=function(se){var Oe=Object(m.a)(de),ke=Oe.props,Pe=de.store.getState().openKeys.concat(),rt=!1,At=function($t){var Rt=!1;if($t.open)Rt=Pe.indexOf($t.key)===-1,Rt&&Pe.push($t.key);else{var zt=Pe.indexOf($t.key);Rt=zt!==-1,Rt&&Pe.splice(zt,1)}rt=rt||Rt};Array.isArray(se)?se.forEach(At):At(se),rt&&("openKeys"in de.props||de.store.setState({openKeys:Pe}),ke.onOpenChange(Pe))},de.onDeselect=function(se){var Oe=Object(m.a)(de),ke=Oe.props;if(ke.selectable){var Pe=de.store.getState().selectedKeys.concat(),rt=se.key,At=Pe.indexOf(rt);At!==-1&&Pe.splice(At,1),"selectedKeys"in ke||de.store.setState({selectedKeys:Pe}),ke.onDeselect(Object(g.a)(Object(g.a)({},se),{},{selectedKeys:Pe}))}},de.onMouseEnter=function(se){de.restoreModeVerticalFromInline();var Oe=de.props.onMouseEnter;Oe&&Oe(se)},de.onTransitionEnd=function(se){var Oe=se.propertyName==="width"&&se.target===se.currentTarget,ke=se.target.className,Pe=Object.prototype.toString.call(ke)==="[object SVGAnimatedString]"?ke.animVal:ke,rt=se.propertyName==="font-size"&&Pe.indexOf("anticon")>=0;(Oe||rt)&&de.restoreModeVerticalFromInline()},de.setInnerMenu=function(se){de.innerMenu=se},de.isRootMenu=!0;var xe=Lt.defaultSelectedKeys,$=Lt.defaultOpenKeys;return"selectedKeys"in Lt&&(xe=Lt.selectedKeys||[]),"openKeys"in Lt&&($=Lt.openKeys||[]),de.store=T({selectedKeys:xe,openKeys:$,activeKey:{"0-menu-":Ze(Lt,Lt.activeKey)}}),de.state={switchingModeFromInline:!1},de}return Object(A.a)(wt,[{key:"componentDidMount",value:function(){this.updateMiniStore(),this.updateMenuDisplay()}},{key:"componentDidUpdate",value:function(de){this.updateOpentKeysWhenSwitchMode(de),this.updateMiniStore();var xe=this.props,$=xe.siderCollapsed,se=xe.inlineCollapsed,Oe=xe.onOpenChange;(!de.inlineCollapsed&&se||!de.siderCollapsed&&$)&&Oe([]),this.updateMenuDisplay()}},{key:"updateOpentKeysWhenSwitchMode",value:function(de){var xe=this.props,$=this.store,se=this.inlineOpenKeys,Oe=$.getState(),ke={};de.mode==="inline"&&xe.mode!=="inline"&&this.setState({switchingModeFromInline:!0}),"openKeys"in xe||((xe.inlineCollapsed&&!de.inlineCollapsed||xe.siderCollapsed&&!de.siderCollapsed)&&(this.setState({switchingModeFromInline:!0}),this.inlineOpenKeys=Oe.openKeys.concat(),ke.openKeys=[]),(!xe.inlineCollapsed&&de.inlineCollapsed||!xe.siderCollapsed&&de.siderCollapsed)&&(ke.openKeys=se,this.inlineOpenKeys=[])),Object.keys(ke).length&&$.setState(ke)}},{key:"updateMenuDisplay",value:function(){var de=this.props.collapsedWidth,xe=this.store,$=this.prevOpenKeys,se=this.getInlineCollapsed()&&(de===0||de==="0"||de==="0px");se?(this.prevOpenKeys=xe.getState().openKeys.concat(),this.store.setState({openKeys:[]})):$&&(this.store.setState({openKeys:$}),this.prevOpenKeys=null)}},{key:"getRealMenuMode",value:function(){var de=this.props.mode,xe=this.state.switchingModeFromInline,$=this.getInlineCollapsed();return xe&&$?"inline":$?"vertical":de}},{key:"getInlineCollapsed",value:function(){var de=this.props,xe=de.inlineCollapsed,$=de.siderCollapsed;return $!==void 0?$:xe}},{key:"restoreModeVerticalFromInline",value:function(){var de=this.state.switchingModeFromInline;de&&this.setState({switchingModeFromInline:!1})}},{key:"updateMiniStore",value:function(){"selectedKeys"in this.props&&this.store.setState({selectedKeys:this.props.selectedKeys||[]}),"openKeys"in this.props&&this.store.setState({openKeys:this.props.openKeys||[]})}},{key:"render",value:function(){var de=Object(g.a)({},Object(w.default)(this.props,["collapsedWidth","siderCollapsed","defaultMotions"])),xe=this.getRealMenuMode();return de.className+=" ".concat(de.prefixCls,"-root"),de.direction==="rtl"&&(de.className+=" ".concat(de.prefixCls,"-rtl")),de=Object(g.a)(Object(g.a)({},de),{},{mode:xe,onClick:this.onClick,onOpenChange:this.onOpenChange,onDeselect:this.onDeselect,onSelect:this.onSelect,onMouseEnter:this.onMouseEnter,onTransitionEnd:this.onTransitionEnd,parentMenu:this,motion:It(this.props,this.state,xe)}),delete de.openAnimation,delete de.openTransitionName,c.createElement(r,{store:this.store},c.createElement(ft,Object.assign({},de,{ref:this.setInnerMenu}),this.props.children))}}]),wt}(c.Component);or.defaultProps={selectable:!0,onClick:Ue,onSelect:Ue,onOpenChange:Ue,onDeselect:Ue,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,_e=function(Ke){Object(v.a)(wt,Ke);var ct=Object(h.a)(wt);function wt(){var Lt;return Object(f.a)(this,wt),Lt=ct.apply(this,arguments),Lt.onKeyDown=function(de){var xe=de.keyCode;return xe===_.a.ENTER?(Lt.onClick(de),!0):void 0},Lt.onMouseLeave=function(de){var xe=Lt.props,$=xe.eventKey,se=xe.onItemHover,Oe=xe.onMouseLeave;se({key:$,hover:!1}),Oe({key:$,domEvent:de})},Lt.onMouseEnter=function(de){var xe=Lt.props,$=xe.eventKey,se=xe.onItemHover,Oe=xe.onMouseEnter;se({key:$,hover:!0}),Oe({key:$,domEvent:de})},Lt.onClick=function(de){var xe=Lt.props,$=xe.eventKey,se=xe.multiple,Oe=xe.onClick,ke=xe.onSelect,Pe=xe.onDeselect,rt=xe.isSelected,At={key:$,keyPath:[$],item:Object(m.a)(Lt),domEvent:de};Oe(At),se?rt?Pe(At):ke(At):rt||ke(At)},Lt.saveNode=function(de){Lt.node=de},Lt}return Object(A.a)(wt,[{key:"componentDidMount",value:function(){this.callRef()}},{key:"componentDidUpdate",value:function(){this.callRef()}},{key:"componentWillUnmount",value:function(){var de=this.props;de.onDestroy&&de.onDestroy(de.eventKey)}},{key:"getPrefixCls",value:function(){return"".concat(this.props.rootPrefixCls,"-item")}},{key:"getActiveClassName",value:function(){return"".concat(this.getPrefixCls(),"-active")}},{key:"getSelectedClassName",value:function(){return"".concat(this.getPrefixCls(),"-selected")}},{key:"getDisabledClassName",value:function(){return"".concat(this.getPrefixCls(),"-disabled")}},{key:"callRef",value:function(){this.props.manualRef&&this.props.manualRef(this)}},{key:"render",value:function(){var de,xe=Object(g.a)({},this.props),$=O()(this.getPrefixCls(),xe.className,(de={},Object(C.a)(de,this.getActiveClassName(),!xe.disabled&&xe.active),Object(C.a)(de,this.getSelectedClassName(),xe.isSelected),Object(C.a)(de,this.getDisabledClassName(),xe.disabled),de)),se=Object(g.a)(Object(g.a)({},xe.attribute),{},{title:typeof xe.title=="string"?xe.title:void 0,className:$,role:xe.role||"menuitem","aria-disabled":xe.disabled});xe.role==="option"?se=Object(g.a)(Object(g.a)({},se),{},{role:"option","aria-selected":xe.isSelected}):(xe.role===null||xe.role==="none")&&(se.role="none");var Oe={onClick:xe.disabled?null:this.onClick,onMouseLeave:xe.disabled?null:this.onMouseLeave,onMouseEnter:xe.disabled?null:this.onMouseEnter},ke=Object(g.a)({},xe.style);xe.mode==="inline"&&(xe.direction==="rtl"?ke.paddingRight=xe.inlineIndent*xe.level:ke.paddingLeft=xe.inlineIndent*xe.level),ot.forEach(function(rt){return delete xe[rt]}),delete xe.direction;var Pe=this.props.itemIcon;return typeof this.props.itemIcon=="function"&&(Pe=c.createElement(this.props.itemIcon,this.props)),c.createElement("li",Object.assign({},Object(w.default)(xe,["onClick","onMouseEnter","onMouseLeave","onSelect"]),se,Oe,{style:ke,ref:this.saveNode}),xe.children,Pe)}}]),wt}(c.Component);_e.isMenuItem=!0,_e.defaultProps={onSelect:Ue,onMouseEnter:Ue,onMouseLeave:Ue,manualRef:Ue};var Ce=x(function(Ke,ct){var wt=Ke.activeKey,Lt=Ke.selectedKeys,de=ct.eventKey,xe=ct.subMenuKey;return{active:wt[xe]===de,isSelected:Lt.indexOf(de)!==-1}})(_e),Ee=Ce,we=function(Ke){Object(v.a)(wt,Ke);var ct=Object(h.a)(wt);function wt(){var Lt;return Object(f.a)(this,wt),Lt=ct.apply(this,arguments),Lt.renderInnerMenuItem=function(de){var xe=Lt.props,$=xe.renderMenuItem,se=xe.index;return $(de,se,Lt.props.subMenuKey)},Lt}return Object(A.a)(wt,[{key:"render",value:function(){var de=Object(E.a)({},this.props),xe=de.className,$=xe===void 0?"":xe,se=de.rootPrefixCls,Oe="".concat(se,"-item-group-title"),ke="".concat(se,"-item-group-list"),Pe=de.title,rt=de.children;return ot.forEach(function(At){return delete de[At]}),delete de.onClick,delete de.direction,c.createElement("li",Object.assign({},de,{className:"".concat($," ").concat(se,"-item-group")}),c.createElement("div",{className:Oe,title:typeof Pe=="string"?Pe:void 0},Pe),c.createElement("ul",{className:ke},c.Children.map(rt,this.renderInnerMenuItem)))}}]),wt}(c.Component);we.isMenuItemGroup=!0,we.defaultProps={disabled:!0};var Fe=we,Ye=function(ct){var wt=ct.className,Lt=ct.rootPrefixCls,de=ct.style;return c.createElement("li",{className:"".concat(wt," ").concat(Lt,"-item-divider"),style:de})};Ye.defaultProps={disabled:!0,className:"",style:{}};var Ge=Ye,qe=D.f=Pt},"1n7x":function(R,D,e){(function(g,f){(function(A,m){R.exports=m(e("5RHE"),e("wOnQ"))})(this,function(A,m){"use strict";A=A&&A.hasOwnProperty("default")?A.default:A,m=m&&m.hasOwnProperty("default")?m.default:m;var v=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(w){return typeof w}:function(w){return w&&typeof Symbol=="function"&&w.constructor===Symbol&&w!==Symbol.prototype?"symbol":typeof w},h=Object.assign||function(w){for(var E=1;E<arguments.length;E++){var C=arguments[E];for(var _ in C)Object.prototype.hasOwnProperty.call(C,_)&&(w[_]=C[_])}return w},c=function(E){var C=typeof E=="undefined"?"undefined":v(E);return C==="undefined"?"undefined":C==="string"||E instanceof String?"string":C==="number"||E instanceof Number?"number":C==="function"||E instanceof Function?"function":!!E&&E.constructor===Array?"array":E&&E.nodeType===1?"element":C==="object"?"object":"unknown"},a=function(E,C){var _=document.createElement(E);if(C.className&&(_.className=C.className),C.innerHTML){_.innerHTML=C.innerHTML;for(var y=_.getElementsByTagName("script"),b=y.length;b-- >0;null)y[b].parentNode.removeChild(y[b])}for(var O in C.style)_.style[O]=C.style[O];return _},i=function w(E,C){for(var _=E.nodeType===3?document.createTextNode(E.nodeValue):E.cloneNode(!1),y=E.firstChild;y;y=y.nextSibling)(C===!0||y.nodeType!==1||y.nodeName!=="SCRIPT")&&_.appendChild(w(y,C));return E.nodeType===1&&(E.nodeName==="CANVAS"?(_.width=E.width,_.height=E.height,_.getContext("2d").drawImage(E,0,0)):(E.nodeName==="TEXTAREA"||E.nodeName==="SELECT")&&(_.value=E.value),_.addEventListener("load",function(){_.scrollTop=E.scrollTop,_.scrollLeft=E.scrollLeft},!0)),_},r=function(E,C){if(c(E)==="number")return E*72/96/C;var _={};for(var y in E)_[y]=E[y]*72/96/C;return _},o=function(E,C){return Math.floor(E*C/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(w,E){return E={exports:{}},w(E,E.exports),E.exports}var t=l(function(w,E){/*!
|
|
|
* @overview es6-promise - a tiny implementation of Promises/A+.
|
|
|
* @copyright Copyright (c) 2014 Yehuda Katz, Tom Dale, Stefan Penner and contributors (Conversion to ES6 API by Jake Archibald)
|
|
|
* @license Licensed under MIT license
|
|
|
* See https://raw.githubusercontent.com/stefanpenner/es6-promise/master/LICENSE
|
|
|
* @version v4.2.5+7f2b526d
|
|
|
*/(function(C,_){w.exports=_()})(d,function(){function C(mt){var ft=typeof mt;return mt!==null&&(ft==="object"||ft==="function")}function _(mt){return typeof mt=="function"}var y=void 0;Array.isArray?y=Array.isArray:y=function(ft){return Object.prototype.toString.call(ft)==="[object Array]"};var b=y,O=0,I=void 0,M=void 0,F=function(ft,bt){me[O]=ft,me[O+1]=bt,O+=2,O===2&&(M?M(G):Ae())};function P(mt){M=mt}function j(mt){F=mt}var K=typeof window!="undefined"?window:void 0,N=K||{},B=N.MutationObserver||N.WebKitMutationObserver,U=typeof self=="undefined"&&typeof f!="undefined"&&{}.toString.call(f)==="[object process]",H=typeof Uint8ClampedArray!="undefined"&&typeof importScripts!="undefined"&&typeof MessageChannel!="undefined";function z(){return function(){return f.nextTick(G)}}function X(){return typeof I!="undefined"?function(){I(G)}:q()}function W(){var mt=0,ft=new B(G),bt=document.createTextNode("");return ft.observe(bt,{characterData:!0}),function(){bt.data=mt=++mt%2}}function Y(){var mt=new MessageChannel;return mt.port1.onmessage=G,function(){return mt.port2.postMessage(0)}}function q(){var mt=setTimeout;return function(){return mt(G,1)}}var me=new Array(1e3);function G(){for(var mt=0;mt<O;mt+=2){var ft=me[mt],bt=me[mt+1];ft(bt),me[mt]=void 0,me[mt+1]=void 0}O=0}function ye(){try{var mt=Function("return this")().require("vertx");return I=mt.runOnLoop||mt.runOnContext,X()}catch(ft){return q()}}var Ae=void 0;U?Ae=z():B?Ae=W():H?Ae=Y():K===void 0&&typeof n=="function"?Ae=ye():Ae=q();function ve(mt,ft){var bt=this,It=new this.constructor(nt);It[Me]===void 0&&Je(It);var or=bt._state;if(or){var Pt=arguments[or-1];F(function(){return Tt(or,It,Pt,bt._result)})}else ze(bt,It,mt,ft);return It}function Ue(mt){var ft=this;if(mt&&typeof mt=="object"&&mt.constructor===ft)return mt;var bt=new ft(nt);return te(bt,mt),bt}var Me=Math.random().toString(36).substring(2);function nt(){}var ne=void 0,be=1,ot=2,ue={error:null};function Q(){return new TypeError("You cannot resolve a promise with itself")}function V(){return new TypeError("A promises callback cannot return that same promise.")}function J(mt){try{return mt.then}catch(ft){return ue.error=ft,ue}}function fe(mt,ft,bt,It){try{mt.call(ft,bt,It)}catch(or){return or}}function oe(mt,ft,bt){F(function(It){var or=!1,Pt=fe(bt,ft,function(_e){if(or)return;or=!0,ft!==_e?te(It,_e):ge(It,_e)},function(_e){if(or)return;or=!0,Re(It,_e)},"Settle: "+(It._label||" unknown promise"));!or&&Pt&&(or=!0,Re(It,Pt))},mt)}function Le(mt,ft){ft._state===be?ge(mt,ft._result):ft._state===ot?Re(mt,ft._result):ze(ft,void 0,function(bt){return te(mt,bt)},function(bt){return Re(mt,bt)})}function he(mt,ft,bt){ft.constructor===mt.constructor&&bt===ve&&ft.constructor.resolve===Ue?Le(mt,ft):bt===ue?(Re(mt,ue.error),ue.error=null):bt===void 0?ge(mt,ft):_(bt)?oe(mt,ft,bt):ge(mt,ft)}function te(mt,ft){mt===ft?Re(mt,Q()):C(ft)?he(mt,ft,J(ft)):ge(mt,ft)}function Z(mt){mt._onerror&&mt._onerror(mt._result),dt(mt)}function ge(mt,ft){if(mt._state!==ne)return;mt._result=ft,mt._state=be,mt._subscribers.length!==0&&F(dt,mt)}function Re(mt,ft){if(mt._state!==ne)return;mt._state=ot,mt._result=ft,F(Z,mt)}function ze(mt,ft,bt,It){var or=mt._subscribers,Pt=or.length;mt._onerror=null,or[Pt]=ft,or[Pt+be]=bt,or[Pt+ot]=It,Pt===0&&mt._state&&F(dt,mt)}function dt(mt){var ft=mt._subscribers,bt=mt._state;if(ft.length===0)return;for(var It=void 0,or=void 0,Pt=mt._result,_e=0;_e<ft.length;_e+=3)It=ft[_e],or=ft[_e+bt],It?Tt(bt,It,or,Pt):or(Pt);mt._subscribers.length=0}function De(mt,ft){try{return mt(ft)}catch(bt){return ue.error=bt,ue}}function Tt(mt,ft,bt,It){var or=_(bt),Pt=void 0,_e=void 0,Ce=void 0,Ee=void 0;if(or){if(Pt=De(bt,It),Pt===ue?(Ee=!0,_e=Pt.error,Pt.error=null):Ce=!0,ft===Pt){Re(ft,V());return}}else Pt=It,Ce=!0;ft._state!==ne||(or&&Ce?te(ft,Pt):Ee?Re(ft,_e):mt===be?ge(ft,Pt):mt===ot&&Re(ft,Pt))}function je(mt,ft){try{ft(function(It){te(mt,It)},function(It){Re(mt,It)})}catch(bt){Re(mt,bt)}}var st=0;function Xe(){return st++}function Je(mt){mt[Me]=st++,mt._state=void 0,mt._result=void 0,mt._subscribers=[]}function et(){return new Error("Array Methods must be provided an Array")}var at=function(){function mt(ft,bt){this._instanceConstructor=ft,this.promise=new ft(nt),this.promise[Me]||Je(this.promise),b(bt)?(this.length=bt.length,this._remaining=bt.length,this._result=new Array(this.length),this.length===0?ge(this.promise,this._result):(this.length=this.length||0,this._enumerate(bt),this._remaining===0&&ge(this.promise,this._result))):Re(this.promise,et())}return mt.prototype._enumerate=function(bt){for(var It=0;this._state===ne&&It<bt.length;It++)this._eachEntry(bt[It],It)},mt.prototype._eachEntry=function(bt,It){var or=this._instanceConstructor,Pt=or.resolve;if(Pt===Ue){var _e=J(bt);if(_e===ve&&bt._state!==ne)this._settledAt(bt._state,It,bt._result);else if(typeof _e!="function")this._remaining--,this._result[It]=bt;else if(or===Te){var Ce=new or(nt);he(Ce,bt,_e),this._willSettleAt(Ce,It)}else this._willSettleAt(new or(function(Ee){return Ee(bt)}),It)}else this._willSettleAt(Pt(bt),It)},mt.prototype._settledAt=function(bt,It,or){var Pt=this.promise;Pt._state===ne&&(this._remaining--,bt===ot?Re(Pt,or):this._result[It]=or),this._remaining===0&&ge(Pt,this._result)},mt.prototype._willSettleAt=function(bt,It){var or=this;ze(bt,void 0,function(Pt){return or._settledAt(be,It,Pt)},function(Pt){return or._settledAt(ot,It,Pt)})},mt}();function Ve(mt){return new at(this,mt).promise}function le(mt){var ft=this;return b(mt)?new ft(function(bt,It){for(var or=mt.length,Pt=0;Pt<or;Pt++)ft.resolve(mt[Pt]).then(bt,It)}):new ft(function(bt,It){return It(new TypeError("You must pass an array to race."))})}function ae(mt){var ft=this,bt=new ft(nt);return Re(bt,mt),bt}function lt(){throw new TypeError("You must pass a resolver function as the first argument to the promise constructor")}function Ze(){throw new TypeError("Failed to construct 'Promise': Please use the 'new' operator, this object constructor cannot be called as a function.")}var Te=function(){function mt(ft){this[Me]=Xe(),this._result=this._state=void 0,this._subscribers=[],nt!==ft&&(typeof ft!="function"&<(),this instanceof mt?je(this,ft):Ze())}return mt.prototype.catch=function(bt){return this.then(null,bt)},mt.prototype.finally=function(bt){var It=this,or=It.constructor;return _(bt)?It.then(function(Pt){return or.resolve(bt()).then(function(){return Pt})},function(Pt){return or.resolve(bt()).then(function(){throw Pt})}):It.then(bt,bt)},mt}();Te.prototype.then=ve,Te.all=Ve,Te.race=le,Te.resolve=Ue,Te.reject=ae,Te._setScheduler=P,Te._setAsap=j,Te._asap=F;function Jt(){var mt=void 0;if(typeof d!="undefined")mt=d;else if(typeof self!="undefined")mt=self;else try{mt=Function("return this")()}catch(It){throw new Error("polyfill failed because global object is unavailable in this environment")}var ft=mt.Promise;if(ft){var bt=null;try{bt=Object.prototype.toString.call(ft.resolve())}catch(It){}if(bt==="[object Promise]"&&!ft.cast)return}mt.Promise=Te}return Te.polyfill=Jt,Te.Promise=Te,Te})}),s=t.Promise,u=function w(E){var C=h(w.convert(s.resolve()),JSON.parse(JSON.stringify(w.template))),_=w.convert(s.resolve(),C);return _=_.setProgress(1,w,1,[w]),_=_.set(E),_};u.prototype=Object.create(s.prototype),u.prototype.constructor=u,u.convert=function(E,C){return E.__proto__=C||u.prototype,E},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(E,C){function _(y){switch(c(y)){case"string":return"string";case"element":return y.nodeName.toLowerCase==="canvas"?"canvas":"element";default:return"unknown"}}return this.then(function(){C=C||_(E);switch(C){case"string":return this.set({src:a("div",{innerHTML:E})});case"element":return this.set({src:E});case"canvas":return this.set({canvas:E});case"img":return this.set({img:E});default:return this.error("Unknown source type.")}})},u.prototype.to=function(E){switch(E){case"container":return this.toContainer();case"canvas":return this.toCanvas();case"img":return this.toImg();case"pdf":return this.toPdf();default:return this.error("Invalid target.")}},u.prototype.toContainer=function(){var E=[function(){return this.prop.src||this.error("Cannot duplicate - no source HTML.")},function(){return this.prop.pageSize||this.setPageSize()}];return this.thenList(E).then(function(){var _={position:"fixed",overflow:"hidden",zIndex:1e3,left:0,right:0,bottom:0,top:0,backgroundColor:"rgba(0,0,0,0.8)"},y={position:"absolute",width:this.prop.pageSize.inner.width+this.prop.pageSize.unit,left:0,right:0,top:0,height:"auto",margin:"auto",backgroundColor:"white"};_.opacity=0;var b=i(this.prop.src,this.opt.html2canvas.javascriptEnabled);this.prop.overlay=a("div",{className:"html2pdf__overlay",style:_}),this.prop.container=a("div",{className:"html2pdf__container",style:y}),this.prop.container.appendChild(b),this.prop.overlay.appendChild(this.prop.container),document.body.appendChild(this.prop.overlay)})},u.prototype.toCanvas=function(){var E=[function(){return document.body.contains(this.prop.container)||this.toContainer()}];return this.thenList(E).then(function(){var _=h({},this.opt.html2canvas);return delete _.onrendered,m(this.prop.container,_)}).then(function(_){var y=this.opt.html2canvas.onrendered||function(){};y(_),this.prop.canvas=_,document.body.removeChild(this.prop.overlay)})},u.prototype.toImg=function(){var E=[function(){return this.prop.canvas||this.toCanvas()}];return this.thenList(E).then(function(){var _=this.prop.canvas.toDataURL("image/"+this.opt.image.type,this.opt.image.quality);this.prop.img=document.createElement("img"),this.prop.img.src=_})},u.prototype.toPdf=function(){var E=[function(){return this.prop.canvas||this.toCanvas()}];return this.thenList(E).then(function(){var _=this.prop.canvas,y=this.opt,b=_.height,O=Math.floor(_.width*this.prop.pageSize.inner.ratio),I=Math.ceil(b/O),M=this.prop.pageSize.inner.height,F=document.createElement("canvas"),P=F.getContext("2d");F.width=_.width,F.height=O,this.prop.pdf=this.prop.pdf||new A(y.jsPDF);for(var j=0;j<I;j++){j===I-1&&b%O!==0&&(F.height=b%O,M=F.height*this.prop.pageSize.inner.width/F.width);var K=F.width,N=F.height;P.fillStyle="white",P.fillRect(0,0,K,N),P.drawImage(_,0,j*O,K,N,0,0,K,N),j&&this.prop.pdf.addPage();var B=F.toDataURL("image/"+y.image.type,y.image.quality);this.prop.pdf.addImage(B,y.image.type,y.margin[1],y.margin[0],this.prop.pageSize.inner.width,M)}})},u.prototype.output=function(E,C,_){return _=_||"pdf",_.toLowerCase()==="img"||_.toLowerCase()==="image"?this.outputImg(E,C):this.outputPdf(E,C)},u.prototype.outputPdf=function(E,C){var _=[function(){return this.prop.pdf||this.toPdf()}];return this.thenList(_).then(function(){return this.prop.pdf.output(E,C)})},u.prototype.outputImg=function(E,C){var _=[function(){return this.prop.img||this.toImg()}];return this.thenList(_).then(function(){switch(E){case void 0:case"img":return this.prop.img;case"datauristring":case"dataurlstring":return this.prop.img.src;case"datauri":case"dataurl":return document.location.href=this.prop.img.src;default:throw'Image output type "'+E+'" is not supported.'}})},u.prototype.save=function(E){var C=[function(){return this.prop.pdf||this.toPdf()}];return this.thenList(C).set(E?{filename:E}:null).then(function(){this.prop.pdf.save(this.opt.filename)})},u.prototype.set=function(E){if(c(E)!=="object")return this;var C=Object.keys(E||{}).map(function(_){if(_ in u.template.prop)return function(){this.prop[_]=E[_]};switch(_){case"margin":return this.setMargin.bind(this,E.margin);case"jsPDF":return function(){return this.opt.jsPDF=E.jsPDF,this.setPageSize()};case"pageSize":return this.setPageSize.bind(this,E.pageSize);default:return function(){this.opt[_]=E[_]}}},this);return this.then(function(){return this.thenList(C)})},u.prototype.get=function(E,C){return this.then(function(){var y=E in u.template.prop?this.prop[E]:this.opt[E];return C?C(y):y})},u.prototype.setMargin=function(E){return this.then(function(){switch(c(E)){case"number":E=[E,E,E,E];case"array":if(E.length===2&&(E=[E[0],E[1],E[0],E[1]]),E.length===4)break;default:return this.error("Invalid margin array.")}this.opt.margin=E}).then(this.setPageSize)},u.prototype.setPageSize=function(E){return this.then(function(){E=E||A.getPageSize(this.opt.jsPDF),E.hasOwnProperty("inner")||(E.inner={width:E.width-this.opt.margin[1]-this.opt.margin[3],height:E.height-this.opt.margin[0]-this.opt.margin[2]},E.inner.px={width:o(E.inner.width,E.k),height:o(E.inner.height,E.k)},E.inner.ratio=E.inner.height/E.inner.width),this.prop.pageSize=E})},u.prototype.setProgress=function(E,C,_,y){return E!=null&&(this.progress.val=E),C!=null&&(this.progress.state=C),_!=null&&(this.progress.n=_),y!=null&&(this.progress.stack=y),this.progress.ratio=this.progress.val/this.progress.state,this},u.prototype.updateProgress=function(E,C,_,y){return this.setProgress(E?this.progress.val+E:null,C||null,_?this.progress.n+_:null,y?this.progress.stack.concat(y):null)},u.prototype.then=function(E,C){var _=this;return this.thenCore(E,C,function(b,O){return _.updateProgress(null,null,1,[b]),s.prototype.then.call(this,function(M){return _.updateProgress(null,b),M}).then(b,O).then(function(M){return _.updateProgress(1),M})})},u.prototype.thenCore=function(E,C,_){_=_||s.prototype.then;var y=this;E&&(E=E.bind(y)),C&&(C=C.bind(y));var b=s.toString().indexOf("[native code]")!==-1&&s.name==="Promise",O=b?y:u.convert(h({},y),s.prototype),I=_.call(O,E,C);return u.convert(I,y.__proto__)},u.prototype.thenExternal=function(E,C){return s.prototype.then.call(this,E,C)},u.prototype.thenList=function(E){var C=this;return E.forEach(function(y){C=C.thenCore(y)}),C},u.prototype.catch=function(w){w&&(w=w.bind(this));var E=s.prototype.catch.call(this,w);return u.convert(E,this)},u.prototype.catchExternal=function(E){return s.prototype.catch.call(this,E)},u.prototype.error=function(E){return this.then(function(){throw new Error(E)})},u.prototype.using=u.prototype.set,u.prototype.saveAs=u.prototype.save,u.prototype.export=u.prototype.output,u.prototype.run=u.prototype.then,A.getPageSize=function(w,E,C){if((typeof w=="undefined"?"undefined":v(w))==="object"){var _=w;w=_.orientation,E=_.unit||E,C=_.format||C}E=E||"mm",C=C||"a4",w=(""+(w||"P")).toLowerCase();var y=(""+C).toLowerCase(),b={a0:[2383.94,3370.39],a1:[1683.78,2383.94],a2:[1190.55,1683.78],a3:[841.89,1190.55],a4:[595.28,841.89],a5:[419.53,595.28],a6:[297.64,419.53],a7:[209.76,297.64],a8:[147.4,209.76],a9:[104.88,147.4],a10:[73.7,104.88],b0:[2834.65,4008.19],b1:[2004.09,2834.65],b2:[1417.32,2004.09],b3:[1000.63,1417.32],b4:[708.66,1000.63],b5:[498.9,708.66],b6:[354.33,498.9],b7:[249.45,354.33],b8:[175.75,249.45],b9:[124.72,175.75],b10:[87.87,124.72],c0:[2599.37,3676.54],c1:[1836.85,2599.37],c2:[1298.27,1836.85],c3:[918.43,1298.27],c4:[649.13,918.43],c5:[459.21,649.13],c6:[323.15,459.21],c7:[229.61,323.15],c8:[161.57,229.61],c9:[113.39,161.57],c10:[79.37,113.39],dl:[311.81,623.62],letter:[612,792],"government-letter":[576,756],legal:[612,1008],"junior-legal":[576,360],ledger:[1224,792],tabloid:[792,1224],"credit-card":[153,243]};switch(E){case"pt":var O=1;break;case"mm":var O=72/25.4;break;case"cm":var O=72/2.54;break;case"in":var O=72;break;case"px":var O=72/96;break;case"pc":var O=12;break;case"em":var O=12;break;case"ex":var O=6;break;default:throw"Invalid unit: "+E}if(b.hasOwnProperty(y))var I=b[y][1]/O,M=b[y][0]/O;else try{var I=C[1],M=C[0]}catch(j){throw new Error("Invalid format: "+C)}if(w==="p"||w==="portrait"){if(w="p",M>I){var F=M;M=I,I=F}}else if(w==="l"||w==="landscape"){if(w="l",I>M){var F=M;M=I,I=F}}else throw"Invalid orientation: "+w;var P={width:M,height:I,unit:E,k:O};return P};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 C=this.prop.container,_=this.prop.pageSize.inner.px.height,y=[].concat(this.opt.pagebreak.mode),b={avoidAll:y.indexOf("avoid-all")!==-1,css:y.indexOf("css")!==-1,legacy:y.indexOf("legacy")!==-1},O={},I=this;["before","after","avoid"].forEach(function(P){var j=b.avoidAll&&P==="avoid";O[P]=j?[]:[].concat(I.opt.pagebreak[P]||[]),O[P].length>0&&(O[P]=Array.prototype.slice.call(C.querySelectorAll(O[P].join(", "))))});var M=C.querySelectorAll(".html2pdf__page-break");M=Array.prototype.slice.call(M);var F=C.querySelectorAll("*");Array.prototype.forEach.call(F,function(j){var K={before:!1,after:b.legacy&&M.indexOf(j)!==-1,avoid:b.avoidAll};if(b.css){var N=window.getComputedStyle(j),B=["always","page","left","right"],U=["avoid","avoid-page"];K={before:K.before||B.indexOf(N.breakBefore||N.pageBreakBefore)!==-1,after:K.after||B.indexOf(N.breakAfter||N.pageBreakAfter)!==-1,avoid:K.avoid||U.indexOf(N.breakInside||N.pageBreakInside)!==-1}}Object.keys(K).forEach(function(q){K[q]=K[q]||O[q].indexOf(j)!==-1});var H=j.getBoundingClientRect();if(K.avoid&&!K.before){var z=Math.floor(H.top/_),X=Math.floor(H.bottom/_),W=Math.abs(H.bottom-H.top)/_;X!==z&&W<=1&&(K.before=!0)}if(K.before){var Y=a("div",{style:{display:"block",height:_-H.top%_+"px"}});j.parentNode.insertBefore(Y,j)}if(K.after){var Y=a("div",{style:{display:"block",height:_-H.bottom%_+"px"}});j.parentNode.insertBefore(Y,j.nextSibling)}})})};var x=[],S={toContainer:u.prototype.toContainer,toPdf:u.prototype.toPdf};u.prototype.toContainer=function(){return S.toContainer.call(this).then(function(){if(this.opt.enableLinks){var C=this.prop.container,_=C.querySelectorAll("a"),y=r(C.getBoundingClientRect(),this.prop.pageSize.k);x=[],Array.prototype.forEach.call(_,function(b){for(var O=b.getClientRects(),I=0;I<O.length;I++){var M=r(O[I],this.prop.pageSize.k);M.left-=y.left,M.top-=y.top;var F=Math.floor(M.top/this.prop.pageSize.inner.height)+1,P=this.opt.margin[0]+M.top%this.prop.pageSize.inner.height,j=this.opt.margin[1]+M.left;x.push({page:F,top:P,left:j,clientRect:M,link:b})}},this)}})},u.prototype.toPdf=function(){return S.toPdf.call(this).then(function(){if(this.opt.enableLinks){x.forEach(function(_){this.prop.pdf.setPage(_.page),this.prop.pdf.link(_.left,_.top,_.clientRect.width,_.clientRect.height,{url:_.link.href})},this);var C=this.prop.pdf.internal.getNumberOfPages();this.prop.pdf.setPage(C)}})};var T=function w(E,C){var _=new w.Worker(C);return E?_.from(E).save():_};return T.Worker=u,T})}).call(this,e("yLpj"),e("Q2Ig"))},"1q3G":function(R,D,e){"use strict";Object.defineProperty(D,"__esModule",{value:!0}),D.default=g;function g(){this.input=null,this.next_in=0,this.avail_in=0,this.total_in=0,this.output=null,this.next_out=0,this.avail_out=0,this.total_out=0,this.msg="",this.state=null,this.data_type=2,this.adler=0}},"1tlw":function(R,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)}}),A=f;R.exports=A},"1u/T":function(R,D,e){var g=e("ProS"),f={type:"selectDataRange",event:"dataRangeSelected",update:"update"};g.registerAction(f,function(A,m){m.eachComponent({mainType:"visualMap",query:A},function(v){v.setSelected(A.selected)})})},"1vzs":function(R,D,e){"use strict";e.d(D,"a",function(){return t});var g=e("q1tI"),f=e.n(g),A=e("HQEm"),m=e.n(A),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,x=s.menuItemSelectedIcon,S=s.removeIcon,T=s.loading,w=s.multiple,E=s.prefixCls,C=p;p||(C=g.createElement(d.a,null));var _=null;if(u!==void 0)_=u;else if(T)_=g.createElement(h.a,{spin:!0});else{var y="".concat(E,"-suffix");_=function(M){var F=M.open,P=M.showSearch;return F&&P?g.createElement(l.a,{className:y}):g.createElement(m.a,{className:y})}}var b=null;x!==void 0?b=x:w?b=g.createElement(a.a,null):b=null;var O=null;return S!==void 0?O=S:O=g.createElement(r.a,null),{clearIcon:C,suffixIcon:_,itemIcon:b,removeIcon:O}}},"1xaR":function(R,D,e){var g=e("ProS"),f=e("bYtY");e("qgGe"),e("NA0q"),e("RPvy");var A=e("mOdp"),m=e("y3NT"),v=e("0/Rx");g.registerVisual(f.curry(A,"sunburst")),g.registerLayout(f.curry(m,"sunburst")),g.registerProcessor(f.curry(v,"sunburst"))},"24YM":function(R,D,e){"use strict";Object.defineProperty(D,"__esModule",{value:!0}),D.SensorTabIndex=D.SensorClassName=D.SizeSensorId=void 0;var g="size-sensor-id";D.SizeSensorId=g;var f="size-sensor-object";D.SensorClassName=f;var A="-1";D.SensorTabIndex=A},"2548":function(R,D,e){var g=e("ProS"),f=e("bYtY"),A=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={}),x=[];f.each(u,function(w,E){x.push(E)}),new c(this._featureNames||[],x).add(S).update(S).remove(f.curry(S,null)).execute(),this._featureNames=x;function S(w,E){var C=x[w],_=x[E],y=u[C],b=new h(y,o,o.ecModel),O;if(l&&l.newTitle!=null&&l.featureName===C&&(y.title=l.newTitle),C&&!_){if(r(C))O={model:b,onclick:b.option.onclick,featureName:C};else{var I=m.get(C);if(!I)return;O=new I(b,d,n)}p[C]=O}else{if(O=p[_],!O)return;O.model=b,O.ecModel=d,O.api=n}if(!C&&_){O.dispose&&O.dispose(d,n);return}if(!b.get("show")||O.unusable){O.remove&&O.remove(d,n);return}T(b,O,C),b.setIconStatus=function(M,F){var P=this.option,j=this.iconPaths;P.iconStatus=P.iconStatus||{},P.iconStatus[M]=F,j[M]&&j[M].trigger(F)},O.render&&O.render(b,d,n,l)}function T(w,E,C){var _=w.getModel("iconStyle"),y=w.getModel("emphasis.iconStyle"),b=E.getIcons?E.getIcons():w.get("icon"),O=w.get("title")||{};if(typeof b=="string"){var I=b,M=O;b={},O={},b[C]=I,O[C]=M}var F=w.iconPaths={};f.each(b,function(P,j){var K=v.createIcon(P,{},{x:-s/2,y:-s/2,width:s,height:s});K.setStyle(_.getItemStyle()),K.hoverStyle=y.getItemStyle(),K.setStyle({text:O[j],textAlign:y.get("textAlign"),textBorderRadius:y.get("textBorderRadius"),textPadding:y.get("textPadding"),textFill:null});var N=o.getModel("tooltip");N&&N.get("show")&&K.attr("tooltip",f.extend({content:O[j],formatter:N.get("formatter",!0)||function(){return O[j]},formatterParams:{componentType:"toolbox",name:j,title:O[j],$vars:["name","title"]},position:N.get("position",!0)||"bottom"},N.option)),v.setHoverStyle(K),o.get("showTitle")&&(K.__title=O[j],K.on("mouseover",function(){var B=y.getItemStyle(),U=o.get("orient")==="vertical"?o.get("right")==null?"right":"left":o.get("bottom")==null?"bottom":"top";K.setStyle({textFill:y.get("textFill")||B.fill||B.stroke||"#000",textBackgroundColor:y.get("textBackgroundColor"),textPosition:y.get("textPosition")||U})}).on("mouseout",function(){K.setStyle({textFill:null,textBackgroundColor:null})})),K.trigger(w.get("iconStatus."+j)||"normal"),t.add(K),K.on("click",f.bind(E.onclick,E,d,n,j)),F[j]=K})}a.layout(t,o,n),t.add(a.makeBackground(t.getBoundingRect(),o)),t.eachChild(function(w){var E=w.__title,C=w.hoverStyle;if(C&&E){var _=A.getBoundingRect(E,A.makeFont(C)),y=w.position[0]+t.position[0],b=w.position[1]+t.position[1]+s,O=!1;b+_.height>n.getHeight()&&(C.textPosition="top",O=!0);var I=O?-5-_.height:s+8;y+_.width/2>n.getWidth()?(C.textPosition=["100%",I],C.textAlign="right"):y-_.width/2<0&&(C.textPosition=[0,I],C.textAlign="left")}})},updateView:function(o,d,n,l){f.each(this._features,function(t){t.updateView&&t.updateView(t.model,d,n,l)})},remove:function(o,d){f.each(this._features,function(n){n.remove&&n.remove(o,d)}),this.group.removeAll()},dispose:function(o,d){f.each(this._features,function(n){n.dispose&&n.dispose(o,d)})}});function r(o){return o.indexOf("my")===0}R.exports=i},"2B6p":function(R,D){function e(g,f,A){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(A){var a=A.min||0,i=A.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()}}D.updateCenterAndZoom=e},"2BaD":function(R,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"},A=f,m=e("6VBw"),v=function(a,i){return g.createElement(m.a,Object.assign({},a,{ref:i,icon:A}))};v.displayName="CloseCircleOutlined";var h=D.a=g.forwardRef(v)},"2DNl":function(R,D,e){var g=e("IMiH"),f=e("loD1"),A=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(E,C){return Math.abs(E-C)<d}var l=[-1,-1,-1],t=[-1,-1];function s(){var E=t[0];t[0]=t[1],t[1]=E}function u(E,C,_,y,b,O,I,M,F,P){if(P>C&&P>y&&P>O&&P>M||P<C&&P<y&&P<O&&P<M)return 0;var j=a.cubicRootAt(C,y,O,M,P,l);if(j===0)return 0;for(var K=0,N=-1,B,U,H=0;H<j;H++){var z=l[H],X=z===0||z===1?.5:1,W=a.cubicAt(E,_,b,I,z);if(W<F)continue;N<0&&(N=a.cubicExtrema(C,y,O,M,t),t[1]<t[0]&&N>1&&s(),B=a.cubicAt(C,y,O,M,t[0]),N>1&&(U=a.cubicAt(C,y,O,M,t[1]))),N===2?z<t[0]?K+=B<C?X:-X:z<t[1]?K+=U<B?X:-X:K+=M<U?X:-X:z<t[0]?K+=B<C?X:-X:K+=M<B?X:-X}return K}function p(E,C,_,y,b,O,I,M){if(M>C&&M>y&&M>O||M<C&&M<y&&M<O)return 0;var F=a.quadraticRootAt(C,y,O,M,l);if(F===0)return 0;var P=a.quadraticExtremum(C,y,O);if(P>=0&&P<=1){for(var j=0,K=a.quadraticAt(C,y,O,P),N=0;N<F;N++){var B=l[N]===0||l[N]===1?.5:1,U=a.quadraticAt(E,_,b,l[N]);if(U<I)continue;l[N]<P?j+=K<C?B:-B:j+=O<K?B:-B}return j}else{var B=l[0]===0||l[0]===1?.5:1,U=a.quadraticAt(E,_,b,l[0]);return U<I?0:O<C?B:-B}}function x(E,C,_,y,b,O,I,M){if(M-=C,M>_||M<-_)return 0;var F=Math.sqrt(_*_-M*M);l[0]=-F,l[1]=F;var P=Math.abs(y-b);if(P<1e-4)return 0;if(P%o<1e-4){y=0,b=o;var j=O?1:-1;return I>=l[0]+E&&I<=l[1]+E?j:0}if(O){var F=y;y=c(b),b=c(F)}else y=c(y),b=c(b);y>b&&(b+=o);for(var K=0,N=0;N<2;N++){var B=l[N];if(B+E>I){var U=Math.atan2(M,B),j=O?1:-1;U<0&&(U=o+U),(U>=y&&U<=b||U+o>=y&&U+o<=b)&&(U>Math.PI/2&&U<Math.PI*1.5&&(j=-j),K+=j)}}return K}function S(E,C,_,y,b){for(var O=0,I=0,M=0,F=0,P=0,j=0;j<E.length;){var K=E[j++];K===r.M&&j>1&&(_||(O+=i(I,M,F,P,y,b))),j===1&&(I=E[j],M=E[j+1],F=I,P=M);switch(K){case r.M:F=E[j++],P=E[j++],I=F,M=P;break;case r.L:if(_){if(f.containStroke(I,M,E[j],E[j+1],C,y,b))return!0}else O+=i(I,M,E[j],E[j+1],y,b)||0;I=E[j++],M=E[j++];break;case r.C:if(_){if(A.containStroke(I,M,E[j++],E[j++],E[j++],E[j++],E[j],E[j+1],C,y,b))return!0}else O+=u(I,M,E[j++],E[j++],E[j++],E[j++],E[j],E[j+1],y,b)||0;I=E[j++],M=E[j++];break;case r.Q:if(_){if(m.containStroke(I,M,E[j++],E[j++],E[j],E[j+1],C,y,b))return!0}else O+=p(I,M,E[j++],E[j++],E[j],E[j+1],y,b)||0;I=E[j++],M=E[j++];break;case r.A:var N=E[j++],B=E[j++],U=E[j++],H=E[j++],z=E[j++],X=E[j++];j+=1;var W=1-E[j++],Y=Math.cos(z)*U+N,q=Math.sin(z)*H+B;j>1?O+=i(I,M,Y,q,y,b):(F=Y,P=q);var me=(y-N)*H/U+N;if(_){if(v.containStroke(N,B,H,z,z+X,W,C,me,b))return!0}else O+=x(N,B,H,z,z+X,W,me,b);I=Math.cos(z+X)*U+N,M=Math.sin(z+X)*H+B;break;case r.R:F=I=E[j++],P=M=E[j++];var G=E[j++],ye=E[j++],Y=F+G,q=P+ye;if(_){if(f.containStroke(F,P,Y,P,C,y,b)||f.containStroke(Y,P,Y,q,C,y,b)||f.containStroke(Y,q,F,q,C,y,b)||f.containStroke(F,q,F,P,C,y,b))return!0}else O+=i(Y,P,Y,q,y,b),O+=i(F,q,F,P,y,b);break;case r.Z:if(_){if(f.containStroke(I,M,F,P,C,y,b))return!0}else O+=i(I,M,F,P,y,b);I=F,M=P;break}}return!_&&!n(M,P)&&(O+=i(I,M,F,P,y,b)||0),O!==0}function T(E,C,_){return S(E,0,!1,C,_)}function w(E,C,_,y){return S(E,C,!0,_,y)}D.contain=T,D.containStroke=w},"2Qr1":function(R,D,e){"use strict";e.d(D,"d",function(){return n}),e.d(D,"c",function(){return t}),e.d(D,"e",function(){return s}),e.d(D,"b",function(){return x}),e.d(D,"f",function(){return S}),e.d(D,"g",function(){return T}),e.d(D,"a",function(){return w});var g=e("rePB"),f=e("KQm4"),A=e("DSFK"),m=e("25BE"),v=e("BsWD"),h=e("PYwp");function c(E){return Object(A.a)(E)||Object(m.a)(E)||Object(v.a)(E)||Object(h.a)()}var a=e("U8pU"),i=e("VTBJ"),r=e("Kwbf"),o=e("WKfj");function d(E,C){var _=E.key,y;return"value"in E&&(y=E.value),_!=null?_:y!==void 0?y:"rc-index-key-".concat(C)}function n(E){var C=[];function _(y,b){y.forEach(function(O){b||!("options"in O)?C.push({key:d(O,C.length),groupOption:b,data:O}):(C.push({key:d(O,C.length),group:!0,data:O}),_(O.options,!0))})}return _(E,!1),C}function l(E){var C=Object(i.a)({},E);return"props"in C||Object.defineProperty(C,"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`."),C}}),C}function t(E,C){var _=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},y=_.prevValueOptions,b=y===void 0?[]:y,O=new Map;return C.forEach(function(I){if(!I.group){var M=I.data;O.set(M.value,M)}}),E.map(function(I){var M=O.get(I);return M||(M=Object(i.a)({},b.find(function(F){return F._INTERNAL_OPTION_VALUE_===I}))),l(M)})}var s=function(C,_){var y=_.options,b=_.prevValue,O=_.labelInValue,I=_.optionLabelProp,M=t([C],y)[0],F={value:C},P,j=Object(o.d)(b);return O&&(P=j.find(function(K){return Object(a.a)(K)==="object"&&"value"in K?K.value===C:K.key===C})),P&&Object(a.a)(P)==="object"&&"label"in P?(F.label=P.label,M&&typeof P.label=="string"&&typeof M[I]=="string"&&P.label.trim()!==M[I].trim()&&Object(r.a)(!1,"`label` of `value` is not same as `label` in Select options.")):M&&I in M?F.label=M[I]:F.label=C,F.key=F.value,F};function u(E){return Object(o.d)(E).join("")}function p(E){return function(C,_){var y=C.toLowerCase();if("options"in _)return u(_.label).toLowerCase().includes(y);var b=_[E],O=u(b).toLowerCase();return O.includes(y)&&!_.disabled}}function x(E,C,_){var y=_.optionFilterProp,b=_.filterOption,O=[],I;return b===!1?C:(typeof b=="function"?I=b:I=p(y),C.forEach(function(M){if("options"in M){var F=I(E,M);if(F)O.push(M);else{var P=M.options.filter(function(j){return I(E,j)});P.length&&O.push(Object(i.a)(Object(i.a)({},M),{},{options:P}))}return}I(E,l(M))&&O.push(M)}),O)}function S(E,C){if(!C||!C.length)return null;var _=!1;function y(O,I){var M=c(I),F=M[0],P=M.slice(1);if(!F)return[O];var j=O.split(F);return _=_||j.length>1,j.reduce(function(K,N){return[].concat(Object(f.a)(K),Object(f.a)(y(N,P)))},[]).filter(function(K){return K})}var b=y(E,C);return _?b:null}function T(E,C){var _=t([E],C)[0];return _.disabled}function w(E,C,_,y){var b=Object(o.d)(C).slice().sort(),O=Object(f.a)(E),I=new Set;return E.forEach(function(M){M.options?M.options.forEach(function(F){I.add(F.value)}):I.add(M.value)}),b.forEach(function(M){var F=y?M.value:M;if(!I.has(F)){var P;O.push(y?(P={},Object(g.a)(P,_,M.label),Object(g.a)(P,"value",F),P):{value:F})}}),O}},"2dDv":function(R,D,e){var g=e("bYtY"),f=e("Fofx"),A=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(T,w,E){this._axesMap=g.createHashMap(),this._axesLayout={},this.dimensions=T.dimensions,this._rect,this._model=T,this._init(T,w,E)}s.prototype={type:"parallel",constructor:s,_init:function(T,w,E){var C=T.dimensions,_=T.parallelAxisIndex;i(C,function(y,b){var O=_[b],I=w.getComponent("parallelAxis",O),M=this._axesMap.set(y,new v(y,m.createScaleByModel(I),[0,0],I.get("type"),O)),F=M.type==="category";M.onBand=F&&I.get("boundaryGap"),M.inverse=I.get("inverse"),I.axis=M,M.model=I,M.coordinateSystem=I.coordinateSystem=this},this)},update:function(T,w){this._updateAxesFromSeries(this._model,T)},containPoint:function(T){var w=this._makeLayoutInfo(),E=w.axisBase,C=w.layoutBase,_=w.pixelDimIndex,y=T[1-_],b=T[_];return y>=E&&y<=E+w.axisLength&&b>=C&&b<=C+w.layoutLength},getModel:function(){return this._model},_updateAxesFromSeries:function(T,w){w.eachSeries(function(E){if(!T.contains(E,w))return;var C=E.getData();i(this.dimensions,function(_){var y=this._axesMap.get(_);y.scale.unionExtentFromData(C,C.mapDimension(_)),m.niceScaleExtent(y.scale,y.model)},this)},this)},resize:function(T,w){this._rect=A.getLayoutRect(T.getBoxLayoutParams(),{width:w.getWidth(),height:w.getHeight()}),this._layoutAxes()},getRect:function(){return this._rect},_makeLayoutInfo:function(){var T=this._model,w=this._rect,E=["x","y"],C=["width","height"],_=T.get("layout"),y=_==="horizontal"?0:1,b=w[C[y]],O=[0,b],I=this.dimensions.length,M=u(T.get("axisExpandWidth"),O),F=u(T.get("axisExpandCount")||0,[0,I]),P=T.get("axisExpandable")&&I>3&&I>F&&F>1&&M>0&&b>0,j=T.get("axisExpandWindow"),K;if(j)K=u(j[1]-j[0],O),j[1]=j[0]+K;else{K=u(M*(F-1),O);var N=T.get("axisExpandCenter")||d(I/2);j=[M*N-K/2],j[1]=j[0]+K}var B=(b-K)/(I-F);B<3&&(B=0);var U=[d(l(j[0]/M,1))+1,n(l(j[1]/M,1))-1],H=B/M*j[0];return{layout:_,pixelDimIndex:y,layoutBase:w[E[y]],layoutLength:b,axisBase:w[E[1-y]],axisLength:w[C[1-y]],axisExpandable:P,axisExpandWidth:M,axisCollapseWidth:B,axisExpandWindow:j,axisCount:I,winInnerIndices:U,axisExpandWindow0Pos:H}},_layoutAxes:function(){var T=this._rect,w=this._axesMap,E=this.dimensions,C=this._makeLayoutInfo(),_=C.layout;w.each(function(y){var b=[0,C.axisLength],O=y.inverse?1:0;y.setExtent(b[O],b[1-O])}),i(E,function(y,b){var O=(C.axisExpandable?x:p)(b,C),I={horizontal:{x:O.position,y:C.axisLength},vertical:{x:0,y:O.position}},M={horizontal:t/2,vertical:0},F=[I[_].x+T.x,I[_].y+T.y],P=M[_],j=f.create();f.rotate(j,j,P),f.translate(j,j,F),this._axesLayout[y]={position:F,rotation:P,transform:j,axisNameAvailableWidth:O.axisNameAvailableWidth,axisLabelShow:O.axisLabelShow,nameTruncateMaxWidth:O.nameTruncateMaxWidth,tickDirection:1,labelDirection:1}},this)},getAxis:function(T){return this._axesMap.get(T)},dataToPoint:function(T,w){return this.axisCoordToPoint(this._axesMap.get(w).dataToCoord(T),w)},eachActiveState:function(T,w,E,C){E==null&&(E=0),C==null&&(C=T.count());var _=this._axesMap,y=this.dimensions,b=[],O=[];g.each(y,function(B){b.push(T.mapDimension(B)),O.push(_.get(B).model)});for(var I=this.hasAxisBrushed(),M=E;M<C;M++){var F;if(!I)F="normal";else{F="active";for(var P=T.getValues(b,M),j=0,K=y.length;j<K;j++){var N=O[j].getActiveState(P[j]);if(N==="inactive"){F="inactive";break}}}w(F,M)}},hasAxisBrushed:function(){for(var T=this.dimensions,w=this._axesMap,E=!1,C=0,_=T.length;C<_;C++)w.get(T[C]).model.getActiveState()!=="normal"&&(E=!0);return E},axisCoordToPoint:function(T,w){var E=this._axesLayout[w];return h.applyTransform([T,0],E.transform)},getAxisLayout:function(T){return g.clone(this._axesLayout[T])},getSlidedAxisExpandWindow:function(T){var w=this._makeLayoutInfo(),E=w.pixelDimIndex,C=w.axisExpandWindow.slice(),_=C[1]-C[0],y=[0,w.axisExpandWidth*(w.axisCount-1)];if(!this.containPoint(T))return{behavior:"none",axisExpandWindow:C};var b=T[E]-w.layoutBase-w.axisExpandWindow0Pos,O,I="slide",M=w.axisCollapseWidth,F=this._model.get("axisExpandSlideTriggerArea"),P=F[0]!=null;if(M)P&&M&&b<_*F[0]?(I="jump",O=b-_*F[2]):P&&M&&b>_*(1-F[0])?(I="jump",O=b-_*(1-F[2])):(O=b-_*F[1])>=0&&(O=b-_*(1-F[1]))<=0&&(O=0),O*=w.axisExpandWidth/M,O?a(O,C,y,"all"):I="none";else{var _=C[1]-C[0],j=y[1]*b/_;C=[o(0,j-_/2)],C[1]=r(y[1],C[0]+_),C[0]=C[1]-_}return{axisExpandWindow:C,behavior:I}}};function u(T,w){return r(o(T,w[0]),w[1])}function p(T,w){var E=w.layoutLength/(w.axisCount-1);return{position:E*T,axisNameAvailableWidth:E,axisLabelShow:!0}}function x(T,w){var E=w.layoutLength,C=w.axisExpandWidth,_=w.axisCount,y=w.axisCollapseWidth,b=w.winInnerIndices,O,I=y,M=!1,F;return T<b[0]?(O=T*y,F=y):T<=b[1]?(O=w.axisExpandWindow0Pos+T*C-w.axisExpandWindow[0],I=C,M=!0):(O=E-(_-1-T)*y,F=y),{position:O,axisNameAvailableWidth:I,axisLabelShow:M,nameTruncateMaxWidth:F}}var S=s;R.exports=S},"2fGM":function(R,D,e){var g=e("bYtY"),f=e("bLfw"),A=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")}A("angle",v,c,h.angle),A("radius",v,c,h.radius)},"2fM7":function(R,D,e){"use strict";var g=e("lSNA"),f=e.n(g),A=e("pVnL"),m=e.n(A),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"),x=e("Ji7U"),S=e("LK+K"),T=e("rePB"),w=e("Ff2n"),E=e("ODXe"),C=e("4IlW"),_=e("bX4T"),y=e("YrtM"),b=e("+nKL"),O=e("8OUc"),I=function(V,J){var fe=V.prefixCls,oe=V.id,Le=V.flattenOptions,he=V.childrenAsData,te=V.values,Z=V.searchValue,ge=V.multiple,Re=V.defaultActiveFirstOption,ze=V.height,dt=V.itemHeight,De=V.notFoundContent,Tt=V.open,je=V.menuItemSelectedIcon,st=V.virtual,Xe=V.onSelect,Je=V.onToggleOpen,et=V.onActiveValue,at=V.onScroll,Ve=V.onMouseEnter,le="".concat(fe,"-item"),ae=Object(y.a)(function(){return Le},[Tt,Le],function(Ce,Ee){return Ee[0]&&Ce[1]!==Ee[1]}),lt=n.useRef(null),Ze=function(Ee){Ee.preventDefault()},Te=function(Ee){lt.current&<.current.scrollTo({index:Ee})},Jt=function(Ee){for(var we=arguments.length>1&&arguments[1]!==void 0?arguments[1]:1,Fe=ae.length,Ye=0;Ye<Fe;Ye+=1){var Ge=(Ee+Ye*we+Fe)%Fe,qe=ae[Ge],Ke=qe.group,ct=qe.data;if(!Ke&&!ct.disabled)return Ge}return-1},mt=n.useState(function(){return Jt(0)}),ft=Object(E.a)(mt,2),bt=ft[0],It=ft[1],or=function(Ee){It(Ee);var we=ae[Ee];if(!we){et(null,-1);return}et(we.data.value,Ee)};n.useEffect(function(){or(Re!==!1?Jt(0):-1)},[ae.length,Z]),n.useEffect(function(){var Ce=setTimeout(function(){if(!ge&&Tt&&te.size===1){var Ee=Array.from(te)[0],we=ae.findIndex(function(Fe){var Ye=Fe.data;return Ye.value===Ee});or(we),Te(we)}});return function(){return clearTimeout(Ce)}},[Tt]);var Pt=function(Ee){Ee!==void 0&&Xe(Ee,{selected:!te.has(Ee)}),ge||Je(!1)};if(n.useImperativeHandle(J,function(){return{onKeyDown:function(Ee){var we=Ee.which;switch(we){case C.a.UP:case C.a.DOWN:{var Fe=0;if(we===C.a.UP?Fe=-1:we===C.a.DOWN&&(Fe=1),Fe!==0){var Ye=Jt(bt+Fe,Fe);Te(Ye),or(Ye)}break}case C.a.ENTER:{var Ge=ae[bt];Ge&&!Ge.data.disabled?Pt(Ge.data.value):Pt(void 0),Tt&&Ee.preventDefault();break}case C.a.ESC:Je(!1)}},onKeyUp:function(){},scrollTo:function(Ee){Te(Ee)}}}),ae.length===0)return n.createElement("div",{role:"listbox",id:"".concat(oe,"_list"),className:"".concat(le,"-empty"),onMouseDown:Ze},De);function _e(Ce){var Ee=ae[Ce];if(!Ee)return null;var we=Ee.data||{},Fe=we.value,Ye=we.label,Ge=we.children,qe=Object(_.a)(we,!0),Ke=he?Ge:Ye;return Ee?n.createElement("div",Object.assign({"aria-label":typeof Ke=="string"?Ke:null},qe,{key:Ce,role:"option",id:"".concat(oe,"_list_").concat(Ce),"aria-selected":te.has(Fe)}),Fe):null}return n.createElement(n.Fragment,null,n.createElement("div",{role:"listbox",id:"".concat(oe,"_list"),style:{height:0,width:0,overflow:"hidden"}},_e(bt-1),_e(bt),_e(bt+1)),n.createElement(b.a,{itemKey:"key",ref:lt,data:ae,height:ze,itemHeight:dt,fullHeight:!1,onMouseDown:Ze,onScroll:at,virtual:st,onMouseEnter:Ve},function(Ce,Ee){var we,Fe=Ce.group,Ye=Ce.groupOption,Ge=Ce.data,qe=Ge.label,Ke=Ge.key;if(Fe)return n.createElement("div",{className:s()(le,"".concat(le,"-group"))},qe!==void 0?qe:Ke);var ct=Ge.disabled,wt=Ge.value,Lt=Ge.title,de=Ge.children,xe=Ge.style,$=Ge.className,se=Object(w.a)(Ge,["disabled","value","title","children","style","className"]),Oe=te.has(wt),ke="".concat(le,"-option"),Pe=s()(le,ke,$,(we={},Object(T.a)(we,"".concat(ke,"-grouped"),Ye),Object(T.a)(we,"".concat(ke,"-active"),bt===Ee&&!ct),Object(T.a)(we,"".concat(ke,"-disabled"),ct),Object(T.a)(we,"".concat(ke,"-selected"),Oe),we)),rt=he?de:qe,At=!je||typeof je=="function"||Oe;return n.createElement("div",Object.assign({},se,{"aria-selected":Oe,className:Pe,title:Lt,onMouseMove:function(){if(bt===Ee||ct)return;or(Ee)},onClick:function(){ct||Pt(wt)},style:xe}),n.createElement("div",{className:"".concat(ke,"-content")},rt||wt),n.isValidElement(je)||Oe,At&&n.createElement(O.a,{className:"".concat(le,"-option-state"),customizeIcon:je,customizeIconProps:{isSelected:Oe}},Oe?"\u2713":null))}))},M=n.forwardRef(I);M.displayName="OptionList";var F=M,P=function(){return null};P.isSelectOption=!0;var j=P,K=function(){return null};K.isSelectOptGroup=!0;var N=K,B=e("VTBJ"),U=e("Zm9Q");function H(Q){var V=Q.key,J=Q.props,fe=J.children,oe=J.value,Le=Object(w.a)(J,["children","value"]);return Object(B.a)({key:V,value:oe!==void 0?oe:V,children:fe},Le)}function z(Q){var V=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;return Object(U.a)(Q).map(function(J,fe){if(!n.isValidElement(J)||!J.type)return null;var oe=J.type.isSelectOptGroup,Le=J.key,he=J.props,te=he.children,Z=Object(w.a)(he,["children"]);return V||!oe?H(J):Object(B.a)(Object(B.a)({key:"__RC_SELECT_GRP__".concat(Le===null?fe:Le,"__"),label:Le},Z),{},{options:z(te)})}).filter(function(J){return J})}var X=e("2Qr1"),W=e("qNPg"),Y=e("U8pU"),q=e("Kwbf"),me=e("WKfj");function G(Q){var V=Q.mode,J=Q.options,fe=Q.children,oe=Q.backfill,Le=Q.allowClear,he=Q.placeholder,te=Q.getInputElement,Z=Q.showSearch,ge=Q.onSearch,Re=Q.defaultOpen,ze=Q.autoFocus,dt=Q.labelInValue,De=Q.value,Tt=Q.inputValue,je=Q.optionLabelProp,st=V==="multiple"||V==="tags",Xe=Z!==void 0?Z:st||V==="combobox",Je=J||z(fe);if(Object(q.a)(V!=="tags"||Je.every(function(le){return!le.disabled}),"Please avoid setting option to disabled in tags mode since user can always type text as tag."),V==="tags"||V==="combobox"){var et=Je.some(function(le){return le.options?le.options.some(function(ae){return typeof("value"in ae?ae.value:ae.key)=="number"}):typeof("value"in le?le.value:le.key)=="number"});Object(q.a)(!et,"`value` of Option should not use number type when `mode` is `tags` or `combobox`.")}if(Object(q.a)(V!=="combobox"||!je,"`combobox` mode not support `optionLabelProp`. Please set `value` on Option directly."),Object(q.a)(V==="combobox"||!oe,"`backfill` only works with `combobox` mode."),Object(q.a)(V==="combobox"||!te,"`getInputElement` only work with `combobox` mode."),Object(q.b)(V!=="combobox"||!te||!Le||!he,"Customize `getInputElement` should customize clear and placeholder logic instead of configuring `allowClear` and `placeholder`."),ge&&!Xe&&V!=="combobox"&&V!=="tags"&&Object(q.a)(!1,"`onSearch` should work with `showSearch` instead of use alone."),Object(q.b)(!Re||ze,"`defaultOpen` makes Select open without focus which means it will not close by click outside. You can set `autoFocus` if needed."),De!=null){var at=Object(me.d)(De);Object(q.a)(!dt||at.every(function(le){return Object(Y.a)(le)==="object"&&("key"in le||"value"in le)}),"`value` should in shape of `{ value: string | number, label?: ReactNode }` when you set `labelInValue` to `true`"),Object(q.a)(!st||Array.isArray(De),"`value` should be array when `mode` is `multiple` or `tags`")}if(fe){var Ve=null;Object(U.a)(fe).some(function(le){if(!n.isValidElement(le)||!le.type)return!1;var ae=le.type;if(ae.isSelectOption)return!1;if(ae.isSelectOptGroup){var lt=Object(U.a)(le.props.children).every(function(Ze){return!n.isValidElement(Ze)||!le.type||Ze.type.isSelectOption?!0:(Ve=Ze.type,!1)});return!lt}return Ve=ae,!0}),Ve&&Object(q.a)(!1,"`children` should be `Select.Option` or `Select.OptGroup` instead of `".concat(Ve.displayName||Ve.name||Ve,"`.")),Object(q.a)(Tt===void 0,"`inputValue` is deprecated, please use `searchValue` instead.")}}var ye=G,Ae=Object(W.a)({prefixCls:"rc-select",components:{optionList:F},convertChildrenToData:z,flattenOptions:X.d,getLabeledValue:X.e,filterOptions:X.b,isValueDisabled:X.g,findValueOption:X.c,warningProps:ye,fillOptionsWithMissingValue:X.a}),ve=function(Q){Object(x.a)(J,Q);var V=Object(S.a)(J);function J(){var fe;return Object(u.a)(this,J),fe=V.apply(this,arguments),fe.selectRef=n.createRef(),fe.focus=function(){fe.selectRef.current.focus()},fe.blur=function(){fe.selectRef.current.blur()},fe}return Object(p.a)(J,[{key:"render",value:function(){return n.createElement(Ae,Object.assign({ref:this.selectRef},this.props))}}]),J}(n.Component);ve.Option=j,ve.OptGroup=N;var Ue=ve,Me=Ue,nt=e("H84U"),ne=e("1vzs"),be=e("3Nzz"),ot=function(Q){r()(J,Q);var V=d()(J);function J(){var fe;return h()(this,J),fe=V.apply(this,arguments),fe.selectRef=n.createRef(),fe.focus=function(){fe.selectRef.current&&fe.selectRef.current.focus()},fe.blur=function(){fe.selectRef.current&&fe.selectRef.current.blur()},fe.getMode=function(){var oe=fe.props.mode;return oe==="combobox"?void 0:oe===J.SECRET_COMBOBOX_MODE_DO_NOT_USE?"combobox":oe},fe.renderSelect=function(oe){var Le=oe.getPopupContainer,he=oe.getPrefixCls,te=oe.renderEmpty,Z=oe.direction,ge=oe.virtual,Re=oe.dropdownMatchSelectWidth,ze=fe.props,dt=ze.prefixCls,De=ze.notFoundContent,Tt=ze.className,je=ze.size,st=ze.listHeight,Xe=st===void 0?256:st,Je=ze.listItemHeight,et=Je===void 0?24:Je,at=ze.getPopupContainer,Ve=ze.dropdownClassName,le=ze.bordered,ae=he("select",dt),lt=fe.getMode(),Ze=lt==="multiple"||lt==="tags",Te;De!==void 0?Te=De:lt==="combobox"?Te=null:Te=te("Select");var Jt=Object(ne.a)(m()(m()({},fe.props),{multiple:Ze,prefixCls:ae})),mt=Jt.suffixIcon,ft=Jt.itemIcon,bt=Jt.removeIcon,It=Jt.clearIcon,or=Object(l.default)(fe.props,["prefixCls","suffixIcon","itemIcon","removeIcon","clearIcon","size","bordered"]),Pt=s()(Ve,f()({},"".concat(ae,"-dropdown-").concat(Z),Z==="rtl"));return n.createElement(be.b.Consumer,null,function(_e){var Ce,Ee=je||_e,we=s()(Tt,(Ce={},f()(Ce,"".concat(ae,"-lg"),Ee==="large"),f()(Ce,"".concat(ae,"-sm"),Ee==="small"),f()(Ce,"".concat(ae,"-rtl"),Z==="rtl"),f()(Ce,"".concat(ae,"-borderless"),!le),Ce));return n.createElement(Me,m()({ref:fe.selectRef,virtual:ge,dropdownMatchSelectWidth:Re},or,{listHeight:Xe,listItemHeight:et,mode:lt,prefixCls:ae,direction:Z,inputIcon:mt,menuItemSelectedIcon:ft,removeIcon:bt,clearIcon:It,notFoundContent:Te,className:we,getPopupContainer:at||Le,dropdownClassName:Pt}))})},fe}return a()(J,[{key:"render",value:function(){return n.createElement(nt.a,null,this.renderSelect)}}]),J}(n.Component);ot.Option=j,ot.OptGroup=N,ot.SECRET_COMBOBOX_MODE_DO_NOT_USE="SECRET_COMBOBOX_MODE_DO_NOT_USE",ot.defaultProps={transitionName:"slide-up",choiceTransitionName:"",bordered:!0};var ue=D.a=ot},"2fw6":function(R,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)}});R.exports=f},"2gN3":function(R,D,e){var g=e("Kz5y"),f=g["__core-js_shared__"];R.exports=f},"2jpz":function(R,D,e){"use strict";e.d(D,"a",function(){return p});var g=e("cDf5"),f=e.n(g),A=e("q1tI"),m=e.n(A),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(x,S,T,w){var E=w.isLeaf,C=w.expanded,_=w.loading;if(_)return A.createElement(a.a,{className:"".concat(x,"-switcher-loading-icon")});var y;if(T&&f()(T)==="object"&&(y=T.showLeafIcon),E)return T?f()(T)==="object"&&!y?A.createElement("span",{className:"".concat(x,"-switcher-leaf-line")}):A.createElement(r.a,{className:"".concat(x,"-switcher-line-icon")}):null;var b="".concat(x,"-switcher-icon");return Object(u.b)(S)?Object(u.a)(S,{className:h()(S.props.className||"",b)}):S||(T?C?A.createElement(d.a,{className:"".concat(x,"-switcher-line-icon")}):A.createElement(l.a,{className:"".concat(x,"-switcher-line-icon")}):A.createElement(s.a,{className:b}))}},"2oIt":function(R,D,e){"use strict";Object.defineProperty(D,"__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"};D.default=g},"2uGb":function(R,D,e){var g=e("ProS");e("ko1b"),e("s2lz"),e("RBEP");var f=e("kMLO"),A=e("nKiI");g.registerVisual(f),g.registerLayout(A)},"2w7y":function(R,D,e){var g=e("ProS");e("qMZE"),e("g0SD"),g.registerPreprocessor(function(f){f.markPoint=f.markPoint||{}})},"33Ds":function(R,D,e){var g=e("ProS"),f=e("b9oc"),A=e("Kagy"),m=e("IUWy"),v=A.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;R.exports=a},"34/K":function(R,D,e){"use strict";Object.defineProperty(D,"__esModule",{value:!0}),D.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 A(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 A(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,x=o.rQi;if(n==8){for(var S=i*u,T=new Uint8Array(S*4),w=0;w<S;w++)T[w*4+0]=(p[x+w]>>0&3)*255/3,T[w*4+1]=(p[x+w]>>2&3)*255/3,T[w*4+2]=(p[x+w]>>4&3)*255/3,T[w*4+4]=0;p=T,x=0}return d.blitImage(c,s,i,u,p,x),o.rQskipBytes(u*t),this._lines-=u,!(this._lines>0)}}]),v}();D.default=m},"3690":function(R,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(D,"__esModule",{value:!0}),D.default=void 0;var f=m(e("Lo0S"));function A(){if(typeof WeakMap!="function")return null;var i=new WeakMap;return A=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=A();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 x=t.rQ,S=t.rQi,T=x[S];if(T>30)throw new Error("Illegal hextile subencoding (subencoding: "+T+")");var w=this._totalTiles-this._tiles,E=w%this._tilesX,C=Math.floor(w/this._tilesX),_=o+E*16,y=d+C*16,b=Math.min(16,o+n-_),O=Math.min(16,d+l-y);if(T&1)p+=b*O*4;else if(T&2&&(p+=4),T&4&&(p+=4),T&8){if(p++,t.rQwait("HEXTILE",p))return!1;var I=x[S+p-1];T&16?p+=I*(4+2):p+=I*2}if(t.rQwait("HEXTILE",p))return!1;if(S++,T===0)this._lastsubencoding&1?f.Debug(" Ignoring blank after RAW"):s.fillRect(_,y,b,O,this._background);else if(T&1)s.blitImage(_,y,b,O,x,S),S+=p-1;else{if(T&2&&(this._background=[x[S],x[S+1],x[S+2],x[S+3]],S+=4),T&4&&(this._foreground=[x[S],x[S+1],x[S+2],x[S+3]],S+=4),s.startTile(_,y,b,O,this._background),T&8){var M=x[S];S++;for(var F=0;F<M;F++){var P=void 0;T&16?(P=[x[S],x[S+1],x[S+2],x[S+3]],S+=4):P=this._foreground;var j=x[S];S++;var K=j>>4,N=j&15,B=x[S];S++;var U=(B>>4)+1,H=(B&15)+1;s.subTile(K,N,U,H,P)}}s.finishTile()}t.rQi=S,this._lastsubencoding=T,this._tiles--}return!0}}]),i}();D.default=a},"3A9y":function(R,D){function e(g){return this.__data__.has(g)}R.exports=e},"3C/r":function(R,D){var e=function(A,m){this.image=A,this.repeat=m,this.type="pattern"};e.prototype.getCanvasPattern=function(f){return f.createPattern(this.image,this.repeat||"repeat")};var g=e;R.exports=g},"3CBa":function(R,D,e){var g=e("hydK"),f=g.createElement,A=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(b){return parseInt(b,10)}function u(b){return b instanceof v?n:b instanceof h?l:b instanceof c?t:n}function p(b,O){return O&&b&&O.parentNode!==b}function x(b,O,I){if(p(b,O)&&I){var M=I.nextSibling;M?b.insertBefore(O,M):b.appendChild(O)}}function S(b,O){if(p(b,O)){var I=b.firstChild;I?b.insertBefore(O,I):b.appendChild(O)}}function T(b,O){O&&b&&O.parentNode===b&&b.removeChild(O)}function w(b){return b.__textSvgEl}function E(b){return b.__svgEl}var C=function(O,I,M,F){this.root=O,this.storage=I,this._opts=M=A.extend({},M||{});var P=f("svg");P.setAttribute("xmlns","http://www.w3.org/2000/svg"),P.setAttribute("version","1.1"),P.setAttribute("baseProfile","full"),P.style.cssText="user-select:none;position:absolute;left:0;top:0;";var j=f("g");P.appendChild(j);var K=f("g");P.appendChild(K),this.gradientManager=new i(F,K),this.clipPathManager=new r(F,K),this.shadowManager=new o(F,K);var N=document.createElement("div");N.style.cssText="overflow:hidden;position:relative",this._svgDom=P,this._svgRoot=K,this._backgroundRoot=j,this._viewport=N,O.appendChild(N),N.appendChild(P),this.resize(M.width,M.height),this._visibleList=[]};C.prototype={constructor:C,getType:function(){return"svg"},getViewportRoot:function(){return this._viewport},getSvgDom:function(){return this._svgDom},getSvgRoot:function(){return this._svgRoot},getViewportRootOffset:function(){var O=this.getViewportRoot();if(O)return{offsetLeft:O.offsetLeft||0,offsetTop:O.offsetTop||0}},refresh:function(){var O=this.storage.getDisplayList(!0);this._paintList(O)},setBackgroundColor:function(O){this._backgroundRoot&&this._backgroundNode&&this._backgroundRoot.removeChild(this._backgroundNode);var I=f("rect");I.setAttribute("width",this.getWidth()),I.setAttribute("height",this.getHeight()),I.setAttribute("x",0),I.setAttribute("y",0),I.setAttribute("id",0),I.style.fill=O,this._backgroundRoot.appendChild(I),this._backgroundNode=I},_paintList:function(O){this.gradientManager.markAllUnused(),this.clipPathManager.markAllUnused(),this.shadowManager.markAllUnused();var I=this._svgRoot,M=this._visibleList,F=O.length,P=[],j;for(j=0;j<F;j++){var K=O[j],N=u(K),B=E(K)||w(K);K.invisible||(K.__dirty&&(N&&N.brush(K),this.clipPathManager.update(K),K.style&&(this.gradientManager.update(K.style.fill),this.gradientManager.update(K.style.stroke),this.shadowManager.update(B,K)),K.__dirty=!1),P.push(K))}var U=a(M,P),H;for(j=0;j<U.length;j++){var z=U[j];if(z.removed)for(var X=0;X<z.count;X++){var K=M[z.indices[X]],B=E(K),W=w(K);T(I,B),T(I,W)}}for(j=0;j<U.length;j++){var z=U[j];if(z.added)for(var X=0;X<z.count;X++){var K=P[z.indices[X]],B=E(K),W=w(K);H?x(I,B,H):S(I,B),B?x(I,W,B):H?x(I,W,H):S(I,W),x(I,W,B),H=W||B||H,this.gradientManager.addWithoutUpdate(B||W,K),this.shadowManager.addWithoutUpdate(B||W,K),this.clipPathManager.markUsed(K)}else if(!z.removed)for(var X=0;X<z.count;X++){var K=P[z.indices[X]],B=E(K),W=w(K),B=E(K),W=w(K);this.gradientManager.markUsed(K),this.gradientManager.addWithoutUpdate(B||W,K),this.shadowManager.markUsed(K),this.shadowManager.addWithoutUpdate(B||W,K),this.clipPathManager.markUsed(K),W&&x(I,W,B),H=B||W||H}}this.gradientManager.removeUnused(),this.clipPathManager.removeUnused(),this.shadowManager.removeUnused(),this._visibleList=P},_getDefs:function(O){var I=this._svgDom,M=I.getElementsByTagName("defs");if(M.length===0)if(O){var M=I.insertBefore(f("defs"),I.firstChild);return M.contains||(M.contains=function(P){var j=M.children;if(!j)return!1;for(var K=j.length-1;K>=0;--K)if(j[K]===P)return!0;return!1}),M}else return null;else return M[0]},resize:function(O,I){var M=this._viewport;M.style.display="none";var F=this._opts;if(O!=null&&(F.width=O),I!=null&&(F.height=I),O=this._getSize(0),I=this._getSize(1),M.style.display="",this._width!==O||this._height!==I){this._width=O,this._height=I;var P=M.style;P.width=O+"px",P.height=I+"px";var j=this._svgDom;j.setAttribute("width",O),j.setAttribute("height",I)}this._backgroundNode&&(this._backgroundNode.setAttribute("width",O),this._backgroundNode.setAttribute("height",I))},getWidth:function(){return this._width},getHeight:function(){return this._height},_getSize:function(O){var I=this._opts,M=["width","height"][O],F=["clientWidth","clientHeight"][O],P=["paddingLeft","paddingTop"][O],j=["paddingRight","paddingBottom"][O];if(I[M]!=null&&I[M]!=="auto")return parseFloat(I[M]);var K=this.root,N=document.defaultView.getComputedStyle(K);return(K[F]||s(N[M])||s(K.style[M]))-(s(N[P])||0)-(s(N[j])||0)|0},dispose:function(){this.root.innerHTML="",this._svgRoot=this._backgroundRoot=this._svgDom=this._backgroundNode=this._viewport=this.storage=null},clear:function(){this._viewport&&this.root.removeChild(this._viewport)},toDataURL:function(){this.refresh();var O=encodeURIComponent(this._svgDom.outerHTML.replace(/></g,`>
|
|
|
\r<`));return"data:image/svg+xml;charset=UTF-8,"+O}};function _(b){return function(){m('In SVG mode painter not support method "'+b+'"')}}A.each(["getLayer","insertLayer","eachLayer","eachBuiltinLayer","eachOtherLayer","getLayers","modLayer","delLayer","clearLayer","pathToImage"],function(b){C.prototype[b]=_(b)});var y=C;R.exports=y},"3Fdi":function(R,D){var e=Function.prototype,g=e.toString;function f(A){if(A!=null){try{return g.call(A)}catch(m){}try{return A+""}catch(m){}}return""}R.exports=f},"3LNs":function(R,D,e){var g=e("bYtY"),f=e("Yl7c"),A=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(x,S,T,w){var E=S.get("value"),C=S.get("status");if(this._axisModel=x,this._axisPointerModel=S,this._api=T,!w&&this._lastValue===E&&this._lastStatus===C)return;this._lastValue=E,this._lastStatus=C;var _=this._group,y=this._handle;if(!C||C==="hide"){_&&_.hide(),y&&y.hide();return}_&&_.show(),y&&y.show();var b={};this.makeElOption(b,E,x,S,T);var O=b.graphicKey;O!==this._lastGraphicKey&&this.clear(T),this._lastGraphicKey=O;var I=this._moveAnimation=this.determineAnimation(x,S);if(!_)_=this._group=new A.Group,this.createPointerEl(_,b,x,S),this.createLabelEl(_,b,x,S),T.getZr().add(_);else{var M=g.curry(n,S,I);this.updatePointerEl(_,b,M,S),this.updateLabelEl(_,b,M,S)}u(_,S,!0),this._renderHandle(E)},remove:function(x){this.clear(x)},dispose:function(x){this.clear(x)},determineAnimation:function(x,S){var T=S.get("animation"),w=x.axis,E=w.type==="category",C=S.get("snap");if(!C&&!E)return!1;if(T==="auto"||T==null){var _=this.animationThreshold;if(E&&w.getBandWidth()>_)return!0;if(C){var y=m.getAxisInfo(x).seriesDataCount,b=w.getExtent();return Math.abs(b[0]-b[1])/y>_}return!1}return T===!0},makeElOption:function(x,S,T,w,E){},createPointerEl:function(x,S,T,w){var E=S.pointer;if(E){var C=i(x).pointerEl=new A[E.type](r(S.pointer));x.add(C)}},createLabelEl:function(x,S,T,w){if(S.label){var E=i(x).labelEl=new A.Rect(r(S.label));x.add(E),t(E,w)}},updatePointerEl:function(x,S,T){var w=i(x).pointerEl;w&&S.pointer&&(w.setStyle(S.pointer.style),T(w,{shape:S.pointer.shape}))},updateLabelEl:function(x,S,T,w){var E=i(x).labelEl;E&&(E.setStyle(S.label.style),T(E,{shape:S.label.shape,position:S.label.position}),t(E,w))},_renderHandle:function(x){if(this._dragging||!this.updateHandleTransform)return;var S=this._axisPointerModel,T=this._api.getZr(),w=this._handle,E=S.getModel("handle"),C=S.get("status");if(!E.get("show")||!C||C==="hide"){w&&T.remove(w),this._handle=null;return}var _;this._handle||(_=!0,w=this._handle=A.createIcon(E.get("icon"),{cursor:"move",draggable:!0,onmousemove:function(O){v.stop(O.event)},onmousedown:o(this._onHandleDragMove,this,0,0),drift:o(this._onHandleDragMove,this),ondragend:o(this._onHandleDragEnd,this)}),T.add(w)),u(w,S,!1);var y=["color","borderColor","borderWidth","opacity","shadowColor","shadowBlur","shadowOffsetX","shadowOffsetY"];w.setStyle(E.getItemStyle(null,y));var b=E.get("size");g.isArray(b)||(b=[b,b]),w.attr("scale",[b[0]/2,b[1]/2]),h.createOrUpdate(this,"_doDispatchAxisPointer",E.get("throttle")||0,"fixRate"),this._moveHandleToValue(x,_)},_moveHandleToValue:function(x,S){n(this._axisPointerModel,!S&&this._moveAnimation,this._handle,s(this.getHandleTransform(x,this._axisModel,this._axisPointerModel)))},_onHandleDragMove:function(x,S){var T=this._handle;if(!T)return;this._dragging=!0;var w=this.updateHandleTransform(s(T),[x,S],this._axisModel,this._axisPointerModel);this._payloadInfo=w,T.stopAnimation(),T.attr(s(w)),i(T).lastProp=null,this._doDispatchAxisPointer()},_doDispatchAxisPointer:function(){var x=this._handle;if(!x)return;var S=this._payloadInfo,T=this._axisModel;this._api.dispatchAction({type:"updateAxisPointer",x:S.cursorPoint[0],y:S.cursorPoint[1],tooltipOption:S.tooltipOption,axesInfo:[{axisDim:T.axis.dim,axisIndex:T.componentIndex}]})},_onHandleDragEnd:function(x){this._dragging=!1;var S=this._handle;if(!S)return;var T=this._axisPointerModel.get("value");this._moveHandleToValue(T),this._api.dispatchAction({type:"hideTip"})},getHandleTransform:null,updateHandleTransform:null,clear:function(x){this._lastValue=null,this._lastStatus=null;var S=x.getZr(),T=this._group,w=this._handle;S&&T&&(this._lastGraphicKey=null,T&&S.remove(T),w&&S.remove(w),this._group=null,this._handle=null,this._payloadInfo=null)},doClear:function(){},buildLabel:function(x,S,T){return T=T||0,{x:x[T],y:x[1-T],width:S[T],height:S[1-T]}}},d.prototype.constructor=d;function n(x,S,T,w){l(i(T).lastProp,w)||(i(T).lastProp=w,S?A.updateProps(T,w,x):(T.stopAnimation(),T.attr(w)))}function l(x,S){if(g.isObject(x)&&g.isObject(S)){var T=!0;return g.each(S,function(w,E){T=T&&l(x[E],w)}),!!T}else return x===S}function t(x,S){x[S.get("label.show")?"show":"hide"]()}function s(x){return{position:x.position.slice(),rotation:x.rotation||0}}function u(x,S,T){var w=S.get("z"),E=S.get("zlevel");x&&x.traverse(function(C){C.type!=="group"&&(w!=null&&(C.z=w),E!=null&&(C.zlevel=E),C.silent=T)})}f.enableClassExtend(d);var p=d;R.exports=p},"3OrL":function(R,D,e){var g=e("bYtY"),f=e("6Ic6"),A=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 x=n.get("layout")==="horizontal"?1:0;s.diff(p).add(function(S){if(s.hasValue(S)){var T=s.getItemLayout(S),w=i(T,s,S,x,!0);s.setItemGraphicEl(S,w),u.add(w)}}).update(function(S,T){var w=p.getItemGraphicEl(T);if(!s.hasValue(S)){u.remove(w);return}var E=s.getItemLayout(S);w?r(E,w,s,S):w=i(E,s,S,x),u.add(w),s.setItemGraphicEl(S,w)}).remove(function(S){var T=p.getItemGraphicEl(S);T&&u.remove(T)}).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,x=new a({shape:{points:u?o(p,s,n):p}});return r(n,x,l,t,u),x}function r(n,l,t,s,u){var p=t.hostModel,x=A[u?"initProps":"updateProps"];x(l,{shape:{points:n.ends}},p,s);var S=t.getItemModel(s),T=S.getModel(v),w=t.getItemVisual(s,"color"),E=T.getItemStyle(["borderColor"]);E.stroke=w,E.strokeNoScale=!0,l.useStyle(E),l.z2=100;var C=S.getModel(h).getItemStyle();A.setHoverStyle(l,C)}function o(n,l,t){return g.map(n,function(s){return s=s.slice(),s[l]=t.initBaseline,s})}var d=c;R.exports=d},"3S7+":function(R,D,e){"use strict";var g=e("lSNA"),f=e.n(g),A=e("J4zp"),m=e.n(A),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(W){var Y=W.overlay,q=W.prefixCls,me=W.id,G=W.overlayInnerStyle;return a.a.createElement("div",{className:"".concat(q,"-inner"),id:me,role:"tooltip",style:G},typeof Y=="function"?Y():Y)},t=l;function s(X){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?s=function(Y){return typeof Y}:s=function(Y){return Y&&typeof Symbol=="function"&&Y.constructor===Symbol&&Y!==Symbol.prototype?"symbol":typeof Y},s(X)}function u(X,W){var Y=Object.keys(X);if(Object.getOwnPropertySymbols){var q=Object.getOwnPropertySymbols(X);W&&(q=q.filter(function(me){return Object.getOwnPropertyDescriptor(X,me).enumerable})),Y.push.apply(Y,q)}return Y}function p(X){for(var W=1;W<arguments.length;W++){var Y=arguments[W]!=null?arguments[W]:{};W%2?u(Object(Y),!0).forEach(function(q){x(X,q,Y[q])}):Object.getOwnPropertyDescriptors?Object.defineProperties(X,Object.getOwnPropertyDescriptors(Y)):u(Object(Y)).forEach(function(q){Object.defineProperty(X,q,Object.getOwnPropertyDescriptor(Y,q))})}return X}function x(X,W,Y){return W in X?Object.defineProperty(X,W,{value:Y,enumerable:!0,configurable:!0,writable:!0}):X[W]=Y,X}function S(X,W){if(X==null)return{};var Y=T(X,W),q,me;if(Object.getOwnPropertySymbols){var G=Object.getOwnPropertySymbols(X);for(me=0;me<G.length;me++){if(q=G[me],W.indexOf(q)>=0)continue;if(!Object.prototype.propertyIsEnumerable.call(X,q))continue;Y[q]=X[q]}}return Y}function T(X,W){if(X==null)return{};var Y={},q=Object.keys(X),me,G;for(G=0;G<q.length;G++){if(me=q[G],W.indexOf(me)>=0)continue;Y[me]=X[me]}return Y}var w=function(W,Y){var q=W.overlayClassName,me=W.trigger,G=me===void 0?["hover"]:me,ye=W.mouseEnterDelay,Ae=ye===void 0?0:ye,ve=W.mouseLeaveDelay,Ue=ve===void 0?.1:ve,Me=W.overlayStyle,nt=W.prefixCls,ne=nt===void 0?"rc-tooltip":nt,be=W.children,ot=W.onVisibleChange,ue=W.afterVisibleChange,Q=W.transitionName,V=W.animation,J=W.placement,fe=J===void 0?"right":J,oe=W.align,Le=oe===void 0?{}:oe,he=W.destroyTooltipOnHide,te=he===void 0?!1:he,Z=W.defaultVisible,ge=W.getTooltipContainer,Re=W.overlayInnerStyle,ze=S(W,["overlayClassName","trigger","mouseEnterDelay","mouseLeaveDelay","overlayStyle","prefixCls","children","onVisibleChange","afterVisibleChange","transitionName","animation","placement","align","destroyTooltipOnHide","defaultVisible","getTooltipContainer","overlayInnerStyle"]),dt=Object(c.useRef)(null);Object(c.useImperativeHandle)(Y,function(){return dt.current});var De=p({},ze);"visible"in W&&(De.popupVisible=W.visible);var Tt=function(){var et=W.arrowContent,at=et===void 0?null:et,Ve=W.overlay,le=W.id;return[a.a.createElement("div",{className:"".concat(ne,"-arrow"),key:"arrow"},at),a.a.createElement(t,{key:"content",prefixCls:ne,id:le,overlay:Ve,overlayInnerStyle:Re})]},je=!1,st=!1;if(typeof te=="boolean")je=te;else if(te&&s(te)==="object"){var Xe=te.keepParent;je=Xe===!0,st=Xe===!1}return a.a.createElement(i.a,Object.assign({popupClassName:q,prefixCls:ne,popup:Tt,action:G,builtinPlacements:d,popupPlacement:fe,ref:dt,popupAlign:Le,getPopupContainer:ge,onPopupVisibleChange:ot,afterPopupVisibleChange:ue,popupTransitionName:Q,popupAnimation:V,defaultPopupVisible:Z,destroyPopupOnHide:je,autoDestroy:st,mouseLeaveDelay:Ue,popupStyle:Me,mouseEnterDelay:Ae},De),be)},E=Object(c.forwardRef)(w),C=E,_=e("TSYQ"),y=e.n(_),b={adjustX:1,adjustY:1},O={adjustX:0,adjustY:0},I=[0,0];function M(X){return typeof X=="boolean"?X?b:O:h()(h()({},O),X)}function F(X){var W=X.arrowWidth,Y=W===void 0?5:W,q=X.horizontalArrowShift,me=q===void 0?16:q,G=X.verticalArrowShift,ye=G===void 0?8:G,Ae=X.autoAdjustOverflow,ve={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:[-(me+Y),-4]},leftTop:{points:["tr","cl"],offset:[-4,-(ye+Y)]},topRight:{points:["br","tc"],offset:[me+Y,-4]},rightTop:{points:["tl","cr"],offset:[4,-(ye+Y)]},bottomRight:{points:["tr","bc"],offset:[me+Y,4]},rightBottom:{points:["bl","cr"],offset:[4,ye+Y]},bottomLeft:{points:["tl","bc"],offset:[-(me+Y),4]},leftBottom:{points:["br","cl"],offset:[-4,ye+Y]}};return Object.keys(ve).forEach(function(Ue){ve[Ue]=X.arrowPointAtCenter?h()(h()({},ve[Ue]),{overflow:M(Ae),targetOffset:I}):h()(h()({},d[Ue]),{overflow:M(Ae)}),ve[Ue].ignoreShake=!0}),ve}var P=e("0n0R"),j=e("H84U"),K=e("09Wf"),N=function(W,Y){var q={},me=h()({},W);return Y.forEach(function(G){W&&G in W&&(q[G]=W[G],delete me[G])}),{picked:q,omitted:me}},B=new RegExp("^(".concat(K.a.join("|"),")(-inverse)?$"));function U(X,W){var Y=X.type;if((Y.__ANT_BUTTON===!0||Y.__ANT_SWITCH===!0||Y.__ANT_CHECKBOX===!0||X.type==="button")&&X.props.disabled){var q=N(X.props.style,["position","left","right","top","bottom","float","display","zIndex"]),me=q.picked,G=q.omitted,ye=h()(h()({display:"inline-block"},me),{cursor:"not-allowed",width:X.props.block?"100%":null}),Ae=h()(h()({},G),{pointerEvents:"none"}),ve=Object(P.a)(X,{style:Ae,className:null});return c.createElement("span",{style:ye,className:y()(X.props.className,"".concat(W,"-disabled-compatible-wrapper"))},ve)}return X}var H=c.forwardRef(function(X,W){var Y,q=c.useContext(j.b),me=q.getPopupContainer,G=q.getPrefixCls,ye=q.direction,Ae=c.useState(!!X.visible||!!X.defaultVisible),ve=m()(Ae,2),Ue=ve[0],Me=ve[1];c.useEffect(function(){"visible"in X&&Me(X.visible)},[X.visible]);var nt=function(){var Xe=X.title,Je=X.overlay;return!Xe&&!Je&&Xe!==0},ne=function(Xe){"visible"in X||Me(nt()?!1:Xe),X.onVisibleChange&&!nt()&&X.onVisibleChange(Xe)},be=function(){var Xe=X.builtinPlacements,Je=X.arrowPointAtCenter,et=X.autoAdjustOverflow;return Xe||F({arrowPointAtCenter:Je,autoAdjustOverflow:et})},ot=function(Xe,Je){var et=be(),at=Object.keys(et).filter(function(ae){return et[ae].points[0]===Je.points[0]&&et[ae].points[1]===Je.points[1]})[0];if(!at)return;var Ve=Xe.getBoundingClientRect(),le={top:"50%",left:"50%"};at.indexOf("top")>=0||at.indexOf("Bottom")>=0?le.top="".concat(Ve.height-Je.offset[1],"px"):(at.indexOf("Top")>=0||at.indexOf("bottom")>=0)&&(le.top="".concat(-Je.offset[1],"px")),at.indexOf("left")>=0||at.indexOf("Right")>=0?le.left="".concat(Ve.width-Je.offset[0],"px"):(at.indexOf("right")>=0||at.indexOf("Left")>=0)&&(le.left="".concat(-Je.offset[0],"px")),Xe.style.transformOrigin="".concat(le.left," ").concat(le.top)},ue=function(){var Xe=X.title,Je=X.overlay;return Xe===0?Xe:Je||Xe||""},Q=X.prefixCls,V=X.openClassName,J=X.getPopupContainer,fe=X.getTooltipContainer,oe=X.overlayClassName,Le=X.color,he=X.overlayInnerStyle,te=X.children,Z=G("tooltip",Q),ge=Ue;!("visible"in X)&&nt()&&(ge=!1);var Re=U(Object(P.b)(te)?te:c.createElement("span",null,te),Z),ze=Re.props,dt=y()(ze.className,f()({},V||"".concat(Z,"-open"),!0)),De=y()(oe,(Y={},f()(Y,"".concat(Z,"-rtl"),ye==="rtl"),f()(Y,"".concat(Z,"-").concat(Le),Le&&B.test(Le)),Y)),Tt,je;return Le&&!B.test(Le)&&(Tt=h()(h()({},he),{background:Le}),je={background:Le}),c.createElement(C,h()({},X,{prefixCls:Z,overlayClassName:De,getTooltipContainer:J||fe||me,ref:W,builtinPlacements:be(),overlay:ue(),visible:ge,onVisibleChange:ne,onPopupAlign:ot,overlayInnerStyle:Tt,arrowContent:c.createElement("span",{className:"".concat(Z,"-arrow-content"),style:je})}),ge?Object(P.a)(Re,{className:dt}):Re)});H.displayName="Tooltip",H.defaultProps={placement:"top",transitionName:"zoom-big-fast",mouseEnterDelay:.1,mouseLeaveDelay:.1,arrowPointAtCenter:!1,autoAdjustOverflow:!0};var z=D.a=H},"3TkU":function(R,D,e){e("aTJb"),e("OlYY"),e("fc+c"),e("QUw5"),e("Swgg"),e("LBfv"),e("noeP")},"3X6L":function(R,D,e){var g=e("bYtY"),f=e("7a+S"),A=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,A);var v=m;R.exports=v},"3dVZ":function(R,D,e){},"3e3G":function(R,D,e){var g=e("bYtY"),f=e("QuXc"),A=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)};A.prototype={constructor:A},g.inherits(A,f);var m=A;R.exports=m},"3gBT":function(R,D){var e=2311;function g(){return e++}R.exports=g},"3hzK":function(R,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")}}};R.exports=e},"3m61":function(R,D){function e(f){return f instanceof Array||(f=[f,f]),f}function g(f){f.eachSeriesByType("graph",function(A){var m=A.getGraph(),v=A.getEdgeData(),h=e(A.get("edgeSymbol")),c=e(A.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",A.get(a)),v.setVisual("opacity",A.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)})})}R.exports=g},"3ouR":function(R,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"},A=f,m=e("6VBw"),v=function(a,i){return g.createElement(m.a,Object.assign({},a,{ref:i,icon:A}))};v.displayName="CloseSquareOutlined";var h=D.a=g.forwardRef(v)},"3zoK":function(R,D,e){var g=e("bYtY"),f=e("bLfw"),A=e("KCsZ"),m=e("nkfE"),v=e("OELB"),h=e("ICMv"),c=f.extend({type:"baseParallelAxis",axis:null,activeIntervals:[],getAreaSelectStyle:function(){return A([["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;R.exports=r},"49sm":function(R,D){var e={}.toString;R.exports=Array.isArray||function(g){return e.call(g)=="[object Array]"}},"4Feb":function(R,D,e){var g=e("Tghj"),f=g.__DEV__,A=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"),x=e("6usn"),S=e("Rx6q"),T=m.CACHED_LABEL_STYLE_PROPERTIES,w=["itemStyle"],E=["emphasis","itemStyle"],C=["label"],_=["emphasis","label"],y="e\0\0",b={cartesian2d:s,geo:u,singleAxis:p,polar:x,calendar:S};o.extend({type:"series.custom",dependencies:["grid","polar","geo","singleAxis","calendar"],defaultOption:{coordinateSystem:"cartesian2d",zlevel:0,z:2,legendHoverLink:!0,useTransform:!0,clip:!1},getInitialData:function(G,ye){return c(this.getSource(),this)},getDataParams:function(G,ye,Ae){var ve=o.prototype.getDataParams.apply(this,arguments);return Ae&&(ve.info=Ae.info),ve}}),n.extend({type:"custom",_data:null,render:function(G,ye,Ae,ve){var Ue=this._data,Me=G.getData(),nt=this.group,ne=F(G,Me,ye,Ae);Me.diff(Ue).add(function(ot){j(null,ot,ne(ot,ve),G,nt,Me)}).update(function(ot,ue){var Q=Ue.getItemGraphicEl(ue);j(Q,ot,ne(ot,ve),G,nt,Me)}).remove(function(ot){var ue=Ue.getItemGraphicEl(ot);ue&&nt.remove(ue)}).execute();var be=G.get("clip",!0)?t(G.coordinateSystem,!1,G):null;be?nt.setClipPath(be):nt.removeClipPath(),this._data=Me},incrementalPrepareRender:function(G,ye,Ae){this.group.removeAll(),this._data=null},incrementalRender:function(G,ye,Ae,ve,Ue){var Me=ye.getData(),nt=F(ye,Me,Ae,ve);function ne(ue){ue.isGroup||(ue.incremental=!0,ue.useHoverLayer=!0)}for(var be=G.start;be<G.end;be++){var ot=j(null,be,nt(be,Ue),ye,this.group,Me);ot.traverse(ne)}},dispose:A.noop,filterForExposedEvent:function(G,ye,Ae,ve){var Ue=ye.element;if(Ue==null||Ae.name===Ue)return!0;for(;(Ae=Ae.parent)&&Ae!==this.group;)if(Ae.name===Ue)return!0;return!1}});function O(G){var ye=G.type,Ae;if(ye==="path"){var ve=G.shape,Ue=ve.width!=null&&ve.height!=null?{x:ve.x||0,y:ve.y||0,width:ve.width,height:ve.height}:null,Me=Y(ve);Ae=m.makePath(Me,null,Ue,ve.layout||"center"),Ae.__customPathData=Me}else if(ye==="image")Ae=new m.Image({}),Ae.__customImagePath=G.style.image;else if(ye==="text")Ae=new m.Text({}),Ae.__customText=G.style.text;else if(ye==="group")Ae=new m.Group;else{if(ye==="compoundPath")throw new Error('"compoundPath" is not supported yet.');var nt=m.getShapeClass(ye);Ae=new nt}return Ae.__customGraphicType=ye,Ae.name=G.name,Ae}function I(G,ye,Ae,ve,Ue,Me,nt){var ne={},be=Ae.style||{};if(Ae.shape&&(ne.shape=A.clone(Ae.shape)),Ae.position&&(ne.position=Ae.position.slice()),Ae.scale&&(ne.scale=Ae.scale.slice()),Ae.origin&&(ne.origin=Ae.origin.slice()),Ae.rotation&&(ne.rotation=Ae.rotation),G.type==="image"&&Ae.style){var ot=ne.style={};A.each(["x","y","width","height"],function(V){M(V,ot,be,G.style,Me)})}if(G.type==="text"&&Ae.style){var ot=ne.style={};A.each(["x","y"],function(J){M(J,ot,be,G.style,Me)}),!be.hasOwnProperty("textFill")&&be.fill&&(be.textFill=be.fill),!be.hasOwnProperty("textStroke")&&be.stroke&&(be.textStroke=be.stroke)}if(G.type!=="group"&&(G.useStyle(be),Me)){G.style.opacity=0;var ue=be.opacity;ue==null&&(ue=1),m.initProps(G,{style:{opacity:ue}},ve,ye)}Me?G.attr(ne):m.updateProps(G,ne,ve,ye),Ae.hasOwnProperty("z2")&&G.attr("z2",Ae.z2||0),Ae.hasOwnProperty("silent")&&G.attr("silent",Ae.silent),Ae.hasOwnProperty("invisible")&&G.attr("invisible",Ae.invisible),Ae.hasOwnProperty("ignore")&&G.attr("ignore",Ae.ignore),Ae.hasOwnProperty("info")&&G.attr("info",Ae.info);var Q=Ae.styleEmphasis;m.setElementHoverStyle(G,Q),nt&&m.setAsHighDownDispatcher(G,Q!==!1)}function M(G,ye,Ae,ve,Ue){Ae[G]!=null&&!Ue&&(ye[G]=Ae[G],Ae[G]=ve[G])}function F(G,ye,Ae,ve){var Ue=G.get("renderItem"),Me=G.coordinateSystem,nt={};Me&&(nt=Me.prepareCustoms?Me.prepareCustoms():b[Me.type](Me));var ne=A.defaults({getWidth:ve.getWidth,getHeight:ve.getHeight,getZr:ve.getZr,getDevicePixelRatio:ve.getDevicePixelRatio,value:Le,style:he,styleEmphasis:te,visual:Z,barLayout:ge,currentSeriesIndices:Re,font:ze},nt.api||{}),be={context:{},seriesId:G.id,seriesName:G.name,seriesIndex:G.seriesIndex,coordSys:nt.coordSys,dataInsideLength:ye.count(),encode:P(G.getData())},ot,ue=!0,Q,V,J,fe;return function(dt,De){return ot=dt,ue=!0,Ue&&Ue(A.defaults({dataIndexInside:dt,dataIndex:ye.getRawIndex(dt),actionType:De?De.type:null},be),ne)};function oe(dt){dt==null&&(dt=ot),ue&&(Q=ye.getItemModel(dt),V=Q.getModel(C),J=Q.getModel(_),fe=ye.getItemVisual(dt,"color"),ue=!1)}function Le(dt,De){return De==null&&(De=ot),ye.get(ye.getDimension(dt||0),De)}function he(dt,De){De==null&&(De=ot),oe(De);var Tt=Q.getModel(w).getItemStyle();fe!=null&&(Tt.fill=fe);var je=ye.getItemVisual(De,"opacity");je!=null&&(Tt.opacity=je);var st=dt?z(dt,V):V;return m.setTextStyle(Tt,st,null,{autoColor:fe,isRectText:!0}),Tt.text=st.getShallow("show")?A.retrieve2(G.getFormattedLabel(De,"normal"),h(ye,De)):null,dt&&X(Tt,dt),Tt}function te(dt,De){De==null&&(De=ot),oe(De);var Tt=Q.getModel(E).getItemStyle(),je=dt?z(dt,J):J;return m.setTextStyle(Tt,je,null,{isRectText:!0},!0),Tt.text=je.getShallow("show")?A.retrieve3(G.getFormattedLabel(De,"emphasis"),G.getFormattedLabel(De,"normal"),h(ye,De)):null,dt&&X(Tt,dt),Tt}function Z(dt,De){return De==null&&(De=ot),ye.getItemVisual(De,dt)}function ge(dt){if(Me.getBaseAxis){var De=Me.getBaseAxis();return i(A.defaults({axis:De},dt),ve)}}function Re(){return Ae.getCurrentSeriesIndices()}function ze(dt){return m.getFont(dt,Ae)}}function P(G){var ye={};return A.each(G.dimensions,function(Ae,ve){var Ue=G.getDimensionInfo(Ae);if(!Ue.isExtraCoord){var Me=Ue.coordDim,nt=ye[Me]=ye[Me]||[];nt[Ue.coordDimIndex]=ve}}),ye}function j(G,ye,Ae,ve,Ue,Me){return G=K(G,ye,Ae,ve,Ue,Me,!0),G&&Me.setItemGraphicEl(ye,G),G}function K(G,ye,Ae,ve,Ue,Me,nt){var ne=!Ae;Ae=Ae||{};var be=Ae.type,ot=Ae.shape,ue=Ae.style;if(G&&(ne||be!=null&&be!==G.__customGraphicType||be==="path"&&q(ot)&&Y(ot)!==G.__customPathData||be==="image"&&me(ue,"image")&&ue.image!==G.__customImagePath||be==="text"&&me(ot,"text")&&ue.text!==G.__customText)&&(Ue.remove(G),G=null),ne)return;var Q=!G;return!G&&(G=O(Ae)),I(G,ye,Ae,ve,Me,Q,nt),be==="group"&&N(G,ye,Ae,ve,Me),Ue.add(G),G}function N(G,ye,Ae,ve,Ue){var Me=Ae.children,nt=Me?Me.length:0,ne=Ae.$mergeChildren,be=ne==="byName"||Ae.diffChildrenByName,ot=ne===!1;if(!nt&&!be&&!ot)return;if(be){B({oldChildren:G.children()||[],newChildren:Me||[],dataIndex:ye,animatableModel:ve,group:G,data:Ue});return}ot&&G.removeAll();for(var ue=0;ue<nt;ue++)Me[ue]&&K(G.childAt(ue),ye,Me[ue],ve,G,Ue)}function B(G){new r(G.oldChildren,G.newChildren,U,U,G).add(H).update(H).remove(W).execute()}function U(G,ye){var Ae=G&&G.name;return Ae!=null?Ae:y+ye}function H(G,ye){var Ae=this.context,ve=G!=null?Ae.newChildren[G]:null,Ue=ye!=null?Ae.oldChildren[ye]:null;K(Ue,Ae.dataIndex,ve,Ae.animatableModel,Ae.group,Ae.data)}function z(G,ye){var Ae=new d({},ye);return A.each(T,function(ve,Ue){G.hasOwnProperty(ve)&&(Ae.option[Ue]=G[ve])}),Ae}function X(G,ye){for(var Ae in ye)(ye.hasOwnProperty(Ae)||!T.hasOwnProperty(Ae))&&(G[Ae]=ye[Ae])}function W(G){var ye=this.context,Ae=ye.oldChildren[G];Ae&&ye.group.remove(Ae)}function Y(G){return G&&(G.pathData||G.d)}function q(G){return G&&(G.hasOwnProperty("pathData")||G.hasOwnProperty("d"))}function me(G,ye){return G&&G.hasOwnProperty(ye)}},"4HMb":function(R,D,e){var g=e("bYtY"),f=e("6GrX"),A=e("4NO4"),m=A.makeInner,v=e("aX7z"),h=v.makeLabelFormatter,c=v.getOptionCategoryInterval,a=v.shouldShowAllLabels,i=m();function r(C){return C.type==="category"?d(C):t(C)}function o(C,_){return C.type==="category"?l(C,_):{ticks:C.scale.getTicks()}}function d(C){var _=C.getLabelModel(),y=n(C,_);return!_.get("show")||C.scale.isBlank()?{labels:[],labelCategoryInterval:y.labelCategoryInterval}:y}function n(C,_){var y=s(C,"labels"),b=c(_),O=u(y,b);if(O)return O;var I,M;return g.isFunction(b)?I=E(C,b):(M=b==="auto"?x(C):b,I=w(C,M)),p(y,b,{labels:I,labelCategoryInterval:M})}function l(C,_){var y=s(C,"ticks"),b=c(_),O=u(y,b);if(O)return O;var I,M;if((!_.get("show")||C.scale.isBlank())&&(I=[]),g.isFunction(b))I=E(C,b,!0);else if(b==="auto"){var F=n(C,C.getLabelModel());M=F.labelCategoryInterval,I=g.map(F.labels,function(P){return P.tickValue})}else M=b,I=w(C,M,!0);return p(y,b,{ticks:I,tickCategoryInterval:M})}function t(C){var _=C.scale.getTicks(),y=h(C);return{labels:g.map(_,function(b,O){return{formattedLabel:y(b,O),rawLabel:C.scale.getLabel(b),tickValue:b}})}}function s(C,_){return i(C)[_]||(i(C)[_]=[])}function u(C,_){for(var y=0;y<C.length;y++)if(C[y].key===_)return C[y].value}function p(C,_,y){return C.push({key:_,value:y}),y}function x(C){var _=i(C).autoInterval;return _!=null?_:i(C).autoInterval=C.calculateCategoryInterval()}function S(C){var _=T(C),y=h(C),b=(_.axisRotate-_.labelRotate)/180*Math.PI,O=C.scale,I=O.getExtent(),M=O.count();if(I[1]-I[0]<1)return 0;var F=1;M>40&&(F=Math.max(1,Math.floor(M/40)));for(var P=I[0],j=C.dataToCoord(P+1)-C.dataToCoord(P),K=Math.abs(j*Math.cos(b)),N=Math.abs(j*Math.sin(b)),B=0,U=0;P<=I[1];P+=F){var H=0,z=0,X=f.getBoundingRect(y(P),_.font,"center","top");H=X.width*1.3,z=X.height*1.3,B=Math.max(B,H,7),U=Math.max(U,z,7)}var W=B/K,Y=U/N;isNaN(W)&&(W=Infinity),isNaN(Y)&&(Y=Infinity);var q=Math.max(0,Math.floor(Math.min(W,Y))),me=i(C.model),G=C.getExtent(),ye=me.lastAutoInterval,Ae=me.lastTickCount;return ye!=null&&Ae!=null&&Math.abs(ye-q)<=1&&Math.abs(Ae-M)<=1&&ye>q&&me.axisExtend0===G[0]&&me.axisExtend1===G[1]?q=ye:(me.lastTickCount=M,me.lastAutoInterval=q,me.axisExtend0=G[0],me.axisExtend1=G[1]),q}function T(C){var _=C.getLabelModel();return{axisRotate:C.getRotate?C.getRotate():C.isHorizontal&&!C.isHorizontal()?90:0,labelRotate:_.get("rotate")||0,font:_.getFont()}}function w(C,_,y){var b=h(C),O=C.scale,I=O.getExtent(),M=C.getLabelModel(),F=[],P=Math.max((_||0)+1,1),j=I[0],K=O.count();j!==0&&P>1&&K/P>2&&(j=Math.round(Math.ceil(j/P)*P));var N=a(C),B=M.get("showMinLabel")||N,U=M.get("showMaxLabel")||N;B&&j!==I[0]&&z(I[0]);for(var H=j;H<=I[1];H+=P)z(H);U&&H-P!==I[1]&&z(I[1]);function z(X){F.push(y?X:{formattedLabel:b(X),rawLabel:O.getLabel(X),tickValue:X})}return F}function E(C,_,y){var b=C.scale,O=h(C),I=[];return g.each(b.getTicks(),function(M){var F=b.getLabel(M);_(M,F)&&I.push(y?M:{formattedLabel:O(M),rawLabel:F,tickValue:M})}),I}D.createAxisLabels=r,D.createAxisTicks=o,D.calculateCategoryInterval=S},"4NO4":function(R,D,e){var g=e("bYtY"),f=e("ItGF"),A=g.each,m=g.isObject,v=g.isArray,h="series\0";function c(y){return y instanceof Array?y:y==null?[]:[y]}function a(y,b,O){if(y){y[b]=y[b]||{},y.emphasis=y.emphasis||{},y.emphasis[b]=y.emphasis[b]||{};for(var I=0,M=O.length;I<M;I++){var F=O[I];!y.emphasis[b].hasOwnProperty(F)&&y[b].hasOwnProperty(F)&&(y.emphasis[b][F]=y[b][F])}}}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(y){return m(y)&&!v(y)&&!(y instanceof Date)?y.value:y}function o(y){return m(y)&&!(y instanceof Array)}function d(y,b){b=(b||[]).slice();var O=g.map(y||[],function(I,M){return{exist:I}});return A(b,function(I,M){if(!m(I))return;for(var F=0;F<O.length;F++)if(!O[F].option&&I.id!=null&&O[F].exist.id===I.id+""){O[F].option=I,b[M]=null;return}for(var F=0;F<O.length;F++){var P=O[F].exist;if(!O[F].option&&(P.id==null||I.id==null)&&I.name!=null&&!t(I)&&!t(P)&&P.name===I.name+""){O[F].option=I,b[M]=null;return}}}),A(b,function(I,M){if(!m(I))return;for(var F=0;F<O.length;F++){var P=O[F].exist;if(!O[F].option&&!t(P)&&I.id==null){O[F].option=I;break}}F>=O.length&&O.push({option:I})}),O}function n(y){var b=g.createHashMap();A(y,function(O,I){var M=O.exist;M&&b.set(M.id,O)}),A(y,function(O,I){var M=O.option;g.assert(!M||M.id==null||!b.get(M.id)||b.get(M.id)===O,"id duplicates: "+(M&&M.id)),M&&M.id!=null&&b.set(M.id,O),!O.keyInfo&&(O.keyInfo={})}),A(y,function(O,I){var M=O.exist,F=O.option,P=O.keyInfo;if(!m(F))return;if(P.name=F.name!=null?F.name+"":M?M.name:h+I,M)P.id=M.id;else if(F.id!=null)P.id=F.id+"";else{var j=0;do P.id="\0"+P.name+"\0"+j++;while(b.get(P.id))}b.set(P.id,O)})}function l(y){var b=y.name;return!!(b&&b.indexOf(h))}function t(y){return m(y)&&y.id&&(y.id+"").indexOf("\0_ec_\0")===0}function s(y,b){var O={},I={};return M(y||[],O),M(b||[],I,O),[F(O),F(I)];function M(P,j,K){for(var N=0,B=P.length;N<B;N++)for(var U=P[N].seriesId,H=c(P[N].dataIndex),z=K&&K[U],X=0,W=H.length;X<W;X++){var Y=H[X];z&&z[Y]?z[Y]=null:(j[U]||(j[U]={}))[Y]=1}}function F(P,j){var K=[];for(var N in P)if(P.hasOwnProperty(N)&&P[N]!=null)if(j)K.push(+N);else{var B=F(P[N],!0);B.length&&K.push({seriesId:N,dataIndex:B})}return K}}function u(y,b){if(b.dataIndexInside!=null)return b.dataIndexInside;if(b.dataIndex!=null)return g.isArray(b.dataIndex)?g.map(b.dataIndex,function(O){return y.indexOfRawIndex(O)}):y.indexOfRawIndex(b.dataIndex);if(b.name!=null)return g.isArray(b.name)?g.map(b.name,function(O){return y.indexOfName(O)}):y.indexOfName(b.name)}function p(){var y="__\0ec_inner_"+x+++"_"+Math.random().toFixed(5);return function(b){return b[y]||(b[y]={})}}var x=0;function S(y,b,O){if(g.isString(b)){var I={};I[b+"Index"]=0,b=I}var M=O&&O.defaultMainType;M&&!T(b,M+"Index")&&!T(b,M+"Id")&&!T(b,M+"Name")&&(b[M+"Index"]=0);var F={};return A(b,function(P,j){var P=b[j];if(j==="dataIndex"||j==="dataIndexInside"){F[j]=P;return}var K=j.match(/^(\w+)(Index|Id|Name)$/)||[],N=K[1],B=(K[2]||"").toLowerCase();if(!N||!B||P==null||B==="index"&&P==="none"||O&&O.includeMainTypes&&g.indexOf(O.includeMainTypes,N)<0)return;var U={mainType:N};(B!=="index"||P!=="all")&&(U[B]=P);var H=y.queryComponents(U);F[N+"Models"]=H,F[N+"Model"]=H[0]}),F}function T(y,b){return y&&y.hasOwnProperty(b)}function w(y,b,O){y.setAttribute?y.setAttribute(b,O):y[b]=O}function E(y,b){return y.getAttribute?y.getAttribute(b):y[b]}function C(y){return y==="auto"?f.domSupported?"html":"richText":y||"html"}function _(y,b){var O=g.createHashMap(),I=[];return g.each(y,function(M){var F=b(M);(O.get(F)||(I.push(F),O.set(F,[]))).push(M)}),{keys:I,buckets:O}}D.normalizeToArray=c,D.defaultEmphasis=a,D.TEXT_STYLE_OPTIONS=i,D.getDataItemValue=r,D.isDataItemOption=o,D.mappingToExists=d,D.makeIdAndName=n,D.isNameSpecified=l,D.isIdInner=t,D.compressBatches=s,D.queryDataIndex=u,D.makeInner=p,D.parseFinder=S,D.setAttribute=w,D.getAttribute=E,D.getTooltipRenderMode=C,D.groupData=_},"4NgU":function(R,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 A=f;R.exports=A},"4fz+":function(R,D,e){var g=e("bYtY"),f=e("1bdT"),A=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 A(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;R.exports=v},"4i/N":function(R,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"},A=f,m=e("6VBw"),v=function(a,i){return g.createElement(m.a,Object.assign({},a,{ref:i,icon:A}))};v.displayName="CloseOutlined";var h=D.a=g.forwardRef(v)},"4kuk":function(R,D,e){var g=e("SfRM"),f=e("Hvzi"),A=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=A,h.prototype.has=m,h.prototype.set=v,R.exports=h},"4mN7":function(R,D,e){var g=e("QBsz"),f=e("Sj9i"),A=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,x,S){if(p.length===0)return;var T=p[0],w=T[0],E=T[0],C=T[1],_=T[1],y;for(y=1;y<p.length;y++)T=p[y],w=A(w,T[0]),E=m(E,T[0]),C=A(C,T[1]),_=m(_,T[1]);x[0]=w,x[1]=C,S[0]=E,S[1]=_}function d(p,x,S,T,w,E){w[0]=A(p,S),w[1]=A(x,T),E[0]=m(p,S),E[1]=m(x,T)}var n=[],l=[];function t(p,x,S,T,w,E,C,_,y,b){var O=f.cubicExtrema,I=f.cubicAt,M,F=O(p,S,w,C,n);for(y[0]=Infinity,y[1]=Infinity,b[0]=-Infinity,b[1]=-Infinity,M=0;M<F;M++){var P=I(p,S,w,C,n[M]);y[0]=A(P,y[0]),b[0]=m(P,b[0])}for(F=O(x,T,E,_,l),M=0;M<F;M++){var j=I(x,T,E,_,l[M]);y[1]=A(j,y[1]),b[1]=m(j,b[1])}y[0]=A(p,y[0]),b[0]=m(p,b[0]),y[0]=A(C,y[0]),b[0]=m(C,b[0]),y[1]=A(x,y[1]),b[1]=m(x,b[1]),y[1]=A(_,y[1]),b[1]=m(_,b[1])}function s(p,x,S,T,w,E,C,_){var y=f.quadraticExtremum,b=f.quadraticAt,O=m(A(y(p,S,w),1),0),I=m(A(y(x,T,E),1),0),M=b(p,S,w,O),F=b(x,T,E,I);C[0]=A(p,w,M),C[1]=A(x,E,F),_[0]=m(p,w,M),_[1]=m(x,E,F)}function u(p,x,S,T,w,E,C,_,y){var b=g.min,O=g.max,I=Math.abs(w-E);if(I%c<1e-4&&I>1e-4){_[0]=p-S,_[1]=x-T,y[0]=p+S,y[1]=x+T;return}if(a[0]=h(w)*S+p,a[1]=v(w)*T+x,i[0]=h(E)*S+p,i[1]=v(E)*T+x,b(_,a,i),O(y,a,i),w=w%c,w<0&&(w=w+c),E=E%c,E<0&&(E=E+c),w>E&&!C?E+=c:w<E&&C&&(w+=c),C){var M=E;E=w,w=M}for(var F=0;F<E;F+=Math.PI/2)F>w&&(r[0]=h(F)*S+p,r[1]=v(F)*T+x,b(_,r,_),O(y,r,y))}D.fromPoints=o,D.fromLine=d,D.fromCubic=t,D.fromQuadratic=s,D.fromArc=u},"4vCz":function(R,D,e){"use strict";var g=e("TqRt"),f=e("284h");Object.defineProperty(D,"__esModule",{value:!0}),D.default=void 0;var A=f(e("q1tI")),m=g(e("X2/X")),v=g(e("KQxl")),h=function(i,r){return A.createElement(v.default,Object.assign({},i,{ref:r,icon:m.default}))};h.displayName="PlusSquareOutlined";var c=A.forwardRef(h);D.default=c},"4xFK":function(R,D,e){"use strict";Object.defineProperty(D,"__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"};D.default=g},"56rv":function(R,D,e){var g=e("IwbS"),f=e("x3X8"),A=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:A(r.getData(),o),isRectText:!0,autoColor:i}),v(h),v(c)}function v(h,c){h.textPosition==="outside"&&(h.textPosition=c)}D.setLabel=m},"59Ip":function(R,D,e){var g=e("Sj9i");function f(A,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>A+l&&d>v+l&&d>c+l&&d>i+l||d<A-l&&d<v-l&&d<c-l&&d<i-l)return!1;var t=g.cubicProjectPoint(A,m,v,h,c,a,i,r,d,n,null);return t<=l/2}D.containStroke=f},"5Dmo":function(R,D,e){"use strict";var g=e("cIOH"),f=e.n(g),A=e("5YgA"),m=e.n(A)},"5GOC":function(R,D,e){"use strict";var g=e("cIOH"),f=e("b56q"),A=e("15/o")},"5GhG":function(R,D,e){var g=e("5GtS"),f=e("bYtY"),A=e("L0Ub"),m=A.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],x=s[1-u],S=[o,d],T=S[u].get("type"),w=S[1-u].get("type"),E=a.data;if(E&&t){var C=[];f.each(E,function(b,O){var I;b.value&&f.isArray(b.value)?(I=b.value.slice(),b.value.unshift(O)):f.isArray(b)?(I=b.slice(),b.unshift(O)):I=b,C.push(I)}),a.data=C}var _=this.defaultValueDimensions,y=[{name:p,type:m(T),ordinalMeta:r,otherDims:{tooltip:!1,itemName:0},dimsDef:["base"]},{name:x,type:m(w),dimsDef:_.slice()}];return g(this,{coordDimensions:y,dimensionsCount:_.length+1,encodeDefaulter:f.curry(h,y,this)})},getBaseAxis:function(){var a=this._baseAxisDim;return this.ecModel.getComponent(a+"Axis",this.get(a+"AxisIndex")).axis}};D.seriesModelMixin=c},"5GtS":function(R,D,e){var g=e("sdST"),f=e("YXkt"),A=e("bYtY"),m=A.extend,v=A.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}R.exports=h},"5Hur":function(R,D,e){var g=e("4NO4"),f=g.makeInner,A=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=A(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}};R.exports=h},"5NDa":function(R,D,e){"use strict";var g=e("cIOH"),f=e.n(g),A=e("OnYD"),m=e.n(A),v=e("+L6B")},"5NHt":function(R,D,e){e("aTJb"),e("OlYY"),e("fc+c"),e("N5BQ"),e("IyUQ"),e("LBfv"),e("noeP")},"5OYt":function(R,D,e){"use strict";var g=e("J4zp"),f=e.n(g),A=e("q1tI"),m=e.n(A),v=e("ACnJ");function h(){var c=Object(A.useState)({}),a=f()(c,2),i=a[0],r=a[1];return Object(A.useEffect)(function(){var o=v.a.subscribe(function(d){r(d)});return function(){return v.a.unsubscribe(o)}},[]),i}D.a=h},"5RHE":function(R,D,e){(function(g){var f,A,A;!function(m){!(f=m,A=typeof f=="function"?f.call(D,e,D,R):f,A!==void 0&&(R.exports=A))}(function(){"use strict";/** @license
|
|
|
* jsPDF - PDF Document creation from JavaScript
|
|
|
* Version 1.5.3 Built on 2018-12-27T14:11:42.696Z
|
|
|
* CommitID d93d28db14
|
|
|
*
|
|
|
* Copyright (c) 2010-2016 James Hall <james@parall.ax>, https://github.com/MrRio/jsPDF
|
|
|
* 2010 Aaron Spike, https://github.com/acspike
|
|
|
* 2012 Willow Systems Corporation, willow-systems.com
|
|
|
* 2012 Pablo Hess, https://github.com/pablohess
|
|
|
* 2012 Florian Jenett, https://github.com/fjenett
|
|
|
* 2013 Warren Weckesser, https://github.com/warrenweckesser
|
|
|
* 2013 Youssef Beddad, https://github.com/lifof
|
|
|
* 2013 Lee Driscoll, https://github.com/lsdriscoll
|
|
|
* 2013 Stefan Slonevskiy, https://github.com/stefslon
|
|
|
* 2013 Jeremy Morel, https://github.com/jmorel
|
|
|
* 2013 Christoph Hartmann, https://github.com/chris-rock
|
|
|
* 2014 Juan Pablo Gaviria, https://github.com/juanpgaviria
|
|
|
* 2014 James Makes, https://github.com/dollaruw
|
|
|
* 2014 Diego Casorran, https://github.com/diegocr
|
|
|
* 2014 Steven Spungin, https://github.com/Flamenco
|
|
|
* 2014 Kenneth Glassey, https://github.com/Gavvers
|
|
|
*
|
|
|
* Licensed under the MIT License
|
|
|
*
|
|
|
* Contributor(s):
|
|
|
* siefkenj, ahwolf, rickygu, Midnith, saintclair, eaparango,
|
|
|
* kim3er, mfo, alnorth, Flamenco
|
|
|
*/function m(_e){return(m=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(Ce){return typeof Ce}:function(Ce){return Ce&&typeof Symbol=="function"&&Ce.constructor===Symbol&&Ce!==Symbol.prototype?"symbol":typeof Ce})(_e)}!function(_e){if(m(_e.console)!=="object"){_e.console={};for(var Ce,Ee,we=_e.console,Fe=function(){},Ye=["memory"],Ge="assert,clear,count,debug,dir,dirxml,error,exception,group,groupCollapsed,groupEnd,info,log,markTimeline,profile,profiles,profileEnd,show,table,time,timeEnd,timeline,timelineEnd,timeStamp,trace,warn".split(",");Ce=Ye.pop();)we[Ce]||(we[Ce]={});for(;Ee=Ge.pop();)we[Ee]||(we[Ee]=Fe)}var qe,Ke,ct,wt,Lt="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=";_e.btoa===void 0&&(_e.btoa=function(de){var xe,$,se,Oe,ke,Pe=0,rt=0,At="",Wt=[];if(!de)return de;for(;xe=(ke=de.charCodeAt(Pe++)<<16|de.charCodeAt(Pe++)<<8|de.charCodeAt(Pe++))>>18&63,$=ke>>12&63,se=ke>>6&63,Oe=63&ke,Wt[rt++]=Lt.charAt(xe)+Lt.charAt($)+Lt.charAt(se)+Lt.charAt(Oe),Pe<de.length;);At=Wt.join("");var $t=de.length%3;return($t?At.slice(0,$t-3):At)+"===".slice($t||3)}),_e.atob===void 0&&(_e.atob=function(de){var xe,$,se,Oe,ke,Pe,rt=0,At=0,Wt=[];if(!de)return de;for(de+="";xe=(Pe=Lt.indexOf(de.charAt(rt++))<<18|Lt.indexOf(de.charAt(rt++))<<12|(Oe=Lt.indexOf(de.charAt(rt++)))<<6|(ke=Lt.indexOf(de.charAt(rt++))))>>16&255,$=Pe>>8&255,se=255&Pe,Wt[At++]=Oe==64?String.fromCharCode(xe):ke==64?String.fromCharCode(xe,$):String.fromCharCode(xe,$,se),rt<de.length;);return Wt.join("")}),Array.prototype.map||(Array.prototype.map=function(de){if(this==null||typeof de!="function")throw new TypeError;for(var xe=Object(this),$=xe.length>>>0,se=new Array($),Oe=1<arguments.length?arguments[1]:void 0,ke=0;ke<$;ke++)ke in xe&&(se[ke]=de.call(Oe,xe[ke],ke,xe));return se}),Array.isArray||(Array.isArray=function(de){return Object.prototype.toString.call(de)==="[object Array]"}),Array.prototype.forEach||(Array.prototype.forEach=function(de,xe){if(this==null||typeof de!="function")throw new TypeError;for(var $=Object(this),se=$.length>>>0,Oe=0;Oe<se;Oe++)Oe in $&&de.call(xe,$[Oe],Oe,$)}),Array.prototype.find||Object.defineProperty(Array.prototype,"find",{value:function(xe){if(this==null)throw new TypeError('"this" is null or not defined');var $=Object(this),se=$.length>>>0;if(typeof xe!="function")throw new TypeError("predicate must be a function");for(var Oe=arguments[1],ke=0;ke<se;){var Pe=$[ke];if(xe.call(Oe,Pe,ke,$))return Pe;ke++}},configurable:!0,writable:!0}),Object.keys||(Object.keys=(qe=Object.prototype.hasOwnProperty,Ke=!{toString:null}.propertyIsEnumerable("toString"),wt=(ct=["toString","toLocaleString","valueOf","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","constructor"]).length,function(de){if(m(de)!=="object"&&(typeof de!="function"||de===null))throw new TypeError;var xe,$,se=[];for(xe in de)qe.call(de,xe)&&se.push(xe);if(Ke)for($=0;$<wt;$++)qe.call(de,ct[$])&&se.push(ct[$]);return se})),typeof Object.assign!="function"&&(Object.assign=function(de){if(de==null)throw new TypeError("Cannot convert undefined or null to object");de=Object(de);for(var xe=1;xe<arguments.length;xe++){var $=arguments[xe];if($!=null)for(var se in $)Object.prototype.hasOwnProperty.call($,se)&&(de[se]=$[se])}return de}),String.prototype.trim||(String.prototype.trim=function(){return this.replace(/^\s+|\s+$/g,"")}),String.prototype.trimLeft||(String.prototype.trimLeft=function(){return this.replace(/^\s+/g,"")}),String.prototype.trimRight||(String.prototype.trimRight=function(){return this.replace(/\s+$/g,"")}),Number.isInteger=Number.isInteger||function(de){return typeof de=="number"&&isFinite(de)&&Math.floor(de)===de}}(typeof self!="undefined"&&self||typeof window!="undefined"&&window||typeof g!="undefined"&&g||Function('return typeof this === "object" && this.content')()||Function("return this")());var v,h,c,a,i,r,o,d,n,l,t,s,u,p,x,S,T,w,E,C,_,y,b,O,I,M,F,P,j,K,N,B,U,H,z,X,W,Y,q,me,G,ye,Ae,ve,Ue,Me,nt,ne,be,ot,ue,Q,V,J,fe,oe,Le,he,te,Z,ge,Re,ze=function(_e){function Ce(we){if(m(we)!=="object")throw new Error("Invalid Context passed to initialize PubSub (jsPDF-module)");var Fe={};this.subscribe=function(Ye,Ge,qe){if(qe=qe||!1,typeof Ye!="string"||typeof Ge!="function"||typeof qe!="boolean")throw new Error("Invalid arguments passed to PubSub.subscribe (jsPDF-module)");Fe.hasOwnProperty(Ye)||(Fe[Ye]={});var Ke=Math.random().toString(35);return Fe[Ye][Ke]=[Ge,!!qe],Ke},this.unsubscribe=function(Ye){for(var Ge in Fe)if(Fe[Ge][Ye])return delete Fe[Ge][Ye],Object.keys(Fe[Ge]).length===0&&delete Fe[Ge],!0;return!1},this.publish=function(Ye){if(Fe.hasOwnProperty(Ye)){var Ge=Array.prototype.slice.call(arguments,1),qe=[];for(var Ke in Fe[Ye]){var ct=Fe[Ye][Ke];try{ct[0].apply(we,Ge)}catch(wt){_e.console&&console.error("jsPDF PubSub Error",wt.message,wt)}ct[1]&&qe.push(Ke)}qe.length&&qe.forEach(this.unsubscribe)}},this.getTopics=function(){return Fe}}function Ee(we,Fe,Ye,Ge){var qe={},Ke=[],ct=1;m(we)==="object"&&(we=(qe=we).orientation,Fe=qe.unit||Fe,Ye=qe.format||Ye,Ge=qe.compress||qe.compressPdf||Ge,Ke=qe.filters||(Ge===!0?["FlateEncode"]:Ke),ct=typeof qe.userUnit=="number"?Math.abs(qe.userUnit):1),Fe=Fe||"mm",we=(""+(we||"P")).toLowerCase();var wt=qe.putOnlyUsedFonts||!0,Lt={},de={internal:{},__private__:{}};de.__private__.PubSub=Ce;var xe="1.3",$=de.__private__.getPdfVersion=function(){return xe},se=(de.__private__.setPdfVersion=function(xt){xe=xt},{a0:[2383.94,3370.39],a1:[1683.78,2383.94],a2:[1190.55,1683.78],a3:[841.89,1190.55],a4:[595.28,841.89],a5:[419.53,595.28],a6:[297.64,419.53],a7:[209.76,297.64],a8:[147.4,209.76],a9:[104.88,147.4],a10:[73.7,104.88],b0:[2834.65,4008.19],b1:[2004.09,2834.65],b2:[1417.32,2004.09],b3:[1000.63,1417.32],b4:[708.66,1000.63],b5:[498.9,708.66],b6:[354.33,498.9],b7:[249.45,354.33],b8:[175.75,249.45],b9:[124.72,175.75],b10:[87.87,124.72],c0:[2599.37,3676.54],c1:[1836.85,2599.37],c2:[1298.27,1836.85],c3:[918.43,1298.27],c4:[649.13,918.43],c5:[459.21,649.13],c6:[323.15,459.21],c7:[229.61,323.15],c8:[161.57,229.61],c9:[113.39,161.57],c10:[79.37,113.39],dl:[311.81,623.62],letter:[612,792],"government-letter":[576,756],legal:[612,1008],"junior-legal":[576,360],ledger:[1224,792],tabloid:[792,1224],"credit-card":[153,243]}),Oe=(de.__private__.getPageFormats=function(){return se},de.__private__.getPageFormat=function(xt){return se[xt]});typeof Ye=="string"&&(Ye=Oe(Ye)),Ye=Ye||Oe("a4");var ke,Pe=de.f2=de.__private__.f2=function(xt){if(isNaN(xt))throw new Error("Invalid argument passed to jsPDF.f2");return xt.toFixed(2)},rt=de.__private__.f3=function(xt){if(isNaN(xt))throw new Error("Invalid argument passed to jsPDF.f3");return xt.toFixed(3)},At="00000000000000000000000000000000",Wt=de.__private__.getFileId=function(){return At},$t=de.__private__.setFileId=function(xt){return xt=xt||"12345678901234567890123456789012".split("").map(function(){return"ABCDEF0123456789".charAt(Math.floor(16*Math.random()))}).join(""),At=xt};de.setFileId=function(xt){return $t(xt),this},de.getFileId=function(){return Wt()};var Rt=de.__private__.convertDateToPDFDate=function(xt){var Vt=xt.getTimezoneOffset(),sr=Vt<0?"+":"-",br=Math.floor(Math.abs(Vt/60)),Mr=Math.abs(Vt%60),Dr=[sr,_t(br),"'",_t(Mr),"'"].join("");return["D:",xt.getFullYear(),_t(xt.getMonth()+1),_t(xt.getDate()),_t(xt.getHours()),_t(xt.getMinutes()),_t(xt.getSeconds()),Dr].join("")},zt=de.__private__.convertPDFDateToDate=function(xt){var Vt=parseInt(xt.substr(2,4),10),sr=parseInt(xt.substr(6,2),10)-1,br=parseInt(xt.substr(8,2),10),Mr=parseInt(xt.substr(10,2),10),Dr=parseInt(xt.substr(12,2),10),rn=parseInt(xt.substr(14,2),10);return parseInt(xt.substr(16,2),10),parseInt(xt.substr(20,2),10),new Date(Vt,sr,br,Mr,Dr,rn,0)},Gt=de.__private__.setCreationDate=function(xt){var Vt;if(xt===void 0&&(xt=new Date),m(xt)==="object"&&Object.prototype.toString.call(xt)==="[object Date]")Vt=Rt(xt);else{if(!/^D:(20[0-2][0-9]|203[0-7]|19[7-9][0-9])(0[0-9]|1[0-2])([0-2][0-9]|3[0-1])(0[0-9]|1[0-9]|2[0-3])(0[0-9]|[1-5][0-9])(0[0-9]|[1-5][0-9])(\+0[0-9]|\+1[0-4]|\-0[0-9]|\-1[0-1])\'(0[0-9]|[1-5][0-9])\'?$/.test(xt))throw new Error("Invalid argument passed to jsPDF.setCreationDate");Vt=xt}return ke=Vt},Qt=de.__private__.getCreationDate=function(xt){var Vt=ke;return xt==="jsDate"&&(Vt=zt(ke)),Vt};de.setCreationDate=function(xt){return Gt(xt),this},de.getCreationDate=function(xt){return Qt(xt)};var Mt,dr,er,ht,Et,pt,vt,Nt,_t=de.__private__.padd2=function(xt){return("0"+parseInt(xt)).slice(-2)},gt=!1,Ht=[],kt=[],ir=0,Xt=(de.__private__.setCustomOutputDestination=function(xt){dr=xt},de.__private__.resetCustomOutputDestination=function(xt){dr=void 0},de.__private__.out=function(xt){var Vt;return xt=typeof xt=="string"?xt:xt.toString(),(Vt=dr===void 0?gt?Ht[Mt]:kt:dr).push(xt),gt||(ir+=xt.length+1),Vt}),mr=de.__private__.write=function(xt){return Xt(arguments.length===1?xt.toString():Array.prototype.join.call(arguments," "))},Ar=de.__private__.getArrayBuffer=function(xt){for(var Vt=xt.length,sr=new ArrayBuffer(Vt),br=new Uint8Array(sr);Vt--;)br[Vt]=xt.charCodeAt(Vt);return sr},Nr=[["Helvetica","helvetica","normal","WinAnsiEncoding"],["Helvetica-Bold","helvetica","bold","WinAnsiEncoding"],["Helvetica-Oblique","helvetica","italic","WinAnsiEncoding"],["Helvetica-BoldOblique","helvetica","bolditalic","WinAnsiEncoding"],["Courier","courier","normal","WinAnsiEncoding"],["Courier-Bold","courier","bold","WinAnsiEncoding"],["Courier-Oblique","courier","italic","WinAnsiEncoding"],["Courier-BoldOblique","courier","bolditalic","WinAnsiEncoding"],["Times-Roman","times","normal","WinAnsiEncoding"],["Times-Bold","times","bold","WinAnsiEncoding"],["Times-Italic","times","italic","WinAnsiEncoding"],["Times-BoldItalic","times","bolditalic","WinAnsiEncoding"],["ZapfDingbats","zapfdingbats","normal",null],["Symbol","symbol","normal",null]],kr=(de.__private__.getStandardFonts=function(xt){return Nr},qe.fontSize||16),tn=(de.__private__.setFontSize=de.setFontSize=function(xt){return kr=xt,this},de.__private__.getFontSize=de.getFontSize=function(){return kr}),qr=qe.R2L||!1,_r=(de.__private__.setR2L=de.setR2L=function(xt){return qr=xt,this},de.__private__.getR2L=de.getR2L=function(xt){return qr},de.__private__.setZoomMode=function(xt){var Vt=[void 0,null,"fullwidth","fullheight","fullpage","original"];if(/^\d*\.?\d*\%$/.test(xt))er=xt;else if(isNaN(xt)){if(Vt.indexOf(xt)===-1)throw new Error('zoom must be Integer (e.g. 2), a percentage Value (e.g. 300%) or fullwidth, fullheight, fullpage, original. "'+xt+'" is not recognized.');er=xt}else er=parseInt(xt,10)}),Qr=(de.__private__.getZoomMode=function(){return er},de.__private__.setPageMode=function(xt){if([void 0,null,"UseNone","UseOutlines","UseThumbs","FullScreen"].indexOf(xt)==-1)throw new Error('Page mode must be one of UseNone, UseOutlines, UseThumbs, or FullScreen. "'+xt+'" is not recognized.');ht=xt}),Lr=(de.__private__.getPageMode=function(){return ht},de.__private__.setLayoutMode=function(xt){if([void 0,null,"continuous","single","twoleft","tworight","two"].indexOf(xt)==-1)throw new Error('Layout mode must be one of continuous, single, twoleft, tworight. "'+xt+'" is not recognized.');Et=xt}),ur=(de.__private__.getLayoutMode=function(){return Et},de.__private__.setDisplayMode=de.setDisplayMode=function(xt,Vt,sr){return _r(xt),Lr(Vt),Qr(sr),this},{title:"",subject:"",author:"",keywords:"",creator:""}),pr=(de.__private__.getDocumentProperty=function(xt){if(Object.keys(ur).indexOf(xt)===-1)throw new Error("Invalid argument passed to jsPDF.getDocumentProperty");return ur[xt]},de.__private__.getDocumentProperties=function(xt){return ur},de.__private__.setDocumentProperties=de.setProperties=de.setDocumentProperties=function(xt){for(var Vt in ur)ur.hasOwnProperty(Vt)&&xt[Vt]&&(ur[Vt]=xt[Vt]);return this},de.__private__.setDocumentProperty=function(xt,Vt){if(Object.keys(ur).indexOf(xt)===-1)throw new Error("Invalid arguments passed to jsPDF.setDocumentProperty");return ur[xt]=Vt},0),cr=[],fr={},xr={},Yr=0,un=[],Nn=[],jr=new Ce(de),Tn=qe.hotfixes||[],gn=de.__private__.newObject=function(){var xt=Bn();return Kn(xt,!0),xt},Bn=de.__private__.newObjectDeferred=function(){return cr[++pr]=function(){return ir},pr},Kn=function(Vt,sr){return sr=typeof sr=="boolean"&&sr,cr[Vt]=ir,sr&&Xt(Vt+" 0 obj"),Vt},qn=de.__private__.newAdditionalObject=function(){var xt={objId:Bn(),content:""};return Nn.push(xt),xt},Yn=Bn(),Vn=Bn(),An=de.__private__.decodeColorString=function(xt){var Vt=xt.split(" ");if(Vt.length===2&&(Vt[1]==="g"||Vt[1]==="G")){var sr=parseFloat(Vt[0]);Vt=[sr,sr,sr,"r"]}for(var br="#",Mr=0;Mr<3;Mr++)br+=("0"+Math.floor(255*parseFloat(Vt[Mr])).toString(16)).slice(-2);return br},on=de.__private__.encodeColorString=function(xt){var Vt;typeof xt=="string"&&(xt={ch1:xt});var sr=xt.ch1,br=xt.ch2,Mr=xt.ch3,Dr=xt.ch4,rn=(xt.precision,xt.pdfColorType==="draw"?["G","RG","K"]:["g","rg","k"]);if(typeof sr=="string"&&sr.charAt(0)!=="#"){var fn=new RGBColor(sr);if(fn.ok)sr=fn.toHex();else if(!/^\d*\.?\d*$/.test(sr))throw new Error('Invalid color "'+sr+'" passed to jsPDF.encodeColorString.')}if(typeof sr=="string"&&/^#[0-9A-Fa-f]{3}$/.test(sr)&&(sr="#"+sr[1]+sr[1]+sr[2]+sr[2]+sr[3]+sr[3]),typeof sr=="string"&&/^#[0-9A-Fa-f]{6}$/.test(sr)){var wn=parseInt(sr.substr(1),16);sr=wn>>16&255,br=wn>>8&255,Mr=255&wn}if(br===void 0||Dr===void 0&&sr===br&&br===Mr)if(typeof sr=="string")Vt=sr+" "+rn[0];else switch(xt.precision){case 2:Vt=Pe(sr/255)+" "+rn[0];break;case 3:default:Vt=rt(sr/255)+" "+rn[0]}else if(Dr===void 0||m(Dr)==="object"){if(Dr&&!isNaN(Dr.a)&&Dr.a===0)return Vt=["1.000","1.000","1.000",rn[1]].join(" ");if(typeof sr=="string")Vt=[sr,br,Mr,rn[1]].join(" ");else switch(xt.precision){case 2:Vt=[Pe(sr/255),Pe(br/255),Pe(Mr/255),rn[1]].join(" ");break;default:case 3:Vt=[rt(sr/255),rt(br/255),rt(Mr/255),rn[1]].join(" ")}}else if(typeof sr=="string")Vt=[sr,br,Mr,Dr,rn[2]].join(" ");else switch(xt.precision){case 2:Vt=[Pe(sr/255),Pe(br/255),Pe(Mr/255),Pe(Dr/255),rn[2]].join(" ");break;case 3:default:Vt=[rt(sr/255),rt(br/255),rt(Mr/255),rt(Dr/255),rn[2]].join(" ")}return Vt},ia=de.__private__.getFilters=function(){return Ke},xa=de.__private__.putStream=function(xt){var Vt=(xt=xt||{}).data||"",sr=xt.filters||ia(),br=xt.alreadyAppliedFilters||[],Mr=xt.addLength1||!1,Dr=Vt.length,rn={};sr===!0&&(sr=["FlateEncode"]);var fn=xt.additionalKeyValues||[],wn=(rn=Ee.API.processDataByFilters!==void 0?Ee.API.processDataByFilters(Vt,sr):{data:Vt,reverseChain:[]}).reverseChain+(Array.isArray(br)?br.join(" "):br.toString());rn.data.length!==0&&(fn.push({key:"Length",value:rn.data.length}),Mr===!0&&fn.push({key:"Length1",value:Dr})),wn.length!=0&&(wn.split("/").length-1==1?fn.push({key:"Filter",value:wn}):fn.push({key:"Filter",value:"["+wn+"]"})),Xt("<<");for(var Hn=0;Hn<fn.length;Hn++)Xt("/"+fn[Hn].key+" "+fn[Hn].value);Xt(">>"),rn.data.length!==0&&(Xt("stream"),Xt(rn.data),Xt("endstream"))},ta=de.__private__.putPage=function(xt){xt.mediaBox;var Vt=xt.number,sr=xt.data,br=xt.objId,Mr=xt.contentsObjId;Kn(br,!0),un[Mt].mediaBox.topRightX,un[Mt].mediaBox.bottomLeftX,un[Mt].mediaBox.topRightY,un[Mt].mediaBox.bottomLeftY,Xt("<</Type /Page"),Xt("/Parent "+xt.rootDictionaryObjId+" 0 R"),Xt("/Resources "+xt.resourceDictionaryObjId+" 0 R"),Xt("/MediaBox ["+parseFloat(Pe(xt.mediaBox.bottomLeftX))+" "+parseFloat(Pe(xt.mediaBox.bottomLeftY))+" "+Pe(xt.mediaBox.topRightX)+" "+Pe(xt.mediaBox.topRightY)+"]"),xt.cropBox!==null&&Xt("/CropBox ["+Pe(xt.cropBox.bottomLeftX)+" "+Pe(xt.cropBox.bottomLeftY)+" "+Pe(xt.cropBox.topRightX)+" "+Pe(xt.cropBox.topRightY)+"]"),xt.bleedBox!==null&&Xt("/BleedBox ["+Pe(xt.bleedBox.bottomLeftX)+" "+Pe(xt.bleedBox.bottomLeftY)+" "+Pe(xt.bleedBox.topRightX)+" "+Pe(xt.bleedBox.topRightY)+"]"),xt.trimBox!==null&&Xt("/TrimBox ["+Pe(xt.trimBox.bottomLeftX)+" "+Pe(xt.trimBox.bottomLeftY)+" "+Pe(xt.trimBox.topRightX)+" "+Pe(xt.trimBox.topRightY)+"]"),xt.artBox!==null&&Xt("/ArtBox ["+Pe(xt.artBox.bottomLeftX)+" "+Pe(xt.artBox.bottomLeftY)+" "+Pe(xt.artBox.topRightX)+" "+Pe(xt.artBox.topRightY)+"]"),typeof xt.userUnit=="number"&&xt.userUnit!==1&&Xt("/UserUnit "+xt.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 Kn(Mr,!0),xa({data:Dr,filters:ia()}),Xt("endobj"),br},Li=de.__private__.putPages=function(){var xt,Vt,sr=[];for(xt=1;xt<=Yr;xt++)un[xt].objId=Bn(),un[xt].contentsObjId=Bn();for(xt=1;xt<=Yr;xt++)sr.push(ta({number:xt,data:Ht[xt],objId:un[xt].objId,contentsObjId:un[xt].contentsObjId,mediaBox:un[xt].mediaBox,cropBox:un[xt].cropBox,bleedBox:un[xt].bleedBox,trimBox:un[xt].trimBox,artBox:un[xt].artBox,userUnit:un[xt].userUnit,rootDictionaryObjId:Yn,resourceDictionaryObjId:Vn}));Kn(Yn,!0),Xt("<</Type /Pages");var br="/Kids [";for(Vt=0;Vt<Yr;Vt++)br+=sr[Vt]+" 0 R ";Xt(br+"]"),Xt("/Count "+Yr),Xt(">>"),Xt("endobj"),jr.publish("postPutPages")},Ci=function(){!function(){for(var Vt in fr)fr.hasOwnProperty(Vt)&&(wt===!1||wt===!0&&Lt.hasOwnProperty(Vt))&&(sr=fr[Vt],jr.publish("putFont",{font:sr,out:Xt,newObject:gn,putStream:xa}),sr.isAlreadyPutted!==!0&&(sr.objectNumber=gn(),Xt("<<"),Xt("/Type /Font"),Xt("/BaseFont /"+sr.postScriptName),Xt("/Subtype /Type1"),typeof sr.encoding=="string"&&Xt("/Encoding /"+sr.encoding),Xt("/FirstChar 32"),Xt("/LastChar 255"),Xt(">>"),Xt("endobj")));var sr}(),jr.publish("putResources"),Kn(Vn,!0),Xt("<<"),function(){for(var Vt in Xt("/ProcSet [/PDF /Text /ImageB /ImageC /ImageI]"),Xt("/Font <<"),fr)fr.hasOwnProperty(Vt)&&(wt===!1||wt===!0&&Lt.hasOwnProperty(Vt))&&Xt("/"+Vt+" "+fr[Vt].objectNumber+" 0 R");Xt(">>"),Xt("/XObject <<"),jr.publish("putXobjectDict"),Xt(">>")}(),Xt(">>"),Xt("endobj"),jr.publish("postPutResources")},Gn=function(Vt,sr,br){xr.hasOwnProperty(sr)||(xr[sr]={}),xr[sr][br]=Vt},Oa=function(Vt,sr,br,Mr,Dr){Dr=Dr||!1;var rn="F"+(Object.keys(fr).length+1).toString(10),fn={id:rn,postScriptName:Vt,fontName:sr,fontStyle:br,encoding:Mr,isStandardFont:Dr,metadata:{}};return jr.publish("addFont",{font:fn,instance:this}),rn!==void 0&&(fr[rn]=fn,Gn(rn,sr,br)),rn},mn=de.__private__.pdfEscape=de.pdfEscape=function(xt,Vt){return function(sr,br){var Mr,Dr,rn,fn,wn,Hn,Sn,bn,Mn;if(rn=(br=br||{}).sourceEncoding||"Unicode",wn=br.outputEncoding,(br.autoencode||wn)&&fr[pt].metadata&&fr[pt].metadata[rn]&&fr[pt].metadata[rn].encoding&&(fn=fr[pt].metadata[rn].encoding,!wn&&fr[pt].encoding&&(wn=fr[pt].encoding),!wn&&fn.codePages&&(wn=fn.codePages[0]),typeof wn=="string"&&(wn=fn[wn]),wn)){for(Sn=!1,Hn=[],Mr=0,Dr=sr.length;Mr<Dr;Mr++)(bn=wn[sr.charCodeAt(Mr)])?Hn.push(String.fromCharCode(bn)):Hn.push(sr[Mr]),Hn[Mr].charCodeAt(0)>>8&&(Sn=!0);sr=Hn.join("")}for(Mr=sr.length;Sn===void 0&&Mr!==0;)sr.charCodeAt(Mr-1)>>8&&(Sn=!0),Mr--;if(!Sn)return sr;for(Hn=br.noBOM?[]:[254,255],Mr=0,Dr=sr.length;Mr<Dr;Mr++){if((Mn=(bn=sr.charCodeAt(Mr))>>8)>>8)throw new Error("Character at position "+Mr+" of string '"+sr+"' exceeds 16bits. Cannot be encoded into UCS-2 BE");Hn.push(Mn),Hn.push(bn-(Mn<<8))}return String.fromCharCode.apply(void 0,Hn)}(xt,Vt).replace(/\\/g,"\\\\").replace(/\(/g,"\\(").replace(/\)/g,"\\)")},On=de.__private__.beginPage=function(xt,Vt){var sr,br=typeof Vt=="string"&&Vt.toLowerCase();if(typeof xt=="string"&&(sr=Oe(xt.toLowerCase()))&&(xt=sr[0],Vt=sr[1]),Array.isArray(xt)&&(Vt=xt[1],xt=xt[0]),(isNaN(xt)||isNaN(Vt))&&(xt=Ye[0],Vt=Ye[1]),br){switch(br.substr(0,1)){case"l":xt<Vt&&(br="s");break;case"p":Vt<xt&&(br="s")}br==="s"&&(sr=xt,xt=Vt,Vt=sr)}(14400<xt||14400<Vt)&&(console.warn("A page in a PDF can not be wider or taller than 14400 userUnit. jsPDF limits the width/height to 14400"),xt=Math.min(14400,xt),Vt=Math.min(14400,Vt)),Ye=[xt,Vt],gt=!0,Ht[++Yr]=[],un[Yr]={objId:0,contentsObjId:0,userUnit:Number(ct),artBox:null,bleedBox:null,cropBox:null,trimBox:null,mediaBox:{bottomLeftX:0,bottomLeftY:0,topRightX:Number(xt),topRightY:Number(Vt)}},Ln(Yr)},_n=function(){On.apply(this,arguments),To(eo),Xt(jt),Kr!==0&&Xt(Kr+" J"),Jr!==0&&Xt(Jr+" j"),jr.publish("addPage",{pageNumber:Yr})},Ln=function(Vt){0<Vt&&Vt<=Yr&&(Mt=Vt)},jn=de.__private__.getNumberOfPages=de.getNumberOfPages=function(){return Ht.length-1},ni=function(Vt,sr,br){var Mr,Dr=void 0;return br=br||{},Vt=Vt!==void 0?Vt:fr[pt].fontName,sr=sr!==void 0?sr:fr[pt].fontStyle,Mr=Vt.toLowerCase(),xr[Mr]!==void 0&&xr[Mr][sr]!==void 0?Dr=xr[Mr][sr]:xr[Vt]!==void 0&&xr[Vt][sr]!==void 0?Dr=xr[Vt][sr]:br.disableWarning===!1&&console.warn("Unable to look up font label for font '"+Vt+"', '"+sr+"'. Refer to getFontList() for available fonts."),Dr||br.noFallback||(Dr=xr.times[sr])==null&&(Dr=xr.times.normal),Dr},di=de.__private__.putInfo=function(){for(var xt in gn(),Xt("<<"),Xt("/Producer (jsPDF "+Ee.version+")"),ur)ur.hasOwnProperty(xt)&&ur[xt]&&Xt("/"+xt.substr(0,1).toUpperCase()+xt.substr(1)+" ("+mn(ur[xt])+")");Xt("/CreationDate ("+ke+")"),Xt(">>"),Xt("endobj")},Na=de.__private__.putCatalog=function(xt){var Vt=(xt=xt||{}).rootDictionaryObjId||Yn;switch(gn(),Xt("<<"),Xt("/Type /Catalog"),Xt("/Pages "+Vt+" 0 R"),er||(er="fullwidth"),er){case"fullwidth":Xt("/OpenAction [3 0 R /FitH null]");break;case"fullheight":Xt("/OpenAction [3 0 R /FitV null]");break;case"fullpage":Xt("/OpenAction [3 0 R /Fit]");break;case"original":Xt("/OpenAction [3 0 R /XYZ null null 1]");break;default:var sr=""+er;sr.substr(sr.length-1)==="%"&&(er=parseInt(er)/100),typeof er=="number"&&Xt("/OpenAction [3 0 R /XYZ null null "+Pe(er)+"]")}switch(Et||(Et="continuous"),Et){case"continuous":Xt("/PageLayout /OneColumn");break;case"single":Xt("/PageLayout /SinglePage");break;case"two":case"twoleft":Xt("/PageLayout /TwoColumnLeft");break;case"tworight":Xt("/PageLayout /TwoColumnRight")}ht&&Xt("/PageMode /"+ht),jr.publish("putCatalog"),Xt(">>"),Xt("endobj")},Qi=de.__private__.putTrailer=function(){Xt("trailer"),Xt("<<"),Xt("/Size "+(pr+1)),Xt("/Root "+pr+" 0 R"),Xt("/Info "+(pr-1)+" 0 R"),Xt("/ID [ <"+At+"> <"+At+"> ]"),Xt(">>")},ma=de.__private__.putHeader=function(){Xt("%PDF-"+xe),Xt("%\xBA\xDF\xAC\xE0")},Pa=de.__private__.putXRef=function(){var xt=1,Vt="0000000000";for(Xt("xref"),Xt("0 "+(pr+1)),Xt("0000000000 65535 f "),xt=1;xt<=pr;xt++)typeof cr[xt]=="function"?Xt((Vt+cr[xt]()).slice(-10)+" 00000 n "):cr[xt]!==void 0?Xt((Vt+cr[xt]).slice(-10)+" 00000 n "):Xt("0000000000 00000 n ")},Qa=de.__private__.buildDocument=function(){gt=!1,ir=pr=0,kt=[],cr=[],Nn=[],Yn=Bn(),Vn=Bn(),jr.publish("buildDocument"),ma(),Li(),function(){jr.publish("putAdditionalObjects");for(var Vt=0;Vt<Nn.length;Vt++){var sr=Nn[Vt];Kn(sr.objId,!0),Xt(sr.content),Xt("endobj")}jr.publish("postPutAdditionalObjects")}(),Ci(),di(),Na();var xt=ir;return Pa(),Qi(),Xt("startxref"),Xt(""+xt),Xt("%%EOF"),gt=!0,kt.join(`
|
|
|
`)},Wi=de.__private__.getBlob=function(xt){return new Blob([Ar(xt)],{type:"application/pdf"})},Co=de.output=de.__private__.output=((Nt=function(Vt,sr){sr=sr||{};var br=Qa();switch(typeof sr=="string"?sr={filename:sr}:sr.filename=sr.filename||"generated.pdf",Vt){case void 0:return br;case"save":de.save(sr.filename);break;case"arraybuffer":return Ar(br);case"blob":return Wi(br);case"bloburi":case"bloburl":if(_e.URL!==void 0&&typeof _e.URL.createObjectURL=="function")return _e.URL&&_e.URL.createObjectURL(Wi(br))||void 0;console.warn("bloburl is not supported by your system, because URL.createObjectURL is not supported by your browser.");break;case"datauristring":case"dataurlstring":return"data:application/pdf;filename="+sr.filename+";base64,"+btoa(br);case"dataurlnewwindow":var Mr='<html><style>html, body { padding: 0; margin: 0; } iframe { width: 100%; height: 100%; border: 0;} </style><body><iframe src="'+this.output("datauristring")+'"></iframe></body></html>',Dr=_e.open();if(Dr!==null&&Dr.document.write(Mr),Dr||typeof safari=="undefined")return Dr;case"datauri":case"dataurl":return _e.document.location.href="data:application/pdf;filename="+sr.filename+";base64,"+btoa(br);default:return null}}).foo=function(){try{return Nt.apply(this,arguments)}catch(sr){var xt=sr.stack||"";~xt.indexOf(" at ")&&(xt=xt.split(" at ")[1]);var Vt="Error in function "+xt.split(`
|
|
|
`)[0].split("<")[0]+": "+sr.message;if(!_e.console)throw new Error(Vt);_e.console.error(Vt,sr),_e.alert&&alert(Vt)}},(Nt.foo.bar=Nt).foo),aa=function(Vt){return Array.isArray(Tn)===!0&&-1<Tn.indexOf(Vt)};switch(Fe){case"pt":vt=1;break;case"mm":vt=72/25.4;break;case"cm":vt=72/2.54;break;case"in":vt=72;break;case"px":vt=aa("px_scaling")==1?.75:96/72;break;case"pc":case"em":vt=12;break;case"ex":vt=6;break;default:throw new Error("Invalid unit: "+Fe)}Gt(),$t();var Hi=de.__private__.getPageInfo=function(xt){if(isNaN(xt)||xt%1!=0)throw new Error("Invalid argument passed to jsPDF.getPageInfo");return{objId:un[xt].objId,pageNumber:xt,pageContext:un[xt]}},ga=de.__private__.getPageInfoByObjId=function(xt){for(var Vt in un)if(un[Vt].objId===xt)break;if(isNaN(xt)||xt%1!=0)throw new Error("Invalid argument passed to jsPDF.getPageInfoByObjId");return Hi(Vt)},ha=de.__private__.getCurrentPageInfo=function(){return{objId:un[Mt].objId,pageNumber:Mt,pageContext:un[Mt]}};de.addPage=function(){return _n.apply(this,arguments),this},de.setPage=function(){return Ln.apply(this,arguments),this},de.insertPage=function(xt){return this.addPage(),this.movePage(Mt,xt),this},de.movePage=function(xt,Vt){if(Vt<xt){for(var sr=Ht[xt],br=un[xt],Mr=xt;Vt<Mr;Mr--)Ht[Mr]=Ht[Mr-1],un[Mr]=un[Mr-1];Ht[Vt]=sr,un[Vt]=br,this.setPage(Vt)}else if(xt<Vt){for(sr=Ht[xt],br=un[xt],Mr=xt;Mr<Vt;Mr++)Ht[Mr]=Ht[Mr+1],un[Mr]=un[Mr+1];Ht[Vt]=sr,un[Vt]=br,this.setPage(Vt)}return this},de.deletePage=function(){return function(xt){0<xt&&xt<=Yr&&(Ht.splice(xt,1),--Yr<Mt&&(Mt=Yr),this.setPage(Mt))}.apply(this,arguments),this},de.__private__.text=de.text=function(xt,Vt,sr,br){var Mr;typeof xt!="number"||typeof Vt!="number"||typeof sr!="string"&&!Array.isArray(sr)||(Mr=sr,sr=Vt,Vt=xt,xt=Mr);var Dr=arguments[3],rn=arguments[4],fn=arguments[5];if(m(Dr)==="object"&&Dr!==null||(typeof rn=="string"&&(fn=rn,rn=null),typeof Dr=="string"&&(fn=Dr,Dr=null),typeof Dr=="number"&&(rn=Dr,Dr=null),br={flags:Dr,angle:rn,align:fn}),(Dr=Dr||{}).noBOM=Dr.noBOM||!0,Dr.autoencode=Dr.autoencode||!0,isNaN(Vt)||isNaN(sr)||xt==null)throw new Error("Invalid arguments passed to jsPDF.text");if(xt.length===0)return bn;var wn,Hn="",Sn=typeof br.lineHeightFactor=="number"?br.lineHeightFactor:$i,bn=br.scope||this;function Mn(ra){for(var Yi,Xa=ra.concat(),zi=[],Ki=Xa.length;Ki--;)typeof(Yi=Xa.shift())=="string"?zi.push(Yi):Array.isArray(ra)&&Yi.length===1?zi.push(Yi[0]):zi.push([Yi[0],Yi[1],Yi[2]]);return zi}function vn(ra,Yi){var Xa;if(typeof ra=="string")Xa=Yi(ra)[0];else if(Array.isArray(ra)){for(var zi,Ki,ba=ra.concat(),Ua=[],wa=ba.length;wa--;)typeof(zi=ba.shift())=="string"?Ua.push(Yi(zi)[0]):Array.isArray(zi)&&zi[0]==="string"&&(Ki=Yi(zi[0],zi[1],zi[2]),Ua.push([Ki[0],Ki[1],Ki[2]]));Xa=Ua}return Xa}var Rn=!1,En=!0;if(typeof xt=="string")Rn=!0;else if(Array.isArray(xt)){for(var In,Xn=xt.concat(),ai=[],ri=Xn.length;ri--;)(typeof(In=Xn.shift())!="string"||Array.isArray(In)&&typeof In[0]!="string")&&(En=!1);Rn=En}if(Rn===!1)throw new Error('Type of text must be string or Array. "'+xt+'" is not recognized.');var Di=fr[pt].encoding;Di!=="WinAnsiEncoding"&&Di!=="StandardEncoding"||(xt=vn(xt,function(ra,Yi,Xa){return[(zi=ra,zi=zi.split(" ").join(Array(br.TabLen||9).join(" ")),mn(zi,Dr)),Yi,Xa];var zi})),typeof xt=="string"&&(xt=xt.match(/[\r?\n]/)?xt.split(/\r\n|\r|\n/g):[xt]);var yi=kr/bn.internal.scaleFactor,xi=yi*($i-1);switch(br.baseline){case"bottom":sr-=xi;break;case"top":sr+=yi-xi;break;case"hanging":sr+=yi-2*xi;break;case"middle":sr+=yi/2-xi}0<(sa=br.maxWidth||0)&&(typeof xt=="string"?xt=bn.splitTextToSize(xt,sa):Object.prototype.toString.call(xt)==="[object Array]"&&(xt=bn.splitTextToSize(xt.join(" "),sa)));var _i={text:xt,x:Vt,y:sr,options:br,mutex:{pdfEscape:mn,activeFontKey:pt,fonts:fr,activeFontSize:kr}};jr.publish("preProcessText",_i),xt=_i.text,rn=(br=_i.options).angle;var Un=bn.internal.scaleFactor,Ri=[];if(rn){rn*=Math.PI/180;var fa=Math.cos(rn),Ui=Math.sin(rn);Ri=[Pe(fa),Pe(Ui),Pe(-1*Ui),Pe(fa)]}(oa=br.charSpace)!==void 0&&(Hn+=rt(oa*Un)+` Tc
|
|
|
`),br.lang;var Mi=-1,mi=br.renderingMode!==void 0?br.renderingMode:br.stroke,hi=bn.internal.getCurrentPageInfo().pageContext;switch(mi){case 0:case!1:case"fill":Mi=0;break;case 1:case!0:case"stroke":Mi=1;break;case 2:case"fillThenStroke":Mi=2;break;case 3:case"invisible":Mi=3;break;case 4:case"fillAndAddForClipping":Mi=4;break;case 5:case"strokeAndAddPathForClipping":Mi=5;break;case 6:case"fillThenStrokeAndAddToPathForClipping":Mi=6;break;case 7:case"addToPathForClipping":Mi=7}var qi=hi.usedRenderingMode!==void 0?hi.usedRenderingMode:-1;Mi!==-1?Hn+=Mi+` Tr
|
|
|
`:qi!==-1&&(Hn+=`0 Tr
|
|
|
`),Mi!==-1&&(hi.usedRenderingMode=Mi),fn=br.align||"left";var va=kr*Sn,Ea=bn.internal.pageSize.getWidth(),ya=(Un=bn.internal.scaleFactor,fr[pt]),oa=br.charSpace||wr,sa=br.maxWidth||0,Ni=(Dr={},[]);if(Object.prototype.toString.call(xt)==="[object Array]"){var $n,Ai;ai=Mn(xt),fn!=="left"&&(Ai=ai.map(function(ra){return bn.getStringUnitWidth(ra,{font:ya,charSpace:oa,fontSize:kr})*kr/Un}));var Ii,Vi=Math.max.apply(Math,Ai),Xi=0;if(fn==="right"){Vt-=Ai[0],xt=[];var bi=0;for(ri=ai.length;bi<ri;bi++)Vi-Ai[bi],$n=bi===0?(Ii=Br(Vt),Wr(sr)):(Ii=(Xi-Ai[bi])*Un,-va),xt.push([ai[bi],Ii,$n]),Xi=Ai[bi]}else if(fn==="center")for(Vt-=Ai[0]/2,xt=[],bi=0,ri=ai.length;bi<ri;bi++)(Vi-Ai[bi])/2,$n=bi===0?(Ii=Br(Vt),Wr(sr)):(Ii=(Xi-Ai[bi])/2*Un,-va),xt.push([ai[bi],Ii,$n]),Xi=Ai[bi];else if(fn==="left")for(xt=[],bi=0,ri=ai.length;bi<ri;bi++)$n=bi===0?Wr(sr):-va,Ii=bi===0?Br(Vt):0,xt.push(ai[bi]);else{if(fn!=="justify")throw new Error('Unrecognized alignment option, use "left", "center", "right" or "justify".');for(xt=[],sa=sa!==0?sa:Ea,bi=0,ri=ai.length;bi<ri;bi++)$n=bi===0?Wr(sr):-va,Ii=bi===0?Br(Vt):0,bi<ri-1&&Ni.push(((sa-Ai[bi])/(ai[bi].split(" ").length-1)*Un).toFixed(2)),xt.push([ai[bi],Ii,$n])}}(typeof br.R2L=="boolean"?br.R2L:qr)===!0&&(xt=vn(xt,function(ra,Yi,Xa){return[ra.split("").reverse().join(""),Yi,Xa]})),_i={text:xt,x:Vt,y:sr,options:br,mutex:{pdfEscape:mn,activeFontKey:pt,fonts:fr,activeFontSize:kr}},jr.publish("postProcessText",_i),xt=_i.text,wn=_i.mutex.isHex,ai=Mn(xt),xt=[];var Aa,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?xt.push(Ba+Ri.join(" ")+" "+Aa.toFixed(2)+" "+ca.toFixed(2)+` Tm
|
|
|
`+la):gi===1||gi===0&&bi===0?xt.push(Ba+Aa.toFixed(2)+" "+ca.toFixed(2)+` Td
|
|
|
`+la):xt.push(Ba+la);xt=gi===0?xt.join(` Tj
|
|
|
T* `):xt.join(` Tj
|
|
|
`),xt+=` Tj
|
|
|
`;var Ma=`BT
|
|
|
/`+pt+" "+kr+` Tf
|
|
|
`+(kr*Sn).toFixed(2)+` TL
|
|
|
`+nr+`
|
|
|
`;return Ma+=Hn,Ma+=xt,Xt(Ma+="ET"),Lt[pt]=!0,bn},de.__private__.lstext=de.lstext=function(xt,Vt,sr,br){return console.warn("jsPDF.lstext is deprecated"),this.text(xt,Vt,sr,{charSpace:br})},de.__private__.clip=de.clip=function(xt){Xt(xt==="evenodd"?"W*":"W"),Xt("n")},de.__private__.clip_fixed=de.clip_fixed=function(xt){console.log("clip_fixed is deprecated"),de.clip(xt)};var mo=de.__private__.isValidStyle=function(xt){var Vt=!1;return[void 0,null,"S","F","DF","FD","f","f*","B","B*"].indexOf(xt)!==-1&&(Vt=!0),Vt},Fn=de.__private__.getStyle=function(xt){var Vt="S";return xt==="F"?Vt="f":xt==="FD"||xt==="DF"?Vt="B":xt!=="f"&&xt!=="f*"&&xt!=="B"&&xt!=="B*"||(Vt=xt),Vt};de.__private__.line=de.line=function(xt,Vt,sr,br){if(isNaN(xt)||isNaN(Vt)||isNaN(sr)||isNaN(br))throw new Error("Invalid arguments passed to jsPDF.line");return this.lines([[sr-xt,br-Vt]],xt,Vt)},de.__private__.lines=de.lines=function(xt,Vt,sr,br,Mr,Dr){var rn,fn,wn,Hn,Sn,bn,Mn,vn,Rn,En,In,Xn;if(typeof xt=="number"&&(Xn=sr,sr=Vt,Vt=xt,xt=Xn),br=br||[1,1],Dr=Dr||!1,isNaN(Vt)||isNaN(sr)||!Array.isArray(xt)||!Array.isArray(br)||!mo(Mr)||typeof Dr!="boolean")throw new Error("Invalid arguments passed to jsPDF.lines");for(Xt(rt(Br(Vt))+" "+rt(Wr(sr))+" m "),rn=br[0],fn=br[1],Hn=xt.length,En=Vt,In=sr,wn=0;wn<Hn;wn++)(Sn=xt[wn]).length===2?(En=Sn[0]*rn+En,In=Sn[1]*fn+In,Xt(rt(Br(En))+" "+rt(Wr(In))+" l")):(bn=Sn[0]*rn+En,Mn=Sn[1]*fn+In,vn=Sn[2]*rn+En,Rn=Sn[3]*fn+In,En=Sn[4]*rn+En,In=Sn[5]*fn+In,Xt(rt(Br(bn))+" "+rt(Wr(Mn))+" "+rt(Br(vn))+" "+rt(Wr(Rn))+" "+rt(Br(En))+" "+rt(Wr(In))+" c"));return Dr&&Xt(" h"),Mr!==null&&Xt(Fn(Mr)),this},de.__private__.rect=de.rect=function(xt,Vt,sr,br,Mr){if(isNaN(xt)||isNaN(Vt)||isNaN(sr)||isNaN(br)||!mo(Mr))throw new Error("Invalid arguments passed to jsPDF.rect");return Xt([Pe(Br(xt)),Pe(Wr(Vt)),Pe(sr*vt),Pe(-br*vt),"re"].join(" ")),Mr!==null&&Xt(Fn(Mr)),this},de.__private__.triangle=de.triangle=function(xt,Vt,sr,br,Mr,Dr,rn){if(isNaN(xt)||isNaN(Vt)||isNaN(sr)||isNaN(br)||isNaN(Mr)||isNaN(Dr)||!mo(rn))throw new Error("Invalid arguments passed to jsPDF.triangle");return this.lines([[sr-xt,br-Vt],[Mr-sr,Dr-br],[xt-Mr,Vt-Dr]],xt,Vt,[1,1],rn,!0),this},de.__private__.roundedRect=de.roundedRect=function(xt,Vt,sr,br,Mr,Dr,rn){if(isNaN(xt)||isNaN(Vt)||isNaN(sr)||isNaN(br)||isNaN(Mr)||isNaN(Dr)||!mo(rn))throw new Error("Invalid arguments passed to jsPDF.roundedRect");var fn=4/3*(Math.SQRT2-1);return this.lines([[sr-2*Mr,0],[Mr*fn,0,Mr,Dr-Dr*fn,Mr,Dr],[0,br-2*Dr],[0,Dr*fn,-Mr*fn,Dr,-Mr,Dr],[2*Mr-sr,0],[-Mr*fn,0,-Mr,-Dr*fn,-Mr,-Dr],[0,2*Dr-br],[0,-Dr*fn,Mr*fn,-Dr,Mr,-Dr]],xt+Mr,Vt,[1,1],rn),this},de.__private__.ellipse=de.ellipse=function(xt,Vt,sr,br,Mr){if(isNaN(xt)||isNaN(Vt)||isNaN(sr)||isNaN(br)||!mo(Mr))throw new Error("Invalid arguments passed to jsPDF.ellipse");var Dr=4/3*(Math.SQRT2-1)*sr,rn=4/3*(Math.SQRT2-1)*br;return Xt([Pe(Br(xt+sr)),Pe(Wr(Vt)),"m",Pe(Br(xt+sr)),Pe(Wr(Vt-rn)),Pe(Br(xt+Dr)),Pe(Wr(Vt-br)),Pe(Br(xt)),Pe(Wr(Vt-br)),"c"].join(" ")),Xt([Pe(Br(xt-Dr)),Pe(Wr(Vt-br)),Pe(Br(xt-sr)),Pe(Wr(Vt-rn)),Pe(Br(xt-sr)),Pe(Wr(Vt)),"c"].join(" ")),Xt([Pe(Br(xt-sr)),Pe(Wr(Vt+rn)),Pe(Br(xt-Dr)),Pe(Wr(Vt+br)),Pe(Br(xt)),Pe(Wr(Vt+br)),"c"].join(" ")),Xt([Pe(Br(xt+Dr)),Pe(Wr(Vt+br)),Pe(Br(xt+sr)),Pe(Wr(Vt+rn)),Pe(Br(xt+sr)),Pe(Wr(Vt)),"c"].join(" ")),Mr!==null&&Xt(Fn(Mr)),this},de.__private__.circle=de.circle=function(xt,Vt,sr,br){if(isNaN(xt)||isNaN(Vt)||isNaN(sr)||!mo(br))throw new Error("Invalid arguments passed to jsPDF.circle");return this.ellipse(xt,Vt,sr,sr,br)},de.setFont=function(xt,Vt){return pt=ni(xt,Vt,{disableWarning:!1}),this},de.setFontStyle=de.setFontType=function(xt){return pt=ni(void 0,xt),this},de.__private__.getFontList=de.getFontList=function(){var xt,Vt,sr,br={};for(xt in xr)if(xr.hasOwnProperty(xt))for(Vt in br[xt]=sr=[],xr[xt])xr[xt].hasOwnProperty(Vt)&&sr.push(Vt);return br},de.addFont=function(xt,Vt,sr,br){Oa.call(this,xt,Vt,sr,br=br||"Identity-H")};var $i,eo=qe.lineWidth||.200025,To=de.__private__.setLineWidth=de.setLineWidth=function(xt){return Xt((xt*vt).toFixed(2)+" w"),this},uo=(de.__private__.setLineDash=Ee.API.setLineDash=function(xt,Vt){if(xt=xt||[],Vt=Vt||0,isNaN(Vt)||!Array.isArray(xt))throw new Error("Invalid arguments passed to jsPDF.setLineDash");return xt=xt.map(function(sr){return(sr*vt).toFixed(3)}).join(" "),Vt=parseFloat((Vt*vt).toFixed(3)),Xt("["+xt+"] "+Vt+" d"),this},de.__private__.getLineHeight=de.getLineHeight=function(){return kr*$i}),rr=(uo=de.__private__.getLineHeight=de.getLineHeight=function(){return kr*$i},de.__private__.setLineHeightFactor=de.setLineHeightFactor=function(xt){return typeof(xt=xt||1.15)=="number"&&($i=xt),this}),Tr=de.__private__.getLineHeightFactor=de.getLineHeightFactor=function(){return $i};rr(qe.lineHeight);var Br=de.__private__.getHorizontalCoordinate=function(xt){return xt*vt},Wr=de.__private__.getVerticalCoordinate=function(xt){return un[Mt].mediaBox.topRightY-un[Mt].mediaBox.bottomLeftY-xt*vt},hn=de.__private__.getHorizontalCoordinateString=function(xt){return Pe(xt*vt)},it=de.__private__.getVerticalCoordinateString=function(xt){return Pe(un[Mt].mediaBox.topRightY-un[Mt].mediaBox.bottomLeftY-xt*vt)},jt=qe.strokeColor||"0 G",Zt=(de.__private__.getStrokeColor=de.getDrawColor=function(){return An(jt)},de.__private__.setStrokeColor=de.setDrawColor=function(xt,Vt,sr,br){return jt=on({ch1:xt,ch2:Vt,ch3:sr,ch4:br,pdfColorType:"draw",precision:2}),Xt(jt),this},qe.fillColor||"0 g"),nr=(de.__private__.getFillColor=de.getFillColor=function(){return An(Zt)},de.__private__.setFillColor=de.setFillColor=function(xt,Vt,sr,br){return Zt=on({ch1:xt,ch2:Vt,ch3:sr,ch4:br,pdfColorType:"fill",precision:2}),Xt(Zt),this},qe.textColor||"0 g"),Or=de.__private__.getTextColor=de.getTextColor=function(){return An(nr)},wr=(de.__private__.setTextColor=de.setTextColor=function(xt,Vt,sr,br){return nr=on({ch1:xt,ch2:Vt,ch3:sr,ch4:br,pdfColorType:"text",precision:3}),this},qe.charSpace||0),Er=de.__private__.getCharSpace=de.getCharSpace=function(){return wr},Kr=(de.__private__.setCharSpace=de.setCharSpace=function(xt){if(isNaN(xt))throw new Error("Invalid argument passed to jsPDF.setCharSpace");return wr=xt,this},0);de.CapJoinStyles={0:0,butt:0,but:0,miter:0,1:1,round:1,rounded:1,circle:1,2:2,projecting:2,project:2,square:2,bevel:2},de.__private__.setLineCap=de.setLineCap=function(xt){var Vt=de.CapJoinStyles[xt];if(Vt===void 0)throw new Error("Line cap style of '"+xt+"' is not recognized. See or extend .CapJoinStyles property for valid styles");return Xt((Kr=Vt)+" J"),this};var Zr,Jr=0;de.__private__.setLineJoin=de.setLineJoin=function(xt){var Vt=de.CapJoinStyles[xt];if(Vt===void 0)throw new Error("Line join style of '"+xt+"' is not recognized. See or extend .CapJoinStyles property for valid styles");return Xt((Jr=Vt)+" j"),this},de.__private__.setMiterLimit=de.setMiterLimit=function(xt){if(xt=xt||0,isNaN(xt))throw new Error("Invalid argument passed to jsPDF.setMiterLimit");return Zr=parseFloat(Pe(xt*vt)),Xt(Zr+" M"),this};for(var an in de.save=function(xt,Vt){if(xt=xt||"generated.pdf",(Vt=Vt||{}).returnPromise=Vt.returnPromise||!1,Vt.returnPromise!==!1)return new Promise(function(sr,br){try{var Mr=Jt(Wi(Qa()),xt);typeof Jt.unload=="function"&&_e.setTimeout&&setTimeout(Jt.unload,911),sr(Mr)}catch(Dr){br(Dr.message)}});Jt(Wi(Qa()),xt),typeof Jt.unload=="function"&&_e.setTimeout&&setTimeout(Jt.unload,911)},Ee.API)Ee.API.hasOwnProperty(an)&&(an==="events"&&Ee.API.events.length?function(xt,Vt){var sr,br,Mr;for(Mr=Vt.length-1;Mr!==-1;Mr--)sr=Vt[Mr][0],br=Vt[Mr][1],xt.subscribe.apply(xt,[sr].concat(typeof br=="function"?[br]:br))}(jr,Ee.API.events):de[an]=Ee.API[an]);return de.internal={pdfEscape:mn,getStyle:Fn,getFont:function(){return fr[ni.apply(de,arguments)]},getFontSize:tn,getCharSpace:Er,getTextColor:Or,getLineHeight:uo,getLineHeightFactor:Tr,write:mr,getHorizontalCoordinate:Br,getVerticalCoordinate:Wr,getCoordinateString:hn,getVerticalCoordinateString:it,collections:{},newObject:gn,newAdditionalObject:qn,newObjectDeferred:Bn,newObjectDeferredBegin:Kn,getFilters:ia,putStream:xa,events:jr,scaleFactor:vt,pageSize:{getWidth:function(){return(un[Mt].mediaBox.topRightX-un[Mt].mediaBox.bottomLeftX)/vt},setWidth:function(Vt){un[Mt].mediaBox.topRightX=Vt*vt+un[Mt].mediaBox.bottomLeftX},getHeight:function(){return(un[Mt].mediaBox.topRightY-un[Mt].mediaBox.bottomLeftY)/vt},setHeight:function(Vt){un[Mt].mediaBox.topRightY=Vt*vt+un[Mt].mediaBox.bottomLeftY}},output:Co,getNumberOfPages:jn,pages:Ht,out:Xt,f2:Pe,f3:rt,getPageInfo:Hi,getPageInfoByObjId:ga,getCurrentPageInfo:ha,getPDFVersion:$,hasHotfix:aa},Object.defineProperty(de.internal.pageSize,"width",{get:function(){return(un[Mt].mediaBox.topRightX-un[Mt].mediaBox.bottomLeftX)/vt},set:function(Vt){un[Mt].mediaBox.topRightX=Vt*vt+un[Mt].mediaBox.bottomLeftX},enumerable:!0,configurable:!0}),Object.defineProperty(de.internal.pageSize,"height",{get:function(){return(un[Mt].mediaBox.topRightY-un[Mt].mediaBox.bottomLeftY)/vt},set:function(Vt){un[Mt].mediaBox.topRightY=Vt*vt+un[Mt].mediaBox.bottomLeftY},enumerable:!0,configurable:!0}),function(xt){for(var Vt=0,sr=Nr.length;Vt<sr;Vt++){var br=Oa(xt[Vt][0],xt[Vt][1],xt[Vt][2],Nr[Vt][3],!0);Lt[br]=!0;var Mr=xt[Vt][0].split("-");Gn(br,Mr[0],Mr[1]||"")}jr.publish("addFonts",{fonts:fr,dictionary:xr})}(Nr),pt="F1",_n(Ye,we),jr.publish("initialized"),de}return Ee.API={events:[]},Ee.version="1.5.3",!(A=function(){return Ee}.call(D,e,D,R),A!==void 0&&(R.exports=A)),Ee}(typeof self!="undefined"&&self||typeof window!="undefined"&&window||typeof g!="undefined"&&g||Function('return typeof this === "object" && this.content')()||Function("return this")());/**
|
|
|
* @license
|
|
|
* Copyright (c) 2016 Alexander Weidt,
|
|
|
* https://github.com/BiggA94
|
|
|
*
|
|
|
* Licensed under the MIT License. http://opensource.org/licenses/mit-license
|
|
|
*/(function(_e,Ce){var Ee,we=1,Fe=function(ur){return ur.replace(/\\/g,"\\\\").replace(/\(/g,"\\(").replace(/\)/g,"\\)")},Ye=function(ur){return ur.replace(/\\\\/g,"\\").replace(/\\\(/g,"(").replace(/\\\)/g,")")},Ge=function(ur){if(isNaN(ur))throw new Error("Invalid argument passed to jsPDF.f2");return ur.toFixed(2)},qe=function(ur){if(isNaN(ur))throw new Error("Invalid argument passed to jsPDF.f2");return ur.toFixed(5)};_e.__acroform__={};var Ke=function(ur,pr){ur.prototype=Object.create(pr.prototype),ur.prototype.constructor=ur},ct=function(ur){return ur*we},wt=function(ur){return ur/we},Lt=function(ur){var pr=new vt,cr=_r.internal.getHeight(ur)||0,fr=_r.internal.getWidth(ur)||0;return pr.BBox=[0,0,Number(Ge(fr)),Number(Ge(cr))],pr},de=_e.__acroform__.setBit=function(Lr,ur){if(Lr=Lr||0,ur=ur||0,isNaN(Lr)||isNaN(ur))throw new Error("Invalid arguments passed to jsPDF.API.__acroform__.setBit");return Lr|=1<<ur},xe=_e.__acroform__.clearBit=function(Lr,ur){if(Lr=Lr||0,ur=ur||0,isNaN(Lr)||isNaN(ur))throw new Error("Invalid arguments passed to jsPDF.API.__acroform__.clearBit");return Lr&=~(1<<ur)},$=_e.__acroform__.getBit=function(Lr,ur){if(isNaN(Lr)||isNaN(ur))throw new Error("Invalid arguments passed to jsPDF.API.__acroform__.getBit");return(Lr&1<<ur)==0?0:1},se=_e.__acroform__.getBitForPdf=function(Lr,ur){if(isNaN(Lr)||isNaN(ur))throw new Error("Invalid arguments passed to jsPDF.API.__acroform__.getBitForPdf");return $(Lr,ur-1)},Oe=_e.__acroform__.setBitForPdf=function(Lr,ur){if(isNaN(Lr)||isNaN(ur))throw new Error("Invalid arguments passed to jsPDF.API.__acroform__.setBitForPdf");return de(Lr,ur-1)},ke=_e.__acroform__.clearBitForPdf=function(Lr,ur,pr){if(isNaN(Lr)||isNaN(ur))throw new Error("Invalid arguments passed to jsPDF.API.__acroform__.clearBitForPdf");return xe(Lr,ur-1)},Pe=_e.__acroform__.calculateCoordinates=function(Lr){var ur=this.internal.getHorizontalCoordinate,pr=this.internal.getVerticalCoordinate,cr=Lr[0],fr=Lr[1],xr=Lr[2],Yr=Lr[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(Ge(un.lowerLeft_X)),Number(Ge(un.lowerLeft_Y)),Number(Ge(un.upperRight_X)),Number(Ge(un.upperRight_Y))]},rt=function(ur){if(ur.appearanceStreamContent)return ur.appearanceStreamContent;if(ur.V||ur.DV){var pr=[],cr=ur.V||ur.DV,fr=At(ur,cr),xr=Ee.internal.getFont(ur.fontName,ur.fontStyle).id;pr.push("/Tx BMC"),pr.push("q"),pr.push("BT"),pr.push(Ee.__private__.encodeColorString(ur.color)),pr.push("/"+xr+" "+Ge(fr.fontSize)+" Tf"),pr.push("1 0 0 1 0 0 Tm"),pr.push(fr.text),pr.push("ET"),pr.push("Q"),pr.push("EMC");var Yr=new Lt(ur);return Yr.stream=pr.join(`
|
|
|
`),Yr}},At=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=(Ee.__private__.encodeColorString(ur.color),cr),un=_r.internal.getHeight(ur)||0;un=un<0?-un:un;var Nn=_r.internal.getWidth(ur)||0;Nn=Nn<0?-Nn:Nn;var jr=function(mn,On,_n){if(mn+1<xr.length){var Ln=On+" "+xr[mn+1];return Wt(Ln,ur,_n).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,Kn=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),Li=ia>=xr.length-1;if(ta&&!Li){An+=" ";continue}if(ta||Li){if(Li)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+=Ge(Bn)+" "+Ge(Kn)+` Td
|
|
|
`,pr+="("+Fe(Ci)+`) Tj
|
|
|
`,pr+=-Ge(Bn)+` 0 Td
|
|
|
`,Kn=-(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=Ee.internal.getFont(pr.fontName,pr.fontStyle),xr=Ee.getStringUnitWidth(ur,{font:fr,fontSize:parseFloat(cr),charSpace:0})*parseFloat(cr);return{height:Ee.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},Rt=function(){Ee.internal.acroformPlugin.acroFormDictionaryRoot.objId=void 0;var ur=Ee.internal.acroformPlugin.acroFormDictionaryRoot.Fields;for(var pr in ur)if(ur.hasOwnProperty(pr)){var cr=ur[pr];cr.objId=void 0,cr.hasAnnotation&&zt.call(Ee,cr)}},zt=function(ur){var pr={type:"reference",object:ur};Ee.internal.getPageInfo(ur.page).pageContext.annotations.find(function(cr){return cr.type===pr.type&&cr.object===pr.object})===void 0&&Ee.internal.getPageInfo(ur.page).pageContext.annotations.push(pr)},Gt=function(){if(Ee.internal.acroformPlugin.acroFormDictionaryRoot===void 0)throw new Error("putCatalogCallback: Root missing.");Ee.internal.write("/AcroForm "+Ee.internal.acroformPlugin.acroFormDictionaryRoot.objId+" 0 R")},Qt=function(){Ee.internal.events.unsubscribe(Ee.internal.acroformPlugin.acroFormDictionaryRoot._eventID),delete Ee.internal.acroformPlugin.acroFormDictionaryRoot._eventID,Ee.internal.acroformPlugin.printedOut=!0},Mt=function(ur){var pr=!ur;ur||(Ee.internal.newObjectDeferredBegin(Ee.internal.acroformPlugin.acroFormDictionaryRoot.objId,!0),Ee.internal.acroformPlugin.acroFormDictionaryRoot.putStream()),ur=ur||Ee.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=Pe.call(this,fr.Rect)),Ee.internal.newObjectDeferredBegin(fr.objId,!0),fr.DA=_r.createDefaultAppearanceStream(fr),m(fr)==="object"&&typeof fr.getKeyValueListForStream=="function"&&(xr=fr.getKeyValueListForStream()),fr.Rect=Yr,fr.hasAppearanceStream&&!fr.appearanceStreamContent){var un=rt.call(this,fr);xr.push({key:"AP",value:"<</N "+un+">>"}),Ee.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<=Ee.internal.acroformPlugin.xForms.indexOf(gn)||Ee.internal.acroformPlugin.xForms.push(gn))}else typeof(gn=Tn)=="function"&&(gn=gn.call(this,fr)),Nn+="/"+cr+" "+gn,0<=Ee.internal.acroformPlugin.xForms.indexOf(gn)||Ee.internal.acroformPlugin.xForms.push(gn);Nn+=">>"}xr.push({key:"AP",value:`<<
|
|
|
`+Nn+">>"})}Ee.internal.putStream({additionalKeyValues:xr}),Ee.internal.out("endobj")}pr&&dr.call(this,Ee.internal.acroformPlugin.xForms)},dr=function(ur){for(var pr in ur)if(ur.hasOwnProperty(pr)){var cr=pr,fr=ur[pr];Ee.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(Ee=this,_t.FieldNum=0,this.internal.acroformPlugin=JSON.parse(JSON.stringify($t)),this.internal.acroformPlugin.acroFormDictionaryRoot)throw new Error("Exception while creating AcroformDictionary");we=Ee.internal.scaleFactor,Ee.internal.acroformPlugin.acroFormDictionaryRoot=new Nt,Ee.internal.acroformPlugin.acroFormDictionaryRoot._eventID=Ee.internal.events.subscribe("postPutResources",Qt),Ee.internal.events.subscribe("buildDocument",Rt),Ee.internal.events.subscribe("putCatalog",Gt),Ee.internal.events.subscribe("postPutPages",Mt),Ee.internal.acroformPlugin.isInitialized=!0}},ht=_e.__acroform__.arrayToPdfArray=function(Lr){if(Array.isArray(Lr)){for(var ur="[",pr=0;pr<Lr.length;pr++)switch(pr!==0&&(ur+=" "),m(Lr[pr])){case"boolean":case"number":case"object":ur+=Lr[pr].toString();break;case"string":Lr[pr].substr(0,1)!=="/"?ur+="("+Fe(Lr[pr].toString())+")":ur+=Lr[pr].toString()}return ur+="]"}throw new Error("Invalid argument passed to jsPDF.__acroform__.arrayToPdfArray")},Et=function(ur){return(ur=ur||"").toString(),ur="("+Fe(ur)+")"},pt=function(){var ur;Object.defineProperty(this,"objId",{configurable:!0,get:function(){if(ur||(ur=Ee.internal.newObjectDeferred()),!ur)throw new Error("AcroFormPDFObject: Couldn't create Object ID");return ur},set:function(cr){ur=cr}})};pt.prototype.toString=function(){return this.objId+" 0 R"},pt.prototype.putStream=function(){var Lr=this.getKeyValueListForStream();Ee.internal.putStream({data:this.stream,additionalKeyValues:Lr}),Ee.internal.out("endobj")},pt.prototype.getKeyValueListForStream=function(){return function(Lr){var ur=[],pr=Object.getOwnPropertyNames(Lr).filter(function(Yr){return Yr!="content"&&Yr!="appearanceStreamContent"&&Yr.substring(0,1)!="_"});for(var cr in pr)if(Object.getOwnPropertyDescriptor(Lr,pr[cr]).configurable===!1){var fr=pr[cr],xr=Lr[fr];xr&&(Array.isArray(xr)?ur.push({key:fr,value:ht(xr)}):xr instanceof pt?ur.push({key:fr,value:xr.objId+" 0 R"}):typeof xr!="function"&&ur.push({key:fr,value:xr}))}return ur}(this)};var vt=function(){pt.call(this),Object.defineProperty(this,"Type",{value:"/XObject",configurable:!1,writeable:!0}),Object.defineProperty(this,"Subtype",{value:"/Form",configurable:!1,writeable:!0}),Object.defineProperty(this,"FormType",{value:1,configurable:!1,writeable:!0});var 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}})};Ke(vt,pt);var Nt=function(){pt.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}})};Ke(Nt,pt);var _t=function Lr(){pt.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(se(ur,3))},set:function(on){Boolean(on)===!0?this.F=Oe(ur,3):this.F=ke(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:wt(cr[0])},set:function(on){cr[0]=ct(on)}}),Object.defineProperty(this,"y",{enumerable:!0,configurable:!0,get:function(){return!cr||isNaN(cr[1])?0:wt(cr[1])},set:function(on){cr[1]=ct(on)}}),Object.defineProperty(this,"width",{enumerable:!0,configurable:!0,get:function(){return!cr||isNaN(cr[2])?0:wt(cr[2])},set:function(on){cr[2]=ct(on)}}),Object.defineProperty(this,"height",{enumerable:!0,configurable:!0,get:function(){return!cr||isNaN(cr[3])?0:wt(cr[3])},set:function(on){cr[3]=ct(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"+Lr.FieldNum++}return"("+Fe(xr)+")"},set:function(on){xr=on.toString()}}),Object.defineProperty(this,"fieldName",{configurable:!0,enumerable:!0,get:function(){return xr},set:function(on){xr=on}});var Yr="helvetica";Object.defineProperty(this,"fontName",{enumerable:!0,configurable:!0,get:function(){return Yr},set:function(on){Yr=on}});var 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 wt(Nn)},set:function(on){Nn=ct(on)}});var jr=50;Object.defineProperty(this,"maxFontSize",{enumerable:!0,configurable:!0,get:function(){return wt(jr)},set:function(on){jr=ct(on)}});var Tn="black";Object.defineProperty(this,"color",{enumerable:!0,configurable:!0,get:function(){return Tn},set:function(on){Tn=on}});var gn="/F1 0 Tf 0 g";Object.defineProperty(this,"DA",{enumerable:!0,configurable:!1,get:function(){if(!(!gn||this instanceof Nr||this instanceof tn))return Et(gn)},set:function(on){on=on.toString(),gn=on}});var Bn=null;Object.defineProperty(this,"DV",{enumerable:!1,configurable:!1,get:function(){if(Bn)return this instanceof Xt==!1?Et(Bn):Bn},set:function(on){on=on.toString(),Bn=this instanceof Xt==!1?on.substr(0,1)==="("?Ye(on.substr(1,on.length-2)):Ye(on):on}}),Object.defineProperty(this,"defaultValue",{enumerable:!0,configurable:!0,get:function(){return this instanceof Xt==!0?Ye(Bn.substr(1,Bn.length-1)):Bn},set:function(on){on=on.toString(),Bn=this instanceof Xt==!0?"/"+on:on}});var Kn=null;Object.defineProperty(this,"V",{enumerable:!1,configurable:!1,get:function(){if(Kn)return this instanceof Xt==!1?Et(Kn):Kn},set:function(on){on=on.toString(),Kn=this instanceof Xt==!1?on.substr(0,1)==="("?Ye(on.substr(1,on.length-2)):Ye(on):on}}),Object.defineProperty(this,"value",{enumerable:!0,configurable:!0,get:function(){return this instanceof Xt==!0?Ye(Kn.substr(1,Kn.length-1)):Kn},set:function(on){on=on.toString(),Kn=this instanceof Xt==!0?"/"+on:on}}),Object.defineProperty(this,"hasAnnotation",{enumerable:!0,configurable:!0,get:function(){return this.Rect}}),Object.defineProperty(this,"Type",{enumerable:!0,configurable:!1,get:function(){return this.hasAnnotation?"/Annot":null}}),Object.defineProperty(this,"Subtype",{enumerable:!0,configurable:!1,get:function(){return this.hasAnnotation?"/Widget":null}});var qn,Yn=!1;Object.defineProperty(this,"hasAppearanceStream",{enumerable:!0,configurable:!0,writeable:!0,get:function(){return Yn},set:function(on){on=Boolean(on),Yn=on}}),Object.defineProperty(this,"page",{enumerable:!0,configurable:!0,writeable:!0,get:function(){if(qn)return qn},set:function(on){qn=on}}),Object.defineProperty(this,"readOnly",{enumerable:!0,configurable:!0,get:function(){return Boolean(se(this.Ff,1))},set:function(on){Boolean(on)===!0?this.Ff=Oe(this.Ff,1):this.Ff=ke(this.Ff,1)}}),Object.defineProperty(this,"required",{enumerable:!0,configurable:!0,get:function(){return Boolean(se(this.Ff,2))},set:function(on){Boolean(on)===!0?this.Ff=Oe(this.Ff,2):this.Ff=ke(this.Ff,2)}}),Object.defineProperty(this,"noExport",{enumerable:!0,configurable:!0,get:function(){return Boolean(se(this.Ff,3))},set:function(on){Boolean(on)===!0?this.Ff=Oe(this.Ff,3):this.Ff=ke(this.Ff,3)}});var Vn=null;Object.defineProperty(this,"Q",{enumerable:!0,configurable:!1,get:function(){if(Vn!==null)return Vn},set:function(on){if([0,1,2].indexOf(on)===-1)throw new Error('Invalid value "'+on+'" for attribute Q supplied.');Vn=on}}),Object.defineProperty(this,"textAlign",{get:function(){var on="left";switch(Vn){case 0:default:on="left";break;case 1:on="center";break;case 2:on="right"}return on},configurable:!0,enumerable:!0,set:function(on){switch(on){case"right":case 2:Vn=2;break;case"center":case 1:Vn=1;break;case"left":case 0:default:Vn=0}}})};Ke(_t,pt);var gt=function(){_t.call(this),this.FT="/Ch",this.V="()",this.fontName="zapfdingbats";var 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 ht(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(se(this.Ff,18))},set:function(fr){Boolean(fr)===!0?this.Ff=Oe(this.Ff,18):this.Ff=ke(this.Ff,18)}}),Object.defineProperty(this,"edit",{enumerable:!0,configurable:!0,get:function(){return Boolean(se(this.Ff,19))},set:function(fr){this.combo===!0&&(Boolean(fr)===!0?this.Ff=Oe(this.Ff,19):this.Ff=ke(this.Ff,19))}}),Object.defineProperty(this,"sort",{enumerable:!0,configurable:!0,get:function(){return Boolean(se(this.Ff,20))},set:function(fr){Boolean(fr)===!0?(this.Ff=Oe(this.Ff,20),pr.sort()):this.Ff=ke(this.Ff,20)}}),Object.defineProperty(this,"multiSelect",{enumerable:!0,configurable:!0,get:function(){return Boolean(se(this.Ff,22))},set:function(fr){Boolean(fr)===!0?this.Ff=Oe(this.Ff,22):this.Ff=ke(this.Ff,22)}}),Object.defineProperty(this,"doNotSpellCheck",{enumerable:!0,configurable:!0,get:function(){return Boolean(se(this.Ff,23))},set:function(fr){Boolean(fr)===!0?this.Ff=Oe(this.Ff,23):this.Ff=ke(this.Ff,23)}}),Object.defineProperty(this,"commitOnSelChange",{enumerable:!0,configurable:!0,get:function(){return Boolean(se(this.Ff,27))},set:function(fr){Boolean(fr)===!0?this.Ff=Oe(this.Ff,27):this.Ff=ke(this.Ff,27)}}),this.hasAppearanceStream=!1};Ke(gt,_t);var Ht=function(){gt.call(this),this.fontName="helvetica",this.combo=!1};Ke(Ht,gt);var kt=function(){Ht.call(this),this.combo=!0};Ke(kt,Ht);var ir=function(){kt.call(this),this.edit=!0};Ke(ir,kt);var Xt=function(){_t.call(this),this.FT="/Btn",Object.defineProperty(this,"noToggleToOff",{enumerable:!0,configurable:!0,get:function(){return Boolean(se(this.Ff,15))},set:function(fr){Boolean(fr)===!0?this.Ff=Oe(this.Ff,15):this.Ff=ke(this.Ff,15)}}),Object.defineProperty(this,"radio",{enumerable:!0,configurable:!0,get:function(){return Boolean(se(this.Ff,16))},set:function(fr){Boolean(fr)===!0?this.Ff=Oe(this.Ff,16):this.Ff=ke(this.Ff,16)}}),Object.defineProperty(this,"pushButton",{enumerable:!0,configurable:!0,get:function(){return Boolean(se(this.Ff,17))},set:function(fr){Boolean(fr)===!0?this.Ff=Oe(this.Ff,17):this.Ff=ke(this.Ff,17)}}),Object.defineProperty(this,"radioIsUnison",{enumerable:!0,configurable:!0,get:function(){return Boolean(se(this.Ff,26))},set:function(fr){Boolean(fr)===!0?this.Ff=Oe(this.Ff,26):this.Ff=ke(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}})};Ke(Xt,_t);var mr=function(){Xt.call(this),this.pushButton=!0};Ke(mr,Xt);var Ar=function(){Xt.call(this),this.radio=!0,this.pushButton=!1;var ur=[];Object.defineProperty(this,"Kids",{enumerable:!0,configurable:!1,get:function(){return ur},set:function(cr){ur=cr!==void 0?cr:[]}})};Ke(Ar,Xt);var Nr=function(){var ur,pr;_t.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=_r.RadioButton.Circle,this.appearanceStreamContent=this._AppearanceType.createAppearanceStream(name)};Ke(Nr,_t),Ar.prototype.setAppearance=function(Lr){if(!("createAppearanceStream"in Lr&&"getCA"in Lr))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=Lr.createAppearanceStream(pr.optionName),pr.caption=Lr.getCA()}},Ar.prototype.createOption=function(Lr){this.Kids.length;var ur=new Nr;return ur.Parent=this,ur.optionName=Lr,this.Kids.push(ur),Qr.call(this,ur),ur};var kr=function(){Xt.call(this),this.fontName="zapfdingbats",this.caption="3",this.appearanceState="On",this.value="On",this.textAlign="center",this.appearanceStreamContent=_r.CheckBox.createAppearanceStream()};Ke(kr,Xt);var tn=function(){_t.call(this),this.FT="/Tx",Object.defineProperty(this,"multiline",{enumerable:!0,configurable:!0,get:function(){return Boolean(se(this.Ff,13))},set:function(cr){Boolean(cr)===!0?this.Ff=Oe(this.Ff,13):this.Ff=ke(this.Ff,13)}}),Object.defineProperty(this,"fileSelect",{enumerable:!0,configurable:!0,get:function(){return Boolean(se(this.Ff,21))},set:function(cr){Boolean(cr)===!0?this.Ff=Oe(this.Ff,21):this.Ff=ke(this.Ff,21)}}),Object.defineProperty(this,"doNotSpellCheck",{enumerable:!0,configurable:!0,get:function(){return Boolean(se(this.Ff,23))},set:function(cr){Boolean(cr)===!0?this.Ff=Oe(this.Ff,23):this.Ff=ke(this.Ff,23)}}),Object.defineProperty(this,"doNotScroll",{enumerable:!0,configurable:!0,get:function(){return Boolean(se(this.Ff,24))},set:function(cr){Boolean(cr)===!0?this.Ff=Oe(this.Ff,24):this.Ff=ke(this.Ff,24)}}),Object.defineProperty(this,"comb",{enumerable:!0,configurable:!0,get:function(){return Boolean(se(this.Ff,25))},set:function(cr){Boolean(cr)===!0?this.Ff=Oe(this.Ff,25):this.Ff=ke(this.Ff,25)}}),Object.defineProperty(this,"richText",{enumerable:!0,configurable:!0,get:function(){return Boolean(se(this.Ff,26))},set:function(cr){Boolean(cr)===!0?this.Ff=Oe(this.Ff,26):this.Ff=ke(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}})};Ke(tn,_t);var qr=function(){tn.call(this),Object.defineProperty(this,"password",{enumerable:!0,configurable:!0,get:function(){return Boolean(se(this.Ff,14))},set:function(pr){Boolean(pr)===!0?this.Ff=Oe(this.Ff,14):this.Ff=ke(this.Ff,14)}}),this.password=!0};Ke(qr,tn);var _r={CheckBox:{createAppearanceStream:function(){return{N:{On:_r.CheckBox.YesNormal},D:{On:_r.CheckBox.YesPushDown,Off:_r.CheckBox.OffPushDown}}},YesPushDown:function(ur){var pr=Lt(ur),cr=[],fr=Ee.internal.getFont(ur.fontName,ur.fontStyle).id,xr=Ee.__private__.encodeColorString(ur.color),Yr=At(ur,ur.caption);return cr.push("0.749023 g"),cr.push("0 0 "+Ge(_r.internal.getWidth(ur))+" "+Ge(_r.internal.getHeight(ur))+" re"),cr.push("f"),cr.push("BMC"),cr.push("q"),cr.push("0 0 1 rg"),cr.push("/"+fr+" "+Ge(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=Lt(ur),cr=Ee.internal.getFont(ur.fontName,ur.fontStyle).id,fr=Ee.__private__.encodeColorString(ur.color),xr=[],Yr=_r.internal.getHeight(ur),un=_r.internal.getWidth(ur),Nn=At(ur,ur.caption);return xr.push("1 g"),xr.push("0 0 "+Ge(un)+" "+Ge(Yr)+" re"),xr.push("f"),xr.push("q"),xr.push("0 0 1 rg"),xr.push("0 0 "+Ge(un-1)+" "+Ge(Yr-1)+" re"),xr.push("W"),xr.push("n"),xr.push("0 g"),xr.push("BT"),xr.push("/"+cr+" "+Ge(Nn.fontSize)+" Tf "+fr),xr.push(Nn.text),xr.push("ET"),xr.push("Q"),pr.stream=xr.join(`
|
|
|
`),pr},OffPushDown:function(ur){var pr=Lt(ur),cr=[];return cr.push("0.749023 g"),cr.push("0 0 "+Ge(_r.internal.getWidth(ur))+" "+Ge(_r.internal.getHeight(ur))+" re"),cr.push("f"),pr.stream=cr.join(`
|
|
|
`),pr}},RadioButton:{Circle:{createAppearanceStream:function(ur){var pr={D:{Off:_r.RadioButton.Circle.OffPushDown},N:{}};return pr.N[ur]=_r.RadioButton.Circle.YesNormal,pr.D[ur]=_r.RadioButton.Circle.YesPushDown,pr},getCA:function(){return"l"},YesNormal:function(ur){var pr=Lt(ur),cr=[],fr=_r.internal.getWidth(ur)<=_r.internal.getHeight(ur)?_r.internal.getWidth(ur)/4:_r.internal.getHeight(ur)/4;fr=Number((.9*fr).toFixed(5));var xr=_r.internal.Bezier_C,Yr=Number((fr*xr).toFixed(5));return cr.push("q"),cr.push("1 0 0 1 "+qe(_r.internal.getWidth(ur)/2)+" "+qe(_r.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=Lt(ur),cr=[],fr=_r.internal.getWidth(ur)<=_r.internal.getHeight(ur)?_r.internal.getWidth(ur)/4:_r.internal.getHeight(ur)/4,xr=(fr=Number((.9*fr).toFixed(5)),Number((2*fr).toFixed(5))),Yr=Number((xr*_r.internal.Bezier_C).toFixed(5)),un=Number((fr*_r.internal.Bezier_C).toFixed(5));return cr.push("0.749023 g"),cr.push("q"),cr.push("1 0 0 1 "+qe(_r.internal.getWidth(ur)/2)+" "+qe(_r.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 "+qe(_r.internal.getWidth(ur)/2)+" "+qe(_r.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=Lt(ur),cr=[],fr=_r.internal.getWidth(ur)<=_r.internal.getHeight(ur)?_r.internal.getWidth(ur)/4:_r.internal.getHeight(ur)/4,xr=(fr=Number((.9*fr).toFixed(5)),Number((2*fr).toFixed(5))),Yr=Number((xr*_r.internal.Bezier_C).toFixed(5));return cr.push("0.749023 g"),cr.push("q"),cr.push("1 0 0 1 "+qe(_r.internal.getWidth(ur)/2)+" "+qe(_r.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:_r.RadioButton.Cross.OffPushDown},N:{}};return pr.N[ur]=_r.RadioButton.Cross.YesNormal,pr.D[ur]=_r.RadioButton.Cross.YesPushDown,pr},getCA:function(){return"8"},YesNormal:function(ur){var pr=Lt(ur),cr=[],fr=_r.internal.calculateCross(ur);return cr.push("q"),cr.push("1 1 "+Ge(_r.internal.getWidth(ur)-2)+" "+Ge(_r.internal.getHeight(ur)-2)+" re"),cr.push("W"),cr.push("n"),cr.push(Ge(fr.x1.x)+" "+Ge(fr.x1.y)+" m"),cr.push(Ge(fr.x2.x)+" "+Ge(fr.x2.y)+" l"),cr.push(Ge(fr.x4.x)+" "+Ge(fr.x4.y)+" m"),cr.push(Ge(fr.x3.x)+" "+Ge(fr.x3.y)+" l"),cr.push("s"),cr.push("Q"),pr.stream=cr.join(`
|
|
|
`),pr},YesPushDown:function(ur){var pr=Lt(ur),cr=_r.internal.calculateCross(ur),fr=[];return fr.push("0.749023 g"),fr.push("0 0 "+Ge(_r.internal.getWidth(ur))+" "+Ge(_r.internal.getHeight(ur))+" re"),fr.push("f"),fr.push("q"),fr.push("1 1 "+Ge(_r.internal.getWidth(ur)-2)+" "+Ge(_r.internal.getHeight(ur)-2)+" re"),fr.push("W"),fr.push("n"),fr.push(Ge(cr.x1.x)+" "+Ge(cr.x1.y)+" m"),fr.push(Ge(cr.x2.x)+" "+Ge(cr.x2.y)+" l"),fr.push(Ge(cr.x4.x)+" "+Ge(cr.x4.y)+" m"),fr.push(Ge(cr.x3.x)+" "+Ge(cr.x3.y)+" l"),fr.push("s"),fr.push("Q"),pr.stream=fr.join(`
|
|
|
`),pr},OffPushDown:function(ur){var pr=Lt(ur),cr=[];return cr.push("0.749023 g"),cr.push("0 0 "+Ge(_r.internal.getWidth(ur))+" "+Ge(_r.internal.getHeight(ur))+" re"),cr.push("f"),pr.stream=cr.join(`
|
|
|
`),pr}}},createDefaultAppearanceStream:function(ur){var pr=Ee.internal.getFont(ur.fontName,ur.fontStyle).id,cr=Ee.__private__.encodeColorString(ur.color);return"/"+pr+" "+ur.fontSize+" Tf "+cr}};_r.internal={Bezier_C:.551915024494,calculateCross:function(ur){var pr=_r.internal.getWidth(ur),cr=_r.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}}}},_r.internal.getWidth=function(Lr){var ur=0;return m(Lr)==="object"&&(ur=ct(Lr.Rect[2])),ur},_r.internal.getHeight=function(Lr){var ur=0;return m(Lr)==="object"&&(ur=ct(Lr.Rect[3])),ur};var Qr=_e.addField=function(Lr){if(er.call(this),!(Lr instanceof _t))throw new Error("Invalid argument passed to jsPDF.addField.");return function(ur){Ee.internal.acroformPlugin.printedOut&&(Ee.internal.acroformPlugin.printedOut=!1,Ee.internal.acroformPlugin.acroFormDictionaryRoot=null),Ee.internal.acroformPlugin.acroFormDictionaryRoot||er.call(Ee),Ee.internal.acroformPlugin.acroFormDictionaryRoot.Fields.push(ur)}.call(this,Lr),Lr.page=Ee.internal.getCurrentPageInfo().pageNumber,this};_e.addButton=function(Lr){if(Lr instanceof Xt==!1)throw new Error("Invalid argument passed to jsPDF.addButton.");return Qr.call(this,Lr)},_e.addTextField=function(Lr){if(Lr instanceof tn==!1)throw new Error("Invalid argument passed to jsPDF.addTextField.");return Qr.call(this,Lr)},_e.addChoiceField=function(Lr){if(Lr instanceof gt==!1)throw new Error("Invalid argument passed to jsPDF.addChoiceField.");return Qr.call(this,Lr)},m(Ce)=="object"&&Ce.ChoiceField===void 0&&Ce.ListBox===void 0&&Ce.ComboBox===void 0&&Ce.EditBox===void 0&&Ce.Button===void 0&&Ce.PushButton===void 0&&Ce.RadioButton===void 0&&Ce.CheckBox===void 0&&Ce.TextField===void 0&&Ce.PasswordField===void 0?(Ce.ChoiceField=gt,Ce.ListBox=Ht,Ce.ComboBox=kt,Ce.EditBox=ir,Ce.Button=Xt,Ce.PushButton=mr,Ce.RadioButton=Ar,Ce.CheckBox=kr,Ce.TextField=tn,Ce.PasswordField=qr,Ce.AcroForm={Appearance:_r}):console.warn("AcroForm-Classes are not populated into global-namespace, because the class-Names exist already."),_e.AcroFormChoiceField=gt,_e.AcroFormListBox=Ht,_e.AcroFormComboBox=kt,_e.AcroFormEditBox=ir,_e.AcroFormButton=Xt,_e.AcroFormPushButton=mr,_e.AcroFormRadioButton=Ar,_e.AcroFormCheckBox=kr,_e.AcroFormTextField=tn,_e.AcroFormPasswordField=qr,_e.AcroFormAppearance=_r,_e.AcroForm={ChoiceField:gt,ListBox:Ht,ComboBox:kt,EditBox:ir,Button:Xt,PushButton:mr,RadioButton:Ar,CheckBox:kr,TextField:tn,PasswordField:qr,Appearance:_r}})((window.tmp=ze).API,typeof window!="undefined"&&window||typeof g!="undefined"&&g),function(_e){var Ce="addImage_",Ee={PNG:[[137,80,78,71]],TIFF:[[77,77,0,42],[73,73,42,0]],JPEG:[[255,216,255,224,void 0,void 0,74,70,73,70,0],[255,216,255,225,void 0,void 0,69,120,105,102,0,0]],JPEG2000:[[0,0,0,12,106,80,32,32]],GIF87a:[[71,73,70,56,55,97]],GIF89a:[[71,73,70,56,57,97]],BMP:[[66,77],[66,65],[67,73],[67,80],[73,67],[80,84]]},we=_e.getImageFileTypeByImageData=function(de,xe){var $,se;xe=xe||"UNKNOWN";var Oe,ke,Pe,rt="UNKNOWN";for(Pe in _e.isArrayBufferView(de)&&(de=_e.arrayBufferToBinaryString(de)),Ee)for(Oe=Ee[Pe],$=0;$<Oe.length;$+=1){for(ke=!0,se=0;se<Oe[$].length;se+=1)if(Oe[$][se]!==void 0&&Oe[$][se]!==de.charCodeAt(se)){ke=!1;break}if(ke===!0){rt=Pe;break}}return rt==="UNKNOWN"&&xe!=="UNKNOWN"&&(console.warn('FileType of Image not recognized. Processing image as "'+xe+'".'),rt=xe),rt},Fe=function de(xe){for(var $=this.internal.newObject(),se=this.internal.write,Oe=this.internal.putStream,ke=(0,this.internal.getFilters)();ke.indexOf("FlateEncode")!==-1;)ke.splice(ke.indexOf("FlateEncode"),1);xe.n=$;var Pe=[];if(Pe.push({key:"Type",value:"/XObject"}),Pe.push({key:"Subtype",value:"/Image"}),Pe.push({key:"Width",value:xe.w}),Pe.push({key:"Height",value:xe.h}),xe.cs===this.color_spaces.INDEXED?Pe.push({key:"ColorSpace",value:"[/Indexed /DeviceRGB "+(xe.pal.length/3-1)+" "+("smask"in xe?$+2:$+1)+" 0 R]"}):(Pe.push({key:"ColorSpace",value:"/"+xe.cs}),xe.cs===this.color_spaces.DEVICE_CMYK&&Pe.push({key:"Decode",value:"[1 0 1 0 1 0 1 0]"})),Pe.push({key:"BitsPerComponent",value:xe.bpc}),"dp"in xe&&Pe.push({key:"DecodeParms",value:"<<"+xe.dp+">>"}),"trns"in xe&&xe.trns.constructor==Array){for(var rt="",At=0,Wt=xe.trns.length;At<Wt;At++)rt+=xe.trns[At]+" "+xe.trns[At]+" ";Pe.push({key:"Mask",value:"["+rt+"]"})}"smask"in xe&&Pe.push({key:"SMask",value:$+1+" 0 R"});var $t=xe.f!==void 0?["/"+xe.f]:void 0;if(Oe({data:xe.data,additionalKeyValues:Pe,alreadyAppliedFilters:$t}),se("endobj"),"smask"in xe){var Rt="/Predictor "+xe.p+" /Colors 1 /BitsPerComponent "+xe.bpc+" /Columns "+xe.w,zt={w:xe.w,h:xe.h,cs:"DeviceGray",bpc:xe.bpc,dp:Rt,data:xe.smask};"f"in xe&&(zt.f=xe.f),de.call(this,zt)}xe.cs===this.color_spaces.INDEXED&&(this.internal.newObject(),Oe({data:this.arrayBufferToBinaryString(new Uint8Array(xe.pal))}),se("endobj"))},Ye=function(){var xe=this.internal.collections[Ce+"images"];for(var $ in xe)Fe.call(this,xe[$])},Ge=function(){var xe,$=this.internal.collections[Ce+"images"],se=this.internal.write;for(var Oe in $)se("/I"+(xe=$[Oe]).i,xe.n,"0","R")},qe=function(xe){return typeof _e["process"+xe.toUpperCase()]=="function"},Ke=function(xe){return m(xe)==="object"&&xe.nodeType===1},ct=function(xe,$){if(xe.nodeName==="IMG"&&xe.hasAttribute("src")){var se=""+xe.getAttribute("src");if(se.indexOf("data:image/")===0)return unescape(se);var Oe=_e.loadFile(se);if(Oe!==void 0)return btoa(Oe)}if(xe.nodeName==="CANVAS"){var ke=xe;return xe.toDataURL("image/jpeg",1)}(ke=document.createElement("canvas")).width=xe.clientWidth||xe.width,ke.height=xe.clientHeight||xe.height;var Pe=ke.getContext("2d");if(!Pe)throw"addImage requires canvas to be supported by browser.";return Pe.drawImage(xe,0,0,ke.width,ke.height),ke.toDataURL((""+$).toLowerCase()=="png"?"image/png":"image/jpeg")},wt=function(xe,$){var se;if($){for(var Oe in $)if(xe===$[Oe].alias){se=$[Oe];break}}return se};_e.color_spaces={DEVICE_RGB:"DeviceRGB",DEVICE_GRAY:"DeviceGray",DEVICE_CMYK:"DeviceCMYK",CAL_GREY:"CalGray",CAL_RGB:"CalRGB",LAB:"Lab",ICC_BASED:"ICCBased",INDEXED:"Indexed",PATTERN:"Pattern",SEPARATION:"Separation",DEVICE_N:"DeviceN"},_e.decode={DCT_DECODE:"DCTDecode",FLATE_DECODE:"FlateDecode",LZW_DECODE:"LZWDecode",JPX_DECODE:"JPXDecode",JBIG2_DECODE:"JBIG2Decode",ASCII85_DECODE:"ASCII85Decode",ASCII_HEX_DECODE:"ASCIIHexDecode",RUN_LENGTH_DECODE:"RunLengthDecode",CCITT_FAX_DECODE:"CCITTFaxDecode"},_e.image_compression={NONE:"NONE",FAST:"FAST",MEDIUM:"MEDIUM",SLOW:"SLOW"},_e.sHashCode=function(de){var xe,$=0;if((de=de||"").length===0)return $;for(xe=0;xe<de.length;xe++)$=($<<5)-$+de.charCodeAt(xe),$|=0;return $},_e.isString=function(de){return typeof de=="string"},_e.validateStringAsBase64=function(de){(de=de||"").toString().trim();var xe=!0;return de.length===0&&(xe=!1),de.length%4!=0&&(xe=!1),/^[A-Za-z0-9+\/]+$/.test(de.substr(0,de.length-2))===!1&&(xe=!1),/^[A-Za-z0-9\/][A-Za-z0-9+\/]|[A-Za-z0-9+\/]=|==$/.test(de.substr(-2))===!1&&(xe=!1),xe},_e.extractInfoFromBase64DataURI=function(de){return/^data:([\w]+?\/([\w]+?));\S*;*base64,(.+)$/g.exec(de)},_e.extractImageFromDataUrl=function(de){var xe=(de=de||"").split("base64,"),$=null;if(xe.length===2){var se=/^data:(\w*\/\w*);*(charset=[\w=-]*)*;*$/.exec(xe[0]);Array.isArray(se)&&($={mimeType:se[1],charset:se[2],data:xe[1]})}return $},_e.supportsArrayBuffer=function(){return typeof ArrayBuffer!="undefined"&&typeof Uint8Array!="undefined"},_e.isArrayBuffer=function(de){return!!this.supportsArrayBuffer()&&de instanceof ArrayBuffer},_e.isArrayBufferView=function(de){return!!this.supportsArrayBuffer()&&typeof Uint32Array!="undefined"&&(de instanceof Int8Array||de instanceof Uint8Array||typeof Uint8ClampedArray!="undefined"&&de instanceof Uint8ClampedArray||de instanceof Int16Array||de instanceof Uint16Array||de instanceof Int32Array||de instanceof Uint32Array||de instanceof Float32Array||de instanceof Float64Array)},_e.binaryStringToUint8Array=function(de){for(var xe=de.length,$=new Uint8Array(xe),se=0;se<xe;se++)$[se]=de.charCodeAt(se);return $},_e.arrayBufferToBinaryString=function(de){if(typeof atob=="function")return atob(this.arrayBufferToBase64(de))},_e.arrayBufferToBase64=function(de){for(var xe,$="",se="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",Oe=new Uint8Array(de),ke=Oe.byteLength,Pe=ke%3,rt=ke-Pe,At=0;At<rt;At+=3)$+=se[(16515072&(xe=Oe[At]<<16|Oe[At+1]<<8|Oe[At+2]))>>18]+se[(258048&xe)>>12]+se[(4032&xe)>>6]+se[63&xe];return Pe==1?$+=se[(252&(xe=Oe[rt]))>>2]+se[(3&xe)<<4]+"==":Pe==2&&($+=se[(64512&(xe=Oe[rt]<<8|Oe[rt+1]))>>10]+se[(1008&xe)>>4]+se[(15&xe)<<2]+"="),$},_e.createImageInfo=function(de,xe,$,se,Oe,ke,Pe,rt,At,Wt,$t,Rt,zt){var Gt={alias:rt,w:xe,h:$,cs:se,bpc:Oe,i:Pe,data:de};return ke&&(Gt.f=ke),At&&(Gt.dp=At),Wt&&(Gt.trns=Wt),$t&&(Gt.pal=$t),Rt&&(Gt.smask=Rt),zt&&(Gt.p=zt),Gt},_e.addImage=function(de,xe,$,se,Oe,ke,Pe,rt,At){var Wt="";if(typeof xe!="string"){var $t=ke;ke=Oe,Oe=se,se=$,$=xe,xe=$t}if(m(de)==="object"&&!Ke(de)&&"imageData"in de){var Rt=de;de=Rt.imageData,xe=Rt.format||xe||"UNKNOWN",$=Rt.x||$||0,se=Rt.y||se||0,Oe=Rt.w||Oe,ke=Rt.h||ke,Pe=Rt.alias||Pe,rt=Rt.compression||rt,At=Rt.rotation||Rt.angle||At}var zt=this.internal.getFilters();if(rt===void 0&&zt.indexOf("FlateEncode")!==-1&&(rt="SLOW"),typeof de=="string"&&(de=unescape(de)),isNaN($)||isNaN(se))throw console.error("jsPDF.addImage: Invalid coordinates",arguments),new Error("Invalid coordinates passed to jsPDF.addImage");var Gt,Qt,Mt,dr,er,ht,Et,pt=function(){var vt=this.internal.collections[Ce+"images"];return vt||(this.internal.collections[Ce+"images"]=vt={},this.internal.events.subscribe("putResources",Ye),this.internal.events.subscribe("putXobjectDict",Ge)),vt}.call(this);if(!((Gt=wt(de,pt))||(Ke(de)&&(de=ct(de,xe)),((Et=Pe)==null||Et.length===0)&&(Pe=typeof(ht=de)=="string"?_e.sHashCode(ht):_e.isArrayBufferView(ht)?_e.sHashCode(_e.arrayBufferToBinaryString(ht)):null),Gt=wt(Pe,pt)))){if(this.isString(de)&&((Wt=this.convertStringToImageData(de))!==""||(Wt=_e.loadFile(de))!==void 0)&&(de=Wt),xe=this.getImageFileTypeByImageData(de,xe),!qe(xe))throw new Error("addImage does not support files of type '"+xe+"', please ensure that a plugin for '"+xe+"' support is added.");if(this.supportsArrayBuffer()&&(de instanceof Uint8Array||(Qt=de,de=this.binaryStringToUint8Array(de))),!(Gt=this["process"+xe.toUpperCase()](de,(er=0,(dr=pt)&&(er=Object.keys?Object.keys(dr).length:function(vt){var Nt=0;for(var _t in vt)vt.hasOwnProperty(_t)&&Nt++;return Nt}(dr)),er),Pe,((Mt=rt)&&typeof Mt=="string"&&(Mt=Mt.toUpperCase()),Mt in _e.image_compression?Mt:_e.image_compression.NONE),Qt)))throw new Error("An unknown error occurred whilst processing the image")}return function(vt,Nt,_t,gt,Ht,kt,ir,Xt){var mr=function(Qr,Lr,ur){return Qr||Lr||(Lr=Qr=-96),Qr<0&&(Qr=-1*ur.w*72/Qr/this.internal.scaleFactor),Lr<0&&(Lr=-1*ur.h*72/Lr/this.internal.scaleFactor),Qr===0&&(Qr=Lr*ur.w/ur.h),Lr===0&&(Lr=Qr*ur.h/ur.w),[Qr,Lr]}.call(this,_t,gt,Ht),Ar=this.internal.getCoordinateString,Nr=this.internal.getVerticalCoordinateString;if(_t=mr[0],gt=mr[1],ir[kt]=Ht,Xt){Xt*=Math.PI/180;var kr=Math.cos(Xt),tn=Math.sin(Xt),qr=function(Lr){return Lr.toFixed(4)},_r=[qr(kr),qr(tn),qr(-1*tn),qr(kr),0,0,"cm"]}this.internal.write("q"),Xt?(this.internal.write([1,"0","0",1,Ar(vt),Nr(Nt+gt),"cm"].join(" ")),this.internal.write(_r.join(" ")),this.internal.write([Ar(_t),"0","0",Ar(gt),"0","0","cm"].join(" "))):this.internal.write([Ar(_t),"0","0",Ar(gt),Ar(vt),Nr(Nt+gt),"cm"].join(" ")),this.internal.write("/I"+Ht.i+" Do"),this.internal.write("Q")}.call(this,$,se,Oe,ke,Gt,Gt.i,pt,At),this},_e.convertStringToImageData=function(de){var xe,$="";if(this.isString(de)){var se;xe=(se=this.extractImageFromDataUrl(de))!==null?se.data:de;try{$=atob(xe)}catch(Oe){throw _e.validateStringAsBase64(xe)?new Error("atob-Error in jsPDF.convertStringToImageData "+Oe.message):new Error("Supplied Data is not a valid base64-String jsPDF.convertStringToImageData ")}}return $};var Lt=function(xe,$){return xe.subarray($,$+5)};_e.processJPEG=function(de,xe,$,se,Oe,ke){var Pe,rt=this.decode.DCT_DECODE;if(!this.isString(de)&&!this.isArrayBuffer(de)&&!this.isArrayBufferView(de))return null;if(this.isString(de)&&(Pe=function(At){var Wt;if(we(At)!=="JPEG")throw new Error("getJpegSize requires a binary string jpeg file");for(var $t=256*At.charCodeAt(4)+At.charCodeAt(5),Rt=4,zt=At.length;Rt<zt;){if(Rt+=$t,At.charCodeAt(Rt)!==255)throw new Error("getJpegSize could not find the size of the image");if(At.charCodeAt(Rt+1)===192||At.charCodeAt(Rt+1)===193||At.charCodeAt(Rt+1)===194||At.charCodeAt(Rt+1)===195||At.charCodeAt(Rt+1)===196||At.charCodeAt(Rt+1)===197||At.charCodeAt(Rt+1)===198||At.charCodeAt(Rt+1)===199)return Wt=256*At.charCodeAt(Rt+5)+At.charCodeAt(Rt+6),[256*At.charCodeAt(Rt+7)+At.charCodeAt(Rt+8),Wt,At.charCodeAt(Rt+9)];Rt+=2,$t=256*At.charCodeAt(Rt)+At.charCodeAt(Rt+1)}}(de)),this.isArrayBuffer(de)&&(de=new Uint8Array(de)),this.isArrayBufferView(de)&&(Pe=function(At){if((At[0]<<8|At[1])!=65496)throw new Error("Supplied data is not a JPEG");for(var Wt,$t=At.length,Rt=(At[4]<<8)+At[5],zt=4;zt<$t;){if(Rt=((Wt=Lt(At,zt+=Rt))[2]<<8)+Wt[3],(Wt[1]===192||Wt[1]===194)&&Wt[0]===255&&7<Rt)return{width:((Wt=Lt(At,zt+5))[2]<<8)+Wt[3],height:(Wt[0]<<8)+Wt[1],numcomponents:Wt[4]};zt+=2}throw new Error("getJpegSizeFromBytes could not find the size of the image")}(de),de=Oe||this.arrayBufferToBinaryString(de)),ke===void 0)switch(Pe.numcomponents){case 1:ke=this.color_spaces.DEVICE_GRAY;break;case 4:ke=this.color_spaces.DEVICE_CMYK;break;default:case 3:ke=this.color_spaces.DEVICE_RGB}return this.createImageInfo(de,Pe.width,Pe.height,ke,8,rt,xe,$)},_e.processJPG=function(){return this.processJPEG.apply(this,arguments)},_e.getImageProperties=function(de){var xe,$,se="";if(Ke(de)&&(de=ct(de)),this.isString(de)&&((se=this.convertStringToImageData(de))!==""||(se=_e.loadFile(de))!==void 0)&&(de=se),$=this.getImageFileTypeByImageData(de),!qe($))throw new Error("addImage does not support files of type '"+$+"', please ensure that a plugin for '"+$+"' support is added.");if(this.supportsArrayBuffer()&&(de instanceof Uint8Array||(de=this.binaryStringToUint8Array(de))),!(xe=this["process"+$.toUpperCase()](de)))throw new Error("An unknown error occurred whilst processing the image");return{fileType:$,width:xe.w,height:xe.h,colorSpace:xe.cs,compressionMode:xe.f,bitsPerComponent:xe.bpc}}}(ze.API),v=ze.API,ze.API.events.push(["addPage",function(_e){this.internal.getPageInfo(_e.pageNumber).pageContext.annotations=[]}]),v.events.push(["putPage",function(_e){for(var Ce=this.internal.getPageInfoByObjId(_e.objId),Ee=_e.pageContext.annotations,we=function(rt){if(rt!==void 0&&rt!="")return!0},Fe=!1,Ye=0;Ye<Ee.length&&!Fe;Ye++)switch((Ke=Ee[Ye]).type){case"link":if(we(Ke.options.url)||we(Ke.options.pageNumber)){Fe=!0;break}case"reference":case"text":case"freetext":Fe=!0}if(Fe!=0){this.internal.write("/Annots ["),this.internal.pageSize.height;var Ge=this.internal.getCoordinateString,qe=this.internal.getVerticalCoordinateString;for(Ye=0;Ye<Ee.length;Ye++){var Ke;switch((Ke=Ee[Ye]).type){case"reference":this.internal.write(" "+Ke.object.objId+" 0 R ");break;case"text":var ct=this.internal.newAdditionalObject(),wt=this.internal.newAdditionalObject(),Lt=Ke.title||"Note";Oe="<</Type /Annot /Subtype /Text "+(xe="/Rect ["+Ge(Ke.bounds.x)+" "+qe(Ke.bounds.y+Ke.bounds.h)+" "+Ge(Ke.bounds.x+Ke.bounds.w)+" "+qe(Ke.bounds.y)+"] ")+"/Contents ("+Ke.contents+")",Oe+=" /Popup "+wt.objId+" 0 R",Oe+=" /P "+Ce.objId+" 0 R",Oe+=" /T ("+Lt+") >>",ct.content=Oe;var de=ct.objId+" 0 R";Oe="<</Type /Annot /Subtype /Popup "+(xe="/Rect ["+Ge(Ke.bounds.x+30)+" "+qe(Ke.bounds.y+Ke.bounds.h)+" "+Ge(Ke.bounds.x+Ke.bounds.w+30)+" "+qe(Ke.bounds.y)+"] ")+" /Parent "+de,Ke.open&&(Oe+=" /Open true"),Oe+=" >>",wt.content=Oe,this.internal.write(ct.objId,"0 R",wt.objId,"0 R");break;case"freetext":var xe="/Rect ["+Ge(Ke.bounds.x)+" "+qe(Ke.bounds.y)+" "+Ge(Ke.bounds.x+Ke.bounds.w)+" "+qe(Ke.bounds.y+Ke.bounds.h)+"] ",$=Ke.color||"#000000";Oe="<</Type /Annot /Subtype /FreeText "+xe+"/Contents ("+Ke.contents+")",Oe+=" /DS(font: Helvetica,sans-serif 12.0pt; text-align:left; color:#"+$+")",Oe+=" /Border [0 0 0]",Oe+=" >>",this.internal.write(Oe);break;case"link":if(Ke.options.name){var se=this.annotations._nameMap[Ke.options.name];Ke.options.pageNumber=se.page,Ke.options.top=se.y}else Ke.options.top||(Ke.options.top=0);xe="/Rect ["+Ge(Ke.x)+" "+qe(Ke.y)+" "+Ge(Ke.x+Ke.w)+" "+qe(Ke.y+Ke.h)+"] ";var Oe="";if(Ke.options.url)Oe="<</Type /Annot /Subtype /Link "+xe+"/Border [0 0 0] /A <</S /URI /URI ("+Ke.options.url+") >>";else if(Ke.options.pageNumber)switch(Oe="<</Type /Annot /Subtype /Link "+xe+"/Border [0 0 0] /Dest ["+this.internal.getPageInfo(Ke.options.pageNumber).objId+" 0 R",Ke.options.magFactor=Ke.options.magFactor||"XYZ",Ke.options.magFactor){case"Fit":Oe+=" /Fit]";break;case"FitH":Oe+=" /FitH "+Ke.options.top+"]";break;case"FitV":Ke.options.left=Ke.options.left||0,Oe+=" /FitV "+Ke.options.left+"]";break;case"XYZ":default:var ke=qe(Ke.options.top);Ke.options.left=Ke.options.left||0,Ke.options.zoom===void 0&&(Ke.options.zoom=0),Oe+=" /XYZ "+Ke.options.left+" "+ke+" "+Ke.options.zoom+"]"}Oe!=""&&(Oe+=" >>",this.internal.write(Oe))}}this.internal.write("]")}}]),v.createAnnotation=function(_e){var Ce=this.internal.getCurrentPageInfo();switch(_e.type){case"link":this.link(_e.bounds.x,_e.bounds.y,_e.bounds.w,_e.bounds.h,_e);break;case"text":case"freetext":Ce.pageContext.annotations.push(_e)}},v.link=function(_e,Ce,Ee,we,Fe){this.internal.getCurrentPageInfo().pageContext.annotations.push({x:_e,y:Ce,w:Ee,h:we,options:Fe,type:"link"})},v.textWithLink=function(_e,Ce,Ee,we){var Fe=this.getTextWidth(_e),Ye=this.internal.getLineHeight()/this.internal.scaleFactor;return this.text(_e,Ce,Ee),Ee+=.2*Ye,this.link(Ce,Ee-Ye,Fe,Ye,we),Fe},v.getTextWidth=function(_e){var Ce=this.internal.getFontSize();return this.getStringUnitWidth(_e)*Ce/this.internal.scaleFactor},function(_e){var Ce={1569:[65152],1570:[65153,65154],1571:[65155,65156],1572:[65157,65158],1573:[65159,65160],1574:[65161,65162,65163,65164],1575:[65165,65166],1576:[65167,65168,65169,65170],1577:[65171,65172],1578:[65173,65174,65175,65176],1579:[65177,65178,65179,65180],1580:[65181,65182,65183,65184],1581:[65185,65186,65187,65188],1582:[65189,65190,65191,65192],1583:[65193,65194],1584:[65195,65196],1585:[65197,65198],1586:[65199,65200],1587:[65201,65202,65203,65204],1588:[65205,65206,65207,65208],1589:[65209,65210,65211,65212],1590:[65213,65214,65215,65216],1591:[65217,65218,65219,65220],1592:[65221,65222,65223,65224],1593:[65225,65226,65227,65228],1594:[65229,65230,65231,65232],1601:[65233,65234,65235,65236],1602:[65237,65238,65239,65240],1603:[65241,65242,65243,65244],1604:[65245,65246,65247,65248],1605:[65249,65250,65251,65252],1606:[65253,65254,65255,65256],1607:[65257,65258,65259,65260],1608:[65261,65262],1609:[65263,65264,64488,64489],1610:[65265,65266,65267,65268],1649:[64336,64337],1655:[64477],1657:[64358,64359,64360,64361],1658:[64350,64351,64352,64353],1659:[64338,64339,64340,64341],1662:[64342,64343,64344,64345],1663:[64354,64355,64356,64357],1664:[64346,64347,64348,64349],1667:[64374,64375,64376,64377],1668:[64370,64371,64372,64373],1670:[64378,64379,64380,64381],1671:[64382,64383,64384,64385],1672:[64392,64393],1676:[64388,64389],1677:[64386,64387],1678:[64390,64391],1681:[64396,64397],1688:[64394,64395],1700:[64362,64363,64364,64365],1702:[64366,64367,64368,64369],1705:[64398,64399,64400,64401],1709:[64467,64468,64469,64470],1711:[64402,64403,64404,64405],1713:[64410,64411,64412,64413],1715:[64406,64407,64408,64409],1722:[64414,64415],1723:[64416,64417,64418,64419],1726:[64426,64427,64428,64429],1728:[64420,64421],1729:[64422,64423,64424,64425],1733:[64480,64481],1734:[64473,64474],1735:[64471,64472],1736:[64475,64476],1737:[64482,64483],1739:[64478,64479],1740:[64508,64509,64510,64511],1744:[64484,64485,64486,64487],1746:[64430,64431],1747:[64432,64433]},Ee={65247:{65154:65269,65156:65271,65160:65273,65166:65275},65248:{65154:65270,65156:65272,65160:65274,65166:65276},65165:{65247:{65248:{65258:65010}}},1617:{1612:64606,1613:64607,1614:64608,1615:64609,1616:64610}},we={1612:64606,1613:64607,1614:64608,1615:64609,1616:64610},Fe=[1570,1571,1573,1575];_e.__arabicParser__={};var Ye=_e.__arabicParser__.isInArabicSubstitutionA=function($){return Ce[$.charCodeAt(0)]!==void 0},Ge=_e.__arabicParser__.isArabicLetter=function($){return typeof $=="string"&&/^[\u0600-\u06FF\u0750-\u077F\u08A0-\u08FF\uFB50-\uFDFF\uFE70-\uFEFF]+$/.test($)},qe=_e.__arabicParser__.isArabicEndLetter=function($){return Ge($)&&Ye($)&&Ce[$.charCodeAt(0)].length<=2},Ke=_e.__arabicParser__.isArabicAlfLetter=function($){return Ge($)&&0<=Fe.indexOf($.charCodeAt(0))},ct=(_e.__arabicParser__.arabicLetterHasIsolatedForm=function($){return Ge($)&&Ye($)&&1<=Ce[$.charCodeAt(0)].length},_e.__arabicParser__.arabicLetterHasFinalForm=function($){return Ge($)&&Ye($)&&2<=Ce[$.charCodeAt(0)].length}),wt=(_e.__arabicParser__.arabicLetterHasInitialForm=function($){return Ge($)&&Ye($)&&3<=Ce[$.charCodeAt(0)].length},_e.__arabicParser__.arabicLetterHasMedialForm=function($){return Ge($)&&Ye($)&&Ce[$.charCodeAt(0)].length==4}),Lt=_e.__arabicParser__.resolveLigatures=function($){var se=0,Oe=Ee,ke=0,Pe="",rt=0;for(se=0;se<$.length;se+=1)Oe[$.charCodeAt(se)]!==void 0?(rt++,typeof(Oe=Oe[$.charCodeAt(se)])=="number"&&(ke=(ke=de($.charAt(se),$.charAt(se-rt),$.charAt(se+1)))!==-1?ke:0,Pe+=String.fromCharCode(Oe),Oe=Ee,rt=0),se===$.length-1&&(Oe=Ee,Pe+=$.charAt(se-(rt-1)),se-=rt-1,rt=0)):(Oe=Ee,Pe+=$.charAt(se-rt),se-=rt,rt=0);return Pe},de=(_e.__arabicParser__.isArabicDiacritic=function($){return $!==void 0&&we[$.charCodeAt(0)]!==void 0},_e.__arabicParser__.getCorrectForm=function($,se,Oe){return Ge($)?Ye($)===!1?-1:!ct($)||!Ge(se)&&!Ge(Oe)||!Ge(Oe)&&qe(se)||qe($)&&!Ge(se)||qe($)&&Ke(se)||qe($)&&qe(se)?0:wt($)&&Ge(se)&&!qe(se)&&Ge(Oe)&&ct(Oe)?3:qe($)||!Ge(Oe)?1:2:-1}),xe=_e.__arabicParser__.processArabic=_e.processArabic=function($){var se=0,Oe=0,ke=0,Pe="",rt="",At="",Wt=($=$||"").split("\\s+"),$t=[];for(se=0;se<Wt.length;se+=1){for($t.push(""),Oe=0;Oe<Wt[se].length;Oe+=1)Pe=Wt[se][Oe],rt=Wt[se][Oe-1],At=Wt[se][Oe+1],Ge(Pe)?(ke=de(Pe,rt,At),$t[se]+=ke!==-1?String.fromCharCode(Ce[Pe.charCodeAt(0)][ke]):Pe):$t[se]+=Pe;$t[se]=Lt($t[se])}return $t.join(" ")};_e.events.push(["preProcessText",function($){var se=$.text,Oe=($.x,$.y,$.options||{}),ke=($.mutex,Oe.lang,[]);if(Object.prototype.toString.call(se)==="[object Array]"){var Pe=0;for(ke=[],Pe=0;Pe<se.length;Pe+=1)Object.prototype.toString.call(se[Pe])==="[object Array]"?ke.push([xe(se[Pe][0]),se[Pe][1],se[Pe][2]]):ke.push([xe(se[Pe])]);$.text=ke}else $.text=xe(se)}])}(ze.API),ze.API.autoPrint=function(_e){var Ce;switch((_e=_e||{}).variant=_e.variant||"non-conform",_e.variant){case"javascript":this.addJS("print({});");break;case"non-conform":default:this.internal.events.subscribe("postPutResources",function(){Ce=this.internal.newObject(),this.internal.out("<<"),this.internal.out("/S /Named"),this.internal.out("/Type /Action"),this.internal.out("/N /Print"),this.internal.out(">>"),this.internal.out("endobj")}),this.internal.events.subscribe("putCatalog",function(){this.internal.out("/OpenAction "+Ce+" 0 R")})}return this},h=ze.API,(c=function(){var Ce=void 0;Object.defineProperty(this,"pdf",{get:function(){return Ce},set:function(qe){Ce=qe}});var Ee=150;Object.defineProperty(this,"width",{get:function(){return Ee},set:function(qe){Ee=isNaN(qe)||Number.isInteger(qe)===!1||qe<0?150:qe,this.getContext("2d").pageWrapXEnabled&&(this.getContext("2d").pageWrapX=Ee+1)}});var we=300;Object.defineProperty(this,"height",{get:function(){return we},set:function(qe){we=isNaN(qe)||Number.isInteger(qe)===!1||qe<0?300:qe,this.getContext("2d").pageWrapYEnabled&&(this.getContext("2d").pageWrapY=we+1)}});var Fe=[];Object.defineProperty(this,"childNodes",{get:function(){return Fe},set:function(qe){Fe=qe}});var Ye={};Object.defineProperty(this,"style",{get:function(){return Ye},set:function(qe){Ye=qe}}),Object.defineProperty(this,"parentNode",{get:function(){return!1}})}).prototype.getContext=function(_e,Ce){var Ee;if((_e=_e||"2d")!=="2d")return null;for(Ee in Ce)this.pdf.context2d.hasOwnProperty(Ee)&&(this.pdf.context2d[Ee]=Ce[Ee]);return(this.pdf.context2d._canvas=this).pdf.context2d},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=ze.API,r={x:void 0,y:void 0,w:void 0,h:void 0,ln:void 0},o=1,d=function(Ce,Ee,we,Fe,Ye){r={x:Ce,y:Ee,w:we,h:Fe,ln:Ye}},n=function(){return r},l={left:0,top:0,bottom:0},a.setHeaderFunction=function(_e){i=_e},a.getTextDimensions=function(_e,Ce){var Ee=this.table_font_size||this.internal.getFontSize(),we=(this.internal.getFont().fontStyle,(Ce=Ce||{}).scaleFactor||this.internal.scaleFactor),Fe=0,Ye=0,Ge=0;if(typeof _e=="string")(Fe=this.getStringUnitWidth(_e)*Ee)!=0&&(Ye=1);else{if(Object.prototype.toString.call(_e)!=="[object Array]")throw new Error("getTextDimensions expects text-parameter to be of type String or an Array of Strings.");for(var qe=0;qe<_e.length;qe++)Fe<(Ge=this.getStringUnitWidth(_e[qe])*Ee)&&(Fe=Ge);Fe!==0&&(Ye=_e.length)}return{w:Fe/=we,h:Math.max((Ye*Ee*this.getLineHeightFactor()-Ee*(this.getLineHeightFactor()-1))/we,0)}},a.cellAddPage=function(){var _e=this.margins||l;this.addPage(),d(_e.left,_e.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(_e,Ce,Ee,we,Fe,Ye,Ge){var qe=n(),Ke=!1;if(qe.ln!==void 0)if(qe.ln===Ye)_e=qe.x+qe.w,Ce=qe.y;else{var ct=this.margins||l;qe.y+qe.h+we+13>=this.internal.pageSize.getHeight()-ct.bottom&&(this.cellAddPage(),Ke=!0,this.printHeaders&&this.tableHeaderRow&&this.printHeaderRow(Ye,!0)),Ce=n().y+n().h,Ke&&(Ce=23)}if(Fe[0]!==void 0)if(this.printingHeaderRow?this.rect(_e,Ce,Ee,we,"FD"):this.rect(_e,Ce,Ee,we),Ge==="right"){Fe instanceof Array||(Fe=[Fe]);for(var wt=0;wt<Fe.length;wt++){var Lt=Fe[wt],de=this.getStringUnitWidth(Lt)*this.internal.getFontSize()/this.internal.scaleFactor;this.text(Lt,_e+Ee-de-3,Ce+this.internal.getLineHeight()*(wt+1))}}else this.text(Fe,_e+3,Ce+this.internal.getLineHeight());return d(_e,Ce,Ee,we,Ye),this},a.arrayMax=function(_e,Ce){var Ee,we,Fe,Ye=_e[0];for(Ee=0,we=_e.length;Ee<we;Ee+=1)Fe=_e[Ee],Ce?Ce(Ye,Fe)===-1&&(Ye=Fe):Ye<Fe&&(Ye=Fe);return Ye},a.table=function(_e,Ce,Ee,we,Fe){if(!Ee)throw"No data for PDF table";var Ye,Ge,qe,Ke,ct,wt,Lt,de,xe,$,se=[],Oe=[],ke={},Pe={},rt=[],At=[],Wt=!1,$t=!0,Rt=12,zt=l;if(zt.width=this.internal.pageSize.getWidth(),Fe&&(Fe.autoSize===!0&&(Wt=!0),Fe.printHeaders===!1&&($t=!1),Fe.fontSize&&(Rt=Fe.fontSize),Fe.css&&Fe.css["font-size"]!==void 0&&(Rt=16*Fe.css["font-size"]),Fe.margins&&(zt=Fe.margins)),this.lnMod=0,r={x:void 0,y:void 0,w:void 0,h:void 0,ln:void 0},o=1,this.printHeaders=$t,this.margins=zt,this.setFontSize(Rt),this.table_font_size=Rt,we==null)se=Object.keys(Ee[0]);else if(we[0]&&typeof we[0]!="string")for(Ge=0,qe=we.length;Ge<qe;Ge+=1)Ye=we[Ge],se.push(Ye.name),Oe.push(Ye.prompt),Pe[Ye.name]=Ye.width*(19.049976/25.4);else se=we;if(Wt)for($=function(Mt){return Mt[Ye]},Ge=0,qe=se.length;Ge<qe;Ge+=1){for(ke[Ye=se[Ge]]=Ee.map($),rt.push(this.getTextDimensions(Oe[Ge]||Ye,{scaleFactor:1}).w),Lt=0,Ke=(wt=ke[Ye]).length;Lt<Ke;Lt+=1)ct=wt[Lt],rt.push(this.getTextDimensions(ct,{scaleFactor:1}).w);Pe[Ye]=a.arrayMax(rt),rt=[]}if($t){var Gt=this.calculateLineHeight(se,Pe,Oe.length?Oe:se);for(Ge=0,qe=se.length;Ge<qe;Ge+=1)Ye=se[Ge],At.push([_e,Ce,Pe[Ye],Gt,String(Oe.length?Oe[Ge]:Ye)]);this.setTableHeaderRow(At),this.printHeaderRow(1,!1)}for(Ge=0,qe=Ee.length;Ge<qe;Ge+=1)for(de=Ee[Ge],Gt=this.calculateLineHeight(se,Pe,de),Lt=0,xe=se.length;Lt<xe;Lt+=1)Ye=se[Lt],this.cell(_e,Ce,Pe[Ye],Gt,de[Ye],Ge+2,Ye.align);return this.lastCellPos=r,this.table_x=_e,this.table_y=Ce,this},a.calculateLineHeight=function(_e,Ce,Ee){for(var we,Fe=0,Ye=0;Ye<_e.length;Ye++){Ee[we=_e[Ye]]=this.splitTextToSize(String(Ee[we]),Ce[we]-3);var Ge=this.internal.getLineHeight()*Ee[we].length+3;Fe<Ge&&(Fe=Ge)}return Fe},a.setTableHeaderRow=function(_e){this.tableHeaderRow=_e},a.printHeaderRow=function(_e,Ce){if(!this.tableHeaderRow)throw"Property tableHeaderRow does not exist.";var Ee,we,Fe,Ye;if(this.printingHeaderRow=!0,i!==void 0){var Ge=i(this,o);d(Ge[0],Ge[1],Ge[2],Ge[3],-1)}this.setFontStyle("bold");var qe=[];for(Fe=0,Ye=this.tableHeaderRow.length;Fe<Ye;Fe+=1)this.setFillColor(200,200,200),Ee=this.tableHeaderRow[Fe],Ce&&(this.margins.top=13,Ee[1]=this.margins&&this.margins.top||0,qe.push(Ee)),we=[].concat(Ee),this.cell.apply(this,we.concat(_e));0<qe.length&&this.setTableHeaderRow(qe),this.setFontStyle("normal"),this.printingHeaderRow=!1},function(_e,Ce){var Ee,we,Fe,Ye,Ge,qe=function(gt){return gt=gt||{},this.isStrokeTransparent=gt.isStrokeTransparent||!1,this.strokeOpacity=gt.strokeOpacity||1,this.strokeStyle=gt.strokeStyle||"#000000",this.fillStyle=gt.fillStyle||"#000000",this.isFillTransparent=gt.isFillTransparent||!1,this.fillOpacity=gt.fillOpacity||1,this.font=gt.font||"10px sans-serif",this.textBaseline=gt.textBaseline||"alphabetic",this.textAlign=gt.textAlign||"left",this.lineWidth=gt.lineWidth||1,this.lineJoin=gt.lineJoin||"miter",this.lineCap=gt.lineCap||"butt",this.path=gt.path||[],this.transform=gt.transform!==void 0?gt.transform.clone():new Nt,this.globalCompositeOperation=gt.globalCompositeOperation||"normal",this.globalAlpha=gt.globalAlpha||1,this.clip_path=gt.clip_path||[],this.currentPoint=gt.currentPoint||new pt,this.miterLimit=gt.miterLimit||10,this.lastPoint=gt.lastPoint||new pt,this.ignoreClearRect=typeof gt.ignoreClearRect!="boolean"||gt.ignoreClearRect,this};_e.events.push(["initialized",function(){this.context2d=new Ke(this),Ee=this.internal.f2,this.internal.f3,we=this.internal.getCoordinateString,Fe=this.internal.getVerticalCoordinateString,Ye=this.internal.getHorizontalCoordinate,Ge=this.internal.getVerticalCoordinate}]);var Ke=function(gt){Object.defineProperty(this,"canvas",{get:function(){return{parentNode:!1,style:!1}}}),Object.defineProperty(this,"pdf",{get:function(){return gt}});var Ht=!1;Object.defineProperty(this,"pageWrapXEnabled",{get:function(){return Ht},set:function(_r){Ht=Boolean(_r)}});var kt=!1;Object.defineProperty(this,"pageWrapYEnabled",{get:function(){return kt},set:function(_r){kt=Boolean(_r)}});var ir=0;Object.defineProperty(this,"posX",{get:function(){return ir},set:function(_r){isNaN(_r)||(ir=_r)}});var Xt=0;Object.defineProperty(this,"posY",{get:function(){return Xt},set:function(_r){isNaN(_r)||(Xt=_r)}});var mr=!1;Object.defineProperty(this,"autoPaging",{get:function(){return mr},set:function(_r){mr=Boolean(_r)}});var Ar=0;Object.defineProperty(this,"lastBreak",{get:function(){return Ar},set:function(_r){Ar=_r}});var Nr=[];Object.defineProperty(this,"pageBreaks",{get:function(){return Nr},set:function(_r){Nr=_r}});var kr=new qe;Object.defineProperty(this,"ctx",{get:function(){return kr},set:function(_r){_r instanceof qe&&(kr=_r)}}),Object.defineProperty(this,"path",{get:function(){return kr.path},set:function(_r){kr.path=_r}});var tn=[];Object.defineProperty(this,"ctxStack",{get:function(){return tn},set:function(_r){tn=_r}}),Object.defineProperty(this,"fillStyle",{get:function(){return this.ctx.fillStyle},set:function(_r){var Qr;Qr=ct(_r),this.ctx.fillStyle=Qr.style,this.ctx.isFillTransparent=Qr.a===0,this.ctx.fillOpacity=Qr.a,this.pdf.setFillColor(Qr.r,Qr.g,Qr.b,{a:Qr.a}),this.pdf.setTextColor(Qr.r,Qr.g,Qr.b,{a:Qr.a})}}),Object.defineProperty(this,"strokeStyle",{get:function(){return this.ctx.strokeStyle},set:function(_r){var Qr=ct(_r);this.ctx.strokeStyle=Qr.style,this.ctx.isStrokeTransparent=Qr.a===0,this.ctx.strokeOpacity=Qr.a,Qr.a===0?this.pdf.setDrawColor(255,255,255):(Qr.a,this.pdf.setDrawColor(Qr.r,Qr.g,Qr.b))}}),Object.defineProperty(this,"lineCap",{get:function(){return this.ctx.lineCap},set:function(_r){["butt","round","square"].indexOf(_r)!==-1&&(this.ctx.lineCap=_r,this.pdf.setLineCap(_r))}}),Object.defineProperty(this,"lineWidth",{get:function(){return this.ctx.lineWidth},set:function(_r){isNaN(_r)||(this.ctx.lineWidth=_r,this.pdf.setLineWidth(_r))}}),Object.defineProperty(this,"lineJoin",{get:function(){return this.ctx.lineJoin},set:function(_r){["bevel","round","miter"].indexOf(_r)!==-1&&(this.ctx.lineJoin=_r,this.pdf.setLineJoin(_r))}}),Object.defineProperty(this,"miterLimit",{get:function(){return this.ctx.miterLimit},set:function(_r){isNaN(_r)||(this.ctx.miterLimit=_r,this.pdf.setMiterLimit(_r))}}),Object.defineProperty(this,"textBaseline",{get:function(){return this.ctx.textBaseline},set:function(_r){this.ctx.textBaseline=_r}}),Object.defineProperty(this,"textAlign",{get:function(){return this.ctx.textAlign},set:function(_r){["right","end","center","left","start"].indexOf(_r)!==-1&&(this.ctx.textAlign=_r)}}),Object.defineProperty(this,"font",{get:function(){return this.ctx.font},set:function(_r){var Qr;if(this.ctx.font=_r,(Qr=/^\s*(?=(?:(?:[-a-z]+\s*){0,2}(italic|oblique))?)(?=(?:(?:[-a-z]+\s*){0,2}(small-caps))?)(?=(?:(?:[-a-z]+\s*){0,2}(bold(?:er)?|lighter|[1-9]00))?)(?:(?:normal|\1|\2|\3)\s*){0,3}((?:xx?-)?(?:small|large)|medium|smaller|larger|[.\d]+(?:\%|in|[cem]m|ex|p[ctx]))(?:\s*\/\s*(normal|[.\d]+(?:\%|in|[cem]m|ex|p[ctx])))?\s*([-_,\"\'\sa-z]+?)\s*$/i.exec(_r))!==null){var Lr=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)||Lr==="bold")&&(xr="bold"),Lr==="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(_r){this.ctx.globalCompositeOperation=_r}}),Object.defineProperty(this,"globalAlpha",{get:function(){return this.ctx.globalAlpha},set:function(_r){this.ctx.globalAlpha=_r}}),Object.defineProperty(this,"ignoreClearRect",{get:function(){return this.ctx.ignoreClearRect},set:function(_r){this.ctx.ignoreClearRect=Boolean(_r)}})};Ke.prototype.fill=function(){se.call(this,"fill",!1)},Ke.prototype.stroke=function(){se.call(this,"stroke",!1)},Ke.prototype.beginPath=function(){this.path=[{type:"begin"}]},Ke.prototype.moveTo=function(_t,gt){if(isNaN(_t)||isNaN(gt))throw console.error("jsPDF.context2d.moveTo: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.moveTo");var Ht=this.ctx.transform.applyToPoint(new pt(_t,gt));this.path.push({type:"mt",x:Ht.x,y:Ht.y}),this.ctx.lastPoint=new pt(_t,gt)},Ke.prototype.closePath=function(){var _t=new pt(0,0),gt=0;for(gt=this.path.length-1;gt!==-1;gt--)if(this.path[gt].type==="begin"&&m(this.path[gt+1])==="object"&&typeof this.path[gt+1].x=="number"){_t=new pt(this.path[gt+1].x,this.path[gt+1].y),this.path.push({type:"lt",x:_t.x,y:_t.y});break}m(this.path[gt+2])==="object"&&typeof this.path[gt+2].x=="number"&&this.path.push(JSON.parse(JSON.stringify(this.path[gt+2]))),this.path.push({type:"close"}),this.ctx.lastPoint=new pt(_t.x,_t.y)},Ke.prototype.lineTo=function(_t,gt){if(isNaN(_t)||isNaN(gt))throw console.error("jsPDF.context2d.lineTo: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.lineTo");var Ht=this.ctx.transform.applyToPoint(new pt(_t,gt));this.path.push({type:"lt",x:Ht.x,y:Ht.y}),this.ctx.lastPoint=new pt(Ht.x,Ht.y)},Ke.prototype.clip=function(){this.ctx.clip_path=JSON.parse(JSON.stringify(this.path)),se.call(this,null,!0)},Ke.prototype.quadraticCurveTo=function(_t,gt,Ht,kt){if(isNaN(Ht)||isNaN(kt)||isNaN(_t)||isNaN(gt))throw console.error("jsPDF.context2d.quadraticCurveTo: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.quadraticCurveTo");var ir=this.ctx.transform.applyToPoint(new pt(Ht,kt)),Xt=this.ctx.transform.applyToPoint(new pt(_t,gt));this.path.push({type:"qct",x1:Xt.x,y1:Xt.y,x:ir.x,y:ir.y}),this.ctx.lastPoint=new pt(ir.x,ir.y)},Ke.prototype.bezierCurveTo=function(_t,gt,Ht,kt,ir,Xt){if(isNaN(ir)||isNaN(Xt)||isNaN(_t)||isNaN(gt)||isNaN(Ht)||isNaN(kt))throw console.error("jsPDF.context2d.bezierCurveTo: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.bezierCurveTo");var mr=this.ctx.transform.applyToPoint(new pt(ir,Xt)),Ar=this.ctx.transform.applyToPoint(new pt(_t,gt)),Nr=this.ctx.transform.applyToPoint(new pt(Ht,kt));this.path.push({type:"bct",x1:Ar.x,y1:Ar.y,x2:Nr.x,y2:Nr.y,x:mr.x,y:mr.y}),this.ctx.lastPoint=new pt(mr.x,mr.y)},Ke.prototype.arc=function(_t,gt,Ht,kt,ir,Xt){if(isNaN(_t)||isNaN(gt)||isNaN(Ht)||isNaN(kt)||isNaN(ir))throw console.error("jsPDF.context2d.arc: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.arc");if(Xt=Boolean(Xt),!this.ctx.transform.isIdentity){var mr=this.ctx.transform.applyToPoint(new pt(_t,gt));_t=mr.x,gt=mr.y;var Ar=this.ctx.transform.applyToPoint(new pt(0,Ht)),Nr=this.ctx.transform.applyToPoint(new pt(0,0));Ht=Math.sqrt(Math.pow(Ar.x-Nr.x,2)+Math.pow(Ar.y-Nr.y,2))}Math.abs(ir-kt)>=2*Math.PI&&(kt=0,ir=2*Math.PI),this.path.push({type:"arc",x:_t,y:gt,radius:Ht,startAngle:kt,endAngle:ir,counterclockwise:Xt})},Ke.prototype.arcTo=function(_t,gt,Ht,kt,ir){throw new Error("arcTo not implemented.")},Ke.prototype.rect=function(_t,gt,Ht,kt){if(isNaN(_t)||isNaN(gt)||isNaN(Ht)||isNaN(kt))throw console.error("jsPDF.context2d.rect: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.rect");this.moveTo(_t,gt),this.lineTo(_t+Ht,gt),this.lineTo(_t+Ht,gt+kt),this.lineTo(_t,gt+kt),this.lineTo(_t,gt),this.lineTo(_t+Ht,gt),this.lineTo(_t,gt)},Ke.prototype.fillRect=function(_t,gt,Ht,kt){if(isNaN(_t)||isNaN(gt)||isNaN(Ht)||isNaN(kt))throw console.error("jsPDF.context2d.fillRect: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.fillRect");if(!wt.call(this)){var ir={};this.lineCap!=="butt"&&(ir.lineCap=this.lineCap,this.lineCap="butt"),this.lineJoin!=="miter"&&(ir.lineJoin=this.lineJoin,this.lineJoin="miter"),this.beginPath(),this.rect(_t,gt,Ht,kt),this.fill(),ir.hasOwnProperty("lineCap")&&(this.lineCap=ir.lineCap),ir.hasOwnProperty("lineJoin")&&(this.lineJoin=ir.lineJoin)}},Ke.prototype.strokeRect=function(_t,gt,Ht,kt){if(isNaN(_t)||isNaN(gt)||isNaN(Ht)||isNaN(kt))throw console.error("jsPDF.context2d.strokeRect: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.strokeRect");Lt.call(this)||(this.beginPath(),this.rect(_t,gt,Ht,kt),this.stroke())},Ke.prototype.clearRect=function(_t,gt,Ht,kt){if(isNaN(_t)||isNaN(gt)||isNaN(Ht)||isNaN(kt))throw console.error("jsPDF.context2d.clearRect: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.clearRect");this.ignoreClearRect||(this.fillStyle="#ffffff",this.fillRect(_t,gt,Ht,kt))},Ke.prototype.save=function(_t){_t=typeof _t!="boolean"||_t;for(var gt=this.pdf.internal.getCurrentPageInfo().pageNumber,Ht=0;Ht<this.pdf.internal.getNumberOfPages();Ht++)this.pdf.setPage(Ht+1),this.pdf.internal.out("q");if(this.pdf.setPage(gt),_t){this.ctx.fontSize=this.pdf.internal.getFontSize();var kt=new qe(this.ctx);this.ctxStack.push(this.ctx),this.ctx=kt}},Ke.prototype.restore=function(_t){_t=typeof _t!="boolean"||_t;for(var gt=this.pdf.internal.getCurrentPageInfo().pageNumber,Ht=0;Ht<this.pdf.internal.getNumberOfPages();Ht++)this.pdf.setPage(Ht+1),this.pdf.internal.out("Q");this.pdf.setPage(gt),_t&&this.ctxStack.length!==0&&(this.ctx=this.ctxStack.pop(),this.fillStyle=this.ctx.fillStyle,this.strokeStyle=this.ctx.strokeStyle,this.font=this.ctx.font,this.lineCap=this.ctx.lineCap,this.lineWidth=this.ctx.lineWidth,this.lineJoin=this.ctx.lineJoin)},Ke.prototype.toDataURL=function(){throw new Error("toDataUrl not implemented.")};var ct=function(gt){var Ht,kt,ir,Xt;if(gt.isCanvasGradient===!0&&(gt=gt.getColor()),!gt)return{r:0,g:0,b:0,a:0,style:gt};if(/transparent|rgba\s*\(\s*(\d+)\s*,\s*(\d+)\s*,\s*(\d+)\s*,\s*0+\s*\)/.test(gt))Xt=ir=kt=Ht=0;else{var mr=/rgb\s*\(\s*(\d+)\s*,\s*(\d+)\s*,\s*(\d+)\s*\)/.exec(gt);if(mr!==null)Ht=parseInt(mr[1]),kt=parseInt(mr[2]),ir=parseInt(mr[3]),Xt=1;else if((mr=/rgba\s*\(\s*(\d+)\s*,\s*(\d+)\s*,\s*(\d+)\s*,\s*([\d\.]+)\s*\)/.exec(gt))!==null)Ht=parseInt(mr[1]),kt=parseInt(mr[2]),ir=parseInt(mr[3]),Xt=parseFloat(mr[4]);else{if(Xt=1,typeof gt=="string"&>.charAt(0)!=="#"){var Ar=new RGBColor(gt);gt=Ar.ok?Ar.toHex():"#000000"}gt.length===4?(Ht=gt.substring(1,2),Ht+=Ht,kt=gt.substring(2,3),kt+=kt,ir=gt.substring(3,4),ir+=ir):(Ht=gt.substring(1,3),kt=gt.substring(3,5),ir=gt.substring(5,7)),Ht=parseInt(Ht,16),kt=parseInt(kt,16),ir=parseInt(ir,16)}}return{r:Ht,g:kt,b:ir,a:Xt,style:gt}},wt=function(){return this.ctx.isFillTransparent||this.globalAlpha==0},Lt=function(){return Boolean(this.ctx.isStrokeTransparent||this.globalAlpha==0)};Ke.prototype.fillText=function(_t,gt,Ht,kt){if(isNaN(gt)||isNaN(Ht)||typeof _t!="string")throw console.error("jsPDF.context2d.fillText: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.fillText");if(kt=isNaN(kt)?void 0:kt,!wt.call(this)){Ht=ke.call(this,Ht);var ir=dr(this.ctx.transform.rotation),Xt=this.ctx.transform.scaleX;$t.call(this,{text:_t,x:gt,y:Ht,scale:Xt,angle:ir,align:this.textAlign,maxWidth:kt})}},Ke.prototype.strokeText=function(_t,gt,Ht,kt){if(isNaN(gt)||isNaN(Ht)||typeof _t!="string")throw console.error("jsPDF.context2d.strokeText: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.strokeText");if(!Lt.call(this)){kt=isNaN(kt)?void 0:kt,Ht=ke.call(this,Ht);var ir=dr(this.ctx.transform.rotation),Xt=this.ctx.transform.scaleX;$t.call(this,{text:_t,x:gt,y:Ht,scale:Xt,renderingMode:"stroke",angle:ir,align:this.textAlign,maxWidth:kt})}},Ke.prototype.measureText=function(_t){if(typeof _t!="string")throw console.error("jsPDF.context2d.measureText: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.measureText");var gt=this.pdf,Ht=this.pdf.internal.scaleFactor,kt=gt.internal.getFontSize(),ir=gt.getStringUnitWidth(_t)*kt/gt.internal.scaleFactor;return new function(Xt){var mr=(Xt=Xt||{}).width||0;return Object.defineProperty(this,"width",{get:function(){return mr}}),this}({width:ir*=Math.round(96*Ht/72*1e4)/1e4})},Ke.prototype.scale=function(_t,gt){if(isNaN(_t)||isNaN(gt))throw console.error("jsPDF.context2d.scale: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.scale");var Ht=new Nt(_t,0,0,gt,0,0);this.ctx.transform=this.ctx.transform.multiply(Ht)},Ke.prototype.rotate=function(_t){if(isNaN(_t))throw console.error("jsPDF.context2d.rotate: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.rotate");var gt=new Nt(Math.cos(_t),Math.sin(_t),-Math.sin(_t),Math.cos(_t),0,0);this.ctx.transform=this.ctx.transform.multiply(gt)},Ke.prototype.translate=function(_t,gt){if(isNaN(_t)||isNaN(gt))throw console.error("jsPDF.context2d.translate: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.translate");var Ht=new Nt(1,0,0,1,_t,gt);this.ctx.transform=this.ctx.transform.multiply(Ht)},Ke.prototype.transform=function(_t,gt,Ht,kt,ir,Xt){if(isNaN(_t)||isNaN(gt)||isNaN(Ht)||isNaN(kt)||isNaN(ir)||isNaN(Xt))throw console.error("jsPDF.context2d.transform: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.transform");var mr=new Nt(_t,gt,Ht,kt,ir,Xt);this.ctx.transform=this.ctx.transform.multiply(mr)},Ke.prototype.setTransform=function(_t,gt,Ht,kt,ir,Xt){_t=isNaN(_t)?1:_t,gt=isNaN(gt)?0:gt,Ht=isNaN(Ht)?0:Ht,kt=isNaN(kt)?1:kt,ir=isNaN(ir)?0:ir,Xt=isNaN(Xt)?0:Xt,this.ctx.transform=new Nt(_t,gt,Ht,kt,ir,Xt)},Ke.prototype.drawImage=function(_t,gt,Ht,kt,ir,Xt,mr,Ar,Nr){var kr=this.pdf.getImageProperties(_t),tn=1,qr=1,_r=1,Qr=1;kt!==void 0&&Ar!==void 0&&(_r=Ar/kt,Qr=Nr/ir,tn=kr.width/kt*Ar/kt,qr=kr.height/ir*Nr/ir),Xt===void 0&&(Xt=gt,mr=Ht,Ht=gt=0),kt!==void 0&&Ar===void 0&&(Ar=kt,Nr=ir),kt===void 0&&Ar===void 0&&(Ar=kr.width,Nr=kr.height);var Lr=this.ctx.transform.decompose(),ur=dr(Lr.rotate.shx);Lr.scale.sx,Lr.scale.sy;for(var pr,cr=new Nt,fr=((cr=(cr=(cr=cr.multiply(Lr.translate)).multiply(Lr.skew)).multiply(Lr.scale)).applyToPoint(new pt(Ar,Nr)),cr.applyToRectangle(new vt(Xt-gt*_r,mr-Ht*Qr,kt*tn,ir*qr))),xr=de.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=$(pr,this.posX,-1*this.pdf.internal.pageSize.height*(Tn-1)+this.posY),Oe.call(this,"fill",!0),this.path=gn}var Bn=JSON.parse(JSON.stringify(fr));Bn=$([Bn],this.posX,-1*this.pdf.internal.pageSize.height*(Tn-1)+this.posY)[0],this.pdf.addImage(_t,"jpg",Bn.x,Bn.y,Bn.w,Bn.h,null,null,ur)}else this.pdf.addImage(_t,"jpg",fr.x,fr.y,fr.w,fr.h,null,null,ur)};var de=function(gt,Ht,kt){var ir=[];switch(Ht=Ht||this.pdf.internal.pageSize.width,kt=kt||this.pdf.internal.pageSize.height,gt.type){default:case"mt":case"lt":ir.push(Math.floor((gt.y+this.posY)/kt)+1);break;case"arc":ir.push(Math.floor((gt.y+this.posY-gt.radius)/kt)+1),ir.push(Math.floor((gt.y+this.posY+gt.radius)/kt)+1);break;case"qct":var Xt=ht(this.ctx.lastPoint.x,this.ctx.lastPoint.y,gt.x1,gt.y1,gt.x,gt.y);ir.push(Math.floor(Xt.y/kt)+1),ir.push(Math.floor((Xt.y+Xt.h)/kt)+1);break;case"bct":var mr=Et(this.ctx.lastPoint.x,this.ctx.lastPoint.y,gt.x1,gt.y1,gt.x2,gt.y2,gt.x,gt.y);ir.push(Math.floor(mr.y/kt)+1),ir.push(Math.floor((mr.y+mr.h)/kt)+1);break;case"rect":ir.push(Math.floor((gt.y+this.posY)/kt)+1),ir.push(Math.floor((gt.y+gt.h+this.posY)/kt)+1)}for(var Ar=0;Ar<ir.length;Ar+=1)for(;this.pdf.internal.getNumberOfPages()<ir[Ar];)xe.call(this);return ir},xe=function(){var gt=this.fillStyle,Ht=this.strokeStyle,kt=this.font,ir=this.lineCap,Xt=this.lineWidth,mr=this.lineJoin;this.pdf.addPage(),this.fillStyle=gt,this.strokeStyle=Ht,this.font=kt,this.lineCap=ir,this.lineWidth=Xt,this.lineJoin=mr},$=function(gt,Ht,kt){for(var ir=0;ir<gt.length;ir++)switch(gt[ir].type){case"bct":gt[ir].x2+=Ht,gt[ir].y2+=kt;case"qct":gt[ir].x1+=Ht,gt[ir].y1+=kt;case"mt":case"lt":case"arc":default:gt[ir].x+=Ht,gt[ir].y+=kt}return gt},se=function(gt,Ht){for(var kt,ir,Xt=this.fillStyle,mr=this.strokeStyle,Ar=(this.font,this.lineCap),Nr=this.lineWidth,kr=this.lineJoin,tn=JSON.parse(JSON.stringify(this.path)),qr=JSON.parse(JSON.stringify(this.path)),_r=[],Qr=0;Qr<qr.length;Qr++)if(qr[Qr].x!==void 0)for(var Lr=de.call(this,qr[Qr]),ur=0;ur<Lr.length;ur+=1)_r.indexOf(Lr[ur])===-1&&_r.push(Lr[ur]);for(Qr=0;Qr<_r.length;Qr++)for(;this.pdf.internal.getNumberOfPages()<_r[Qr];)xe.call(this);if(_r.sort(),this.autoPaging){var pr=_r[0],cr=_r[_r.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=kr,this.ctx.clip_path.length!==0){var fr=this.path;kt=JSON.parse(JSON.stringify(this.ctx.clip_path)),this.path=$(kt,this.posX,-1*this.pdf.internal.pageSize.height*(Qr-1)+this.posY),Oe.call(this,gt,!0),this.path=fr}ir=JSON.parse(JSON.stringify(tn)),this.path=$(ir,this.posX,-1*this.pdf.internal.pageSize.height*(Qr-1)+this.posY),Ht!==!1&&Qr!==0||Oe.call(this,gt,Ht)}}else Oe.call(this,gt,Ht);this.path=tn},Oe=function(gt,Ht){if((gt!=="stroke"||Ht||!Lt.call(this))&&(gt==="stroke"||Ht||!wt.call(this))){var kt=[];this.ctx.globalAlpha,this.ctx.fillOpacity<1&&this.ctx.fillOpacity;for(var ir,Xt=this.path,mr=0;mr<Xt.length;mr++){var Ar=Xt[mr];switch(Ar.type){case"begin":kt.push({begin:!0});break;case"close":kt.push({close:!0});break;case"mt":kt.push({start:Ar,deltas:[],abs:[]});break;case"lt":var Nr=kt.length;if(!isNaN(Xt[mr-1].x)){var kr=[Ar.x-Xt[mr-1].x,Ar.y-Xt[mr-1].y];if(0<Nr){for(;0<=Nr;Nr--)if(kt[Nr-1].close!==!0&&kt[Nr-1].begin!==!0){kt[Nr-1].deltas.push(kr),kt[Nr-1].abs.push(Ar);break}}}break;case"bct":kr=[Ar.x1-Xt[mr-1].x,Ar.y1-Xt[mr-1].y,Ar.x2-Xt[mr-1].x,Ar.y2-Xt[mr-1].y,Ar.x-Xt[mr-1].x,Ar.y-Xt[mr-1].y],kt[kt.length-1].deltas.push(kr);break;case"qct":var tn=Xt[mr-1].x+2/3*(Ar.x1-Xt[mr-1].x),qr=Xt[mr-1].y+2/3*(Ar.y1-Xt[mr-1].y),_r=Ar.x+2/3*(Ar.x1-Ar.x),Qr=Ar.y+2/3*(Ar.y1-Ar.y),Lr=Ar.x,ur=Ar.y;kr=[tn-Xt[mr-1].x,qr-Xt[mr-1].y,_r-Xt[mr-1].x,Qr-Xt[mr-1].y,Lr-Xt[mr-1].x,ur-Xt[mr-1].y],kt[kt.length-1].deltas.push(kr);break;case"arc":kt.push({deltas:[],abs:[],arc:!0}),Array.isArray(kt[kt.length-1].abs)&&kt[kt.length-1].abs.push(Ar)}}for(ir=Ht?null:gt==="stroke"?"stroke":"fill",mr=0;mr<kt.length;mr++){if(kt[mr].arc)for(var pr=kt[mr].abs,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;Pe.call(this,un,Nn,fr.radius,xr,Yr,fr.counterclockwise,ir,Ht)}else Rt.call(this,fr.x,fr.y)}!kt[mr].arc&&kt[mr].close!==!0&&kt[mr].begin!==!0&&(un=kt[mr].start.x,Nn=kt[mr].start.y,zt.call(this,kt[mr].deltas,un,Nn,null,null))}ir&&rt.call(this,ir),Ht&&At.call(this)}},ke=function(gt){var Ht=this.pdf.internal.getFontSize()/this.pdf.internal.scaleFactor,kt=Ht*(this.pdf.internal.getLineHeightFactor()-1);switch(this.ctx.textBaseline){case"bottom":return gt-kt;case"top":return gt+Ht-kt;case"hanging":return gt+Ht-2*kt;case"middle":return gt+Ht/2-kt;case"ideographic":return gt;case"alphabetic":default:return gt}};Ke.prototype.createLinearGradient=function(){var _t=function(){};return _t.colorStops=[],_t.addColorStop=function(gt,Ht){this.colorStops.push([gt,Ht])},_t.getColor=function(){return this.colorStops.length===0?"#000000":this.colorStops[0][1]},_t.isCanvasGradient=!0,_t},Ke.prototype.createPattern=function(){return this.createLinearGradient()},Ke.prototype.createRadialGradient=function(){return this.createLinearGradient()};var Pe=function(gt,Ht,kt,ir,Xt,mr,Ar,Nr){this.pdf.internal.scaleFactor;for(var kr=er(ir),tn=er(Xt),qr=Qt.call(this,kt,kr,tn,mr),_r=0;_r<qr.length;_r++){var Qr=qr[_r];_r===0&&Wt.call(this,Qr.x1+gt,Qr.y1+Ht),Gt.call(this,gt,Ht,Qr.x2,Qr.y2,Qr.x3,Qr.y3,Qr.x4,Qr.y4)}Nr?At.call(this):rt.call(this,Ar)},rt=function(gt){switch(gt){case"stroke":this.pdf.internal.out("S");break;case"fill":this.pdf.internal.out("f")}},At=function(){this.pdf.clip()},Wt=function(gt,Ht){this.pdf.internal.out(we(gt)+" "+Fe(Ht)+" m")},$t=function(gt){var Ht;switch(gt.align){case"right":case"end":Ht="right";break;case"center":Ht="center";break;case"left":case"start":default:Ht="left"}var kt=this.ctx.transform.applyToPoint(new pt(gt.x,gt.y)),ir=this.ctx.transform.decompose(),Xt=new Nt;Xt=(Xt=(Xt=Xt.multiply(ir.translate)).multiply(ir.skew)).multiply(ir.scale);for(var mr,Ar=this.pdf.getTextDimensions(gt.text),Nr=this.ctx.transform.applyToRectangle(new vt(gt.x,gt.y,Ar.w,Ar.h)),kr=Xt.applyToRectangle(new vt(gt.x,gt.y-Ar.h,Ar.w,Ar.h)),tn=de.call(this,kr),qr=[],_r=0;_r<tn.length;_r+=1)qr.indexOf(tn[_r])===-1&&qr.push(tn[_r]);if(qr.sort(),this.autoPaging===!0)for(var Qr=qr[0],Lr=qr[qr.length-1],ur=Qr;ur<Lr+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=$(mr,this.posX,-1*this.pdf.internal.pageSize.height*(ur-1)+this.posY),Oe.call(this,"fill",!0),this.path=pr}var cr=JSON.parse(JSON.stringify(Nr));if(cr=$([cr],this.posX,-1*this.pdf.internal.pageSize.height*(ur-1)+this.posY)[0],.01<=gt.scale){var fr=this.pdf.internal.getFontSize();this.pdf.setFontSize(fr*gt.scale)}this.pdf.text(gt.text,cr.x,cr.y,{angle:gt.angle,align:Ht,renderingMode:gt.renderingMode,maxWidth:gt.maxWidth}),.01<=gt.scale&&this.pdf.setFontSize(fr)}else .01<=gt.scale&&(fr=this.pdf.internal.getFontSize(),this.pdf.setFontSize(fr*gt.scale)),this.pdf.text(gt.text,kt.x+this.posX,kt.y+this.posY,{angle:gt.angle,align:Ht,renderingMode:gt.renderingMode,maxWidth:gt.maxWidth}),.01<=gt.scale&&this.pdf.setFontSize(fr)},Rt=function(gt,Ht,kt,ir){kt=kt||0,ir=ir||0,this.pdf.internal.out(we(gt+kt)+" "+Fe(Ht+ir)+" l")},zt=function(gt,Ht,kt){return this.pdf.lines(gt,Ht,kt,null,null)},Gt=function(gt,Ht,kt,ir,Xt,mr,Ar,Nr){this.pdf.internal.out([Ee(Ye(kt+gt)),Ee(Ge(ir+Ht)),Ee(Ye(Xt+gt)),Ee(Ge(mr+Ht)),Ee(Ye(Ar+gt)),Ee(Ge(Nr+Ht)),"c"].join(" "))},Qt=function(gt,Ht,kt,ir){var Xt=2*Math.PI,mr=Ht;(mr<Xt||Xt<mr)&&(mr%=Xt);var Ar=kt;(Ar<Xt||Xt<Ar)&&(Ar%=Xt);for(var Nr=[],kr=Math.PI/2,tn=ir?-1:1,qr=Ht,_r=Math.min(Xt,Math.abs(Ar-mr));1e-5<_r;){var Qr=qr+tn*Math.min(_r,kr);Nr.push(Mt.call(this,gt,qr,Qr)),_r-=Math.abs(Qr-qr),qr=Qr}return Nr},Mt=function(gt,Ht,kt){var ir=(kt-Ht)/2,Xt=gt*Math.cos(ir),mr=gt*Math.sin(ir),Ar=Xt,Nr=-mr,kr=Ar*Ar+Nr*Nr,tn=kr+Ar*Xt+Nr*mr,qr=4/3*(Math.sqrt(2*kr*tn)-tn)/(Ar*mr-Nr*Xt),_r=Ar-qr*Nr,Qr=Nr+qr*Ar,Lr=_r,ur=-Qr,pr=ir+Ht,cr=Math.cos(pr),fr=Math.sin(pr);return{x1:gt*Math.cos(Ht),y1:gt*Math.sin(Ht),x2:_r*cr-Qr*fr,y2:_r*fr+Qr*cr,x3:Lr*cr-ur*fr,y3:Lr*fr+ur*cr,x4:gt*Math.cos(kt),y4:gt*Math.sin(kt)}},dr=function(gt){return 180*gt/Math.PI},er=function(gt){return gt*Math.PI/180},ht=function(gt,Ht,kt,ir,Xt,mr){var Ar=gt+.5*(kt-gt),Nr=Ht+.5*(ir-Ht),kr=Xt+.5*(kt-Xt),tn=mr+.5*(ir-mr),qr=Math.min(gt,Xt,Ar,kr),_r=Math.max(gt,Xt,Ar,kr),Qr=Math.min(Ht,mr,Nr,tn),Lr=Math.max(Ht,mr,Nr,tn);return new vt(qr,Qr,_r-qr,Lr-Qr)},Et=function(gt,Ht,kt,ir,Xt,mr,Ar,Nr){for(var kr,tn,qr,_r,Qr,Lr,ur,pr,cr,fr,xr,Yr,un,Nn=kt-gt,jr=ir-Ht,Tn=Xt-kt,gn=mr-ir,Bn=Ar-Xt,Kn=Nr-mr,qn=0;qn<41;qn++)pr=(Lr=(tn=gt+(kr=qn/40)*Nn)+kr*((_r=kt+kr*Tn)-tn))+kr*(_r+kr*(Xt+kr*Bn-_r)-Lr),cr=(ur=(qr=Ht+kr*jr)+kr*((Qr=ir+kr*gn)-qr))+kr*(Qr+kr*(mr+kr*Kn-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 vt(Math.round(fr),Math.round(xr),Math.round(Yr-fr),Math.round(un-xr))},pt=function(gt,Ht){var kt=gt||0;Object.defineProperty(this,"x",{enumerable:!0,get:function(){return kt},set:function(Ar){isNaN(Ar)||(kt=parseFloat(Ar))}});var ir=Ht||0;Object.defineProperty(this,"y",{enumerable:!0,get:function(){return ir},set:function(Ar){isNaN(Ar)||(ir=parseFloat(Ar))}});var Xt="pt";return Object.defineProperty(this,"type",{enumerable:!0,get:function(){return Xt},set:function(Ar){Xt=Ar.toString()}}),this},vt=function(gt,Ht,kt,ir){pt.call(this,gt,Ht),this.type="rect";var Xt=kt||0;Object.defineProperty(this,"w",{enumerable:!0,get:function(){return Xt},set:function(Nr){isNaN(Nr)||(Xt=parseFloat(Nr))}});var mr=ir||0;return Object.defineProperty(this,"h",{enumerable:!0,get:function(){return mr},set:function(Nr){isNaN(Nr)||(mr=parseFloat(Nr))}}),this},Nt=function(gt,Ht,kt,ir,Xt,mr){var Ar=[];return Object.defineProperty(this,"sx",{get:function(){return Ar[0]},set:function(kr){Ar[0]=Math.round(1e5*kr)/1e5}}),Object.defineProperty(this,"shy",{get:function(){return Ar[1]},set:function(kr){Ar[1]=Math.round(1e5*kr)/1e5}}),Object.defineProperty(this,"shx",{get:function(){return Ar[2]},set:function(kr){Ar[2]=Math.round(1e5*kr)/1e5}}),Object.defineProperty(this,"sy",{get:function(){return Ar[3]},set:function(kr){Ar[3]=Math.round(1e5*kr)/1e5}}),Object.defineProperty(this,"tx",{get:function(){return Ar[4]},set:function(kr){Ar[4]=Math.round(1e5*kr)/1e5}}),Object.defineProperty(this,"ty",{get:function(){return Ar[5]},set:function(kr){Ar[5]=Math.round(1e5*kr)/1e5}}),Object.defineProperty(this,"rotation",{get:function(){return Math.atan2(this.shx,this.sx)}}),Object.defineProperty(this,"scaleX",{get:function(){return this.decompose().scale.sx}}),Object.defineProperty(this,"scaleY",{get:function(){return this.decompose().scale.sy}}),Object.defineProperty(this,"isIdentity",{get:function(){return this.sx===1&&this.shy===0&&this.shx===0&&this.sy===1&&this.tx===0&&this.ty===0}}),this.sx=isNaN(gt)?1:gt,this.shy=isNaN(Ht)?0:Ht,this.shx=isNaN(kt)?0:kt,this.sy=isNaN(ir)?1:ir,this.tx=isNaN(Xt)?0:Xt,this.ty=isNaN(mr)?0:mr,this};Nt.prototype.multiply=function(_t){var gt=_t.sx*this.sx+_t.shy*this.shx,Ht=_t.sx*this.shy+_t.shy*this.sy,kt=_t.shx*this.sx+_t.sy*this.shx,ir=_t.shx*this.shy+_t.sy*this.sy,Xt=_t.tx*this.sx+_t.ty*this.shx+this.tx,mr=_t.tx*this.shy+_t.ty*this.sy+this.ty;return new Nt(gt,Ht,kt,ir,Xt,mr)},Nt.prototype.decompose=function(){var _t=this.sx,gt=this.shy,Ht=this.shx,kt=this.sy,ir=this.tx,Xt=this.ty,mr=Math.sqrt(_t*_t+gt*gt),Ar=(_t/=mr)*Ht+(gt/=mr)*kt;Ht-=_t*Ar,kt-=gt*Ar;var Nr=Math.sqrt(Ht*Ht+kt*kt);return Ar/=Nr,_t*(kt/=Nr)<gt*(Ht/=Nr)&&(_t=-_t,gt=-gt,Ar=-Ar,mr=-mr),{scale:new Nt(mr,0,0,Nr,0,0),translate:new Nt(1,0,0,1,ir,Xt),rotate:new Nt(_t,gt,-gt,_t,0,0),skew:new Nt(1,0,Ar,1,0,0)}},Nt.prototype.applyToPoint=function(_t){var gt=_t.x*this.sx+_t.y*this.shx+this.tx,Ht=_t.x*this.shy+_t.y*this.sy+this.ty;return new pt(gt,Ht)},Nt.prototype.applyToRectangle=function(_t){var gt=this.applyToPoint(_t),Ht=this.applyToPoint(new pt(_t.x+_t.w,_t.y+_t.h));return new vt(gt.x,gt.y,Ht.x-gt.x,Ht.y-gt.y)},Nt.prototype.clone=function(){var _t=this.sx,gt=this.shy,Ht=this.shx,kt=this.sy,ir=this.tx,Xt=this.ty;return new Nt(_t,gt,Ht,kt,ir,Xt)}}(ze.API,typeof self!="undefined"&&self||typeof window!="undefined"&&window||typeof g!="undefined"&&g||Function('return typeof this === "object" && this.content')()||Function("return this")()),t=ze.API,s=function(Ce){var Ee,we,Fe,Ye,Ge,qe,Ke,ct,wt,Lt;for(/[^\x00-\xFF]/.test(Ce),we=[],Fe=0,Ye=(Ce+=Ee="\0\0\0\0".slice(Ce.length%4||4)).length;Fe<Ye;Fe+=4)(Ge=(Ce.charCodeAt(Fe)<<24)+(Ce.charCodeAt(Fe+1)<<16)+(Ce.charCodeAt(Fe+2)<<8)+Ce.charCodeAt(Fe+3))!==0?(qe=(Ge=((Ge=((Ge=((Ge=(Ge-(Lt=Ge%85))/85)-(wt=Ge%85))/85)-(ct=Ge%85))/85)-(Ke=Ge%85))/85)%85,we.push(qe+33,Ke+33,ct+33,wt+33,Lt+33)):we.push(122);return function(de,xe){for(var $=Ee.length;0<$;$--)de.pop()}(we),String.fromCharCode.apply(String,we)+"~>"},u=function(Ce){var Ee,we,Fe,Ye,Ge,qe=String,Ke="length",ct="charCodeAt",wt="slice",Lt="replace";for(Ce[wt](-2),Ce=Ce[wt](0,-2)[Lt](/\s/g,"")[Lt]("z","!!!!!"),Fe=[],Ye=0,Ge=(Ce+=Ee="uuuuu"[wt](Ce[Ke]%5||5))[Ke];Ye<Ge;Ye+=5)we=52200625*(Ce[ct](Ye)-33)+614125*(Ce[ct](Ye+1)-33)+7225*(Ce[ct](Ye+2)-33)+85*(Ce[ct](Ye+3)-33)+(Ce[ct](Ye+4)-33),Fe.push(255&we>>24,255&we>>16,255&we>>8,255&we);return function(de,xe){for(var $=Ee[Ke];0<$;$--)de.pop()}(Fe),qe.fromCharCode.apply(qe,Fe)},p=function(Ce){for(var Ee="",we=0;we<Ce.length;we+=1)Ee+=("0"+Ce.charCodeAt(we).toString(16)).slice(-2);return Ee+=">"},x=function(Ce){var Ee=new RegExp(/^([0-9A-Fa-f]{2})+$/);if((Ce=Ce.replace(/\s/g,"")).indexOf(">")!==-1&&(Ce=Ce.substr(0,Ce.indexOf(">"))),Ce.length%2&&(Ce+="0"),Ee.test(Ce)===!1)return"";for(var we="",Fe=0;Fe<Ce.length;Fe+=2)we+=String.fromCharCode("0x"+(Ce[Fe]+Ce[Fe+1]));return we},S=function(Ce,Ee){Ee=Object.assign({predictor:1,colors:1,bitsPerComponent:8,columns:1},Ee);for(var we,Fe,Ye=[],Ge=Ce.length;Ge--;)Ye[Ge]=Ce.charCodeAt(Ge);return we=t.adler32cs.from(Ce),(Fe=new Deflater(6)).append(new Uint8Array(Ye)),Ce=Fe.flush(),(Ye=new Uint8Array(Ce.length+6)).set(new Uint8Array([120,156])),Ye.set(Ce,2),Ye.set(new Uint8Array([255&we,we>>8&255,we>>16&255,we>>24&255]),Ce.length+2),Ce=String.fromCharCode.apply(null,Ye)},t.processDataByFilters=function(_e,Ce){var Ee=0,we=_e||"",Fe=[];for(typeof(Ce=Ce||[])=="string"&&(Ce=[Ce]),Ee=0;Ee<Ce.length;Ee+=1)switch(Ce[Ee]){case"ASCII85Decode":case"/ASCII85Decode":we=u(we),Fe.push("/ASCII85Encode");break;case"ASCII85Encode":case"/ASCII85Encode":we=s(we),Fe.push("/ASCII85Decode");break;case"ASCIIHexDecode":case"/ASCIIHexDecode":we=x(we),Fe.push("/ASCIIHexEncode");break;case"ASCIIHexEncode":case"/ASCIIHexEncode":we=p(we),Fe.push("/ASCIIHexDecode");break;case"FlateEncode":case"/FlateEncode":we=S(we),Fe.push("/FlateDecode");break;default:throw'The filter: "'+Ce[Ee]+'" is not implemented'}return{data:we,reverseChain:Fe.reverse().join(" ")}},(T=ze.API).loadFile=function(_e,Ce,Ee){var we;Ce=Ce||!0,Ee=Ee||function(){};try{we=function(Fe,Ye,Ge){var qe=new XMLHttpRequest,Ke=[],ct=0,wt=function(de){var xe=de.length,$=String.fromCharCode;for(ct=0;ct<xe;ct+=1)Ke.push($(255&de.charCodeAt(ct)));return Ke.join("")};if(qe.open("GET",Fe,!Ye),qe.overrideMimeType("text/plain; charset=x-user-defined"),Ye===!1&&(qe.onload=function(){return wt(this.responseText)}),qe.send(null),qe.status===200)return Ye?wt(qe.responseText):void 0;console.warn('Unable to load file "'+Fe+'"')}(_e,Ce)}catch(Fe){we=void 0}return we},T.loadImageFile=T.loadFile,w=ze.API,E=typeof window!="undefined"&&window||typeof g!="undefined"&&g,C=function(Ce){var Ee=m(Ce);return Ee==="undefined"?"undefined":Ee==="string"||Ce instanceof String?"string":Ee==="number"||Ce instanceof Number?"number":Ee==="function"||Ce instanceof Function?"function":Ce&&Ce.constructor===Array?"array":Ce&&Ce.nodeType===1?"element":Ee==="object"?"object":"unknown"},_=function(Ce,Ee){var we=document.createElement(Ce);if(Ee.className&&(we.className=Ee.className),Ee.innerHTML){we.innerHTML=Ee.innerHTML;for(var Fe=we.getElementsByTagName("script"),Ye=Fe.length;0<Ye--;null)Fe[Ye].parentNode.removeChild(Fe[Ye])}for(var Ge in Ee.style)we.style[Ge]=Ee.style[Ge];return we},(((y=function _e(Ce){var Ee=Object.assign(_e.convert(Promise.resolve()),JSON.parse(JSON.stringify(_e.template))),we=_e.convert(Promise.resolve(),Ee);return we=(we=we.setProgress(1,_e,1,[_e])).set(Ce)}).prototype=Object.create(Promise.prototype)).constructor=y).convert=function(_e,Ce){return _e.__proto__=Ce||y.prototype,_e},y.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:{}}},y.prototype.from=function(_e,Ce){return this.then(function(){switch(Ce=Ce||function(Ee){switch(C(Ee)){case"string":return"string";case"element":return Ee.nodeName.toLowerCase==="canvas"?"canvas":"element";default:return"unknown"}}(_e)){case"string":return this.set({src:_("div",{innerHTML:_e})});case"element":return this.set({src:_e});case"canvas":return this.set({canvas:_e});case"img":return this.set({img:_e});default:return this.error("Unknown source type.")}})},y.prototype.to=function(_e){switch(_e){case"container":return this.toContainer();case"canvas":return this.toCanvas();case"img":return this.toImg();case"pdf":return this.toPdf();default:return this.error("Invalid target.")}},y.prototype.toContainer=function(){return this.thenList([function(){return this.prop.src||this.error("Cannot duplicate - no source HTML.")},function(){return this.prop.pageSize||this.setPageSize()}]).then(function(){var _e={position:"relative",display:"inline-block",width:Math.max(this.prop.src.clientWidth,this.prop.src.scrollWidth,this.prop.src.offsetWidth)+"px",left:0,right:0,top:0,margin:"auto",backgroundColor:"white"},Ce=function Ee(we,Fe){for(var Ye=we.nodeType===3?document.createTextNode(we.nodeValue):we.cloneNode(!1),Ge=we.firstChild;Ge;Ge=Ge.nextSibling)Fe!==!0&&Ge.nodeType===1&&Ge.nodeName==="SCRIPT"||Ye.appendChild(Ee(Ge,Fe));return we.nodeType===1&&(we.nodeName==="CANVAS"?(Ye.width=we.width,Ye.height=we.height,Ye.getContext("2d").drawImage(we,0,0)):we.nodeName!=="TEXTAREA"&&we.nodeName!=="SELECT"||(Ye.value=we.value),Ye.addEventListener("load",function(){Ye.scrollTop=we.scrollTop,Ye.scrollLeft=we.scrollLeft},!0)),Ye}(this.prop.src,this.opt.html2canvas.javascriptEnabled);Ce.tagName==="BODY"&&(_e.height=Math.max(document.body.scrollHeight,document.body.offsetHeight,document.documentElement.clientHeight,document.documentElement.scrollHeight,document.documentElement.offsetHeight)+"px"),this.prop.overlay=_("div",{className:"html2pdf__overlay",style:{position:"fixed",overflow:"hidden",zIndex:1e3,left:"-100000px",right:0,bottom:0,top:0}}),this.prop.container=_("div",{className:"html2pdf__container",style:_e}),this.prop.container.appendChild(Ce),this.prop.container.firstChild.appendChild(_("div",{style:{clear:"both",border:"0 none transparent",margin:0,padding:0,height:0}})),this.prop.container.style.float="none",this.prop.overlay.appendChild(this.prop.container),document.body.appendChild(this.prop.overlay),this.prop.container.firstChild.style.position="relative",this.prop.container.height=Math.max(this.prop.container.firstChild.clientHeight,this.prop.container.firstChild.scrollHeight,this.prop.container.firstChild.offsetHeight)+"px"})},y.prototype.toCanvas=function(){var _e=[function(){return document.body.contains(this.prop.container)||this.toContainer()}];return this.thenList(_e).then(function(){var Ce=Object.assign({},this.opt.html2canvas);if(delete Ce.onrendered,this.isHtml2CanvasLoaded())return html2canvas(this.prop.container,Ce)}).then(function(Ce){(this.opt.html2canvas.onrendered||function(){})(Ce),this.prop.canvas=Ce,document.body.removeChild(this.prop.overlay)})},y.prototype.toContext2d=function(){var _e=[function(){return document.body.contains(this.prop.container)||this.toContainer()}];return this.thenList(_e).then(function(){var Ce=this.opt.jsPDF,Ee=Object.assign({async:!0,allowTaint:!0,backgroundColor:"#ffffff",imageTimeout:15e3,logging:!0,proxy:null,removeContainer:!0,foreignObjectRendering:!1,useCORS:!1},this.opt.html2canvas);if(delete Ee.onrendered,Ce.context2d.autoPaging=!0,Ce.context2d.posX=this.opt.x,Ce.context2d.posY=this.opt.y,Ee.windowHeight=Ee.windowHeight||0,Ee.windowHeight=Ee.windowHeight==0?Math.max(this.prop.container.clientHeight,this.prop.container.scrollHeight,this.prop.container.offsetHeight):Ee.windowHeight,this.isHtml2CanvasLoaded())return html2canvas(this.prop.container,Ee)}).then(function(Ce){(this.opt.html2canvas.onrendered||function(){})(Ce),this.prop.canvas=Ce,document.body.removeChild(this.prop.overlay)})},y.prototype.toImg=function(){return this.thenList([function(){return this.prop.canvas||this.toCanvas()}]).then(function(){var _e=this.prop.canvas.toDataURL("image/"+this.opt.image.type,this.opt.image.quality);this.prop.img=document.createElement("img"),this.prop.img.src=_e})},y.prototype.toPdf=function(){return this.thenList([function(){return this.toContext2d()}]).then(function(){this.prop.pdf=this.prop.pdf||this.opt.jsPDF})},y.prototype.output=function(_e,Ce,Ee){return(Ee=Ee||"pdf").toLowerCase()==="img"||Ee.toLowerCase()==="image"?this.outputImg(_e,Ce):this.outputPdf(_e,Ce)},y.prototype.outputPdf=function(_e,Ce){return this.thenList([function(){return this.prop.pdf||this.toPdf()}]).then(function(){return this.prop.pdf.output(_e,Ce)})},y.prototype.outputImg=function(_e,Ce){return this.thenList([function(){return this.prop.img||this.toImg()}]).then(function(){switch(_e){case void 0:case"img":return this.prop.img;case"datauristring":case"dataurlstring":return this.prop.img.src;case"datauri":case"dataurl":return document.location.href=this.prop.img.src;default:throw'Image output type "'+_e+'" is not supported.'}})},y.prototype.isHtml2CanvasLoaded=function(){var _e=E.html2canvas!==void 0;return _e||console.error("html2canvas not loaded."),_e},y.prototype.save=function(_e){if(this.isHtml2CanvasLoaded())return this.thenList([function(){return this.prop.pdf||this.toPdf()}]).set(_e?{filename:_e}:null).then(function(){this.prop.pdf.save(this.opt.filename)})},y.prototype.doCallback=function(_e){if(this.isHtml2CanvasLoaded())return this.thenList([function(){return this.prop.pdf||this.toPdf()}]).then(function(){this.prop.callback(this.prop.pdf)})},y.prototype.set=function(_e){if(C(_e)!=="object")return this;var Ce=Object.keys(_e||{}).map(function(Ee){if(Ee in y.template.prop)return function(){this.prop[Ee]=_e[Ee]};switch(Ee){case"margin":return this.setMargin.bind(this,_e.margin);case"jsPDF":return function(){return this.opt.jsPDF=_e.jsPDF,this.setPageSize()};case"pageSize":return this.setPageSize.bind(this,_e.pageSize);default:return function(){this.opt[Ee]=_e[Ee]}}},this);return this.then(function(){return this.thenList(Ce)})},y.prototype.get=function(_e,Ce){return this.then(function(){var Ee=_e in y.template.prop?this.prop[_e]:this.opt[_e];return Ce?Ce(Ee):Ee})},y.prototype.setMargin=function(_e){return this.then(function(){switch(C(_e)){case"number":_e=[_e,_e,_e,_e];case"array":if(_e.length===2&&(_e=[_e[0],_e[1],_e[0],_e[1]]),_e.length===4)break;default:return this.error("Invalid margin array.")}this.opt.margin=_e}).then(this.setPageSize)},y.prototype.setPageSize=function(_e){function Ce(Ee,we){return Math.floor(Ee*we/72*96)}return this.then(function(){(_e=_e||ze.getPageSize(this.opt.jsPDF)).hasOwnProperty("inner")||(_e.inner={width:_e.width-this.opt.margin[1]-this.opt.margin[3],height:_e.height-this.opt.margin[0]-this.opt.margin[2]},_e.inner.px={width:Ce(_e.inner.width,_e.k),height:Ce(_e.inner.height,_e.k)},_e.inner.ratio=_e.inner.height/_e.inner.width),this.prop.pageSize=_e})},y.prototype.setProgress=function(_e,Ce,Ee,we){return _e!=null&&(this.progress.val=_e),Ce!=null&&(this.progress.state=Ce),Ee!=null&&(this.progress.n=Ee),we!=null&&(this.progress.stack=we),this.progress.ratio=this.progress.val/this.progress.state,this},y.prototype.updateProgress=function(_e,Ce,Ee,we){return this.setProgress(_e?this.progress.val+_e:null,Ce||null,Ee?this.progress.n+Ee:null,we?this.progress.stack.concat(we):null)},y.prototype.then=function(_e,Ce){var Ee=this;return this.thenCore(_e,Ce,function(we,Fe){return Ee.updateProgress(null,null,1,[we]),Promise.prototype.then.call(this,function(Ye){return Ee.updateProgress(null,we),Ye}).then(we,Fe).then(function(Ye){return Ee.updateProgress(1),Ye})})},y.prototype.thenCore=function(_e,Ce,Ee){Ee=Ee||Promise.prototype.then;var we=this;_e&&(_e=_e.bind(we)),Ce&&(Ce=Ce.bind(we));var Fe=Promise.toString().indexOf("[native code]")!==-1&&Promise.name==="Promise"?we:y.convert(Object.assign({},we),Promise.prototype),Ye=Ee.call(Fe,_e,Ce);return y.convert(Ye,we.__proto__)},y.prototype.thenExternal=function(_e,Ce){return Promise.prototype.then.call(this,_e,Ce)},y.prototype.thenList=function(_e){var Ce=this;return _e.forEach(function(Ee){Ce=Ce.thenCore(Ee)}),Ce},y.prototype.catch=function(_e){_e&&(_e=_e.bind(this));var Ce=Promise.prototype.catch.call(this,_e);return y.convert(Ce,this)},y.prototype.catchExternal=function(_e){return Promise.prototype.catch.call(this,_e)},y.prototype.error=function(_e){return this.then(function(){throw new Error(_e)})},y.prototype.using=y.prototype.set,y.prototype.saveAs=y.prototype.save,y.prototype.export=y.prototype.output,y.prototype.run=y.prototype.then,ze.getPageSize=function(_e,Ce,Ee){if(m(_e)==="object"){var we=_e;_e=we.orientation,Ce=we.unit||Ce,Ee=we.format||Ee}Ce=Ce||"mm",Ee=Ee||"a4",_e=(""+(_e||"P")).toLowerCase();var Fe=(""+Ee).toLowerCase(),Ye={a0:[2383.94,3370.39],a1:[1683.78,2383.94],a2:[1190.55,1683.78],a3:[841.89,1190.55],a4:[595.28,841.89],a5:[419.53,595.28],a6:[297.64,419.53],a7:[209.76,297.64],a8:[147.4,209.76],a9:[104.88,147.4],a10:[73.7,104.88],b0:[2834.65,4008.19],b1:[2004.09,2834.65],b2:[1417.32,2004.09],b3:[1000.63,1417.32],b4:[708.66,1000.63],b5:[498.9,708.66],b6:[354.33,498.9],b7:[249.45,354.33],b8:[175.75,249.45],b9:[124.72,175.75],b10:[87.87,124.72],c0:[2599.37,3676.54],c1:[1836.85,2599.37],c2:[1298.27,1836.85],c3:[918.43,1298.27],c4:[649.13,918.43],c5:[459.21,649.13],c6:[323.15,459.21],c7:[229.61,323.15],c8:[161.57,229.61],c9:[113.39,161.57],c10:[79.37,113.39],dl:[311.81,623.62],letter:[612,792],"government-letter":[576,756],legal:[612,1008],"junior-legal":[576,360],ledger:[1224,792],tabloid:[792,1224],"credit-card":[153,243]};switch(Ce){case"pt":var Ge=1;break;case"mm":Ge=72/25.4;break;case"cm":Ge=72/2.54;break;case"in":Ge=72;break;case"px":Ge=.75;break;case"pc":case"em":Ge=12;break;case"ex":Ge=6;break;default:throw"Invalid unit: "+Ce}if(Ye.hasOwnProperty(Fe))var qe=Ye[Fe][1]/Ge,Ke=Ye[Fe][0]/Ge;else try{qe=Ee[1],Ke=Ee[0]}catch(wt){throw new Error("Invalid format: "+Ee)}if(_e==="p"||_e==="portrait"){if(_e="p",qe<Ke){var ct=Ke;Ke=qe,qe=ct}}else{if(_e!=="l"&&_e!=="landscape")throw"Invalid orientation: "+_e;_e="l",Ke<qe&&(ct=Ke,Ke=qe,qe=ct)}return{width:Ke,height:qe,unit:Ce,k:Ge}},w.html=function(_e,Ce){(Ce=Ce||{}).callback=Ce.callback||function(){},Ce.html2canvas=Ce.html2canvas||{},Ce.html2canvas.canvas=Ce.html2canvas.canvas||this.canvas,Ce.jsPDF=Ce.jsPDF||this,Ce.jsPDF;var Ee=new y(Ce);return Ce.worker?Ee:Ee.from(_e).doCallback()},ze.API.addJS=function(_e){return I=_e,this.internal.events.subscribe("postPutResources",function(Ce){b=this.internal.newObject(),this.internal.out("<<"),this.internal.out("/Names [(EmbeddedJS) "+(b+1)+" 0 R]"),this.internal.out(">>"),this.internal.out("endobj"),O=this.internal.newObject(),this.internal.out("<<"),this.internal.out("/S /JavaScript"),this.internal.out("/JS ("+I+")"),this.internal.out(">>"),this.internal.out("endobj")}),this.internal.events.subscribe("putCatalog",function(){b!==void 0&&O!==void 0&&this.internal.out("/Names <</JavaScript "+b+" 0 R>>")}),this},(M=ze.API).events.push(["postPutResources",function(){var _e=this,Ce=/^(\d+) 0 obj$/;if(0<this.outline.root.children.length)for(var Ee=_e.outline.render().split(/\r\n/),we=0;we<Ee.length;we++){var Fe=Ee[we],Ye=Ce.exec(Fe);if(Ye!=null){var Ge=Ye[1];_e.internal.newObjectDeferredBegin(Ge,!1)}_e.internal.write(Fe)}if(this.outline.createNamedDestinations){var qe=this.internal.pages.length,Ke=[];for(we=0;we<qe;we++){var ct=_e.internal.newObject();Ke.push(ct);var wt=_e.internal.getPageInfo(we+1);_e.internal.write("<< /D["+wt.objId+" 0 R /XYZ null null null]>> endobj")}var Lt=_e.internal.newObject();for(_e.internal.write("<< /Names [ "),we=0;we<Ke.length;we++)_e.internal.write("(page_"+(we+1)+")"+Ke[we]+" 0 R");_e.internal.write(" ] >>","endobj"),_e.internal.newObject(),_e.internal.write("<< /Dests "+Lt+" 0 R"),_e.internal.write(">>","endobj")}}]),M.events.push(["putCatalog",function(){0<this.outline.root.children.length&&(this.internal.write("/Outlines",this.outline.makeRef(this.outline.root)),this.outline.createNamedDestinations&&this.internal.write("/Names "+namesOid+" 0 R"))}]),M.events.push(["initialized",function(){var _e=this;_e.outline={createNamedDestinations:!1,root:{children:[]}},_e.outline.add=function(Ce,Ee,we){var Fe={title:Ee,options:we,children:[]};return Ce==null&&(Ce=this.root),Ce.children.push(Fe),Fe},_e.outline.render=function(){return this.ctx={},this.ctx.val="",this.ctx.pdf=_e,this.genIds_r(this.root),this.renderRoot(this.root),this.renderItems(this.root),this.ctx.val},_e.outline.genIds_r=function(Ce){Ce.id=_e.internal.newObjectDeferred();for(var Ee=0;Ee<Ce.children.length;Ee++)this.genIds_r(Ce.children[Ee])},_e.outline.renderRoot=function(Ce){this.objStart(Ce),this.line("/Type /Outlines"),0<Ce.children.length&&(this.line("/First "+this.makeRef(Ce.children[0])),this.line("/Last "+this.makeRef(Ce.children[Ce.children.length-1]))),this.line("/Count "+this.count_r({count:0},Ce)),this.objEnd()},_e.outline.renderItems=function(Ce){this.ctx.pdf.internal.getCoordinateString;for(var Ee=this.ctx.pdf.internal.getVerticalCoordinateString,we=0;we<Ce.children.length;we++){var Fe=Ce.children[we];this.objStart(Fe),this.line("/Title "+this.makeString(Fe.title)),this.line("/Parent "+this.makeRef(Ce)),0<we&&this.line("/Prev "+this.makeRef(Ce.children[we-1])),we<Ce.children.length-1&&this.line("/Next "+this.makeRef(Ce.children[we+1])),0<Fe.children.length&&(this.line("/First "+this.makeRef(Fe.children[0])),this.line("/Last "+this.makeRef(Fe.children[Fe.children.length-1])));var Ye=this.count=this.count_r({count:0},Fe);if(0<Ye&&this.line("/Count "+Ye),Fe.options&&Fe.options.pageNumber){var Ge=_e.internal.getPageInfo(Fe.options.pageNumber);this.line("/Dest ["+Ge.objId+" 0 R /XYZ 0 "+Ee(0)+" 0]")}this.objEnd()}for(we=0;we<Ce.children.length;we++)Fe=Ce.children[we],this.renderItems(Fe)},_e.outline.line=function(Ce){this.ctx.val+=Ce+`\r
|
|
|
`},_e.outline.makeRef=function(Ce){return Ce.id+" 0 R"},_e.outline.makeString=function(Ce){return"("+_e.internal.pdfEscape(Ce)+")"},_e.outline.objStart=function(Ce){this.ctx.val+=`\r
|
|
|
`+Ce.id+` 0 obj\r
|
|
|
<<\r
|
|
|
`},_e.outline.objEnd=function(Ce){this.ctx.val+=`>> \r
|
|
|
endobj\r
|
|
|
`},_e.outline.count_r=function(Ce,Ee){for(var we=0;we<Ee.children.length;we++)Ce.count++,this.count_r(Ce,Ee.children[we]);return Ce.count}}]),F=ze.API,P=function(){var Ce=typeof Deflater=="function";if(!Ce)throw new Error("requires deflate.js for compression");return Ce},j=function(Ce,Ee,we,Fe){var Ye=5,Ge=z;switch(Fe){case F.image_compression.FAST:Ye=3,Ge=H;break;case F.image_compression.MEDIUM:Ye=6,Ge=X;break;case F.image_compression.SLOW:Ye=9,Ge=W}Ce=B(Ce,Ee,we,Ge);var qe=new Uint8Array(K(Ye)),Ke=N(Ce),ct=new Deflater(Ye),wt=ct.append(Ce),Lt=ct.flush(),de=qe.length+wt.length+Lt.length,xe=new Uint8Array(de+4);return xe.set(qe),xe.set(wt,qe.length),xe.set(Lt,qe.length+wt.length),xe[de++]=Ke>>>24&255,xe[de++]=Ke>>>16&255,xe[de++]=Ke>>>8&255,xe[de++]=255&Ke,F.arrayBufferToBinaryString(xe)},K=function(Ce,Ee){var we=Math.LOG2E*Math.log(32768)-8<<4|8,Fe=we<<8;return Fe|=Math.min(3,(Ee-1&255)>>1)<<6,Fe|=0,[we,255&(Fe+=31-Fe%31)]},N=function(Ce,Ee){for(var we,Fe=1,Ye=0,Ge=Ce.length,qe=0;0<Ge;){for(Ge-=we=Ee<Ge?Ee:Ge;Ye+=Fe+=Ce[qe++],--we;);Fe%=65521,Ye%=65521}return(Ye<<16|Fe)>>>0},B=function(Ce,Ee,we,Fe){for(var Ye,Ge,qe,Ke=Ce.length/Ee,ct=new Uint8Array(Ce.length+Ke),wt=q(),Lt=0;Lt<Ke;Lt++){if(qe=Lt*Ee,Ye=Ce.subarray(qe,qe+Ee),Fe)ct.set(Fe(Ye,we,Ge),qe+Lt);else{for(var de=0,xe=wt.length,$=[];de<xe;de++)$[de]=wt[de](Ye,we,Ge);var se=me($.concat());ct.set($[se],qe+Lt)}Ge=Ye}return ct},U=function(Ce,Ee,we){var Fe=Array.apply([],Ce);return Fe.unshift(0),Fe},H=function(Ce,Ee,we){var Fe,Ye=[],Ge=0,qe=Ce.length;for(Ye[0]=1;Ge<qe;Ge++)Fe=Ce[Ge-Ee]||0,Ye[Ge+1]=Ce[Ge]-Fe+256&255;return Ye},z=function(Ce,Ee,we){var Fe,Ye=[],Ge=0,qe=Ce.length;for(Ye[0]=2;Ge<qe;Ge++)Fe=we&&we[Ge]||0,Ye[Ge+1]=Ce[Ge]-Fe+256&255;return Ye},X=function(Ce,Ee,we){var Fe,Ye,Ge=[],qe=0,Ke=Ce.length;for(Ge[0]=3;qe<Ke;qe++)Fe=Ce[qe-Ee]||0,Ye=we&&we[qe]||0,Ge[qe+1]=Ce[qe]+256-(Fe+Ye>>>1)&255;return Ge},W=function(Ce,Ee,we){var Fe,Ye,Ge,qe,Ke=[],ct=0,wt=Ce.length;for(Ke[0]=4;ct<wt;ct++)Fe=Ce[ct-Ee]||0,Ye=we&&we[ct]||0,Ge=we&&we[ct-Ee]||0,qe=Y(Fe,Ye,Ge),Ke[ct+1]=Ce[ct]-qe+256&255;return Ke},Y=function(Ce,Ee,we){var Fe=Ce+Ee-we,Ye=Math.abs(Fe-Ce),Ge=Math.abs(Fe-Ee),qe=Math.abs(Fe-we);return Ye<=Ge&&Ye<=qe?Ce:Ge<=qe?Ee:we},q=function(){return[U,H,z,X,W]},me=function(Ce){for(var Ee,we,Fe,Ye=0,Ge=Ce.length;Ye<Ge;)((Ee=G(Ce[Ye].slice(1)))<we||!we)&&(we=Ee,Fe=Ye),Ye++;return Fe},G=function(Ce){for(var Ee=0,we=Ce.length,Fe=0;Ee<we;)Fe+=Math.abs(Ce[Ee++]);return Fe},F.processPNG=function(_e,Ce,Ee,we,Fe){var Ye,Ge,qe,Ke,ct,wt,Lt=this.color_spaces.DEVICE_RGB,de=this.decode.FLATE_DECODE,xe=8;if(this.isArrayBuffer(_e)&&(_e=new Uint8Array(_e)),this.isArrayBufferView(_e)){if(typeof PNG!="function"||typeof Pt!="function")throw new Error("PNG support requires png.js and zlib.js");if(_e=(Ye=new PNG(_e)).imgData,xe=Ye.bits,Lt=Ye.colorSpace,Ke=Ye.colors,[4,6].indexOf(Ye.colorType)!==-1){if(Ye.bits===8)for(var $,se=(Qt=Ye.pixelBitlength==32?new Uint32Array(Ye.decodePixels().buffer):Ye.pixelBitlength==16?new Uint16Array(Ye.decodePixels().buffer):new Uint8Array(Ye.decodePixels().buffer)).length,Oe=new Uint8Array(se*Ye.colors),ke=new Uint8Array(se),Pe=Ye.pixelBitlength-Ye.bits,rt=0,At=0;rt<se;rt++){for(Wt=Qt[rt],$=0;$<Pe;)Oe[At++]=Wt>>>$&255,$+=Ye.bits;ke[rt]=Wt>>>$&255}if(Ye.bits===16){se=(Qt=new Uint32Array(Ye.decodePixels().buffer)).length,Oe=new Uint8Array(se*(32/Ye.pixelBitlength)*Ye.colors),ke=new Uint8Array(se*(32/Ye.pixelBitlength));for(var Wt,$t=1<Ye.colors,Rt=At=rt=0;rt<se;)Wt=Qt[rt++],Oe[At++]=Wt>>>0&255,$t&&(Oe[At++]=Wt>>>16&255,Wt=Qt[rt++],Oe[At++]=Wt>>>0&255),ke[Rt++]=Wt>>>16&255;xe=8}we!==F.image_compression.NONE&&P()?(_e=j(Oe,Ye.width*Ye.colors,Ye.colors,we),wt=j(ke,Ye.width,1,we)):(_e=Oe,wt=ke,de=null)}if(Ye.colorType===3&&(Lt=this.color_spaces.INDEXED,ct=Ye.palette,Ye.transparency.indexed)){var zt=Ye.transparency.indexed,Gt=0;for(rt=0,se=zt.length;rt<se;++rt)Gt+=zt[rt];if((Gt/=255)==se-1&&zt.indexOf(0)!==-1)qe=[zt.indexOf(0)];else if(Gt!==se){var Qt=Ye.decodePixels();for(ke=new Uint8Array(Qt.length),rt=0,se=Qt.length;rt<se;rt++)ke[rt]=zt[Qt[rt]];wt=j(ke,Ye.width,1)}}var Mt=function(dr){var er;switch(dr){case F.image_compression.FAST:er=11;break;case F.image_compression.MEDIUM:er=13;break;case F.image_compression.SLOW:er=14;break;default:er=12}return er}(we);return Ge=de===this.decode.FLATE_DECODE?"/Predictor "+Mt+" /Colors "+Ke+" /BitsPerComponent "+xe+" /Columns "+Ye.width:"/Colors "+Ke+" /BitsPerComponent "+xe+" /Columns "+Ye.width,(this.isArrayBuffer(_e)||this.isArrayBufferView(_e))&&(_e=this.arrayBufferToBinaryString(_e)),(wt&&this.isArrayBuffer(wt)||this.isArrayBufferView(wt))&&(wt=this.arrayBufferToBinaryString(wt)),this.createImageInfo(_e,Ye.width,Ye.height,Lt,xe,de,Ce,Ee,Ge,qe,ct,wt,Mt)}throw new Error("Unsupported PNG image data, try using JPEG instead.")},(ye=ze.API).processGIF89A=function(_e,Ce,Ee,we,Fe){var Ye=new mt(_e),Ge=Ye.width,qe=Ye.height,Ke=[];Ye.decodeAndBlitFrameRGBA(0,Ke);var ct={data:Ke,width:Ge,height:qe},wt=new bt(100).encode(ct,100);return ye.processJPEG.call(this,wt,Ce,Ee,we)},ye.processGIF87A=ye.processGIF89A,(Ae=ze.API).processBMP=function(_e,Ce,Ee,we,Fe){var Ye=new It(_e,!1),Ge=Ye.width,qe=Ye.height,Ke={data:Ye.getData(),width:Ge,height:qe},ct=new bt(100).encode(Ke,100);return Ae.processJPEG.call(this,ct,Ce,Ee,we)},ze.API.setLanguage=function(_e){return this.internal.languageSettings===void 0&&(this.internal.languageSettings={},this.internal.languageSettings.isSubscribed=!1),{af:"Afrikaans",sq:"Albanian",ar:"Arabic (Standard)","ar-DZ":"Arabic (Algeria)","ar-BH":"Arabic (Bahrain)","ar-EG":"Arabic (Egypt)","ar-IQ":"Arabic (Iraq)","ar-JO":"Arabic (Jordan)","ar-KW":"Arabic (Kuwait)","ar-LB":"Arabic (Lebanon)","ar-LY":"Arabic (Libya)","ar-MA":"Arabic (Morocco)","ar-OM":"Arabic (Oman)","ar-QA":"Arabic (Qatar)","ar-SA":"Arabic (Saudi Arabia)","ar-SY":"Arabic (Syria)","ar-TN":"Arabic (Tunisia)","ar-AE":"Arabic (U.A.E.)","ar-YE":"Arabic (Yemen)",an:"Aragonese",hy:"Armenian",as:"Assamese",ast:"Asturian",az:"Azerbaijani",eu:"Basque",be:"Belarusian",bn:"Bengali",bs:"Bosnian",br:"Breton",bg:"Bulgarian",my:"Burmese",ca:"Catalan",ch:"Chamorro",ce:"Chechen",zh:"Chinese","zh-HK":"Chinese (Hong Kong)","zh-CN":"Chinese (PRC)","zh-SG":"Chinese (Singapore)","zh-TW":"Chinese (Taiwan)",cv:"Chuvash",co:"Corsican",cr:"Cree",hr:"Croatian",cs:"Czech",da:"Danish",nl:"Dutch (Standard)","nl-BE":"Dutch (Belgian)",en:"English","en-AU":"English (Australia)","en-BZ":"English (Belize)","en-CA":"English (Canada)","en-IE":"English (Ireland)","en-JM":"English (Jamaica)","en-NZ":"English (New Zealand)","en-PH":"English (Philippines)","en-ZA":"English (South Africa)","en-TT":"English (Trinidad & Tobago)","en-GB":"English (United Kingdom)","en-US":"English (United States)","en-ZW":"English (Zimbabwe)",eo:"Esperanto",et:"Estonian",fo:"Faeroese",fj:"Fijian",fi:"Finnish",fr:"French (Standard)","fr-BE":"French (Belgium)","fr-CA":"French (Canada)","fr-FR":"French (France)","fr-LU":"French (Luxembourg)","fr-MC":"French (Monaco)","fr-CH":"French (Switzerland)",fy:"Frisian",fur:"Friulian",gd:"Gaelic (Scots)","gd-IE":"Gaelic (Irish)",gl:"Galacian",ka:"Georgian",de:"German (Standard)","de-AT":"German (Austria)","de-DE":"German (Germany)","de-LI":"German (Liechtenstein)","de-LU":"German (Luxembourg)","de-CH":"German (Switzerland)",el:"Greek",gu:"Gujurati",ht:"Haitian",he:"Hebrew",hi:"Hindi",hu:"Hungarian",is:"Icelandic",id:"Indonesian",iu:"Inuktitut",ga:"Irish",it:"Italian (Standard)","it-CH":"Italian (Switzerland)",ja:"Japanese",kn:"Kannada",ks:"Kashmiri",kk:"Kazakh",km:"Khmer",ky:"Kirghiz",tlh:"Klingon",ko:"Korean","ko-KP":"Korean (North Korea)","ko-KR":"Korean (South Korea)",la:"Latin",lv:"Latvian",lt:"Lithuanian",lb:"Luxembourgish",mk:"FYRO Macedonian",ms:"Malay",ml:"Malayalam",mt:"Maltese",mi:"Maori",mr:"Marathi",mo:"Moldavian",nv:"Navajo",ng:"Ndonga",ne:"Nepali",no:"Norwegian",nb:"Norwegian (Bokmal)",nn:"Norwegian (Nynorsk)",oc:"Occitan",or:"Oriya",om:"Oromo",fa:"Persian","fa-IR":"Persian/Iran",pl:"Polish",pt:"Portuguese","pt-BR":"Portuguese (Brazil)",pa:"Punjabi","pa-IN":"Punjabi (India)","pa-PK":"Punjabi (Pakistan)",qu:"Quechua",rm:"Rhaeto-Romanic",ro:"Romanian","ro-MO":"Romanian (Moldavia)",ru:"Russian","ru-MO":"Russian (Moldavia)",sz:"Sami (Lappish)",sg:"Sango",sa:"Sanskrit",sc:"Sardinian",sd:"Sindhi",si:"Singhalese",sr:"Serbian",sk:"Slovak",sl:"Slovenian",so:"Somani",sb:"Sorbian",es:"Spanish","es-AR":"Spanish (Argentina)","es-BO":"Spanish (Bolivia)","es-CL":"Spanish (Chile)","es-CO":"Spanish (Colombia)","es-CR":"Spanish (Costa Rica)","es-DO":"Spanish (Dominican Republic)","es-EC":"Spanish (Ecuador)","es-SV":"Spanish (El Salvador)","es-GT":"Spanish (Guatemala)","es-HN":"Spanish (Honduras)","es-MX":"Spanish (Mexico)","es-NI":"Spanish (Nicaragua)","es-PA":"Spanish (Panama)","es-PY":"Spanish (Paraguay)","es-PE":"Spanish (Peru)","es-PR":"Spanish (Puerto Rico)","es-ES":"Spanish (Spain)","es-UY":"Spanish (Uruguay)","es-VE":"Spanish (Venezuela)",sx:"Sutu",sw:"Swahili",sv:"Swedish","sv-FI":"Swedish (Finland)","sv-SV":"Swedish (Sweden)",ta:"Tamil",tt:"Tatar",te:"Teluga",th:"Thai",tig:"Tigre",ts:"Tsonga",tn:"Tswana",tr:"Turkish",tk:"Turkmen",uk:"Ukrainian",hsb:"Upper Sorbian",ur:"Urdu",ve:"Venda",vi:"Vietnamese",vo:"Volapuk",wa:"Walloon",cy:"Welsh",xh:"Xhosa",ji:"Yiddish",zu:"Zulu"}[_e]!==void 0&&(this.internal.languageSettings.languageCode=_e,this.internal.languageSettings.isSubscribed===!1&&(this.internal.events.subscribe("putCatalog",function(){this.internal.write("/Lang ("+this.internal.languageSettings.languageCode+")")}),this.internal.languageSettings.isSubscribed=!0)),this},ve=ze.API,Ue=ve.getCharWidthsArray=function(_e,Ce){var Ee,we,Fe,Ye=(Ce=Ce||{}).font||this.internal.getFont(),Ge=Ce.fontSize||this.internal.getFontSize(),qe=Ce.charSpace||this.internal.getCharSpace(),Ke=Ce.widths?Ce.widths:Ye.metadata.Unicode.widths,ct=Ke.fof?Ke.fof:1,wt=Ce.kerning?Ce.kerning:Ye.metadata.Unicode.kerning,Lt=wt.fof?wt.fof:1,de=0,xe=Ke[0]||ct,$=[];for(Ee=0,we=_e.length;Ee<we;Ee++)Fe=_e.charCodeAt(Ee),typeof Ye.metadata.widthOfString=="function"?$.push((Ye.metadata.widthOfGlyph(Ye.metadata.characterToGlyph(Fe))+qe*(1e3/Ge)||0)/1e3):$.push((Ke[Fe]||xe)/ct+(wt[Fe]&&wt[Fe][de]||0)/Lt),de=Fe;return $},Me=ve.getArraySum=function(_e){for(var Ce=_e.length,Ee=0;Ce;)Ee+=_e[--Ce];return Ee},nt=ve.getStringUnitWidth=function(_e,Ce){var Ee=(Ce=Ce||{}).fontSize||this.internal.getFontSize(),we=Ce.font||this.internal.getFont(),Fe=Ce.charSpace||this.internal.getCharSpace();return typeof we.metadata.widthOfString=="function"?we.metadata.widthOfString(_e,Ee,Fe)/Ee:Me(Ue.apply(this,arguments))},ne=function(Ce,Ee,we,Fe){for(var Ye=[],Ge=0,qe=Ce.length,Ke=0;Ge!==qe&&Ke+Ee[Ge]<we;)Ke+=Ee[Ge],Ge++;Ye.push(Ce.slice(0,Ge));var ct=Ge;for(Ke=0;Ge!==qe;)Ke+Ee[Ge]>Fe&&(Ye.push(Ce.slice(ct,Ge)),Ke=0,ct=Ge),Ke+=Ee[Ge],Ge++;return ct!==Ge&&Ye.push(Ce.slice(ct,Ge)),Ye},be=function(Ce,Ee,we){we||(we={});var Fe,Ye,Ge,qe,Ke,ct,wt=[],Lt=[wt],de=we.textIndent||0,xe=0,$=0,se=Ce.split(" "),Oe=Ue.apply(this,[" ",we])[0];if(ct=we.lineIndent===-1?se[0].length+2:we.lineIndent||0){var ke=Array(ct).join(" "),Pe=[];se.map(function(Wt){1<(Wt=Wt.split(/\s*\n/)).length?Pe=Pe.concat(Wt.map(function($t,Rt){return(Rt&&$t.length?`
|
|
|
`:"")+$t})):Pe.push(Wt[0])}),se=Pe,ct=nt.apply(this,[ke,we])}for(Ge=0,qe=se.length;Ge<qe;Ge++){var rt=0;if(Fe=se[Ge],ct&&Fe[0]==`
|
|
|
`&&(Fe=Fe.substr(1),rt=1),Ye=Ue.apply(this,[Fe,we]),Ee<de+xe+($=Me(Ye))||rt){if(Ee<$){for(Ke=ne.apply(this,[Fe,Ye,Ee-(de+xe),Ee]),wt.push(Ke.shift()),wt=[Ke.pop()];Ke.length;)Lt.push([Ke.shift()]);$=Me(Ye.slice(Fe.length-(wt[0]?wt[0].length:0)))}else wt=[Fe];Lt.push(wt),de=$+ct,xe=Oe}else wt.push(Fe),de+=xe+$,xe=Oe}if(ct)var At=function($t,Rt){return(Rt?ke:"")+$t.join(" ")};else At=function($t){return $t.join(" ")};return Lt.map(At)},ve.splitTextToSize=function(_e,Ce,Ee){var we,Fe=(Ee=Ee||{}).fontSize||this.internal.getFontSize(),Ye=function(wt){var Lt={0:1},de={};if(wt.widths&&wt.kerning)return{widths:wt.widths,kerning:wt.kerning};var xe=this.internal.getFont(wt.fontName,wt.fontStyle),$="Unicode";return xe.metadata[$]?{widths:xe.metadata[$].widths||Lt,kerning:xe.metadata[$].kerning||de}:{font:xe.metadata,fontSize:this.internal.getFontSize(),charSpace:this.internal.getCharSpace()}}.call(this,Ee);we=Array.isArray(_e)?_e:_e.split(/\r?\n/);var Ge=1*this.internal.scaleFactor*Ce/Fe;Ye.textIndent=Ee.textIndent?1*Ee.textIndent*this.internal.scaleFactor/Fe:0,Ye.lineIndent=Ee.lineIndent;var qe,Ke,ct=[];for(qe=0,Ke=we.length;qe<Ke;qe++)ct=ct.concat(be.apply(this,[we[qe],Ge,Ye]));return ct},ot=ze.API,Q={codePages:["WinAnsiEncoding"],WinAnsiEncoding:(ue=function(Ce){for(var Ee="klmnopqrstuvwxyz",we={},Fe=0;Fe<Ee.length;Fe++)we[Ee[Fe]]="0123456789abcdef"[Fe];var Ye,Ge,qe,Ke,ct,wt={},Lt=1,de=wt,xe=[],$="",se="",Oe=Ce.length-1;for(Fe=1;Fe!=Oe;)ct=Ce[Fe],Fe+=1,ct=="'"?Ge=Ge?(Ke=Ge.join(""),Ye):[]:Ge?Ge.push(ct):ct=="{"?(xe.push([de,Ke]),de={},Ke=Ye):ct=="}"?((qe=xe.pop())[0][qe[1]]=de,Ke=Ye,de=qe[0]):ct=="-"?Lt=-1:Ke===Ye?we.hasOwnProperty(ct)?($+=we[ct],Ke=parseInt($,16)*Lt,Lt=1,$=""):$+=ct:we.hasOwnProperty(ct)?(se+=we[ct],de[Ke]=parseInt(se,16)*Lt,Lt=1,Ke=Ye,se=""):se+=ct;return wt})("{19m8n201n9q201o9r201s9l201t9m201u8m201w9n201x9o201y8o202k8q202l8r202m9p202q8p20aw8k203k8t203t8v203u9v2cq8s212m9t15m8w15n9w2dw9s16k8u16l9u17s9z17x8y17y9y}")},V={Unicode:{Courier:Q,"Courier-Bold":Q,"Courier-BoldOblique":Q,"Courier-Oblique":Q,Helvetica:Q,"Helvetica-Bold":Q,"Helvetica-BoldOblique":Q,"Helvetica-Oblique":Q,"Times-Roman":Q,"Times-Bold":Q,"Times-BoldItalic":Q,"Times-Italic":Q}},J={Unicode:{"Courier-Oblique":ue("{'widths'{k3w'fof'6o}'kerning'{'fof'-6o}}"),"Times-BoldItalic":ue("{'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":ue("{'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:ue("{'widths'{k3w'fof'6o}'kerning'{'fof'-6o}}"),"Courier-BoldOblique":ue("{'widths'{k3w'fof'6o}'kerning'{'fof'-6o}}"),"Times-Bold":ue("{'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:ue("{'widths'{k3uaw4r19m3m2k1t2l2l202m2y2n3m2p5n202q6o3k3m2s2l2t2l2v3r2w1t3m3m2y1t2z1wbk2sbl3r'fof'6o3n3m3o3m3p3m3q3m3r3m3s3m3t3m3u1w3v1w3w3r3x3r3y3r3z2wbp3t3l3m5v2l5x2l5z3m2q4yfr3r7v3k7w1o7x3k}'kerning'{'fof'-6o}}"),Helvetica:ue("{'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":ue("{'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:ue("{'widths'{k4u2k1w'fof'6o}'kerning'{'fof'-6o}}"),"Courier-Bold":ue("{'widths'{k3w'fof'6o}'kerning'{'fof'-6o}}"),"Times-Italic":ue("{'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":ue("{'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":ue("{'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}}}")}},ot.events.push(["addFont",function(_e){var Ce,Ee,we,Fe=_e.font,Ye="Unicode";(Ce=J[Ye][Fe.postScriptName])&&((Ee=Fe.metadata[Ye]?Fe.metadata[Ye]:Fe.metadata[Ye]={}).widths=Ce.widths,Ee.kerning=Ce.kerning),(we=V[Ye][Fe.postScriptName])&&((Ee=Fe.metadata[Ye]?Fe.metadata[Ye]:Fe.metadata[Ye]={}).encoding=we).codePages&&we.codePages.length&&(Fe.encoding=we.codePages[0])}]),fe=ze,typeof self!="undefined"&&self||typeof g!="undefined"&&g||typeof window!="undefined"&&window||Function("return this")(),fe.API.events.push(["addFont",function(_e){var Ce=_e.font,Ee=_e.instance;if(Ee!==void 0&&Ee.existsFileInVFS(Ce.postScriptName)){var we=Ee.getFileFromVFS(Ce.postScriptName);if(typeof we!="string")throw new Error("Font is not stored as string-data in vFS, import fonts or remove declaration doc.addFont('"+Ce.postScriptName+"').");Ce.metadata=fe.API.TTFFont.open(Ce.postScriptName,Ce.fontName,we,Ce.encoding),Ce.metadata.Unicode=Ce.metadata.Unicode||{encoding:{},kerning:{},widths:[]},Ce.metadata.glyIdsUsed=[0]}else if(Ce.isStandardFont===!1)throw new Error("Font does not exist in vFS, import fonts or remove declaration doc.addFont('"+Ce.postScriptName+"').")}]),(oe=ze.API).addSvg=function(_e,Ce,Ee,we,Fe){if(Ce===void 0||Ee===void 0)throw new Error("addSVG needs values for 'x' and 'y'");function Ye(zt){for(var Gt=parseFloat(zt[1]),Qt=parseFloat(zt[2]),Mt=[],dr=3,er=zt.length;dr<er;)zt[dr]==="c"?(Mt.push([parseFloat(zt[dr+1]),parseFloat(zt[dr+2]),parseFloat(zt[dr+3]),parseFloat(zt[dr+4]),parseFloat(zt[dr+5]),parseFloat(zt[dr+6])]),dr+=7):zt[dr]==="l"?(Mt.push([parseFloat(zt[dr+1]),parseFloat(zt[dr+2])]),dr+=3):dr+=1;return[Gt,Qt,Mt]}var Ge,qe,Ke,ct,wt,Lt,de,xe,$=(ct=document,xe=ct.createElement("iframe"),wt=".jsPDF_sillysvg_iframe {display:none;position:absolute;}",(de=(Lt=ct).createElement("style")).type="text/css",de.styleSheet?de.styleSheet.cssText=wt:de.appendChild(Lt.createTextNode(wt)),Lt.getElementsByTagName("head")[0].appendChild(de),xe.name="childframe",xe.setAttribute("width",0),xe.setAttribute("height",0),xe.setAttribute("frameborder","0"),xe.setAttribute("scrolling","no"),xe.setAttribute("seamless","seamless"),xe.setAttribute("class","jsPDF_sillysvg_iframe"),ct.body.appendChild(xe),xe),se=(Ge=_e,(Ke=((qe=$).contentWindow||qe.contentDocument).document).write(Ge),Ke.close(),Ke.getElementsByTagName("svg")[0]),Oe=[1,1],ke=parseFloat(se.getAttribute("width")),Pe=parseFloat(se.getAttribute("height"));ke&&Pe&&(we&&Fe?Oe=[we/ke,Fe/Pe]:we?Oe=[we/ke,we/ke]:Fe&&(Oe=[Fe/Pe,Fe/Pe]));var rt,At,Wt,$t,Rt=se.childNodes;for(rt=0,At=Rt.length;rt<At;rt++)(Wt=Rt[rt]).tagName&&Wt.tagName.toUpperCase()==="PATH"&&(($t=Ye(Wt.getAttribute("d").split(" ")))[0]=$t[0]*Oe[0]+Ce,$t[1]=$t[1]*Oe[1]+Ee,this.lines.call(this,$t[2],$t[0],$t[1],Oe));return this},oe.addSVG=oe.addSvg,oe.addSvgAsImage=function(_e,Ce,Ee,we,Fe,Ye,Ge,qe){if(isNaN(Ce)||isNaN(Ee))throw console.error("jsPDF.addSvgAsImage: Invalid coordinates",arguments),new Error("Invalid coordinates passed to jsPDF.addSvgAsImage");if(isNaN(we)||isNaN(Fe))throw console.error("jsPDF.addSvgAsImage: Invalid measurements",arguments),new Error("Invalid measurements (width and/or height) passed to jsPDF.addSvgAsImage");var Ke=document.createElement("canvas");Ke.width=we,Ke.height=Fe;var ct=Ke.getContext("2d");return ct.fillStyle="#fff",ct.fillRect(0,0,Ke.width,Ke.height),canvg(Ke,_e,{ignoreMouse:!0,ignoreAnimation:!0,ignoreDimensions:!0,ignoreClear:!0}),this.addImage(Ke.toDataURL("image/jpeg",1),Ce,Ee,we,Fe,Ge,qe),this},ze.API.putTotalPages=function(_e){var Ce,Ee=0;Ee=parseInt(this.internal.getFont().id.substr(1),10)<15?(Ce=new RegExp(_e,"g"),this.internal.getNumberOfPages()):(Ce=new RegExp(this.pdfEscape16(_e,this.internal.getFont()),"g"),this.pdfEscape16(this.internal.getNumberOfPages()+"",this.internal.getFont()));for(var we=1;we<=this.internal.getNumberOfPages();we++)for(var Fe=0;Fe<this.internal.pages[we].length;Fe++)this.internal.pages[we][Fe]=this.internal.pages[we][Fe].replace(Ce,Ee);return this},ze.API.viewerPreferences=function(_e,Ce){var Ee;_e=_e||{},Ce=Ce||!1;var we,Fe,Ye={HideToolbar:{defaultValue:!1,value:!1,type:"boolean",explicitSet:!1,valueSet:[!0,!1],pdfVersion:1.3},HideMenubar:{defaultValue:!1,value:!1,type:"boolean",explicitSet:!1,valueSet:[!0,!1],pdfVersion:1.3},HideWindowUI:{defaultValue:!1,value:!1,type:"boolean",explicitSet:!1,valueSet:[!0,!1],pdfVersion:1.3},FitWindow:{defaultValue:!1,value:!1,type:"boolean",explicitSet:!1,valueSet:[!0,!1],pdfVersion:1.3},CenterWindow:{defaultValue:!1,value:!1,type:"boolean",explicitSet:!1,valueSet:[!0,!1],pdfVersion:1.3},DisplayDocTitle:{defaultValue:!1,value:!1,type:"boolean",explicitSet:!1,valueSet:[!0,!1],pdfVersion:1.4},NonFullScreenPageMode:{defaultValue:"UseNone",value:"UseNone",type:"name",explicitSet:!1,valueSet:["UseNone","UseOutlines","UseThumbs","UseOC"],pdfVersion:1.3},Direction:{defaultValue:"L2R",value:"L2R",type:"name",explicitSet:!1,valueSet:["L2R","R2L"],pdfVersion:1.3},ViewArea:{defaultValue:"CropBox",value:"CropBox",type:"name",explicitSet:!1,valueSet:["MediaBox","CropBox","TrimBox","BleedBox","ArtBox"],pdfVersion:1.4},ViewClip:{defaultValue:"CropBox",value:"CropBox",type:"name",explicitSet:!1,valueSet:["MediaBox","CropBox","TrimBox","BleedBox","ArtBox"],pdfVersion:1.4},PrintArea:{defaultValue:"CropBox",value:"CropBox",type:"name",explicitSet:!1,valueSet:["MediaBox","CropBox","TrimBox","BleedBox","ArtBox"],pdfVersion:1.4},PrintClip:{defaultValue:"CropBox",value:"CropBox",type:"name",explicitSet:!1,valueSet:["MediaBox","CropBox","TrimBox","BleedBox","ArtBox"],pdfVersion:1.4},PrintScaling:{defaultValue:"AppDefault",value:"AppDefault",type:"name",explicitSet:!1,valueSet:["AppDefault","None"],pdfVersion:1.6},Duplex:{defaultValue:"",value:"none",type:"name",explicitSet:!1,valueSet:["Simplex","DuplexFlipShortEdge","DuplexFlipLongEdge","none"],pdfVersion:1.7},PickTrayByPDFSize:{defaultValue:!1,value:!1,type:"boolean",explicitSet:!1,valueSet:[!0,!1],pdfVersion:1.7},PrintPageRange:{defaultValue:"",value:"",type:"array",explicitSet:!1,valueSet:null,pdfVersion:1.7},NumCopies:{defaultValue:1,value:1,type:"integer",explicitSet:!1,valueSet:null,pdfVersion:1.7}},Ge=Object.keys(Ye),qe=[],Ke=0,ct=0,wt=0,Lt=!0;function de($,se){var Oe,ke=!1;for(Oe=0;Oe<$.length;Oe+=1)$[Oe]===se&&(ke=!0);return ke}if(this.internal.viewerpreferences===void 0&&(this.internal.viewerpreferences={},this.internal.viewerpreferences.configuration=JSON.parse(JSON.stringify(Ye)),this.internal.viewerpreferences.isSubscribed=!1),Ee=this.internal.viewerpreferences.configuration,_e==="reset"||Ce===!0){var xe=Ge.length;for(wt=0;wt<xe;wt+=1)Ee[Ge[wt]].value=Ee[Ge[wt]].defaultValue,Ee[Ge[wt]].explicitSet=!1}if(m(_e)==="object"){for(we in _e)if(Fe=_e[we],de(Ge,we)&&Fe!==void 0){if(Ee[we].type==="boolean"&&typeof Fe=="boolean")Ee[we].value=Fe;else if(Ee[we].type==="name"&&de(Ee[we].valueSet,Fe))Ee[we].value=Fe;else if(Ee[we].type==="integer"&&Number.isInteger(Fe))Ee[we].value=Fe;else if(Ee[we].type==="array"){for(Ke=0;Ke<Fe.length;Ke+=1)if(Lt=!0,Fe[Ke].length===1&&typeof Fe[Ke][0]=="number")qe.push(String(Fe[Ke]-1));else if(1<Fe[Ke].length){for(ct=0;ct<Fe[Ke].length;ct+=1)typeof Fe[Ke][ct]!="number"&&(Lt=!1);Lt===!0&&qe.push([Fe[Ke][0]-1,Fe[Ke][1]-1].join(" "))}Ee[we].value="["+qe.join(" ")+"]"}else Ee[we].value=Ee[we].defaultValue;Ee[we].explicitSet=!0}}return this.internal.viewerpreferences.isSubscribed===!1&&(this.internal.events.subscribe("putCatalog",function(){var $,se=[];for($ in Ee)Ee[$].explicitSet===!0&&(Ee[$].type==="name"?se.push("/"+$+" /"+Ee[$].value):se.push("/"+$+" "+Ee[$].value));se.length!==0&&this.internal.write(`/ViewerPreferences
|
|
|
<<
|
|
|
`+se.join(`
|
|
|
`)+`
|
|
|
>>`)}),this.internal.viewerpreferences.isSubscribed=!0),this.internal.viewerpreferences.configuration=Ee,this},Le=ze.API,Z=te=he="",Le.addMetadata=function(_e,Ce){return te=Ce||"http://jspdf.default.namespaceuri/",he=_e,this.internal.events.subscribe("postPutResources",function(){if(he){var Ee='<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"><rdf:Description rdf:about="" xmlns:jspdf="'+te+'"><jspdf:metadata>',we=unescape(encodeURIComponent('<x:xmpmeta xmlns:x="adobe:ns:meta/">')),Fe=unescape(encodeURIComponent(Ee)),Ye=unescape(encodeURIComponent(he)),Ge=unescape(encodeURIComponent("</jspdf:metadata></rdf:Description></rdf:RDF>")),qe=unescape(encodeURIComponent("</x:xmpmeta>")),Ke=Fe.length+Ye.length+Ge.length+we.length+qe.length;Z=this.internal.newObject(),this.internal.write("<< /Type /Metadata /Subtype /XML /Length "+Ke+" >>"),this.internal.write("stream"),this.internal.write(we+Fe+Ye+Ge+qe),this.internal.write("endstream"),this.internal.write("endobj")}else Z=""}),this.internal.events.subscribe("putCatalog",function(){Z&&this.internal.write("/Metadata "+Z+" 0 R")}),this},function(_e,Ce){var Ee=_e.API,we=Ee.pdfEscape16=function(Ge,qe){for(var Ke,ct=qe.metadata.Unicode.widths,wt=["","0","00","000","0000"],Lt=[""],de=0,xe=Ge.length;de<xe;++de){if(Ke=qe.metadata.characterToGlyph(Ge.charCodeAt(de)),qe.metadata.glyIdsUsed.push(Ke),qe.metadata.toUnicode[Ke]=Ge.charCodeAt(de),ct.indexOf(Ke)==-1&&(ct.push(Ke),ct.push([parseInt(qe.metadata.widthOfGlyph(Ke),10)])),Ke=="0")return Lt.join("");Ke=Ke.toString(16),Lt.push(wt[4-Ke.length],Ke)}return Lt.join("")},Fe=function(qe){var Ke,ct,wt,Lt,de,xe,$;for(de=`/CIDInit /ProcSet findresource begin
|
|
|
12 dict begin
|
|
|
begincmap
|
|
|
/CIDSystemInfo <<
|
|
|
/Registry (Adobe)
|
|
|
/Ordering (UCS)
|
|
|
/Supplement 0
|
|
|
>> def
|
|
|
/CMapName /Adobe-Identity-UCS def
|
|
|
/CMapType 2 def
|
|
|
1 begincodespacerange
|
|
|
<0000><ffff>
|
|
|
endcodespacerange`,wt=[],xe=0,$=(ct=Object.keys(qe).sort(function(se,Oe){return se-Oe})).length;xe<$;xe++)Ke=ct[xe],100<=wt.length&&(de+=`
|
|
|
`+wt.length+` beginbfchar
|
|
|
`+wt.join(`
|
|
|
`)+`
|
|
|
endbfchar`,wt=[]),Lt=("0000"+qe[Ke].toString(16)).slice(-4),Ke=("0000"+(+Ke).toString(16)).slice(-4),wt.push("<"+Ke+"><"+Lt+">");return wt.length&&(de+=`
|
|
|
`+wt.length+` beginbfchar
|
|
|
`+wt.join(`
|
|
|
`)+`
|
|
|
endbfchar
|
|
|
`),de+=`endcmap
|
|
|
CMapName currentdict /CMap defineresource pop
|
|
|
end
|
|
|
end`};Ee.events.push(["putFont",function(Ge){!function(qe,Ke,ct,wt){if(qe.metadata instanceof _e.API.TTFFont&&qe.encoding==="Identity-H"){for(var Lt=qe.metadata.Unicode.widths,de=qe.metadata.subset.encode(qe.metadata.glyIdsUsed,1),xe="",$=0;$<de.length;$++)xe+=String.fromCharCode(de[$]);var se=ct();wt({data:xe,addLength1:!0}),Ke("endobj");var Oe=ct();wt({data:Fe(qe.metadata.toUnicode),addLength1:!0}),Ke("endobj");var ke=ct();Ke("<<"),Ke("/Type /FontDescriptor"),Ke("/FontName /"+qe.fontName),Ke("/FontFile2 "+se+" 0 R"),Ke("/FontBBox "+_e.API.PDFObject.convert(qe.metadata.bbox)),Ke("/Flags "+qe.metadata.flags),Ke("/StemV "+qe.metadata.stemV),Ke("/ItalicAngle "+qe.metadata.italicAngle),Ke("/Ascent "+qe.metadata.ascender),Ke("/Descent "+qe.metadata.decender),Ke("/CapHeight "+qe.metadata.capHeight),Ke(">>"),Ke("endobj");var Pe=ct();Ke("<<"),Ke("/Type /Font"),Ke("/BaseFont /"+qe.fontName),Ke("/FontDescriptor "+ke+" 0 R"),Ke("/W "+_e.API.PDFObject.convert(Lt)),Ke("/CIDToGIDMap /Identity"),Ke("/DW 1000"),Ke("/Subtype /CIDFontType2"),Ke("/CIDSystemInfo"),Ke("<<"),Ke("/Supplement 0"),Ke("/Registry (Adobe)"),Ke("/Ordering ("+qe.encoding+")"),Ke(">>"),Ke(">>"),Ke("endobj"),qe.objectNumber=ct(),Ke("<<"),Ke("/Type /Font"),Ke("/Subtype /Type0"),Ke("/ToUnicode "+Oe+" 0 R"),Ke("/BaseFont /"+qe.fontName),Ke("/Encoding /"+qe.encoding),Ke("/DescendantFonts ["+Pe+" 0 R]"),Ke(">>"),Ke("endobj"),qe.isAlreadyPutted=!0}}(Ge.font,Ge.out,Ge.newObject,Ge.putStream)}]),Ee.events.push(["putFont",function(Ge){!function(qe,Ke,ct,wt){if(qe.metadata instanceof _e.API.TTFFont&&qe.encoding==="WinAnsiEncoding"){qe.metadata.Unicode.widths;for(var Lt=qe.metadata.rawData,de="",xe=0;xe<Lt.length;xe++)de+=String.fromCharCode(Lt[xe]);var $=ct();wt({data:de,addLength1:!0}),Ke("endobj");var se=ct();wt({data:Fe(qe.metadata.toUnicode),addLength1:!0}),Ke("endobj");var Oe=ct();for(Ke("<<"),Ke("/Descent "+qe.metadata.decender),Ke("/CapHeight "+qe.metadata.capHeight),Ke("/StemV "+qe.metadata.stemV),Ke("/Type /FontDescriptor"),Ke("/FontFile2 "+$+" 0 R"),Ke("/Flags 96"),Ke("/FontBBox "+_e.API.PDFObject.convert(qe.metadata.bbox)),Ke("/FontName /"+qe.fontName),Ke("/ItalicAngle "+qe.metadata.italicAngle),Ke("/Ascent "+qe.metadata.ascender),Ke(">>"),Ke("endobj"),qe.objectNumber=ct(),xe=0;xe<qe.metadata.hmtx.widths.length;xe++)qe.metadata.hmtx.widths[xe]=parseInt(qe.metadata.hmtx.widths[xe]*(1e3/qe.metadata.head.unitsPerEm));Ke("<</Subtype/TrueType/Type/Font/ToUnicode "+se+" 0 R/BaseFont/"+qe.fontName+"/FontDescriptor "+Oe+" 0 R/Encoding/"+qe.encoding+" /FirstChar 29 /LastChar 255 /Widths "+_e.API.PDFObject.convert(qe.metadata.hmtx.widths)+">>"),Ke("endobj"),qe.isAlreadyPutted=!0}}(Ge.font,Ge.out,Ge.newObject,Ge.putStream)}]);var Ye=function(qe){var Ke,ct,wt=qe.text||"",Lt=qe.x,de=qe.y,xe=qe.options||{},$=qe.mutex||{},se=$.pdfEscape,Oe=$.activeFontKey,ke=$.fonts,Pe=($.activeFontSize,""),rt=0,At="",Wt=ke[ct=Oe].encoding;if(ke[ct].encoding!=="Identity-H")return{text:wt,x:Lt,y:de,options:xe,mutex:$};for(At=wt,ct=Oe,Object.prototype.toString.call(wt)==="[object Array]"&&(At=wt[0]),rt=0;rt<At.length;rt+=1)ke[ct].metadata.hasOwnProperty("cmap")&&(Ke=ke[ct].metadata.cmap.unicode.codeMap[At[rt].charCodeAt(0)]),Ke||At[rt].charCodeAt(0)<256&&ke[ct].metadata.hasOwnProperty("Unicode")?Pe+=At[rt]:Pe+="";var $t="";return parseInt(ct.slice(1))<14||Wt==="WinAnsiEncoding"?$t=function(Rt){for(var zt="",Gt=0;Gt<Rt.length;Gt++)zt+=""+Rt.charCodeAt(Gt).toString(16);return zt}(se(Pe,ct)):Wt==="Identity-H"&&($t=we(Pe,ke[ct])),$.isHex=!0,{text:$t,x:Lt,y:de,options:xe,mutex:$}};Ee.events.push(["postProcessText",function(Ge){var qe=Ge.text||"",Ke=Ge.x,ct=Ge.y,wt=Ge.options,Lt=Ge.mutex,de=(wt.lang,[]),xe={text:qe,x:Ke,y:ct,options:wt,mutex:Lt};if(Object.prototype.toString.call(qe)==="[object Array]"){var $=0;for($=0;$<qe.length;$+=1)Object.prototype.toString.call(qe[$])==="[object Array]"&&qe[$].length===3?de.push([Ye(Object.assign({},xe,{text:qe[$][0]})).text,qe[$][1],qe[$][2]]):de.push(Ye(Object.assign({},xe,{text:qe[$]})).text);Ge.text=de}else Ge.text=Ye(Object.assign({},xe,{text:qe})).text}])}(ze,typeof self!="undefined"&&self||typeof g!="undefined"&&g||typeof window!="undefined"&&window||Function("return this")()),ge=ze.API,Re=function(Ce){return Ce!==void 0&&(Ce.vFS===void 0&&(Ce.vFS={}),!0)},ge.existsFileInVFS=function(_e){return!!Re(this.internal)&&this.internal.vFS[_e]!==void 0},ge.addFileToVFS=function(_e,Ce){return Re(this.internal),this.internal.vFS[_e]=Ce,this},ge.getFileFromVFS=function(_e){return Re(this.internal),this.internal.vFS[_e]!==void 0?this.internal.vFS[_e]:null},ze.API.addHTML=function(_e,Ce,Ee,we,Fe){if(typeof html2canvas=="undefined"&&typeof rasterizeHTML=="undefined")throw new Error("You need either https://github.com/niklasvh/html2canvas or https://github.com/cburgmer/rasterizeHTML.js");typeof Ce!="number"&&(we=Ce,Fe=Ee),typeof we=="function"&&(Fe=we,we=null),typeof Fe!="function"&&(Fe=function(){});var Ye=this.internal,Ge=Ye.scaleFactor,qe=Ye.pageSize.getWidth(),Ke=Ye.pageSize.getHeight();if((we=we||{}).onrendered=function(wt){Ce=parseInt(Ce)||0,Ee=parseInt(Ee)||0;var Lt=we.dim||{},de=Object.assign({top:0,right:0,bottom:0,left:0,useFor:"content"},we.margin),xe=Lt.h||Math.min(Ke,wt.height/Ge),$=Lt.w||Math.min(qe,wt.width/Ge)-Ce,se=we.format||"JPEG",Oe=we.imageCompression||"SLOW";if(wt.height>Ke-de.top-de.bottom&&we.pagesplit){var ke=function(Rt,zt,Gt,Qt,Mt){var dr=document.createElement("canvas");dr.height=Mt,dr.width=Qt;var er=dr.getContext("2d");return er.mozImageSmoothingEnabled=!1,er.webkitImageSmoothingEnabled=!1,er.msImageSmoothingEnabled=!1,er.imageSmoothingEnabled=!1,er.fillStyle=we.backgroundColor||"#ffffff",er.fillRect(0,0,Qt,Mt),er.drawImage(Rt,zt,Gt,Qt,Mt,0,0,Qt,Mt),dr},Pe=function(){for(var $t,Rt,zt=0,Gt=0,Qt={},Mt=!1;;){var dr;if(Gt=0,Qt.top=zt!==0?de.top:Ee,Qt.left=zt!==0?de.left:Ce,Mt=(qe-de.left-de.right)*Ge<wt.width,de.useFor==="content"?zt===0?($t=Math.min((qe-de.left)*Ge,wt.width),Rt=Math.min((Ke-de.top)*Ge,wt.height-zt)):($t=Math.min(qe*Ge,wt.width),Rt=Math.min(Ke*Ge,wt.height-zt),Qt.top=0):($t=Math.min((qe-de.left-de.right)*Ge,wt.width),Rt=Math.min((Ke-de.bottom-de.top)*Ge,wt.height-zt)),Mt)for(;;){de.useFor==="content"&&(Gt===0?$t=Math.min((qe-de.left)*Ge,wt.width):($t=Math.min(qe*Ge,wt.width-Gt),Qt.left=0));var er=[dr=ke(wt,Gt,zt,$t,Rt),Qt.left,Qt.top,dr.width/Ge,dr.height/Ge,se,null,Oe];if(this.addImage.apply(this,er),(Gt+=$t)>=wt.width)break;this.addPage()}else er=[dr=ke(wt,0,zt,$t,Rt),Qt.left,Qt.top,dr.width/Ge,dr.height/Ge,se,null,Oe],this.addImage.apply(this,er);if((zt+=Rt)>=wt.height)break;this.addPage()}Fe($,zt,null,er)}.bind(this);if(wt.nodeName==="CANVAS"){var rt=new Image;rt.onload=Pe,rt.src=wt.toDataURL("image/png"),wt=rt}else Pe()}else{var At=Math.random().toString(35),Wt=[wt,Ce,Ee,$,xe,se,At,Oe];this.addImage.apply(this,Wt),Fe($,xe,At,Wt)}}.bind(this),typeof html2canvas!="undefined"&&!we.rstz)return html2canvas(_e,we);if(typeof rasterizeHTML=="undefined")return null;var ct="drawDocument";return typeof _e=="string"&&(ct=/^http/.test(_e)?"drawURL":"drawHTML"),we.width=we.width||qe*Ge,rasterizeHTML[ct](_e,void 0,we).then(function(wt){we.onrendered(wt.image)},function(wt){Fe(null,wt)})},function(_e){var Ce,Ee,we,Fe,Ye,Ge,qe,Ke,ct,wt,Lt,de,xe,$,se,Oe,ke,Pe,rt,At;Ce=function(){return function(zt){return Rt.prototype=zt,new Rt};function Rt(){}}(),wt=function(zt){var Gt,Qt,Mt,dr,er,ht,Et;for(Qt=0,Mt=zt.length,Gt=void 0,ht=dr=!1;!dr&&Qt!==Mt;)(Gt=zt[Qt]=zt[Qt].trimLeft())&&(dr=!0),Qt++;for(Qt=Mt-1;Mt&&!ht&&Qt!==-1;)(Gt=zt[Qt]=zt[Qt].trimRight())&&(ht=!0),Qt--;for(er=/\s+$/g,Et=!0,Qt=0;Qt!==Mt;)zt[Qt]!="\u2028"&&(Gt=zt[Qt].replace(/\s+/g," "),Et&&(Gt=Gt.trimLeft()),Gt&&(Et=er.test(Gt)),zt[Qt]=Gt),Qt++;return zt},de=function(zt){var Gt,Qt,Mt;for(Gt=void 0,Qt=(Mt=zt.split(",")).shift();!Gt&&Qt;)Gt=we[Qt.trim().toLowerCase()],Qt=Mt.shift();return Gt},xe=function(zt){var Gt;return-1<(zt=zt==="auto"?"0px":zt).indexOf("em")&&!isNaN(Number(zt.replace("em","")))&&(zt=18.719*Number(zt.replace("em",""))+"px"),-1<zt.indexOf("pt")&&!isNaN(Number(zt.replace("pt","")))&&(zt=1.333*Number(zt.replace("pt",""))+"px"),(Gt=$[zt])?Gt:(Gt={"xx-small":9,"x-small":11,small:13,medium:16,large:19,"x-large":23,"xx-large":28,auto:0}[zt])!==void 0||(Gt=parseFloat(zt))?$[zt]=Gt/16:(Gt=zt.match(/([\d\.]+)(px)/),Array.isArray(Gt)&&Gt.length===3?$[zt]=parseFloat(Gt[1])/16:$[zt]=1)},ct=function(zt){var Gt,Qt,Mt,dr,er;return er=zt,dr=document.defaultView&&document.defaultView.getComputedStyle?document.defaultView.getComputedStyle(er,null):er.currentStyle?er.currentStyle:er.style,Qt=void 0,(Gt={})["font-family"]=de((Mt=function(Et){return Et=Et.replace(/-\D/g,function(pt){return pt.charAt(1).toUpperCase()}),dr[Et]})("font-family"))||"times",Gt["font-style"]=Fe[Mt("font-style")]||"normal",Gt["text-align"]=Ye[Mt("text-align")]||"left",(Qt=Ge[Mt("font-weight")]||"normal")==="bold"&&(Gt["font-style"]==="normal"?Gt["font-style"]=Qt:Gt["font-style"]=Qt+Gt["font-style"]),Gt["font-size"]=xe(Mt("font-size"))||1,Gt["line-height"]=xe(Mt("line-height"))||1,Gt.display=Mt("display")==="inline"?"inline":"block",Qt=Gt.display==="block",Gt["margin-top"]=Qt&&xe(Mt("margin-top"))||0,Gt["margin-bottom"]=Qt&&xe(Mt("margin-bottom"))||0,Gt["padding-top"]=Qt&&xe(Mt("padding-top"))||0,Gt["padding-bottom"]=Qt&&xe(Mt("padding-bottom"))||0,Gt["margin-left"]=Qt&&xe(Mt("margin-left"))||0,Gt["margin-right"]=Qt&&xe(Mt("margin-right"))||0,Gt["padding-left"]=Qt&&xe(Mt("padding-left"))||0,Gt["padding-right"]=Qt&&xe(Mt("padding-right"))||0,Gt["page-break-before"]=Mt("page-break-before")||"auto",Gt.float=qe[Mt("cssFloat")]||"none",Gt.clear=Ke[Mt("clear")]||"none",Gt.color=Mt("color"),Gt},se=function(zt,Gt,Qt){var Mt,dr,er,ht,Et;if(er=!1,ht=dr=void 0,Mt=Qt["#"+zt.id])if(typeof Mt=="function")er=Mt(zt,Gt);else for(dr=0,ht=Mt.length;!er&&dr!==ht;)er=Mt[dr](zt,Gt),dr++;if(Mt=Qt[zt.nodeName],!er&&Mt)if(typeof Mt=="function")er=Mt(zt,Gt);else for(dr=0,ht=Mt.length;!er&&dr!==ht;)er=Mt[dr](zt,Gt),dr++;for(Et=typeof zt.className=="string"?zt.className.split(" "):[],dr=0;dr<Et.length;dr++)if(Mt=Qt["."+Et[dr]],!er&&Mt)if(typeof Mt=="function")er=Mt(zt,Gt);else for(dr=0,ht=Mt.length;!er&&dr!==ht;)er=Mt[dr](zt,Gt),dr++;return er},At=function(zt,Gt){var Qt,Mt,dr,er,ht,Et,pt,vt,Nt;for(Qt=[],Mt=[],dr=0,Nt=zt.rows[0].cells.length,pt=zt.clientWidth;dr<Nt;)vt=zt.rows[0].cells[dr],Mt[dr]={name:vt.textContent.toLowerCase().replace(/\s+/g,""),prompt:vt.textContent.replace(/\r?\n/g,""),width:vt.clientWidth/pt*Gt.pdf.internal.pageSize.getWidth()},dr++;for(dr=1;dr<zt.rows.length;){for(Et=zt.rows[dr],ht={},er=0;er<Et.cells.length;)ht[Mt[er].name]=Et.cells[er].textContent.replace(/\r?\n/g,""),er++;Qt.push(ht),dr++}return{rows:Qt,headers:Mt}};var Wt={SCRIPT:1,STYLE:1,NOSCRIPT:1,OBJECT:1,EMBED:1,SELECT:1},$t=1;Ee=function(zt,Gt,Qt){var Mt,dr,er,ht,Et,pt,vt,Nt;for(dr=zt.childNodes,Mt=void 0,(Et=(er=ct(zt)).display==="block")&&(Gt.setBlockBoundary(),Gt.setBlockStyle(er)),ht=0,pt=dr.length;ht<pt;){if(m(Mt=dr[ht])==="object"){if(Gt.executeWatchFunctions(Mt),Mt.nodeType===1&&Mt.nodeName==="HEADER"){var _t=Mt,gt=Gt.pdf.margins_doc.top;Gt.pdf.internal.events.subscribe("addPage",function(cr){Gt.y=gt,Ee(_t,Gt,Qt),Gt.pdf.margins_doc.top=Gt.y+10,Gt.y+=10},!1)}if(Mt.nodeType===8&&Mt.nodeName==="#comment")~Mt.textContent.indexOf("ADD_PAGE")&&(Gt.pdf.addPage(),Gt.y=Gt.pdf.margins_doc.top);else if(Mt.nodeType!==1||Wt[Mt.nodeName])if(Mt.nodeType===3){var Ht=Mt.nodeValue;if(Mt.nodeValue&&Mt.parentNode.nodeName==="LI")if(Mt.parentNode.parentNode.nodeName==="OL")Ht=$t+++". "+Ht;else{var kt=er["font-size"],ir=(3-.75*kt)*Gt.pdf.internal.scaleFactor,Xt=.75*kt*Gt.pdf.internal.scaleFactor,mr=1.74*kt/Gt.pdf.internal.scaleFactor;Nt=function(fr,xr){this.pdf.circle(fr+ir,xr+Xt,mr,"FD")}}16&Mt.ownerDocument.body.compareDocumentPosition(Mt)&&Gt.addText(Ht,er)}else typeof Mt=="string"&&Gt.addText(Mt,er);else{var Ar;if(Mt.nodeName==="IMG"){var Nr=Mt.getAttribute("src");Ar=Oe[Gt.pdf.sHashCode(Nr)||Nr]}if(Ar){Gt.pdf.internal.pageSize.getHeight()-Gt.pdf.margins_doc.bottom<Gt.y+Mt.height&&Gt.y>Gt.pdf.margins_doc.top&&(Gt.pdf.addPage(),Gt.y=Gt.pdf.margins_doc.top,Gt.executeWatchFunctions(Mt));var kr=ct(Mt),tn=Gt.x,qr=12/Gt.pdf.internal.scaleFactor,_r=(kr["margin-left"]+kr["padding-left"])*qr,Qr=(kr["margin-right"]+kr["padding-right"])*qr,Lr=(kr["margin-top"]+kr["padding-top"])*qr,ur=(kr["margin-bottom"]+kr["padding-bottom"])*qr;kr.float!==void 0&&kr.float==="right"?tn+=Gt.settings.width-Mt.width-Qr:tn+=_r,Gt.pdf.addImage(Ar,tn,Gt.y+Lr,Mt.width,Mt.height),Ar=void 0,kr.float==="right"||kr.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,kr.float==="left"?-Mt.width-_r-Qr:0,Gt.y+Mt.height+Lr+ur,Mt.width)),Gt.watchFunctions.push(function(cr,fr,xr){return!(Gt.y<cr&&fr===Gt.pdf.internal.getNumberOfPages())||xr.nodeType===1&&ct(xr).clear==="both"&&(Gt.y=cr,!0)}.bind(this,Gt.y+Mt.height,Gt.pdf.internal.getNumberOfPages())),Gt.settings.width-=Mt.width+_r+Qr,kr.float==="left"&&(Gt.x+=Mt.width+_r+Qr)):Gt.y+=Mt.height+Lr+ur}else if(Mt.nodeName==="TABLE")vt=At(Mt,Gt),Gt.y+=10,Gt.pdf.table(Gt.x,Gt.y,vt.rows,vt.headers,{autoSize:!1,printHeaders:Qt.printHeaders,margins:Gt.pdf.margins_doc,css:ct(Mt)}),Gt.y=Gt.pdf.lastCellPos.y+Gt.pdf.lastCellPos.h+20;else if(Mt.nodeName==="OL"||Mt.nodeName==="UL")$t=1,se(Mt,Gt,Qt)||Ee(Mt,Gt,Qt),Gt.y+=10;else if(Mt.nodeName==="LI"){var pr=Gt.x;Gt.x+=20/Gt.pdf.internal.scaleFactor,Gt.y+=3,se(Mt,Gt,Qt)||Ee(Mt,Gt,Qt),Gt.x=pr}else Mt.nodeName==="BR"?(Gt.y+=er["font-size"]*Gt.pdf.internal.scaleFactor,Gt.addText("\u2028",Ce(er))):se(Mt,Gt,Qt)||Ee(Mt,Gt,Qt)}}ht++}if(Qt.outY=Gt.y,Et)return Gt.setBlockBoundary(Nt)},Oe={},ke=function(zt,Gt,Qt,Mt){var dr,er=zt.getElementsByTagName("img"),ht=er.length,Et=0;function pt(){Gt.pdf.internal.events.publish("imagesLoaded"),Mt(dr)}function vt(Nt,_t,gt){if(Nt){var Ht=new Image;dr=++Et,Ht.crossOrigin="",Ht.onerror=Ht.onload=function(){if(Ht.complete&&(Ht.src.indexOf("data:image/")===0&&(Ht.width=_t||Ht.width||0,Ht.height=gt||Ht.height||0),Ht.width+Ht.height)){var kt=Gt.pdf.sHashCode(Nt)||Nt;Oe[kt]=Oe[kt]||Ht}--Et||pt()},Ht.src=Nt}}for(;ht--;)vt(er[ht].getAttribute("src"),er[ht].width,er[ht].height);return Et||pt()},Pe=function(zt,Gt,Qt){var Mt=zt.getElementsByTagName("footer");if(0<Mt.length){Mt=Mt[0];var dr=Gt.pdf.internal.write,er=Gt.y;Gt.pdf.internal.write=function(){},Ee(Mt,Gt,Qt);var ht=Math.ceil(Gt.y-er)+5;Gt.y=er,Gt.pdf.internal.write=dr,Gt.pdf.margins_doc.bottom+=ht;for(var Et=function(_t){var gt=_t!==void 0?_t.pageNumber:1,Ht=Gt.y;Gt.y=Gt.pdf.internal.pageSize.getHeight()-Gt.pdf.margins_doc.bottom,Gt.pdf.margins_doc.bottom-=ht;for(var kt=Mt.getElementsByTagName("span"),ir=0;ir<kt.length;++ir)-1<(" "+kt[ir].className+" ").replace(/[\n\t]/g," ").indexOf(" pageCounter ")&&(kt[ir].innerHTML=gt),-1<(" "+kt[ir].className+" ").replace(/[\n\t]/g," ").indexOf(" totalPages ")&&(kt[ir].innerHTML="###jsPDFVarTotalPages###");Ee(Mt,Gt,Qt),Gt.pdf.margins_doc.bottom+=ht,Gt.y=Ht},pt=Mt.getElementsByTagName("span"),vt=0;vt<pt.length;++vt)-1<(" "+pt[vt].className+" ").replace(/[\n\t]/g," ").indexOf(" totalPages ")&&Gt.pdf.internal.events.subscribe("htmlRenderingFinished",Gt.pdf.putTotalPages.bind(Gt.pdf,"###jsPDFVarTotalPages###"),!0);Gt.pdf.internal.events.subscribe("addPage",Et,!1),Et(),Wt.FOOTER=1}},rt=function(zt,Gt,Qt,Mt,dr,er){if(!Gt)return!1;var ht,Et,pt,vt;typeof Gt=="string"||Gt.parentNode||(Gt=""+Gt.innerHTML),typeof Gt=="string"&&(ht=Gt.replace(/<\/?script[^>]*?>/gi,""),vt="jsPDFhtmlText"+Date.now().toString()+(1e3*Math.random()).toFixed(0),(pt=document.createElement("div")).style.cssText="position: absolute !important;clip: rect(1px 1px 1px 1px); /* IE6, IE7 */clip: rect(1px, 1px, 1px, 1px);padding:0 !important;border:0 !important;height: 1px !important;width: 1px !important; top:auto;left:-100px;overflow: hidden;",pt.innerHTML='<iframe style="height:1px;width:1px" name="'+vt+'" />',document.body.appendChild(pt),(Et=window.frames[vt]).document.open(),Et.document.writeln(ht),Et.document.close(),Gt=Et.document.body);var Nt,_t=new Lt(zt,Qt,Mt,dr);return ke.call(this,Gt,_t,dr.elementHandlers,function(gt){Pe(Gt,_t,dr.elementHandlers),Ee(Gt,_t,dr.elementHandlers),_t.pdf.internal.events.publish("htmlRenderingFinished"),Nt=_t.dispose(),typeof er=="function"?er(Nt):gt&&console.error("jsPDF Warning: rendering issues? provide a callback to fromHTML!")}),Nt||{x:_t.x,y:_t.y}},(Lt=function(zt,Gt,Qt,Mt){return this.pdf=zt,this.x=Gt,this.y=Qt,this.settings=Mt,this.watchFunctions=[],this.init(),this}).prototype.init=function(){return this.paragraph={text:[],style:[]},this.pdf.internal.write("q")},Lt.prototype.dispose=function(){return this.pdf.internal.write("Q"),{x:this.x,y:this.y,ready:!0}},Lt.prototype.executeWatchFunctions=function(Rt){var zt=!1,Gt=[];if(0<this.watchFunctions.length){for(var Qt=0;Qt<this.watchFunctions.length;++Qt)this.watchFunctions[Qt](Rt)===!0?zt=!0:Gt.push(this.watchFunctions[Qt]);this.watchFunctions=Gt}return zt},Lt.prototype.splitFragmentsIntoLines=function(Rt,zt){var Gt,Qt,Mt,dr,er,ht,Et,pt,vt,Nt,_t,gt,Ht,kt;for(Nt=this.pdf.internal.scaleFactor,dr={},ht=Et=pt=kt=er=Mt=vt=Qt=void 0,gt=[_t=[]],Gt=0,Ht=this.settings.width;Rt.length;)if(er=Rt.shift(),kt=zt.shift(),er)if((Mt=dr[(Qt=kt["font-family"])+(vt=kt["font-style"])])||(Mt=this.pdf.internal.getFont(Qt,vt).metadata.Unicode,dr[Qt+vt]=Mt),pt={widths:Mt.widths,kerning:Mt.kerning,fontSize:12*kt["font-size"],textIndent:Gt},Et=this.pdf.getStringUnitWidth(er,pt)*pt.fontSize/Nt,er=="\u2028")_t=[],gt.push(_t);else if(Ht<Gt+Et){for(ht=this.pdf.splitTextToSize(er,Ht,pt),_t.push([ht.shift(),kt]);ht.length;)_t=[[ht.shift(),kt]],gt.push(_t);Gt=this.pdf.getStringUnitWidth(_t[0][0],pt)*pt.fontSize/Nt}else _t.push([er,kt]),Gt+=Et;if(kt["text-align"]!==void 0&&(kt["text-align"]==="center"||kt["text-align"]==="right"||kt["text-align"]==="justify"))for(var ir=0;ir<gt.length;++ir){var Xt=this.pdf.getStringUnitWidth(gt[ir][0][0],pt)*pt.fontSize/Nt;0<ir&&(gt[ir][0][1]=Ce(gt[ir][0][1]));var mr=Ht-Xt;if(kt["text-align"]==="right")gt[ir][0][1]["margin-left"]=mr;else if(kt["text-align"]==="center")gt[ir][0][1]["margin-left"]=mr/2;else if(kt["text-align"]==="justify"){var Ar=gt[ir][0][0].split(" ").length-1;gt[ir][0][1]["word-spacing"]=mr/Ar,ir===gt.length-1&&(gt[ir][0][1]["word-spacing"]=0)}}return gt},Lt.prototype.RenderTextFragment=function(Rt,zt){var Gt,Qt;Qt=0,this.pdf.internal.pageSize.getHeight()-this.pdf.margins_doc.bottom<this.y+this.pdf.internal.getFontSize()&&(this.pdf.internal.write("ET","Q"),this.pdf.addPage(),this.y=this.pdf.margins_doc.top,this.pdf.internal.write("q","BT",this.getPdfColor(zt.color),this.pdf.internal.getCoordinateString(this.x),this.pdf.internal.getVerticalCoordinateString(this.y),"Td"),Qt=Math.max(Qt,zt["line-height"],zt["font-size"]),this.pdf.internal.write(0,(-12*Qt).toFixed(2),"Td")),Gt=this.pdf.internal.getFont(zt["font-family"],zt["font-style"]);var Mt=this.getPdfColor(zt.color);Mt!==this.lastTextColor&&(this.pdf.internal.write(Mt),this.lastTextColor=Mt),zt["word-spacing"]!==void 0&&0<zt["word-spacing"]&&this.pdf.internal.write(zt["word-spacing"].toFixed(2),"Tw"),this.pdf.internal.write("/"+Gt.id,(12*zt["font-size"]).toFixed(2),"Tf","("+this.pdf.internal.pdfEscape(Rt)+") Tj"),zt["word-spacing"]!==void 0&&this.pdf.internal.write(0,"Tw")},Lt.prototype.getPdfColor=function(Rt){var zt,Gt,Qt,Mt=/rgb\s*\(\s*(\d+),\s*(\d+),\s*(\d+\s*)\)/.exec(Rt);if(Mt!=null)zt=parseInt(Mt[1]),Gt=parseInt(Mt[2]),Qt=parseInt(Mt[3]);else{if(typeof Rt=="string"&&Rt.charAt(0)!="#"){var dr=new RGBColor(Rt);Rt=dr.ok?dr.toHex():"#000000"}zt=Rt.substring(1,3),zt=parseInt(zt,16),Gt=Rt.substring(3,5),Gt=parseInt(Gt,16),Qt=Rt.substring(5,7),Qt=parseInt(Qt,16)}if(typeof zt=="string"&&/^#[0-9A-Fa-f]{6}$/.test(zt)){var er=parseInt(zt.substr(1),16);zt=er>>16&255,Gt=er>>8&255,Qt=255&er}var ht=this.f3;return zt===0&&Gt===0&&Qt===0||Gt===void 0?ht(zt/255)+" g":[ht(zt/255),ht(Gt/255),ht(Qt/255),"rg"].join(" ")},Lt.prototype.f3=function(Rt){return Rt.toFixed(3)},Lt.prototype.renderParagraph=function(Rt){var zt,Gt,Qt,Mt,dr,er,ht,Et,pt,vt,Nt,_t,gt;if(Qt=wt(this.paragraph.text),_t=this.paragraph.style,zt=this.paragraph.blockstyle,this.paragraph.priorblockstyle,this.paragraph={text:[],style:[],blockstyle:{},priorblockstyle:zt},Qt.join("").trim()){ht=this.splitFragmentsIntoLines(Qt,_t),Et=er=void 0,Gt=12/this.pdf.internal.scaleFactor,this.priorMarginBottom=this.priorMarginBottom||0,Nt=(Math.max((zt["margin-top"]||0)-this.priorMarginBottom,0)+(zt["padding-top"]||0))*Gt,vt=((zt["margin-bottom"]||0)+(zt["padding-bottom"]||0))*Gt,this.priorMarginBottom=zt["margin-bottom"]||0,zt["page-break-before"]==="always"&&(this.pdf.addPage(),this.y=0,Nt=((zt["margin-top"]||0)+(zt["padding-top"]||0))*Gt),pt=this.pdf.internal.write,dr=Mt=void 0,this.y+=Nt,pt("q","BT 0 g",this.pdf.internal.getCoordinateString(this.x),this.pdf.internal.getVerticalCoordinateString(this.y),"Td");for(var Ht=0;ht.length;){for(Mt=Et=0,dr=(er=ht.shift()).length;Mt!==dr;)er[Mt][0].trim()&&(Et=Math.max(Et,er[Mt][1]["line-height"],er[Mt][1]["font-size"]),gt=7*er[Mt][1]["font-size"]),Mt++;var kt=0,ir=0;for(er[0][1]["margin-left"]!==void 0&&0<er[0][1]["margin-left"]&&(kt=(ir=this.pdf.internal.getCoordinateString(er[0][1]["margin-left"]))-Ht,Ht=ir),pt(kt+Math.max(zt["margin-left"]||0,0)*Gt,(-12*Et).toFixed(2),"Td"),Mt=0,dr=er.length;Mt!==dr;)er[Mt][0]&&this.RenderTextFragment(er[Mt][0],er[Mt][1]),Mt++;if(this.y+=Et*Gt,this.executeWatchFunctions(er[0][1])&&0<ht.length){var Xt=[],mr=[];ht.forEach(function(Ar){for(var Nr=0,kr=Ar.length;Nr!==kr;)Ar[Nr][0]&&(Xt.push(Ar[Nr][0]+" "),mr.push(Ar[Nr][1])),++Nr}),ht=this.splitFragmentsIntoLines(wt(Xt),mr),pt("ET","Q"),pt("q","BT 0 g",this.pdf.internal.getCoordinateString(this.x),this.pdf.internal.getVerticalCoordinateString(this.y),"Td")}}return Rt&&typeof Rt=="function"&&Rt.call(this,this.x-9,this.y-gt/2),pt("ET","Q"),this.y+=vt}},Lt.prototype.setBlockBoundary=function(Rt){return this.renderParagraph(Rt)},Lt.prototype.setBlockStyle=function(Rt){return this.paragraph.blockstyle=Rt},Lt.prototype.addText=function(Rt,zt){return this.paragraph.text.push(Rt),this.paragraph.style.push(zt)},we={helvetica:"helvetica","sans-serif":"helvetica","times new roman":"times",serif:"times",times:"times",monospace:"courier",courier:"courier"},Ge={100:"normal",200:"normal",300:"normal",400:"normal",500:"bold",600:"bold",700:"bold",800:"bold",900:"bold",normal:"normal",bold:"bold",bolder:"bold",lighter:"normal"},Fe={normal:"normal",italic:"italic",oblique:"italic"},Ye={left:"left",right:"right",center:"center",justify:"justify"},qe={none:"none",right:"right",left:"left"},Ke={none:"none",both:"both"},$={normal:1},_e.fromHTML=function(Rt,zt,Gt,Qt,Mt,dr){return this.margins_doc=dr||{top:0,bottom:0},Qt||(Qt={}),Qt.elementHandlers||(Qt.elementHandlers={}),rt(this,Rt,isNaN(zt)?4:zt,isNaN(Gt)?4:Gt,Qt,Mt)}}(ze.API),ze.API,(typeof window!="undefined"&&window||typeof g!="undefined"&&g).html2pdf=function(_e,Ce,Ee){var we=Ce.canvas;if(we){var Fe,Ye;if((we.pdf=Ce).annotations={_nameMap:[],createAnnotation:function(Lt,de){var xe,$=Ce.context2d._wrapX(de.left),se=Ce.context2d._wrapY(de.top),Oe=(Ce.context2d._page(de.top),Lt.indexOf("#"));xe=0<=Oe?{name:Lt.substring(Oe+1)}:{url:Lt},Ce.link($,se,de.right-de.left,de.bottom-de.top,xe)},setName:function(Lt,de){var xe=Ce.context2d._wrapX(de.left),$=Ce.context2d._wrapY(de.top),se=Ce.context2d._page(de.top);this._nameMap[Lt]={page:se,x:xe,y:$}}},we.annotations=Ce.annotations,Ce.context2d._pageBreakAt=function(wt){this.pageBreaks.push(wt)},Ce.context2d._gotoPage=function(wt){for(;Ce.internal.getNumberOfPages()<wt;)Ce.addPage();Ce.setPage(wt)},typeof _e=="string"){_e=_e.replace(/<script\b[^<]*(?:(?!<\/script>)<[^<]*)*<\/script>/gi,"");var Ge,qe,Ke=document.createElement("iframe");document.body.appendChild(Ke),(Ge=Ke.contentDocument)!=null&&Ge!=null||(Ge=Ke.contentWindow.document),Ge.open(),Ge.write(_e),Ge.close(),Fe=Ge.body,qe=Ge.body||{},_e=Ge.documentElement||{},Ye=Math.max(qe.scrollHeight,qe.offsetHeight,_e.clientHeight,_e.scrollHeight,_e.offsetHeight)}else qe=(Fe=_e).body||{},Ye=Math.max(qe.scrollHeight,qe.offsetHeight,_e.clientHeight,_e.scrollHeight,_e.offsetHeight);var ct={async:!0,allowTaint:!0,backgroundColor:"#ffffff",canvas:we,imageTimeout:15e3,logging:!0,proxy:null,removeContainer:!0,foreignObjectRendering:!1,useCORS:!1,windowHeight:Ye=Ce.internal.pageSize.getHeight(),scrollY:Ye};Ce.context2d.pageWrapYEnabled=!0,Ce.context2d.pageWrapY=Ce.internal.pageSize.getHeight(),html2canvas(Fe,ct).then(function(wt){Ee&&(Ke&&Ke.parentElement.removeChild(Ke),Ee(Ce))})}else alert("jsPDF canvas plugin not installed")},window.tmp=html2pdf,function(_e){var Ce=_e.BlobBuilder||_e.WebKitBlobBuilder||_e.MSBlobBuilder||_e.MozBlobBuilder;_e.URL=_e.URL||_e.webkitURL||function($,se){return(se=document.createElement("a")).href=$,se};var Ee=_e.Blob,we=URL.createObjectURL,Fe=URL.revokeObjectURL,Ye=_e.Symbol&&_e.Symbol.toStringTag,Ge=!1,qe=!1,Ke=!!_e.ArrayBuffer,ct=Ce&&Ce.prototype.append&&Ce.prototype.getBlob;try{Ge=new Blob(["\xE4"]).size===2,qe=new Blob([new Uint8Array([1,2])]).size===2}catch($){}function wt($){return $.map(function(se){if(se.buffer instanceof ArrayBuffer){var Oe=se.buffer;if(se.byteLength!==Oe.byteLength){var ke=new Uint8Array(se.byteLength);ke.set(new Uint8Array(Oe,se.byteOffset,se.byteLength)),Oe=ke.buffer}return Oe}return se})}function Lt($,se){se=se||{};var Oe=new Ce;return wt($).forEach(function(ke){Oe.append(ke)}),se.type?Oe.getBlob(se.type):Oe.getBlob()}function de($,se){return new Ee(wt($),se||{})}if(_e.Blob&&(Lt.prototype=Blob.prototype,de.prototype=Blob.prototype),Ye)try{File.prototype[Ye]="File",Blob.prototype[Ye]="Blob",FileReader.prototype[Ye]="FileReader"}catch($){}function xe(){var $=!!_e.ActiveXObject||"-ms-scroll-limit"in document.documentElement.style&&"-ms-ime-align"in document.documentElement.style,se=_e.XMLHttpRequest&&_e.XMLHttpRequest.prototype.send;$&&se&&(XMLHttpRequest.prototype.send=function(ke){ke instanceof Blob&&this.setRequestHeader("Content-Type",ke.type),se.call(this,ke)});try{new File([],"")}catch(ke){try{var Oe=new Function('class File extends Blob {constructor(chunks, name, opts) {opts = opts || {};super(chunks, opts || {});this.name = name;this.lastModifiedDate = opts.lastModified ? new Date(opts.lastModified) : new Date;this.lastModified = +this.lastModifiedDate;}};return new File([], ""), File')();_e.File=Oe}catch(Pe){Oe=function(At,Wt,$t){var Rt=new Blob(At,$t),zt=$t&&$t.lastModified!==void 0?new Date($t.lastModified):new Date;return Rt.name=Wt,Rt.lastModifiedDate=zt,Rt.lastModified=+zt,Rt.toString=function(){return"[object File]"},Ye&&(Rt[Ye]="File"),Rt},_e.File=Oe}}}Ge?(xe(),_e.Blob=qe?_e.Blob:de):ct?(xe(),_e.Blob=Lt):function(){function $(Qt){for(var Mt=[],dr=0;dr<Qt.length;dr++){var er=Qt.charCodeAt(dr);er<128?Mt.push(er):er<2048?Mt.push(192|er>>6,128|63&er):er<55296||57344<=er?Mt.push(224|er>>12,128|er>>6&63,128|63&er):(dr++,er=65536+((1023&er)<<10|1023&Qt.charCodeAt(dr)),Mt.push(240|er>>18,128|er>>12&63,128|er>>6&63,128|63&er))}return Mt}function se(Qt){var Mt,dr,er,ht,Et,pt;for(Mt="",er=Qt.length,dr=0;dr<er;)switch((ht=Qt[dr++])>>4){case 0:case 1:case 2:case 3:case 4:case 5:case 6:case 7:Mt+=String.fromCharCode(ht);break;case 12:case 13:Et=Qt[dr++],Mt+=String.fromCharCode((31&ht)<<6|63&Et);break;case 14:Et=Qt[dr++],pt=Qt[dr++],Mt+=String.fromCharCode((15&ht)<<12|(63&Et)<<6|(63&pt)<<0)}return Mt}function Oe(Qt){for(var Mt=new Array(Qt.byteLength),dr=new Uint8Array(Qt),er=Mt.length;er--;)Mt[er]=dr[er];return Mt}function ke(Qt){for(var Mt="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789",dr=[],er=0;er<Qt.length;er+=3){var ht=Qt[er],Et=er+1<Qt.length,pt=Et?Qt[er+1]:0,vt=er+2<Qt.length,Nt=vt?Qt[er+2]:0,_t=ht>>2,gt=(3&ht)<<4|pt>>4,Ht=(15&pt)<<2|Nt>>6,kt=63&Nt;vt||(kt=64,Et||(Ht=64)),dr.push(Mt[_t],Mt[gt],Mt[Ht],Mt[kt])}return dr.join("")}var Pe=Object.create||function(Qt){function Mt(){}return Mt.prototype=Qt,new Mt};if(Ke)var rt=["[object Int8Array]","[object Uint8Array]","[object Uint8ClampedArray]","[object Int16Array]","[object Uint16Array]","[object Int32Array]","[object Uint32Array]","[object Float32Array]","[object Float64Array]"],At=ArrayBuffer.isView||function(Qt){return Qt&&-1<rt.indexOf(Object.prototype.toString.call(Qt))};function Wt(Qt,Mt){for(var dr=0,er=(Qt=Qt||[]).length;dr<er;dr++){var ht=Qt[dr];ht instanceof Wt?Qt[dr]=ht._buffer:typeof ht=="string"?Qt[dr]=$(ht):Ke&&(ArrayBuffer.prototype.isPrototypeOf(ht)||At(ht))?Qt[dr]=Oe(ht):Ke&&(Et=ht)&&DataView.prototype.isPrototypeOf(Et)?Qt[dr]=Oe(ht.buffer):Qt[dr]=$(String(ht))}var Et;this._buffer=[].concat.apply([],Qt),this.size=this._buffer.length,this.type=Mt&&Mt.type||""}function $t(Qt,Mt,dr){var er=Wt.call(this,Qt,dr=dr||{})||this;return er.name=Mt,er.lastModifiedDate=dr.lastModified?new Date(dr.lastModified):new Date,er.lastModified=+er.lastModifiedDate,er}if(Wt.prototype.slice=function(Qt,Mt,dr){return new Wt([this._buffer.slice(Qt||0,Mt||this._buffer.length)],{type:dr})},Wt.prototype.toString=function(){return"[object Blob]"},($t.prototype=Pe(Wt.prototype)).constructor=$t,Object.setPrototypeOf)Object.setPrototypeOf($t,Wt);else try{$t.__proto__=Wt}catch(Qt){}function Rt(){if(!(this instanceof Rt))throw new TypeError("Failed to construct 'FileReader': Please use the 'new' operator, this DOM object constructor cannot be called as a function.");var Qt=document.createDocumentFragment();this.addEventListener=Qt.addEventListener,this.dispatchEvent=function(Mt){var dr=this["on"+Mt.type];typeof dr=="function"&&dr(Mt),Qt.dispatchEvent(Mt)},this.removeEventListener=Qt.removeEventListener}function zt(Qt,Mt,dr){if(!(Mt instanceof Wt))throw new TypeError("Failed to execute '"+dr+"' on 'FileReader': parameter 1 is not of type 'Blob'.");Qt.result="",setTimeout(function(){this.readyState=Rt.LOADING,Qt.dispatchEvent(new Event("load")),Qt.dispatchEvent(new Event("loadend"))})}$t.prototype.toString=function(){return"[object File]"},Rt.EMPTY=0,Rt.LOADING=1,Rt.DONE=2,Rt.prototype.error=null,Rt.prototype.onabort=null,Rt.prototype.onerror=null,Rt.prototype.onload=null,Rt.prototype.onloadend=null,Rt.prototype.onloadstart=null,Rt.prototype.onprogress=null,Rt.prototype.readAsDataURL=function(Qt){zt(this,Qt,"readAsDataURL"),this.result="data:"+Qt.type+";base64,"+ke(Qt._buffer)},Rt.prototype.readAsText=function(Qt){zt(this,Qt,"readAsText"),this.result=se(Qt._buffer)},Rt.prototype.readAsArrayBuffer=function(Qt){zt(this,Qt,"readAsText"),this.result=Qt._buffer.slice()},Rt.prototype.abort=function(){},URL.createObjectURL=function(Qt){return Qt instanceof Wt?"data:"+Qt.type+";base64,"+ke(Qt._buffer):we.call(URL,Qt)},URL.revokeObjectURL=function(Qt){Fe&&Fe.call(URL,Qt)};var Gt=_e.XMLHttpRequest&&_e.XMLHttpRequest.prototype.send;Gt&&(XMLHttpRequest.prototype.send=function(Qt){Qt instanceof Wt?(this.setRequestHeader("Content-Type",Qt.type),Gt.call(this,se(Qt._buffer))):Gt.call(this,Qt)}),_e.FileReader=Rt,_e.File=$t,_e.Blob=Wt}()}(typeof self!="undefined"&&self||typeof window!="undefined"&&window||typeof g!="undefined"&&g||Function('return typeof this === "object" && this.content')()||Function("return this")());var dt,De,Tt,je,st,Xe,Je,et,at,Ve,le,ae,lt,Ze,Te,Jt=Jt||function(_e){if(!(_e===void 0||typeof navigator!="undefined"&&/MSIE [1-9]\./.test(navigator.userAgent))){var Ce=_e.document,Ee=function(){return _e.URL||_e.webkitURL||_e},we=Ce.createElementNS("http://www.w3.org/1999/xhtml","a"),Fe="download"in we,Ye=/constructor/i.test(_e.HTMLElement)||_e.safari,Ge=/CriOS\/[\d]+/.test(navigator.userAgent),qe=_e.setImmediate||_e.setTimeout,Ke=function($){qe(function(){throw $},0)},ct=function($){setTimeout(function(){typeof $=="string"?Ee().revokeObjectURL($):$.remove()},4e4)},wt=function($){return/^\s*(?:text\/\S*|application\/xml|\S*\/\S*\+xml)\s*;.*charset\s*=\s*utf-8/i.test($.type)?new Blob([String.fromCharCode(65279),$],{type:$.type}):$},Lt=function($,se,Oe){Oe||($=wt($));var ke,Pe=this,rt=$.type==="application/octet-stream",At=function(){!function($t,Rt,zt){for(var Gt=(Rt=[].concat(Rt)).length;Gt--;){var Qt=$t["on"+Rt[Gt]];if(typeof Qt=="function")try{Qt.call($t,zt||$t)}catch(Mt){Ke(Mt)}}}(Pe,"writestart progress write writeend".split(" "))};if(Pe.readyState=Pe.INIT,Fe)return ke=Ee().createObjectURL($),void qe(function(){var Wt,$t;we.href=ke,we.download=se,Wt=we,$t=new MouseEvent("click"),Wt.dispatchEvent($t),At(),ct(ke),Pe.readyState=Pe.DONE},0);!function(){if((Ge||rt&&Ye)&&_e.FileReader){var Wt=new FileReader;return Wt.onloadend=function(){var $t=Ge?Wt.result:Wt.result.replace(/^data:[^;]*;/,"data:attachment/file;");_e.open($t,"_blank")||(_e.location.href=$t),$t=void 0,Pe.readyState=Pe.DONE,At()},Wt.readAsDataURL($),Pe.readyState=Pe.INIT}ke||(ke=Ee().createObjectURL($)),rt?_e.location.href=ke:_e.open(ke,"_blank")||(_e.location.href=ke),Pe.readyState=Pe.DONE,At(),ct(ke)}()},de=Lt.prototype;return typeof navigator!="undefined"&&navigator.msSaveOrOpenBlob?function(xe,$,se){return $=$||xe.name||"download",se||(xe=wt(xe)),navigator.msSaveOrOpenBlob(xe,$)}:(de.abort=function(){},de.readyState=de.INIT=0,de.WRITING=1,de.DONE=2,de.error=de.onwritestart=de.onprogress=de.onwrite=de.onabort=de.onerror=de.onwriteend=null,function(xe,$,se){return new Lt(xe,$||xe.name||"download",se)})}}(typeof self!="undefined"&&self||typeof window!="undefined"&&window||void 0);function mt(_e){var Ce=0;if(_e[Ce++]!==71||_e[Ce++]!==73||_e[Ce++]!==70||_e[Ce++]!==56||(_e[Ce++]+1&253)!=56||_e[Ce++]!==97)throw"Invalid GIF 87a/89a header.";var Ee=_e[Ce++]|_e[Ce++]<<8,we=_e[Ce++]|_e[Ce++]<<8,Fe=_e[Ce++],Ye=Fe>>7,Ge=1<<(7&Fe)+1;_e[Ce++],_e[Ce++];var qe=null;Ye&&(qe=Ce,Ce+=3*Ge);var Ke=!0,ct=[],wt=0,Lt=null,de=0,xe=null;for(this.width=Ee,this.height=we;Ke&&Ce<_e.length;)switch(_e[Ce++]){case 33:switch(_e[Ce++]){case 255:if(_e[Ce]!==11||_e[Ce+1]==78&&_e[Ce+2]==69&&_e[Ce+3]==84&&_e[Ce+4]==83&&_e[Ce+5]==67&&_e[Ce+6]==65&&_e[Ce+7]==80&&_e[Ce+8]==69&&_e[Ce+9]==50&&_e[Ce+10]==46&&_e[Ce+11]==48&&_e[Ce+12]==3&&_e[Ce+13]==1&&_e[Ce+16]==0)Ce+=14,xe=_e[Ce++]|_e[Ce++]<<8,Ce++;else for(Ce+=12;!((zt=_e[Ce++])===0);)Ce+=zt;break;case 249:if(_e[Ce++]!==4||_e[Ce+4]!==0)throw"Invalid graphics extension block.";var $=_e[Ce++];wt=_e[Ce++]|_e[Ce++]<<8,Lt=_e[Ce++],(1&$)==0&&(Lt=null),de=$>>2&7,Ce++;break;case 254:for(;!((zt=_e[Ce++])===0);)Ce+=zt;break;default:throw"Unknown graphic control label: 0x"+_e[Ce-1].toString(16)}break;case 44:var se=_e[Ce++]|_e[Ce++]<<8,Oe=_e[Ce++]|_e[Ce++]<<8,ke=_e[Ce++]|_e[Ce++]<<8,Pe=_e[Ce++]|_e[Ce++]<<8,rt=_e[Ce++],At=rt>>6&1,Wt=qe,$t=!1;rt>>7&&($t=!0,Wt=Ce,Ce+=3*(1<<(7&rt)+1));var Rt=Ce;for(Ce++;;){var zt;if((zt=_e[Ce++])===0)break;Ce+=zt}ct.push({x:se,y:Oe,width:ke,height:Pe,has_local_palette:$t,palette_offset:Wt,data_offset:Rt,data_length:Ce-Rt,transparent_index:Lt,interlaced:!!At,delay:wt,disposal:de});break;case 59:Ke=!1;break;default:throw"Unknown gif block: 0x"+_e[Ce-1].toString(16)}this.numFrames=function(){return ct.length},this.loopCount=function(){return xe},this.frameInfo=function(Gt){if(Gt<0||Gt>=ct.length)throw"Frame index out of range.";return ct[Gt]},this.decodeAndBlitFrameBGRA=function(Gt,Qt){var Mt=this.frameInfo(Gt),dr=Mt.width*Mt.height,er=new Uint8Array(dr);ft(_e,Mt.data_offset,er,dr);var ht=Mt.palette_offset,Et=Mt.transparent_index;Et===null&&(Et=256);var pt=Mt.width,vt=Ee-pt,Nt=pt,_t=4*(Mt.y*Ee+Mt.x),gt=4*((Mt.y+Mt.height)*Ee+Mt.x),Ht=_t,kt=4*vt;Mt.interlaced===!0&&(kt+=4*(pt+vt)*7);for(var ir=8,Xt=0,mr=er.length;Xt<mr;++Xt){var Ar=er[Xt];if(Nt===0&&(Nt=pt,gt<=(Ht+=kt)&&(kt=vt+4*(pt+vt)*(ir-1),Ht=_t+(pt+vt)*(ir<<1),ir>>=1)),Ar===Et)Ht+=4;else{var Nr=_e[ht+3*Ar],kr=_e[ht+3*Ar+1],tn=_e[ht+3*Ar+2];Qt[Ht++]=tn,Qt[Ht++]=kr,Qt[Ht++]=Nr,Qt[Ht++]=255}--Nt}},this.decodeAndBlitFrameRGBA=function(Gt,Qt){var Mt=this.frameInfo(Gt),dr=Mt.width*Mt.height,er=new Uint8Array(dr);ft(_e,Mt.data_offset,er,dr);var ht=Mt.palette_offset,Et=Mt.transparent_index;Et===null&&(Et=256);var pt=Mt.width,vt=Ee-pt,Nt=pt,_t=4*(Mt.y*Ee+Mt.x),gt=4*((Mt.y+Mt.height)*Ee+Mt.x),Ht=_t,kt=4*vt;Mt.interlaced===!0&&(kt+=4*(pt+vt)*7);for(var ir=8,Xt=0,mr=er.length;Xt<mr;++Xt){var Ar=er[Xt];if(Nt===0&&(Nt=pt,gt<=(Ht+=kt)&&(kt=vt+4*(pt+vt)*(ir-1),Ht=_t+(pt+vt)*(ir<<1),ir>>=1)),Ar===Et)Ht+=4;else{var Nr=_e[ht+3*Ar],kr=_e[ht+3*Ar+1],tn=_e[ht+3*Ar+2];Qt[Ht++]=Nr,Qt[Ht++]=kr,Qt[Ht++]=tn,Qt[Ht++]=255}--Nt}}}function ft(_e,Ce,Ee,we){for(var Fe=_e[Ce++],Ye=1<<Fe,Ge=Ye+1,qe=Ge+1,Ke=Fe+1,ct=(1<<Ke)-1,wt=0,Lt=0,de=0,xe=_e[Ce++],$=new Int32Array(4096),se=null;;){for(;wt<16&&xe!==0;)Lt|=_e[Ce++]<<wt,wt+=8,xe===1?xe=_e[Ce++]:--xe;if(wt<Ke)break;var Oe=Lt&ct;if(Lt>>=Ke,wt-=Ke,Oe!==Ye){if(Oe===Ge)break;for(var ke=Oe<qe?Oe:se,Pe=0,rt=ke;Ye<rt;)rt=$[rt]>>8,++Pe;var At=rt;if(we<de+Pe+(ke!==Oe?1:0))return void console.log("Warning, gif stream longer than expected.");Ee[de++]=At;var Wt=de+=Pe;for(ke!==Oe&&(Ee[de++]=At),rt=ke;Pe--;)rt=$[rt],Ee[--Wt]=255&rt,rt>>=8;se!==null&&qe<4096&&($[qe++]=se<<8|At,ct+1<=qe&&Ke<12&&(++Ke,ct=ct<<1|1)),se=Oe}else qe=Ge+1,ct=(1<<(Ke=Fe+1))-1,se=null}return de!==we&&console.log("Warning, gif stream shorter than expected."),Ee}try{D.GifWriter=function(_e,Ce,Ee,we){var Fe=0,Ye=(we=we===void 0?{}:we).loop===void 0?null:we.loop,Ge=we.palette===void 0?null:we.palette;if(Ce<=0||Ee<=0||65535<Ce||65535<Ee)throw"Width/Height invalid.";function qe(se){var Oe=se.length;if(Oe<2||256<Oe||Oe&Oe-1)throw"Invalid code/color length, must be power of 2 and 2 .. 256.";return Oe}_e[Fe++]=71,_e[Fe++]=73,_e[Fe++]=70,_e[Fe++]=56,_e[Fe++]=57,_e[Fe++]=97;var Ke=0,ct=0;if(Ge!==null){for(var wt=qe(Ge);wt>>=1;)++Ke;if(wt=1<<Ke,--Ke,we.background!==void 0){if(wt<=(ct=we.background))throw"Background index out of range.";if(ct===0)throw"Background index explicitly passed as 0."}}if(_e[Fe++]=255&Ce,_e[Fe++]=Ce>>8&255,_e[Fe++]=255&Ee,_e[Fe++]=Ee>>8&255,_e[Fe++]=(Ge!==null?128:0)|Ke,_e[Fe++]=ct,_e[Fe++]=0,Ge!==null)for(var Lt=0,de=Ge.length;Lt<de;++Lt){var xe=Ge[Lt];_e[Fe++]=xe>>16&255,_e[Fe++]=xe>>8&255,_e[Fe++]=255&xe}if(Ye!==null){if(Ye<0||65535<Ye)throw"Loop count invalid.";_e[Fe++]=33,_e[Fe++]=255,_e[Fe++]=11,_e[Fe++]=78,_e[Fe++]=69,_e[Fe++]=84,_e[Fe++]=83,_e[Fe++]=67,_e[Fe++]=65,_e[Fe++]=80,_e[Fe++]=69,_e[Fe++]=50,_e[Fe++]=46,_e[Fe++]=48,_e[Fe++]=3,_e[Fe++]=1,_e[Fe++]=255&Ye,_e[Fe++]=Ye>>8&255,_e[Fe++]=0}var $=!1;this.addFrame=function(se,Oe,ke,Pe,rt,At){if($===!0&&(--Fe,$=!1),At=At===void 0?{}:At,se<0||Oe<0||65535<se||65535<Oe)throw"x/y invalid.";if(ke<=0||Pe<=0||65535<ke||65535<Pe)throw"Width/Height invalid.";if(rt.length<ke*Pe)throw"Not enough pixels for the frame size.";var Wt=!0,$t=At.palette;if($t==null&&(Wt=!1,$t=Ge),$t==null)throw"Must supply either a local or global palette.";for(var Rt=qe($t),zt=0;Rt>>=1;)++zt;Rt=1<<zt;var Gt=At.delay===void 0?0:At.delay,Qt=At.disposal===void 0?0:At.disposal;if(Qt<0||3<Qt)throw"Disposal out of range.";var Mt=!1,dr=0;if(At.transparent!==void 0&&At.transparent!==null&&(Mt=!0,(dr=At.transparent)<0||Rt<=dr))throw"Transparent color index.";if((Qt!==0||Mt||Gt!==0)&&(_e[Fe++]=33,_e[Fe++]=249,_e[Fe++]=4,_e[Fe++]=Qt<<2|(Mt===!0?1:0),_e[Fe++]=255&Gt,_e[Fe++]=Gt>>8&255,_e[Fe++]=dr,_e[Fe++]=0),_e[Fe++]=44,_e[Fe++]=255&se,_e[Fe++]=se>>8&255,_e[Fe++]=255&Oe,_e[Fe++]=Oe>>8&255,_e[Fe++]=255&ke,_e[Fe++]=ke>>8&255,_e[Fe++]=255&Pe,_e[Fe++]=Pe>>8&255,_e[Fe++]=Wt===!0?128|zt-1:0,Wt===!0)for(var er=0,ht=$t.length;er<ht;++er){var Et=$t[er];_e[Fe++]=Et>>16&255,_e[Fe++]=Et>>8&255,_e[Fe++]=255&Et}Fe=function(pt,vt,Nt,_t){pt[vt++]=Nt;var gt=vt++,Ht=1<<Nt,kt=Ht-1,ir=Ht+1,Xt=ir+1,mr=Nt+1,Ar=0,Nr=0;function kr(fr){for(;fr<=Ar;)pt[vt++]=255&Nr,Nr>>=8,Ar-=8,vt===gt+256&&(pt[gt]=255,gt=vt++)}function tn(fr){Nr|=fr<<Ar,Ar+=mr,kr(8)}var qr=_t[0]&kt,_r={};tn(Ht);for(var Qr=1,Lr=_t.length;Qr<Lr;++Qr){var ur=_t[Qr]&kt,pr=qr<<8|ur,cr=_r[pr];if(cr===void 0){for(Nr|=qr<<Ar,Ar+=mr;8<=Ar;)pt[vt++]=255&Nr,Nr>>=8,Ar-=8,vt===gt+256&&(pt[gt]=255,gt=vt++);Xt===4096?(tn(Ht),Xt=ir+1,mr=Nt+1,_r={}):(1<<mr<=Xt&&++mr,_r[pr]=Xt++),qr=ur}else qr=cr}return tn(qr),tn(ir),kr(1),gt+1===vt?pt[gt]=0:(pt[gt]=vt-gt-1,pt[vt++]=0),vt}(_e,Fe,zt<2?2:zt,rt)},this.end=function(){return $===!1&&(_e[Fe++]=59,$=!0),Fe}},D.GifReader=mt}catch(_e){}function bt(_e){var Ce,Ee,we,Fe,Ye,Ge=Math.floor,qe=new Array(64),Ke=new Array(64),ct=new Array(64),wt=new Array(64),Lt=new Array(65535),de=new Array(65535),xe=new Array(64),$=new Array(64),se=[],Oe=0,ke=7,Pe=new Array(64),rt=new Array(64),At=new Array(64),Wt=new Array(256),$t=new Array(2048),Rt=[0,1,5,6,14,15,27,28,2,4,7,13,16,26,29,42,3,8,12,17,25,30,41,43,9,11,18,24,31,40,44,53,10,19,23,32,39,45,52,54,20,22,33,38,46,51,55,60,21,34,37,47,50,56,59,61,35,36,48,49,57,58,62,63],zt=[0,0,1,5,1,1,1,1,1,1,0,0,0,0,0,0,0],Gt=[0,1,2,3,4,5,6,7,8,9,10,11],Qt=[0,0,2,1,3,3,2,4,3,5,5,4,4,0,0,1,125],Mt=[1,2,3,0,4,17,5,18,33,49,65,6,19,81,97,7,34,113,20,50,129,145,161,8,35,66,177,193,21,82,209,240,36,51,98,114,130,9,10,22,23,24,25,26,37,38,39,40,41,42,52,53,54,55,56,57,58,67,68,69,70,71,72,73,74,83,84,85,86,87,88,89,90,99,100,101,102,103,104,105,106,115,116,117,118,119,120,121,122,131,132,133,134,135,136,137,138,146,147,148,149,150,151,152,153,154,162,163,164,165,166,167,168,169,170,178,179,180,181,182,183,184,185,186,194,195,196,197,198,199,200,201,202,210,211,212,213,214,215,216,217,218,225,226,227,228,229,230,231,232,233,234,241,242,243,244,245,246,247,248,249,250],dr=[0,0,3,1,1,1,1,1,1,1,1,1,0,0,0,0,0],er=[0,1,2,3,4,5,6,7,8,9,10,11],ht=[0,0,2,1,2,4,4,3,4,7,5,4,4,0,1,2,119],Et=[0,1,2,3,17,4,5,33,49,6,18,65,81,7,97,113,19,34,50,129,8,20,66,145,161,177,193,9,35,51,82,240,21,98,114,209,10,22,36,52,225,37,241,23,24,25,26,38,39,40,41,42,53,54,55,56,57,58,67,68,69,70,71,72,73,74,83,84,85,86,87,88,89,90,99,100,101,102,103,104,105,106,115,116,117,118,119,120,121,122,130,131,132,133,134,135,136,137,138,146,147,148,149,150,151,152,153,154,162,163,164,165,166,167,168,169,170,178,179,180,181,182,183,184,185,186,194,195,196,197,198,199,200,201,202,210,211,212,213,214,215,216,217,218,226,227,228,229,230,231,232,233,234,242,243,244,245,246,247,248,249,250];function pt(kt,ir){for(var Xt=0,mr=0,Ar=new Array,Nr=1;Nr<=16;Nr++){for(var kr=1;kr<=kt[Nr];kr++)Ar[ir[mr]]=[],Ar[ir[mr]][0]=Xt,Ar[ir[mr]][1]=Nr,mr++,Xt++;Xt*=2}return Ar}function vt(kt){for(var ir=kt[0],Xt=kt[1]-1;0<=Xt;)ir&1<<Xt&&(Oe|=1<<ke),Xt--,--ke<0&&(Oe==255?(Nt(255),Nt(0)):Nt(Oe),ke=7,Oe=0)}function Nt(kt){se.push(kt)}function _t(kt){Nt(kt>>8&255),Nt(255&kt)}function gt(kt,ir,Xt,mr,Ar){for(var Nr,kr=Ar[0],tn=Ar[240],qr=function(Yr,un){var Nn,jr,Tn,gn,Bn,Kn,qn,Yn,Vn,An,on=0;for(Vn=0;Vn<8;++Vn){Nn=Yr[on],jr=Yr[on+1],Tn=Yr[on+2],gn=Yr[on+3],Bn=Yr[on+4],Kn=Yr[on+5],qn=Yr[on+6];var ia=Nn+(Yn=Yr[on+7]),xa=Nn-Yn,ta=jr+qn,Li=jr-qn,Ci=Tn+Kn,Gn=Tn-Kn,Oa=gn+Bn,mn=gn-Bn,On=ia+Oa,_n=ia-Oa,Ln=ta+Ci,jn=ta-Ci;Yr[on]=On+Ln,Yr[on+4]=On-Ln;var ni=.707106781*(jn+_n);Yr[on+2]=_n+ni,Yr[on+6]=_n-ni;var di=.382683433*((On=mn+Gn)-(jn=Li+xa)),Na=.5411961*On+di,Qi=1.306562965*jn+di,ma=.707106781*(Ln=Gn+Li),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],Kn=Yr[on+40],qn=Yr[on+48];var Wi=Nn+(Yn=Yr[on+56]),Co=Nn-Yn,aa=jr+qn,Hi=jr-qn,ga=Tn+Kn,ha=Tn-Kn,mo=gn+Bn,Fn=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=Fn+ha)-(uo=Hi+Co)),Br=.5411961*$i+Tr,Wr=1.306562965*uo+Tr,hn=.707106781*(To=ha+Hi),it=Co+hn,jt=Co-hn;Yr[on+40]=jt+Br,Yr[on+24]=jt-Br,Yr[on+8]=it+Wr,Yr[on+56]=it-Wr,on++}for(Vn=0;Vn<64;++Vn)An=Yr[Vn]*un[Vn],xe[Vn]=0<An?An+.5|0:An-.5|0;return xe}(kt,ir),_r=0;_r<64;++_r)$[Rt[_r]]=qr[_r];var Qr=$[0]-Xt;Xt=$[0],Qr==0?vt(mr[0]):(vt(mr[de[Nr=32767+Qr]]),vt(Lt[Nr]));for(var Lr=63;0<Lr&&$[Lr]==0;Lr--);if(Lr==0)return vt(kr),Xt;for(var ur,pr=1;pr<=Lr;){for(var cr=pr;$[pr]==0&&pr<=Lr;++pr);var fr=pr-cr;if(16<=fr){ur=fr>>4;for(var xr=1;xr<=ur;++xr)vt(tn);fr&=15}Nr=32767+$[pr],vt(Ar[(fr<<4)+de[Nr]]),vt(Lt[Nr]),pr++}return Lr!=63&&vt(kr),Xt}function Ht(kt){(kt<=0&&(kt=1),100<kt&&(kt=100),Ye!=kt)&&(function(ir){for(var Xt=[16,11,10,16,24,40,51,61,12,12,14,19,26,58,60,55,14,13,16,24,40,57,69,56,14,17,22,29,51,87,80,62,18,22,37,56,68,109,103,77,24,35,55,64,81,104,113,92,49,64,78,87,103,121,120,101,72,92,95,98,112,100,103,99],mr=0;mr<64;mr++){var Ar=Ge((Xt[mr]*ir+50)/100);Ar<1?Ar=1:255<Ar&&(Ar=255),qe[Rt[mr]]=Ar}for(var Nr=[17,18,24,47,99,99,99,99,18,21,26,66,99,99,99,99,24,26,56,99,99,99,99,99,47,66,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99],kr=0;kr<64;kr++){var tn=Ge((Nr[kr]*ir+50)/100);tn<1?tn=1:255<tn&&(tn=255),Ke[Rt[kr]]=tn}for(var qr=[1,1.387039845,1.306562965,1.175875602,1,.785694958,.5411961,.275899379],_r=0,Qr=0;Qr<8;Qr++)for(var Lr=0;Lr<8;Lr++)ct[_r]=1/(qe[Rt[_r]]*qr[Qr]*qr[Lr]*8),wt[_r]=1/(Ke[Rt[_r]]*qr[Qr]*qr[Lr]*8),_r++}(kt<50?Math.floor(5e3/kt):Math.floor(200-2*kt)),Ye=kt)}this.encode=function(kt,ir){var Xt,mr;new Date().getTime(),ir&&Ht(ir),se=new Array,Oe=0,ke=7,_t(65496),_t(65504),_t(16),Nt(74),Nt(70),Nt(73),Nt(70),Nt(0),Nt(1),Nt(1),Nt(0),_t(1),_t(1),Nt(0),Nt(0),function(){_t(65499),_t(132),Nt(0);for(var gn=0;gn<64;gn++)Nt(qe[gn]);Nt(1);for(var Bn=0;Bn<64;Bn++)Nt(Ke[Bn])}(),Xt=kt.width,mr=kt.height,_t(65472),_t(17),Nt(8),_t(mr),_t(Xt),Nt(3),Nt(1),Nt(17),Nt(0),Nt(2),Nt(17),Nt(1),Nt(3),Nt(17),Nt(1),function(){_t(65476),_t(418),Nt(0);for(var gn=0;gn<16;gn++)Nt(zt[gn+1]);for(var Bn=0;Bn<=11;Bn++)Nt(Gt[Bn]);Nt(16);for(var Kn=0;Kn<16;Kn++)Nt(Qt[Kn+1]);for(var qn=0;qn<=161;qn++)Nt(Mt[qn]);Nt(1);for(var Yn=0;Yn<16;Yn++)Nt(dr[Yn+1]);for(var Vn=0;Vn<=11;Vn++)Nt(er[Vn]);Nt(17);for(var An=0;An<16;An++)Nt(ht[An+1]);for(var on=0;on<=161;on++)Nt(Et[on])}(),_t(65498),_t(12),Nt(3),Nt(1),Nt(0),Nt(2),Nt(17),Nt(3),Nt(17),Nt(0),Nt(63),Nt(0);var Ar=0,Nr=0,kr=0;Oe=0,ke=7,this.encode.displayName="_encode_";for(var tn,qr,_r,Qr,Lr,ur,pr,cr,fr,xr=kt.data,Yr=kt.width,un=kt.height,Nn=4*Yr,jr=0;jr<un;){for(tn=0;tn<Nn;){for(ur=Lr=Nn*jr+tn,pr=-1,fr=cr=0;fr<64;fr++)ur=Lr+(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++],_r=xr[ur++],Qr=xr[ur++],Pe[fr]=($t[qr]+$t[_r+256>>0]+$t[Qr+512>>0]>>16)-128,rt[fr]=($t[qr+768>>0]+$t[_r+1024>>0]+$t[Qr+1280>>0]>>16)-128,At[fr]=($t[qr+1280>>0]+$t[_r+1536>>0]+$t[Qr+1792>>0]>>16)-128;Ar=gt(Pe,ct,Ar,Ce,we),Nr=gt(rt,wt,Nr,Ee,Fe),kr=gt(At,wt,kr,Ee,Fe),tn+=32}jr+=8}if(0<=ke){var Tn=[];Tn[1]=ke+1,Tn[0]=(1<<ke+1)-1,vt(Tn)}return _t(65497),new Uint8Array(se)},function(){new Date().getTime(),_e||(_e=50),function(){for(var kt=String.fromCharCode,ir=0;ir<256;ir++)Wt[ir]=kt(ir)}(),Ce=pt(zt,Gt),Ee=pt(dr,er),we=pt(Qt,Mt),Fe=pt(ht,Et),function(){for(var kt=1,ir=2,Xt=1;Xt<=15;Xt++){for(var mr=kt;mr<ir;mr++)de[32767+mr]=Xt,Lt[32767+mr]=[],Lt[32767+mr][1]=Xt,Lt[32767+mr][0]=mr;for(var Ar=-(ir-1);Ar<=-kt;Ar++)de[32767+Ar]=Xt,Lt[32767+Ar]=[],Lt[32767+Ar][1]=Xt,Lt[32767+Ar][0]=ir-1+Ar;kt<<=1,ir<<=1}}(),function(){for(var kt=0;kt<256;kt++)$t[kt]=19595*kt,$t[kt+256>>0]=38470*kt,$t[kt+512>>0]=7471*kt+32768,$t[kt+768>>0]=-11059*kt,$t[kt+1024>>0]=-21709*kt,$t[kt+1280>>0]=32768*kt+8421375,$t[kt+1536>>0]=-27439*kt,$t[kt+1792>>0]=-5329*kt}(),Ht(_e),new Date().getTime()}()}function It(_e,Ce){if(this.pos=0,this.buffer=_e,this.datav=new DataView(_e.buffer),this.is_with_alpha=!!Ce,this.bottom_up=!0,this.flag=String.fromCharCode(this.buffer[0])+String.fromCharCode(this.buffer[1]),this.pos+=2,["BM","BA","CI","CP","IC","PT"].indexOf(this.flag)===-1)throw new Error("Invalid BMP File");this.parseHeader(),this.parseBGR()}window.tmp=mt,ze.API.adler32cs=(Xe=typeof ArrayBuffer=="function"&&typeof Uint8Array=="function",Je=null,et=function(){if(!Xe)return function(){return!1};try{var _e={};typeof _e.Buffer=="function"&&(Je=_e.Buffer)}catch(Ce){}return function(Ce){return Ce instanceof ArrayBuffer||Je!==null&&Ce instanceof Je}}(),at=Je!==null?function(_e){return new Je(_e,"utf8").toString("binary")}:function(_e){return unescape(encodeURIComponent(_e))},Ve=function(Ce,Ee){for(var we=65535&Ce,Fe=Ce>>>16,Ye=0,Ge=Ee.length;Ye<Ge;Ye++)we=(we+(255&Ee.charCodeAt(Ye)))%65521,Fe=(Fe+we)%65521;return(Fe<<16|we)>>>0},le=function(Ce,Ee){for(var we=65535&Ce,Fe=Ce>>>16,Ye=0,Ge=Ee.length;Ye<Ge;Ye++)we=(we+Ee[Ye])%65521,Fe=(Fe+we)%65521;return(Fe<<16|we)>>>0},lt=(ae={}).Adler32=(((st=(je=function(Ce){if(!(this instanceof je))throw new TypeError("Constructor cannot called be as a function.");if(!isFinite(Ce=Ce==null?1:+Ce))throw new Error("First arguments needs to be a finite number.");this.checksum=Ce>>>0}).prototype={}).constructor=je).from=((dt=function(Ce){if(!(this instanceof je))throw new TypeError("Constructor cannot called be as a function.");if(Ce==null)throw new Error("First argument needs to be a string.");this.checksum=Ve(1,Ce.toString())}).prototype=st,dt),je.fromUtf8=((De=function(Ce){if(!(this instanceof je))throw new TypeError("Constructor cannot called be as a function.");if(Ce==null)throw new Error("First argument needs to be a string.");var Ee=at(Ce.toString());this.checksum=Ve(1,Ee)}).prototype=st,De),Xe&&(je.fromBuffer=((Tt=function(Ce){if(!(this instanceof je))throw new TypeError("Constructor cannot called be as a function.");if(!et(Ce))throw new Error("First argument needs to be ArrayBuffer.");var Ee=new Uint8Array(Ce);return this.checksum=le(1,Ee)}).prototype=st,Tt)),st.update=function(_e){if(_e==null)throw new Error("First argument needs to be a string.");return _e=_e.toString(),this.checksum=Ve(this.checksum,_e)},st.updateUtf8=function(_e){if(_e==null)throw new Error("First argument needs to be a string.");var Ce=at(_e.toString());return this.checksum=Ve(this.checksum,Ce)},Xe&&(st.updateBuffer=function(_e){if(!et(_e))throw new Error("First argument needs to be ArrayBuffer.");var Ce=new Uint8Array(_e);return this.checksum=le(this.checksum,Ce)}),st.clone=function(){return new lt(this.checksum)},je),ae.from=function(_e){if(_e==null)throw new Error("First argument needs to be a string.");return Ve(1,_e.toString())},ae.fromUtf8=function(_e){if(_e==null)throw new Error("First argument needs to be a string.");var Ce=at(_e.toString());return Ve(1,Ce)},Xe&&(ae.fromBuffer=function(_e){if(!et(_e))throw new Error("First argument need to be ArrayBuffer.");var Ce=new Uint8Array(_e);return le(1,Ce)}),ae),function(_e){_e.__bidiEngine__=_e.prototype.__bidiEngine__=function(we){var Fe,Ye,Ge,qe,Ke,ct,wt,Lt=Ce,de=[[0,3,0,1,0,0,0],[0,3,0,1,2,2,0],[0,3,0,17,2,0,1],[0,3,5,5,4,1,0],[0,3,21,21,4,0,1],[0,3,5,5,4,2,0]],xe=[[2,0,1,1,0,1,0],[2,0,1,1,0,2,0],[2,0,2,1,3,2,0],[2,0,2,33,3,1,1]],$={L:0,R:1,EN:2,AN:3,N:4,B:5,S:6},se={0:0,5:1,6:2,7:3,32:4,251:5,254:6,255:7},Oe=["(",")","(","<",">","<","[","]","[","{","}","{","\xAB","\xBB","\xAB","\u2039","\u203A","\u2039","\u2045","\u2046","\u2045","\u207D","\u207E","\u207D","\u208D","\u208E","\u208D","\u2264","\u2265","\u2264","\u2329","\u232A","\u2329","\uFE59","\uFE5A","\uFE59","\uFE5B","\uFE5C","\uFE5B","\uFE5D","\uFE5E","\uFE5D","\uFE64","\uFE65","\uFE64"],ke=new RegExp(/^([1-4|9]|1[0-9]|2[0-9]|3[0168]|4[04589]|5[012]|7[78]|159|16[0-9]|17[0-2]|21[569]|22[03489]|250)$/),Pe=!1,rt=0;this.__bidiEngine__={};var At=function(dr){var er=dr.charCodeAt(),ht=er>>8,Et=se[ht];return Et!==void 0?Lt[256*Et+(255&er)]:ht===252||ht===253?"AL":ke.test(ht)?"L":ht===8?"R":"N"},Wt=function(dr){for(var er,ht=0;ht<dr.length;ht++){if((er=At(dr.charAt(ht)))==="L")return!1;if(er==="R")return!0}return!1},$t=function(dr,er,ht,Et){var pt,vt,Nt,_t,gt=er[Et];switch(gt){case"L":case"R":Pe=!1;break;case"N":case"AN":break;case"EN":Pe&&(gt="AN");break;case"AL":Pe=!0,gt="R";break;case"WS":gt="N";break;case"CS":Et<1||Et+1>=er.length||(pt=ht[Et-1])!=="EN"&&pt!=="AN"||(vt=er[Et+1])!=="EN"&&vt!=="AN"?gt="N":Pe&&(vt="AN"),gt=vt===pt?vt:"N";break;case"ES":gt=(pt=0<Et?ht[Et-1]:"B")==="EN"&&Et+1<er.length&&er[Et+1]==="EN"?"EN":"N";break;case"ET":if(0<Et&&ht[Et-1]==="EN"){gt="EN";break}if(Pe){gt="N";break}for(Nt=Et+1,_t=er.length;Nt<_t&&er[Nt]==="ET";)Nt++;gt=Nt<_t&&er[Nt]==="EN"?"EN":"N";break;case"NSM":if(Ge&&!qe){for(_t=er.length,Nt=Et+1;Nt<_t&&er[Nt]==="NSM";)Nt++;if(Nt<_t){var Ht=dr[Et],kt=1425<=Ht&&Ht<=2303||Ht===64286;if(pt=er[Nt],kt&&(pt==="R"||pt==="AL")){gt="R";break}}}gt=Et<1||(pt=er[Et-1])==="B"?"N":ht[Et-1];break;case"B":Fe=!(Pe=!1),gt=rt;break;case"S":Ye=!0,gt="N";break;case"LRE":case"RLE":case"LRO":case"RLO":case"PDF":Pe=!1;break;case"BN":gt="N"}return gt},Rt=function(dr,er,ht){var Et=dr.split("");return ht&&zt(Et,ht,{hiLevel:rt}),Et.reverse(),er&&er.reverse(),Et.join("")},zt=function(dr,er,ht){var Et,pt,vt,Nt,_t,gt=-1,Ht=dr.length,kt=0,ir=[],Xt=rt?xe:de,mr=[];for(Ye=Fe=Pe=!1,pt=0;pt<Ht;pt++)mr[pt]=At(dr[pt]);for(vt=0;vt<Ht;vt++){if(_t=kt,ir[vt]=$t(dr,mr,ir,vt),Et=240&(kt=Xt[_t][$[ir[vt]]]),kt&=15,er[vt]=Nt=Xt[kt][5],0<Et)if(Et===16){for(pt=gt;pt<vt;pt++)er[pt]=1;gt=-1}else gt=-1;if(Xt[kt][6])gt===-1&&(gt=vt);else if(-1<gt){for(pt=gt;pt<vt;pt++)er[pt]=Nt;gt=-1}mr[vt]==="B"&&(er[vt]=0),ht.hiLevel|=Nt}Ye&&function(Ar,Nr,kr){for(var tn=0;tn<kr;tn++)if(Ar[tn]==="S"){Nr[tn]=rt;for(var qr=tn-1;0<=qr&&Ar[qr]==="WS";qr--)Nr[qr]=rt}}(mr,er,Ht)},Gt=function(dr,er,ht,Et,pt){if(!(pt.hiLevel<dr)){if(dr===1&&rt===1&&!Fe)return er.reverse(),void(ht&&ht.reverse());for(var vt,Nt,_t,gt,Ht=er.length,kt=0;kt<Ht;){if(Et[kt]>=dr){for(_t=kt+1;_t<Ht&&Et[_t]>=dr;)_t++;for(gt=kt,Nt=_t-1;gt<Nt;gt++,Nt--)vt=er[gt],er[gt]=er[Nt],er[Nt]=vt,ht&&(vt=ht[gt],ht[gt]=ht[Nt],ht[Nt]=vt);kt=_t}kt++}}},Qt=function(dr,er,ht){var Et=dr.split(""),pt={hiLevel:rt};return ht||(ht=[]),zt(Et,ht,pt),function(vt,Nt,_t){if(_t.hiLevel!==0&&wt)for(var gt,Ht=0;Ht<vt.length;Ht++)Nt[Ht]===1&&0<=(gt=Oe.indexOf(vt[Ht]))&&(vt[Ht]=Oe[gt+1])}(Et,ht,pt),Gt(2,Et,er,ht,pt),Gt(1,Et,er,ht,pt),Et.join("")};return this.__bidiEngine__.doBidiReorder=function(Mt,dr,er){if(function(Et,pt){if(pt)for(var vt=0;vt<Et.length;vt++)pt[vt]=vt;qe===void 0&&(qe=Wt(Et)),ct===void 0&&(ct=Wt(Et))}(Mt,dr),Ge||!Ke||ct)if(Ge&&Ke&&qe^ct)rt=qe?1:0,Mt=Rt(Mt,dr,er);else if(!Ge&&Ke&&ct)rt=qe?1:0,Mt=Qt(Mt,dr,er),Mt=Rt(Mt,dr);else if(!Ge||qe||Ke||ct){if(Ge&&!Ke&&qe^ct)Mt=Rt(Mt,dr),Mt=qe?(rt=0,Qt(Mt,dr,er)):(rt=1,Mt=Qt(Mt,dr,er),Rt(Mt,dr));else if(Ge&&qe&&!Ke&&ct)rt=1,Mt=Qt(Mt,dr,er),Mt=Rt(Mt,dr);else if(!Ge&&!Ke&&qe^ct){var ht=wt;qe?(rt=1,Mt=Qt(Mt,dr,er),rt=0,wt=!1,Mt=Qt(Mt,dr,er),wt=ht):(rt=0,Mt=Qt(Mt,dr,er),Mt=Rt(Mt,dr),wt=!(rt=1),Mt=Qt(Mt,dr,er),wt=ht,Mt=Rt(Mt,dr))}}else rt=0,Mt=Qt(Mt,dr,er);else rt=qe?1:0,Mt=Qt(Mt,dr,er);return Mt},this.__bidiEngine__.setOptions=function(Mt){Mt&&(Ge=Mt.isInputVisual,Ke=Mt.isOutputVisual,qe=Mt.isInputRtl,ct=Mt.isOutputRtl,wt=Mt.isSymmetricSwapping)},this.__bidiEngine__.setOptions(we),this.__bidiEngine__};var Ce=["BN","BN","BN","BN","BN","BN","BN","BN","BN","S","B","S","WS","B","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","B","B","B","S","WS","N","N","ET","ET","ET","N","N","N","N","N","ES","CS","ES","CS","CS","EN","EN","EN","EN","EN","EN","EN","EN","EN","EN","CS","N","N","N","N","N","N","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","N","N","N","N","N","N","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","N","N","N","N","BN","BN","BN","BN","BN","BN","B","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","CS","N","ET","ET","ET","ET","N","N","N","N","L","N","N","BN","N","N","ET","ET","EN","EN","N","L","N","N","N","EN","L","N","N","N","N","N","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","N","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","N","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","N","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","N","N","L","L","L","L","L","L","L","N","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","N","L","N","N","N","N","N","ET","N","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","R","NSM","R","NSM","NSM","R","NSM","NSM","R","NSM","N","N","N","N","N","N","N","N","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","N","N","N","N","N","R","R","R","R","R","N","N","N","N","N","N","N","N","N","N","N","AN","AN","AN","AN","AN","AN","N","N","AL","ET","ET","AL","CS","AL","N","N","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","AL","AL","N","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","AN","AN","AN","AN","AN","AN","AN","AN","AN","AN","ET","AN","AN","AL","AL","AL","NSM","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","NSM","NSM","NSM","NSM","NSM","NSM","NSM","AN","N","NSM","NSM","NSM","NSM","NSM","NSM","AL","AL","NSM","NSM","N","NSM","NSM","NSM","NSM","AL","AL","EN","EN","EN","EN","EN","EN","EN","EN","EN","EN","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","N","AL","AL","NSM","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","N","N","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","AL","N","N","N","N","N","N","N","N","N","N","N","N","N","N","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","R","R","N","N","N","N","R","N","N","N","N","N","WS","WS","WS","WS","WS","WS","WS","WS","WS","WS","WS","BN","BN","BN","L","R","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","WS","B","LRE","RLE","PDF","LRO","RLO","CS","ET","ET","ET","ET","ET","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","CS","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","WS","BN","BN","BN","BN","BN","N","LRI","RLI","FSI","PDI","BN","BN","BN","BN","BN","BN","EN","L","N","N","EN","EN","EN","EN","EN","EN","ES","ES","N","N","N","L","EN","EN","EN","EN","EN","EN","EN","EN","EN","EN","ES","ES","N","N","N","N","L","L","L","L","L","L","L","L","L","L","L","L","L","N","N","N","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","L","L","L","L","L","L","L","N","N","N","N","N","N","N","N","N","N","N","N","L","L","L","L","L","N","N","N","N","N","R","NSM","R","R","R","R","R","R","R","R","R","R","ES","R","R","R","R","R","R","R","R","R","R","R","R","R","N","R","R","R","R","R","N","R","N","R","R","N","R","R","N","R","R","R","R","R","R","R","R","R","R","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","CS","N","CS","N","N","CS","N","N","N","N","N","N","N","N","N","ET","N","N","ES","ES","N","N","N","N","N","ET","ET","N","N","N","N","N","AL","AL","AL","AL","AL","N","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","N","N","BN","N","N","N","ET","ET","ET","N","N","N","N","N","ES","CS","ES","CS","CS","EN","EN","EN","EN","EN","EN","EN","EN","EN","EN","CS","N","N","N","N","N","N","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","N","N","N","N","N","N","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","N","N","N","N","N","N","N","N","N","N","N","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","N","N","N","L","L","L","L","L","L","N","N","L","L","L","L","L","L","N","N","L","L","L","L","L","L","N","N","L","L","L","N","N","N","ET","ET","N","N","N","ET","ET","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N"],Ee=new _e.__bidiEngine__({isInputVisual:!0});_e.API.events.push(["postProcessText",function(we){var Fe=we.text,Ye=(we.x,we.y,we.options||{}),Ge=(we.mutex,Ye.lang,[]);if(Object.prototype.toString.call(Fe)==="[object Array]"){var qe=0;for(Ge=[],qe=0;qe<Fe.length;qe+=1)Object.prototype.toString.call(Fe[qe])==="[object Array]"?Ge.push([Ee.doBidiReorder(Fe[qe][0]),Fe[qe][1],Fe[qe][2]]):Ge.push([Ee.doBidiReorder(Fe[qe])]);we.text=Ge}else we.text=Ee.doBidiReorder(Fe)}])}(ze),window.tmp=bt,It.prototype.parseHeader=function(){if(this.fileSize=this.datav.getUint32(this.pos,!0),this.pos+=4,this.reserved=this.datav.getUint32(this.pos,!0),this.pos+=4,this.offset=this.datav.getUint32(this.pos,!0),this.pos+=4,this.headerSize=this.datav.getUint32(this.pos,!0),this.pos+=4,this.width=this.datav.getUint32(this.pos,!0),this.pos+=4,this.height=this.datav.getInt32(this.pos,!0),this.pos+=4,this.planes=this.datav.getUint16(this.pos,!0),this.pos+=2,this.bitPP=this.datav.getUint16(this.pos,!0),this.pos+=2,this.compress=this.datav.getUint32(this.pos,!0),this.pos+=4,this.rawSize=this.datav.getUint32(this.pos,!0),this.pos+=4,this.hr=this.datav.getUint32(this.pos,!0),this.pos+=4,this.vr=this.datav.getUint32(this.pos,!0),this.pos+=4,this.colors=this.datav.getUint32(this.pos,!0),this.pos+=4,this.importantColors=this.datav.getUint32(this.pos,!0),this.pos+=4,this.bitPP===16&&this.is_with_alpha&&(this.bitPP=15),this.bitPP<15){var _e=this.colors===0?1<<this.bitPP:this.colors;this.palette=new Array(_e);for(var Ce=0;Ce<_e;Ce++){var Ee=this.datav.getUint8(this.pos++,!0),we=this.datav.getUint8(this.pos++,!0),Fe=this.datav.getUint8(this.pos++,!0),Ye=this.datav.getUint8(this.pos++,!0);this.palette[Ce]={red:Fe,green:we,blue:Ee,quad:Ye}}}this.height<0&&(this.height*=-1,this.bottom_up=!1)},It.prototype.parseBGR=function(){this.pos=this.offset;try{var _e="bit"+this.bitPP,Ce=this.width*this.height*4;this.data=new Uint8Array(Ce),this[_e]()}catch(Ee){console.log("bit decode error:"+Ee)}},It.prototype.bit1=function(){var _e=Math.ceil(this.width/8),Ce=_e%4,Ee=0<=this.height?this.height-1:-this.height;for(Ee=this.height-1;0<=Ee;Ee--){for(var we=this.bottom_up?Ee:this.height-1-Ee,Fe=0;Fe<_e;Fe++)for(var Ye=this.datav.getUint8(this.pos++,!0),Ge=we*this.width*4+8*Fe*4,qe=0;qe<8&&8*Fe+qe<this.width;qe++){var Ke=this.palette[Ye>>7-qe&1];this.data[Ge+4*qe]=Ke.blue,this.data[Ge+4*qe+1]=Ke.green,this.data[Ge+4*qe+2]=Ke.red,this.data[Ge+4*qe+3]=255}Ce!=0&&(this.pos+=4-Ce)}},It.prototype.bit4=function(){for(var _e=Math.ceil(this.width/2),Ce=_e%4,Ee=this.height-1;0<=Ee;Ee--){for(var we=this.bottom_up?Ee:this.height-1-Ee,Fe=0;Fe<_e;Fe++){var Ye=this.datav.getUint8(this.pos++,!0),Ge=we*this.width*4+2*Fe*4,qe=Ye>>4,Ke=15&Ye,ct=this.palette[qe];if(this.data[Ge]=ct.blue,this.data[Ge+1]=ct.green,this.data[Ge+2]=ct.red,this.data[Ge+3]=255,2*Fe+1>=this.width)break;ct=this.palette[Ke],this.data[Ge+4]=ct.blue,this.data[Ge+4+1]=ct.green,this.data[Ge+4+2]=ct.red,this.data[Ge+4+3]=255}Ce!=0&&(this.pos+=4-Ce)}},It.prototype.bit8=function(){for(var _e=this.width%4,Ce=this.height-1;0<=Ce;Ce--){for(var Ee=this.bottom_up?Ce:this.height-1-Ce,we=0;we<this.width;we++){var Fe=this.datav.getUint8(this.pos++,!0),Ye=Ee*this.width*4+4*we;if(Fe<this.palette.length){var Ge=this.palette[Fe];this.data[Ye]=Ge.red,this.data[Ye+1]=Ge.green,this.data[Ye+2]=Ge.blue,this.data[Ye+3]=255}else this.data[Ye]=255,this.data[Ye+1]=255,this.data[Ye+2]=255,this.data[Ye+3]=255}_e!=0&&(this.pos+=4-_e)}},It.prototype.bit15=function(){for(var _e=this.width%3,Ce=parseInt("11111",2),Ee=this.height-1;0<=Ee;Ee--){for(var we=this.bottom_up?Ee:this.height-1-Ee,Fe=0;Fe<this.width;Fe++){var Ye=this.datav.getUint16(this.pos,!0);this.pos+=2;var Ge=(Ye&Ce)/Ce*255|0,qe=(Ye>>5&Ce)/Ce*255|0,Ke=(Ye>>10&Ce)/Ce*255|0,ct=Ye>>15?255:0,wt=we*this.width*4+4*Fe;this.data[wt]=Ke,this.data[wt+1]=qe,this.data[wt+2]=Ge,this.data[wt+3]=ct}this.pos+=_e}},It.prototype.bit16=function(){for(var _e=this.width%3,Ce=parseInt("11111",2),Ee=parseInt("111111",2),we=this.height-1;0<=we;we--){for(var Fe=this.bottom_up?we:this.height-1-we,Ye=0;Ye<this.width;Ye++){var Ge=this.datav.getUint16(this.pos,!0);this.pos+=2;var qe=(Ge&Ce)/Ce*255|0,Ke=(Ge>>5&Ee)/Ee*255|0,ct=(Ge>>11)/Ce*255|0,wt=Fe*this.width*4+4*Ye;this.data[wt]=ct,this.data[wt+1]=Ke,this.data[wt+2]=qe,this.data[wt+3]=255}this.pos+=_e}},It.prototype.bit24=function(){for(var _e=this.height-1;0<=_e;_e--){for(var Ce=this.bottom_up?_e:this.height-1-_e,Ee=0;Ee<this.width;Ee++){var we=this.datav.getUint8(this.pos++,!0),Fe=this.datav.getUint8(this.pos++,!0),Ye=this.datav.getUint8(this.pos++,!0),Ge=Ce*this.width*4+4*Ee;this.data[Ge]=Ye,this.data[Ge+1]=Fe,this.data[Ge+2]=we,this.data[Ge+3]=255}this.pos+=this.width%4}},It.prototype.bit32=function(){for(var _e=this.height-1;0<=_e;_e--)for(var Ce=this.bottom_up?_e:this.height-1-_e,Ee=0;Ee<this.width;Ee++){var we=this.datav.getUint8(this.pos++,!0),Fe=this.datav.getUint8(this.pos++,!0),Ye=this.datav.getUint8(this.pos++,!0),Ge=this.datav.getUint8(this.pos++,!0),qe=Ce*this.width*4+4*Ee;this.data[qe]=Ye,this.data[qe+1]=Fe,this.data[qe+2]=we,this.data[qe+3]=Ge}},It.prototype.getData=function(){return this.data},window.tmp=It,function(_e){var Ce=15,Ee=573,we=[0,1,2,3,4,4,5,5,6,6,6,6,7,7,7,7,8,8,8,8,8,8,8,8,9,9,9,9,9,9,9,9,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,0,0,16,17,18,18,19,19,20,20,20,20,21,21,21,21,22,22,22,22,22,22,22,22,23,23,23,23,23,23,23,23,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29];function Fe(){var xe=this;function $(se,Oe){for(var ke=0;ke|=1&se,se>>>=1,ke<<=1,0<--Oe;);return ke>>>1}xe.build_tree=function(se){var Oe,ke,Pe,rt=xe.dyn_tree,At=xe.stat_desc.static_tree,Wt=xe.stat_desc.elems,$t=-1;for(se.heap_len=0,se.heap_max=Ee,Oe=0;Oe<Wt;Oe++)rt[2*Oe]!==0?(se.heap[++se.heap_len]=$t=Oe,se.depth[Oe]=0):rt[2*Oe+1]=0;for(;se.heap_len<2;)rt[2*(Pe=se.heap[++se.heap_len]=$t<2?++$t:0)]=1,se.depth[Pe]=0,se.opt_len--,At&&(se.static_len-=At[2*Pe+1]);for(xe.max_code=$t,Oe=Math.floor(se.heap_len/2);1<=Oe;Oe--)se.pqdownheap(rt,Oe);for(Pe=Wt;Oe=se.heap[1],se.heap[1]=se.heap[se.heap_len--],se.pqdownheap(rt,1),ke=se.heap[1],se.heap[--se.heap_max]=Oe,se.heap[--se.heap_max]=ke,rt[2*Pe]=rt[2*Oe]+rt[2*ke],se.depth[Pe]=Math.max(se.depth[Oe],se.depth[ke])+1,rt[2*Oe+1]=rt[2*ke+1]=Pe,se.heap[1]=Pe++,se.pqdownheap(rt,1),2<=se.heap_len;);se.heap[--se.heap_max]=se.heap[1],function(Rt){var zt,Gt,Qt,Mt,dr,er,ht=xe.dyn_tree,Et=xe.stat_desc.static_tree,pt=xe.stat_desc.extra_bits,vt=xe.stat_desc.extra_base,Nt=xe.stat_desc.max_length,_t=0;for(Mt=0;Mt<=Ce;Mt++)Rt.bl_count[Mt]=0;for(ht[2*Rt.heap[Rt.heap_max]+1]=0,zt=Rt.heap_max+1;zt<Ee;zt++)Nt<(Mt=ht[2*ht[2*(Gt=Rt.heap[zt])+1]+1]+1)&&(Mt=Nt,_t++),ht[2*Gt+1]=Mt,Gt>xe.max_code||(Rt.bl_count[Mt]++,dr=0,vt<=Gt&&(dr=pt[Gt-vt]),er=ht[2*Gt],Rt.opt_len+=er*(Mt+dr),Et&&(Rt.static_len+=er*(Et[2*Gt+1]+dr)));if(_t!==0){do{for(Mt=Nt-1;Rt.bl_count[Mt]===0;)Mt--;Rt.bl_count[Mt]--,Rt.bl_count[Mt+1]+=2,Rt.bl_count[Nt]--,_t-=2}while(0<_t);for(Mt=Nt;Mt!==0;Mt--)for(Gt=Rt.bl_count[Mt];Gt!==0;)(Qt=Rt.heap[--zt])>xe.max_code||(ht[2*Qt+1]!=Mt&&(Rt.opt_len+=(Mt-ht[2*Qt+1])*ht[2*Qt],ht[2*Qt+1]=Mt),Gt--)}}(se),function(Rt,zt,Gt){var Qt,Mt,dr,er=[],ht=0;for(Qt=1;Qt<=Ce;Qt++)er[Qt]=ht=ht+Gt[Qt-1]<<1;for(Mt=0;Mt<=zt;Mt++)(dr=Rt[2*Mt+1])!==0&&(Rt[2*Mt]=$(er[dr]++,dr))}(rt,xe.max_code,se.bl_count)}}function Ye(xe,$,se,Oe,ke){this.static_tree=xe,this.extra_bits=$,this.extra_base=se,this.elems=Oe,this.max_length=ke}Fe._length_code=[0,1,2,3,4,5,6,7,8,8,9,9,10,10,11,11,12,12,12,12,13,13,13,13,14,14,14,14,15,15,15,15,16,16,16,16,16,16,16,16,17,17,17,17,17,17,17,17,18,18,18,18,18,18,18,18,19,19,19,19,19,19,19,19,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,28],Fe.base_length=[0,1,2,3,4,5,6,7,8,10,12,14,16,20,24,28,32,40,48,56,64,80,96,112,128,160,192,224,0],Fe.base_dist=[0,1,2,3,4,6,8,12,16,24,32,48,64,96,128,192,256,384,512,768,1024,1536,2048,3072,4096,6144,8192,12288,16384,24576],Fe.d_code=function(xe){return xe<256?we[xe]:we[256+(xe>>>7)]},Fe.extra_lbits=[0,0,0,0,0,0,0,0,1,1,1,1,2,2,2,2,3,3,3,3,4,4,4,4,5,5,5,5,0],Fe.extra_dbits=[0,0,0,0,1,1,2,2,3,3,4,4,5,5,6,6,7,7,8,8,9,9,10,10,11,11,12,12,13,13],Fe.extra_blbits=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,3,7],Fe.bl_order=[16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15],Ye.static_ltree=[12,8,140,8,76,8,204,8,44,8,172,8,108,8,236,8,28,8,156,8,92,8,220,8,60,8,188,8,124,8,252,8,2,8,130,8,66,8,194,8,34,8,162,8,98,8,226,8,18,8,146,8,82,8,210,8,50,8,178,8,114,8,242,8,10,8,138,8,74,8,202,8,42,8,170,8,106,8,234,8,26,8,154,8,90,8,218,8,58,8,186,8,122,8,250,8,6,8,134,8,70,8,198,8,38,8,166,8,102,8,230,8,22,8,150,8,86,8,214,8,54,8,182,8,118,8,246,8,14,8,142,8,78,8,206,8,46,8,174,8,110,8,238,8,30,8,158,8,94,8,222,8,62,8,190,8,126,8,254,8,1,8,129,8,65,8,193,8,33,8,161,8,97,8,225,8,17,8,145,8,81,8,209,8,49,8,177,8,113,8,241,8,9,8,137,8,73,8,201,8,41,8,169,8,105,8,233,8,25,8,153,8,89,8,217,8,57,8,185,8,121,8,249,8,5,8,133,8,69,8,197,8,37,8,165,8,101,8,229,8,21,8,149,8,85,8,213,8,53,8,181,8,117,8,245,8,13,8,141,8,77,8,205,8,45,8,173,8,109,8,237,8,29,8,157,8,93,8,221,8,61,8,189,8,125,8,253,8,19,9,275,9,147,9,403,9,83,9,339,9,211,9,467,9,51,9,307,9,179,9,435,9,115,9,371,9,243,9,499,9,11,9,267,9,139,9,395,9,75,9,331,9,203,9,459,9,43,9,299,9,171,9,427,9,107,9,363,9,235,9,491,9,27,9,283,9,155,9,411,9,91,9,347,9,219,9,475,9,59,9,315,9,187,9,443,9,123,9,379,9,251,9,507,9,7,9,263,9,135,9,391,9,71,9,327,9,199,9,455,9,39,9,295,9,167,9,423,9,103,9,359,9,231,9,487,9,23,9,279,9,151,9,407,9,87,9,343,9,215,9,471,9,55,9,311,9,183,9,439,9,119,9,375,9,247,9,503,9,15,9,271,9,143,9,399,9,79,9,335,9,207,9,463,9,47,9,303,9,175,9,431,9,111,9,367,9,239,9,495,9,31,9,287,9,159,9,415,9,95,9,351,9,223,9,479,9,63,9,319,9,191,9,447,9,127,9,383,9,255,9,511,9,0,7,64,7,32,7,96,7,16,7,80,7,48,7,112,7,8,7,72,7,40,7,104,7,24,7,88,7,56,7,120,7,4,7,68,7,36,7,100,7,20,7,84,7,52,7,116,7,3,8,131,8,67,8,195,8,35,8,163,8,99,8,227,8],Ye.static_dtree=[0,5,16,5,8,5,24,5,4,5,20,5,12,5,28,5,2,5,18,5,10,5,26,5,6,5,22,5,14,5,30,5,1,5,17,5,9,5,25,5,5,5,21,5,13,5,29,5,3,5,19,5,11,5,27,5,7,5,23,5],Ye.static_l_desc=new Ye(Ye.static_ltree,Fe.extra_lbits,257,286,Ce),Ye.static_d_desc=new Ye(Ye.static_dtree,Fe.extra_dbits,0,30,Ce),Ye.static_bl_desc=new Ye(null,Fe.extra_blbits,0,19,7);function Ge(xe,$,se,Oe,ke){this.good_length=xe,this.max_lazy=$,this.nice_length=se,this.max_chain=Oe,this.func=ke}var qe=[new Ge(0,0,0,0,0),new Ge(4,4,8,4,1),new Ge(4,5,16,8,1),new Ge(4,6,32,32,1),new Ge(4,4,16,16,2),new Ge(8,16,32,32,2),new Ge(8,16,128,128,2),new Ge(8,32,128,256,2),new Ge(32,128,258,1024,2),new Ge(32,258,258,4096,2)],Ke=["need dictionary","stream end","","","stream error","data error","","buffer error","",""];function ct(xe,$,se,Oe){var ke=xe[2*$],Pe=xe[2*se];return ke<Pe||ke==Pe&&Oe[$]<=Oe[se]}function wt(){var xe,$,se,Oe,ke,Pe,rt,At,Wt,$t,Rt,zt,Gt,Qt,Mt,dr,er,ht,Et,pt,vt,Nt,_t,gt,Ht,kt,ir,Xt,mr,Ar,Nr,kr,tn,qr,_r,Qr,Lr,ur,pr,cr,fr,xr=this,Yr=new Fe,un=new Fe,Nn=new Fe;function jr(){var mn;for(mn=0;mn<286;mn++)Nr[2*mn]=0;for(mn=0;mn<30;mn++)kr[2*mn]=0;for(mn=0;mn<19;mn++)tn[2*mn]=0;Nr[512]=1,xr.opt_len=xr.static_len=0,Qr=ur=0}function Tn(mn,On){var _n,Ln,jn=-1,ni=mn[1],di=0,Na=7,Qi=4;for(ni===0&&(Na=138,Qi=3),mn[2*(On+1)+1]=65535,_n=0;_n<=On;_n++)Ln=ni,ni=mn[2*(_n+1)+1],++di<Na&&Ln==ni||(di<Qi?tn[2*Ln]+=di:Ln!==0?(Ln!=jn&&tn[2*Ln]++,tn[32]++):di<=10?tn[34]++:tn[36]++,jn=Ln,Qi=(di=0)===ni?(Na=138,3):Ln==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 Kn(mn,On){var _n,Ln=On;16-Ln<fr?(Bn(cr|=(_n=mn)<<fr&65535),cr=_n>>>16-fr,fr+=Ln-16):(cr|=mn<<fr&65535,fr+=Ln)}function qn(mn,On){var _n=2*mn;Kn(65535&On[_n],65535&On[_n+1])}function Yn(mn,On){var _n,Ln,jn=-1,ni=mn[1],di=0,Na=7,Qi=4;for(ni===0&&(Na=138,Qi=3),_n=0;_n<=On;_n++)if(Ln=ni,ni=mn[2*(_n+1)+1],!(++di<Na&&Ln==ni)){if(di<Qi)for(;qn(Ln,tn),--di!=0;);else Ln!==0?(Ln!=jn&&(qn(Ln,tn),di--),qn(16,tn),Kn(di-3,2)):di<=10?(qn(17,tn),Kn(di-3,3)):(qn(18,tn),Kn(di-11,7));jn=Ln,Qi=(di=0)===ni?(Na=138,3):Ln==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,On){var _n,Ln,jn;if(xr.pending_buf[Lr+2*Qr]=mn>>>8&255,xr.pending_buf[Lr+2*Qr+1]=255&mn,xr.pending_buf[qr+Qr]=255&On,Qr++,mn===0?Nr[2*On]++:(ur++,mn--,Nr[2*(Fe._length_code[On]+256+1)]++,kr[2*Fe.d_code(mn)]++),(8191&Qr)==0&&2<ir){for(_n=8*Qr,Ln=vt-er,jn=0;jn<30;jn++)_n+=kr[2*jn]*(5+Fe.extra_dbits[jn]);if(_n>>>=3,ur<Math.floor(Qr/2)&&_n<Math.floor(Ln/2))return!0}return Qr==_r-1}function on(mn,On){var _n,Ln,jn,ni,di=0;if(Qr!==0)for(;_n=xr.pending_buf[Lr+2*di]<<8&65280|255&xr.pending_buf[Lr+2*di+1],Ln=255&xr.pending_buf[qr+di],di++,_n===0?qn(Ln,mn):(qn((jn=Fe._length_code[Ln])+256+1,mn),(ni=Fe.extra_lbits[jn])!==0&&Kn(Ln-=Fe.base_length[jn],ni),qn(jn=Fe.d_code(--_n),On),(ni=Fe.extra_dbits[jn])!==0&&Kn(_n-=Fe.base_dist[jn],ni)),di<Qr;);qn(256,mn),pr=mn[513]}function ia(){8<fr?Bn(cr):0<fr&&gn(255&cr),fr=cr=0}function xa(mn,On,_n){var Ln,jn,ni;Kn(0+(_n?1:0),3),Ln=mn,jn=On,ni=!0,ia(),pr=8,ni&&(Bn(jn),Bn(~jn)),xr.pending_buf.set(At.subarray(Ln,Ln+jn),xr.pending),xr.pending+=jn}function ta(mn,On,_n){var Ln,jn,ni=0;0<ir?(Yr.build_tree(xr),un.build_tree(xr),ni=function(){var di;for(Tn(Nr,Yr.max_code),Tn(kr,un.max_code),Nn.build_tree(xr),di=18;3<=di&&tn[2*Fe.bl_order[di]+1]===0;di--);return xr.opt_len+=3*(di+1)+5+5+4,di}(),Ln=xr.opt_len+3+7>>>3,(jn=xr.static_len+3+7>>>3)<=Ln&&(Ln=jn)):Ln=jn=On+5,On+4<=Ln&&mn!=-1?xa(mn,On,_n):jn==Ln?(Kn(2+(_n?1:0),3),on(Ye.static_ltree,Ye.static_dtree)):(Kn(4+(_n?1:0),3),function(di,Na,Qi){var ma;for(Kn(di-257,5),Kn(Na-1,5),Kn(Qi-4,4),ma=0;ma<Qi;ma++)Kn(tn[2*Fe.bl_order[ma]+1],3);Yn(Nr,di-1),Yn(kr,Na-1)}(Yr.max_code+1,un.max_code+1,ni+1),on(Nr,kr)),jr(),_n&&ia()}function Li(mn){ta(0<=er?er:-1,vt-er,mn),er=vt,xe.flush_pending()}function Ci(){var mn,On,_n,Ln;do{if((Ln=Wt-_t-vt)===0&&vt===0&&_t===0)Ln=ke;else if(Ln==-1)Ln--;else if(ke+ke-262<=vt){for(At.set(At.subarray(ke,ke+ke),0),Nt-=ke,vt-=ke,er-=ke,_n=mn=Gt;On=65535&Rt[--_n],Rt[_n]=ke<=On?On-ke:0,--mn!=0;);for(_n=mn=ke;On=65535&$t[--_n],$t[_n]=ke<=On?On-ke:0,--mn!=0;);Ln+=ke}if(xe.avail_in===0)return;mn=xe.read_buf(At,vt+_t,Ln),3<=(_t+=mn)&&(zt=((zt=255&At[vt])<<dr^255&At[vt+1])&Mt)}while(_t<262&&xe.avail_in!==0)}function Gn(mn){var On,_n,Ln=Ht,jn=vt,ni=gt,di=ke-262<vt?vt-(ke-262):0,Na=Ar,Qi=rt,ma=vt+258,Pa=At[jn+ni-1],Qa=At[jn+ni];mr<=gt&&(Ln>>=2),_t<Na&&(Na=_t);do if(At[(On=mn)+ni]==Qa&&At[On+ni-1]==Pa&&At[On]==At[jn]&&At[++On]==At[jn+1]){jn+=2,On++;do;while(At[++jn]==At[++On]&&At[++jn]==At[++On]&&At[++jn]==At[++On]&&At[++jn]==At[++On]&&At[++jn]==At[++On]&&At[++jn]==At[++On]&&At[++jn]==At[++On]&&At[++jn]==At[++On]&&jn<ma);if(_n=258-(ma-jn),jn=ma-258,ni<_n){if(Nt=mn,Na<=(ni=_n))break;Pa=At[jn+ni-1],Qa=At[jn+ni]}}while((mn=65535&$t[mn&Qi])>di&&--Ln!=0);return ni<=_t?ni:_t}function Oa(mn){return mn.total_in=mn.total_out=0,mn.msg=null,xr.pending=0,xr.pending_out=0,$=113,Oe=0,Yr.dyn_tree=Nr,Yr.stat_desc=Ye.static_l_desc,un.dyn_tree=kr,un.stat_desc=Ye.static_d_desc,Nn.dyn_tree=tn,Nn.stat_desc=Ye.static_bl_desc,fr=cr=0,pr=8,jr(),function(){var On;for(Wt=2*ke,On=Rt[Gt-1]=0;On<Gt-1;On++)Rt[On]=0;kt=qe[ir].max_lazy,mr=qe[ir].good_length,Ar=qe[ir].nice_length,Ht=qe[ir].max_chain,ht=gt=2,zt=pt=_t=er=vt=0}(),0}xr.depth=[],xr.bl_count=[],xr.heap=[],Nr=[],kr=[],tn=[],xr.pqdownheap=function(mn,On){for(var _n=xr.heap,Ln=_n[On],jn=On<<1;jn<=xr.heap_len&&(jn<xr.heap_len&&ct(mn,_n[jn+1],_n[jn],xr.depth)&&jn++,!ct(mn,Ln,_n[jn],xr.depth));)_n[On]=_n[jn],On=jn,jn<<=1;_n[On]=Ln},xr.deflateInit=function(mn,On,_n,Ln,jn,ni){return Ln||(Ln=8),jn||(jn=8),ni||(ni=0),mn.msg=null,On==-1&&(On=6),jn<1||9<jn||Ln!=8||_n<9||15<_n||On<0||9<On||ni<0||2<ni?-2:(mn.dstate=xr,rt=(ke=1<<(Pe=_n))-1,Mt=(Gt=1<<(Qt=jn+7))-1,dr=Math.floor((Qt+3-1)/3),At=new Uint8Array(2*ke),$t=[],Rt=[],_r=1<<jn+6,xr.pending_buf=new Uint8Array(4*_r),se=4*_r,Lr=Math.floor(_r/2),qr=3*_r,ir=On,Xt=ni,Oa(mn))},xr.deflateEnd=function(){return $!=42&&$!=113&&$!=666?-2:(xr.pending_buf=null,At=$t=Rt=null,xr.dstate=null,$==113?-3:0)},xr.deflateParams=function(mn,On,_n){var Ln=0;return On==-1&&(On=6),On<0||9<On||_n<0||2<_n?-2:(qe[ir].func!=qe[On].func&&mn.total_in!==0&&(Ln=mn.deflate(1)),ir!=On&&(kt=qe[ir=On].max_lazy,mr=qe[ir].good_length,Ar=qe[ir].nice_length,Ht=qe[ir].max_chain),Xt=_n,Ln)},xr.deflateSetDictionary=function(mn,On,_n){var Ln,jn=_n,ni=0;if(!On||$!=42)return-2;if(jn<3)return 0;for(ke-262<jn&&(ni=_n-(jn=ke-262)),At.set(On.subarray(ni,ni+jn),0),er=vt=jn,zt=((zt=255&At[0])<<dr^255&At[1])&Mt,Ln=0;Ln<=jn-3;Ln++)zt=(zt<<dr^255&At[Ln+2])&Mt,$t[Ln&rt]=Rt[zt],Rt[zt]=Ln;return 0},xr.deflate=function(mn,On){var _n,Ln,jn,ni,di,Na;if(4<On||On<0)return-2;if(!mn.next_out||!mn.next_in&&mn.avail_in!==0||$==666&&On!=4)return mn.msg=Ke[4],-2;if(mn.avail_out===0)return mn.msg=Ke[7],-5;if(xe=mn,ni=Oe,Oe=On,$==42&&(Ln=8+(Pe-8<<4)<<8,3<(jn=(ir-1&255)>>1)&&(jn=3),Ln|=jn<<6,vt!==0&&(Ln|=32),$=113,gn((Na=Ln+=31-Ln%31)>>8&255),gn(255&Na)),xr.pending!==0){if(xe.flush_pending(),xe.avail_out===0)return Oe=-1,0}else if(xe.avail_in===0&&On<=ni&&On!=4)return xe.msg=Ke[7],-5;if($==666&&xe.avail_in!==0)return mn.msg=Ke[7],-5;if(xe.avail_in!==0||_t!==0||On!=0&&$!=666){switch(di=-1,qe[ir].func){case 0:di=function(Qi){var ma,Pa=65535;for(se-5<Pa&&(Pa=se-5);;){if(_t<=1){if(Ci(),_t===0&&Qi==0)return 0;if(_t===0)break}if(vt+=_t,ma=er+Pa,((_t=0)===vt||ma<=vt)&&(_t=vt-ma,vt=ma,Li(!1),xe.avail_out===0))return 0;if(ke-262<=vt-er&&(Li(!1),xe.avail_out===0))return 0}return Li(Qi==4),xe.avail_out===0?Qi==4?2:0:Qi==4?3:1}(On);break;case 1:di=function(Qi){for(var ma,Pa=0;;){if(_t<262){if(Ci(),_t<262&&Qi==0)return 0;if(_t===0)break}if(3<=_t&&(zt=(zt<<dr^255&At[vt+2])&Mt,Pa=65535&Rt[zt],$t[vt&rt]=Rt[zt],Rt[zt]=vt),Pa!==0&&(vt-Pa&65535)<=ke-262&&Xt!=2&&(ht=Gn(Pa)),3<=ht)if(ma=An(vt-Nt,ht-3),_t-=ht,ht<=kt&&3<=_t){for(ht--;zt=(zt<<dr^255&At[++vt+2])&Mt,Pa=65535&Rt[zt],$t[vt&rt]=Rt[zt],Rt[zt]=vt,--ht!=0;);vt++}else vt+=ht,ht=0,zt=((zt=255&At[vt])<<dr^255&At[vt+1])&Mt;else ma=An(0,255&At[vt]),_t--,vt++;if(ma&&(Li(!1),xe.avail_out===0))return 0}return Li(Qi==4),xe.avail_out===0?Qi==4?2:0:Qi==4?3:1}(On);break;case 2:di=function(Qi){for(var ma,Pa,Qa=0;;){if(_t<262){if(Ci(),_t<262&&Qi==0)return 0;if(_t===0)break}if(3<=_t&&(zt=(zt<<dr^255&At[vt+2])&Mt,Qa=65535&Rt[zt],$t[vt&rt]=Rt[zt],Rt[zt]=vt),gt=ht,Et=Nt,ht=2,Qa!==0&><kt&&(vt-Qa&65535)<=ke-262&&(Xt!=2&&(ht=Gn(Qa)),ht<=5&&(Xt==1||ht==3&&4096<vt-Nt)&&(ht=2)),3<=gt&&ht<=gt){for(Pa=vt+_t-3,ma=An(vt-1-Et,gt-3),_t-=gt-1,gt-=2;++vt<=Pa&&(zt=(zt<<dr^255&At[vt+2])&Mt,Qa=65535&Rt[zt],$t[vt&rt]=Rt[zt],Rt[zt]=vt),--gt!=0;);if(pt=0,ht=2,vt++,ma&&(Li(!1),xe.avail_out===0))return 0}else if(pt!==0){if((ma=An(0,255&At[vt-1]))&&Li(!1),vt++,_t--,xe.avail_out===0)return 0}else pt=1,vt++,_t--}return pt!==0&&(ma=An(0,255&At[vt-1]),pt=0),Li(Qi==4),xe.avail_out===0?Qi==4?2:0:Qi==4?3:1}(On)}if(di!=2&&di!=3||($=666),di==0||di==2)return xe.avail_out===0&&(Oe=-1),0;if(di==1){if(On==1)Kn(2,3),qn(256,Ye.static_ltree),Vn(),1+pr+10-fr<9&&(Kn(2,3),qn(256,Ye.static_ltree),Vn()),pr=7;else if(xa(0,0,!1),On==3)for(_n=0;_n<Gt;_n++)Rt[_n]=0;if(xe.flush_pending(),xe.avail_out===0)return Oe=-1,0}}return On!=4?0:1}}function Lt(){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}Lt.prototype={deflateInit:function($,se){return this.dstate=new wt,se||(se=Ce),this.dstate.deflateInit(this,$,se)},deflate:function($){return this.dstate?this.dstate.deflate(this,$):-2},deflateEnd:function(){if(!this.dstate)return-2;var $=this.dstate.deflateEnd();return this.dstate=null,$},deflateParams:function($,se){return this.dstate?this.dstate.deflateParams(this,$,se):-2},deflateSetDictionary:function($,se){return this.dstate?this.dstate.deflateSetDictionary(this,$,se):-2},read_buf:function($,se,Oe){var ke=this.avail_in;return Oe<ke&&(ke=Oe),ke===0?0:(this.avail_in-=ke,$.set(this.next_in.subarray(this.next_in_index,this.next_in_index+ke),se),this.next_in_index+=ke,this.total_in+=ke,ke)},flush_pending:function(){var $=this,se=$.dstate.pending;se>$.avail_out&&(se=$.avail_out),se!==0&&($.next_out.set($.dstate.pending_buf.subarray($.dstate.pending_out,$.dstate.pending_out+se),$.next_out_index),$.next_out_index+=se,$.dstate.pending_out+=se,$.total_out+=se,$.avail_out-=se,$.dstate.pending-=se,$.dstate.pending===0&&($.dstate.pending_out=0))}};var de=_e.zip||_e;de.Deflater=de._jzlib_Deflater=function(xe){var $=new Lt,se=new Uint8Array(512),Oe=xe?xe.level:-1;Oe===void 0&&(Oe=-1),$.deflateInit(Oe),$.next_out=se,this.append=function(ke,Pe){var rt,At=[],Wt=0,$t=0,Rt=0;if(ke.length){$.next_in_index=0,$.next_in=ke,$.avail_in=ke.length;do{if($.next_out_index=0,$.avail_out=512,$.deflate(0)!=0)throw new Error("deflating: "+$.msg);$.next_out_index&&($.next_out_index==512?At.push(new Uint8Array(se)):At.push(new Uint8Array(se.subarray(0,$.next_out_index)))),Rt+=$.next_out_index,Pe&&0<$.next_in_index&&$.next_in_index!=Wt&&(Pe($.next_in_index),Wt=$.next_in_index)}while(0<$.avail_in||$.avail_out===0);return rt=new Uint8Array(Rt),At.forEach(function(zt){rt.set(zt,$t),$t+=zt.length}),rt}},this.flush=function(){var ke,Pe,rt=[],At=0,Wt=0;do{if($.next_out_index=0,$.avail_out=512,(ke=$.deflate(4))!=1&&ke!=0)throw new Error("deflating: "+$.msg);0<512-$.avail_out&&rt.push(new Uint8Array(se.subarray(0,$.next_out_index))),Wt+=$.next_out_index}while(0<$.avail_in||$.avail_out===0);return $.deflateEnd(),Pe=new Uint8Array(Wt),rt.forEach(function($t){Pe.set($t,At),At+=$t.length}),Pe}}}(typeof self!="undefined"&&self||typeof window!="undefined"&&window||typeof g!="undefined"&&g||Function('return typeof this === "object" && this.content')()||Function("return this")()),(typeof self!="undefined"&&self||typeof window!="undefined"&&window||typeof g!="undefined"&&g||Function('return typeof this === "object" && this.content')()||Function("return this")()).RGBColor=function(_e){var Ce;_e=_e||"",this.ok=!1,_e.charAt(0)=="#"&&(_e=_e.substr(1,6)),_e=(_e=_e.replace(/ /g,"")).toLowerCase();var Ee={aliceblue:"f0f8ff",antiquewhite:"faebd7",aqua:"00ffff",aquamarine:"7fffd4",azure:"f0ffff",beige:"f5f5dc",bisque:"ffe4c4",black:"000000",blanchedalmond:"ffebcd",blue:"0000ff",blueviolet:"8a2be2",brown:"a52a2a",burlywood:"deb887",cadetblue:"5f9ea0",chartreuse:"7fff00",chocolate:"d2691e",coral:"ff7f50",cornflowerblue:"6495ed",cornsilk:"fff8dc",crimson:"dc143c",cyan:"00ffff",darkblue:"00008b",darkcyan:"008b8b",darkgoldenrod:"b8860b",darkgray:"a9a9a9",darkgreen:"006400",darkkhaki:"bdb76b",darkmagenta:"8b008b",darkolivegreen:"556b2f",darkorange:"ff8c00",darkorchid:"9932cc",darkred:"8b0000",darksalmon:"e9967a",darkseagreen:"8fbc8f",darkslateblue:"483d8b",darkslategray:"2f4f4f",darkturquoise:"00ced1",darkviolet:"9400d3",deeppink:"ff1493",deepskyblue:"00bfff",dimgray:"696969",dodgerblue:"1e90ff",feldspar:"d19275",firebrick:"b22222",floralwhite:"fffaf0",forestgreen:"228b22",fuchsia:"ff00ff",gainsboro:"dcdcdc",ghostwhite:"f8f8ff",gold:"ffd700",goldenrod:"daa520",gray:"808080",green:"008000",greenyellow:"adff2f",honeydew:"f0fff0",hotpink:"ff69b4",indianred:"cd5c5c",indigo:"4b0082",ivory:"fffff0",khaki:"f0e68c",lavender:"e6e6fa",lavenderblush:"fff0f5",lawngreen:"7cfc00",lemonchiffon:"fffacd",lightblue:"add8e6",lightcoral:"f08080",lightcyan:"e0ffff",lightgoldenrodyellow:"fafad2",lightgrey:"d3d3d3",lightgreen:"90ee90",lightpink:"ffb6c1",lightsalmon:"ffa07a",lightseagreen:"20b2aa",lightskyblue:"87cefa",lightslateblue:"8470ff",lightslategray:"778899",lightsteelblue:"b0c4de",lightyellow:"ffffe0",lime:"00ff00",limegreen:"32cd32",linen:"faf0e6",magenta:"ff00ff",maroon:"800000",mediumaquamarine:"66cdaa",mediumblue:"0000cd",mediumorchid:"ba55d3",mediumpurple:"9370d8",mediumseagreen:"3cb371",mediumslateblue:"7b68ee",mediumspringgreen:"00fa9a",mediumturquoise:"48d1cc",mediumvioletred:"c71585",midnightblue:"191970",mintcream:"f5fffa",mistyrose:"ffe4e1",moccasin:"ffe4b5",navajowhite:"ffdead",navy:"000080",oldlace:"fdf5e6",olive:"808000",olivedrab:"6b8e23",orange:"ffa500",orangered:"ff4500",orchid:"da70d6",palegoldenrod:"eee8aa",palegreen:"98fb98",paleturquoise:"afeeee",palevioletred:"d87093",papayawhip:"ffefd5",peachpuff:"ffdab9",peru:"cd853f",pink:"ffc0cb",plum:"dda0dd",powderblue:"b0e0e6",purple:"800080",red:"ff0000",rosybrown:"bc8f8f",royalblue:"4169e1",saddlebrown:"8b4513",salmon:"fa8072",sandybrown:"f4a460",seagreen:"2e8b57",seashell:"fff5ee",sienna:"a0522d",silver:"c0c0c0",skyblue:"87ceeb",slateblue:"6a5acd",slategray:"708090",snow:"fffafa",springgreen:"00ff7f",steelblue:"4682b4",tan:"d2b48c",teal:"008080",thistle:"d8bfd8",tomato:"ff6347",turquoise:"40e0d0",violet:"ee82ee",violetred:"d02090",wheat:"f5deb3",white:"ffffff",whitesmoke:"f5f5f5",yellow:"ffff00",yellowgreen:"9acd32"};for(var we in Ee)_e==we&&(_e=Ee[we]);for(var Fe=[{re:/^rgb\((\d{1,3}),\s*(\d{1,3}),\s*(\d{1,3})\)$/,example:["rgb(123, 234, 45)","rgb(255,234,245)"],process:function(wt){return[parseInt(wt[1]),parseInt(wt[2]),parseInt(wt[3])]}},{re:/^(\w{2})(\w{2})(\w{2})$/,example:["#00ff00","336699"],process:function(wt){return[parseInt(wt[1],16),parseInt(wt[2],16),parseInt(wt[3],16)]}},{re:/^(\w{1})(\w{1})(\w{1})$/,example:["#fb0","f0f"],process:function(wt){return[parseInt(wt[1]+wt[1],16),parseInt(wt[2]+wt[2],16),parseInt(wt[3]+wt[3],16)]}}],Ye=0;Ye<Fe.length;Ye++){var Ge=Fe[Ye].re,qe=Fe[Ye].process,Ke=Ge.exec(_e);Ke&&(Ce=qe(Ke),this.r=Ce[0],this.g=Ce[1],this.b=Ce[2],this.ok=!0)}this.r=this.r<0||isNaN(this.r)?0:255<this.r?255:this.r,this.g=this.g<0||isNaN(this.g)?0:255<this.g?255:this.g,this.b=this.b<0||isNaN(this.b)?0:255<this.b?255:this.b,this.toRGB=function(){return"rgb("+this.r+", "+this.g+", "+this.b+")"},this.toHex=function(){var ct=this.r.toString(16),wt=this.g.toString(16),Lt=this.b.toString(16);return ct.length==1&&(ct="0"+ct),wt.length==1&&(wt="0"+wt),Lt.length==1&&(Lt="0"+Lt),"#"+ct+wt+Lt}},function(_e){var Ce="+".charCodeAt(0),Ee="/".charCodeAt(0),we="0".charCodeAt(0),Fe="a".charCodeAt(0),Ye="A".charCodeAt(0),Ge="-".charCodeAt(0),qe="_".charCodeAt(0),Ke=function(Et){var pt=Et.charCodeAt(0);return pt===Ce||pt===Ge?62:pt===Ee||pt===qe?63:pt<we?-1:pt<we+10?pt-we+26+26:pt<Ye+26?pt-Ye:pt<Fe+26?pt-Fe+26:void 0};_e.API.TTFFont=function(){function ht(Et,pt,vt){var Nt;if(this.rawData=Et,Nt=this.contents=new wt(Et),this.contents.pos=4,Nt.readString(4)==="ttcf")throw pt?new Error("Font "+pt+" not found in TTC file."):new Error("Must specify a font name for TTC files.");Nt.pos=0,this.parse(),this.subset=new er(this),this.registerTTF()}return ht.open=function(Et,pt,vt,Nt){if(typeof vt!="string")throw new Error("Invalid argument supplied in TTFFont.open");return new ht(function(_t){var gt,Ht,kt,ir,Xt,mr;if(0<_t.length%4)throw new Error("Invalid string. Length must be a multiple of 4");var Ar=_t.length;Xt=_t.charAt(Ar-2)==="="?2:_t.charAt(Ar-1)==="="?1:0,mr=new Uint8Array(3*_t.length/4-Xt),kt=0<Xt?_t.length-4:_t.length;var Nr=0;function kr(tn){mr[Nr++]=tn}for(Ht=gt=0;gt<kt;gt+=4,Ht+=3)kr((16711680&(ir=Ke(_t.charAt(gt))<<18|Ke(_t.charAt(gt+1))<<12|Ke(_t.charAt(gt+2))<<6|Ke(_t.charAt(gt+3))))>>16),kr((65280&ir)>>8),kr(255&ir);return Xt===2?kr(255&(ir=Ke(_t.charAt(gt))<<2|Ke(_t.charAt(gt+1))>>4)):Xt===1&&(kr((ir=Ke(_t.charAt(gt))<<10|Ke(_t.charAt(gt+1))<<4|Ke(_t.charAt(gt+2))>>2)>>8&255),kr(255&ir)),mr}(vt),pt,Nt)},ht.prototype.parse=function(){return this.directory=new Lt(this.contents),this.head=new $(this),this.name=new Wt(this),this.cmap=new Oe(this),this.toUnicode=new Map,this.hhea=new ke(this),this.maxp=new $t(this),this.hmtx=new Rt(this),this.post=new rt(this),this.os2=new Pe(this),this.loca=new dr(this),this.glyf=new Gt(this),this.ascender=this.os2.exists&&this.os2.ascender||this.hhea.ascender,this.decender=this.os2.exists&&this.os2.decender||this.hhea.decender,this.lineGap=this.os2.exists&&this.os2.lineGap||this.hhea.lineGap,this.bbox=[this.head.xMin,this.head.yMin,this.head.xMax,this.head.yMax]},ht.prototype.registerTTF=function(){var Et,pt,vt,Nt,_t;if(this.scaleFactor=1e3/this.head.unitsPerEm,this.bbox=function(){var gt,Ht,kt,ir;for(ir=[],gt=0,Ht=(kt=this.bbox).length;gt<Ht;gt++)Et=kt[gt],ir.push(Math.round(Et*this.scaleFactor));return ir}.call(this),this.stemV=0,this.post.exists?(vt=255&(Nt=this.post.italic_angle),!0&(pt=Nt>>16)&&(pt=-(1+(65535^pt))),this.italicAngle=+(pt+"."+vt)):this.italicAngle=0,this.ascender=Math.round(this.ascender*this.scaleFactor),this.decender=Math.round(this.decender*this.scaleFactor),this.lineGap=Math.round(this.lineGap*this.scaleFactor),this.capHeight=this.os2.exists&&this.os2.capHeight||this.ascender,this.xHeight=this.os2.exists&&this.os2.xHeight||0,this.familyClass=(this.os2.exists&&this.os2.familyClass||0)>>8,this.isSerif=(_t=this.familyClass)===1||_t===2||_t===3||_t===4||_t===5||_t===7,this.isScript=this.familyClass===10,this.flags=0,this.post.isFixedPitch&&(this.flags|=1),this.isSerif&&(this.flags|=2),this.isScript&&(this.flags|=8),this.italicAngle!==0&&(this.flags|=64),this.flags|=32,!this.cmap.unicode)throw new Error("No unicode cmap for font")},ht.prototype.characterToGlyph=function(Et){var pt;return((pt=this.cmap.unicode)!=null?pt.codeMap[Et]:void 0)||0},ht.prototype.widthOfGlyph=function(Et){var pt;return pt=1e3/this.head.unitsPerEm,this.hmtx.forGlyph(Et).advance*pt},ht.prototype.widthOfString=function(Et,pt,vt){var Nt,_t,gt,Ht,kt;for(_t=Ht=gt=0,kt=(Et=""+Et).length;0<=kt?Ht<kt:kt<Ht;_t=0<=kt?++Ht:--Ht)Nt=Et.charCodeAt(_t),gt+=this.widthOfGlyph(this.characterToGlyph(Nt))+vt*(1e3/pt)||0;return gt*(pt/1e3)},ht.prototype.lineHeight=function(Et,pt){var vt;return pt==null&&(pt=!1),vt=pt?this.lineGap:0,(this.ascender+vt-this.decender)/1e3*Et},ht}();var ct,wt=function(){function ht(Et){this.data=Et!=null?Et:[],this.pos=0,this.length=this.data.length}return ht.prototype.readByte=function(){return this.data[this.pos++]},ht.prototype.writeByte=function(Et){return this.data[this.pos++]=Et},ht.prototype.readUInt32=function(){return 16777216*this.readByte()+(this.readByte()<<16)+(this.readByte()<<8)+this.readByte()},ht.prototype.writeUInt32=function(Et){return this.writeByte(Et>>>24&255),this.writeByte(Et>>16&255),this.writeByte(Et>>8&255),this.writeByte(255&Et)},ht.prototype.readInt32=function(){var Et;return 2147483648<=(Et=this.readUInt32())?Et-4294967296:Et},ht.prototype.writeInt32=function(Et){return Et<0&&(Et+=4294967296),this.writeUInt32(Et)},ht.prototype.readUInt16=function(){return this.readByte()<<8|this.readByte()},ht.prototype.writeUInt16=function(Et){return this.writeByte(Et>>8&255),this.writeByte(255&Et)},ht.prototype.readInt16=function(){var Et;return 32768<=(Et=this.readUInt16())?Et-65536:Et},ht.prototype.writeInt16=function(Et){return Et<0&&(Et+=65536),this.writeUInt16(Et)},ht.prototype.readString=function(Et){var pt,vt,Nt;for(vt=[],pt=Nt=0;0<=Et?Nt<Et:Et<Nt;pt=0<=Et?++Nt:--Nt)vt[pt]=String.fromCharCode(this.readByte());return vt.join("")},ht.prototype.writeString=function(Et){var pt,vt,Nt,_t;for(_t=[],pt=vt=0,Nt=Et.length;0<=Nt?vt<Nt:Nt<vt;pt=0<=Nt?++vt:--vt)_t.push(this.writeByte(Et.charCodeAt(pt)));return _t},ht.prototype.readShort=function(){return this.readInt16()},ht.prototype.writeShort=function(Et){return this.writeInt16(Et)},ht.prototype.readLongLong=function(){var Et,pt,vt,Nt,_t,gt,Ht,kt;return Et=this.readByte(),pt=this.readByte(),vt=this.readByte(),Nt=this.readByte(),_t=this.readByte(),gt=this.readByte(),Ht=this.readByte(),kt=this.readByte(),128&Et?-1*(72057594037927940*(255^Et)+281474976710656*(255^pt)+1099511627776*(255^vt)+4294967296*(255^Nt)+16777216*(255^_t)+65536*(255^gt)+256*(255^Ht)+(255^kt)+1):72057594037927940*Et+281474976710656*pt+1099511627776*vt+4294967296*Nt+16777216*_t+65536*gt+256*Ht+kt},ht.prototype.writeLongLong=function(Et){var pt,vt;return pt=Math.floor(Et/4294967296),vt=4294967295&Et,this.writeByte(pt>>24&255),this.writeByte(pt>>16&255),this.writeByte(pt>>8&255),this.writeByte(255&pt),this.writeByte(vt>>24&255),this.writeByte(vt>>16&255),this.writeByte(vt>>8&255),this.writeByte(255&vt)},ht.prototype.readInt=function(){return this.readInt32()},ht.prototype.writeInt=function(Et){return this.writeInt32(Et)},ht.prototype.read=function(Et){var pt,vt;for(pt=[],vt=0;0<=Et?vt<Et:Et<vt;0<=Et?++vt:--vt)pt.push(this.readByte());return pt},ht.prototype.write=function(Et){var pt,vt,Nt,_t;for(_t=[],vt=0,Nt=Et.length;vt<Nt;vt++)pt=Et[vt],_t.push(this.writeByte(pt));return _t},ht}(),Lt=function(){var ht;function Et(pt){var vt,Nt,_t;for(this.scalarType=pt.readInt(),this.tableCount=pt.readShort(),this.searchRange=pt.readShort(),this.entrySelector=pt.readShort(),this.rangeShift=pt.readShort(),this.tables={},Nt=0,_t=this.tableCount;0<=_t?Nt<_t:_t<Nt;0<=_t?++Nt:--Nt)vt={tag:pt.readString(4),checksum:pt.readInt(),offset:pt.readInt(),length:pt.readInt()},this.tables[vt.tag]=vt}return Et.prototype.encode=function(pt){var vt,Nt,_t,gt,Ht,kt,ir,Xt,mr,Ar,Nr,kr,tn;for(tn in Nr=Object.keys(pt).length,kt=Math.log(2),mr=16*Math.floor(Math.log(Nr)/kt),gt=Math.floor(mr/kt),Xt=16*Nr-mr,(Nt=new wt).writeInt(this.scalarType),Nt.writeShort(Nr),Nt.writeShort(mr),Nt.writeShort(gt),Nt.writeShort(Xt),_t=16*Nr,ir=Nt.pos+_t,Ht=null,kr=[],pt)for(Ar=pt[tn],Nt.writeString(tn),Nt.writeInt(ht(Ar)),Nt.writeInt(ir),Nt.writeInt(Ar.length),kr=kr.concat(Ar),tn==="head"&&(Ht=ir),ir+=Ar.length;ir%4;)kr.push(0),ir++;return Nt.write(kr),vt=2981146554-ht(Nt.data),Nt.pos=Ht+8,Nt.writeUInt32(vt),Nt.data},ht=function(vt){var Nt,_t,gt,Ht;for(vt=zt.call(vt);vt.length%4;)vt.push(0);for(_t=new wt(vt),gt=Nt=0,Ht=vt.length;gt<Ht;gt+=4)Nt+=_t.readUInt32();return 4294967295&Nt},Et}(),de={}.hasOwnProperty,xe=function(Et,pt){for(var vt in pt)de.call(pt,vt)&&(Et[vt]=pt[vt]);function Nt(){this.constructor=Et}return Nt.prototype=pt.prototype,Et.prototype=new Nt,Et.__super__=pt.prototype,Et};ct=function(){function ht(Et){var pt;this.file=Et,pt=this.file.directory.tables[this.tag],this.exists=!!pt,pt&&(this.offset=pt.offset,this.length=pt.length,this.parse(this.file.contents))}return ht.prototype.parse=function(){},ht.prototype.encode=function(){},ht.prototype.raw=function(){return this.exists?(this.file.contents.pos=this.offset,this.file.contents.read(this.length)):null},ht}();var $=function(ht){function Et(){return Et.__super__.constructor.apply(this,arguments)}return xe(Et,ct),Et.prototype.tag="head",Et.prototype.parse=function(pt){return pt.pos=this.offset,this.version=pt.readInt(),this.revision=pt.readInt(),this.checkSumAdjustment=pt.readInt(),this.magicNumber=pt.readInt(),this.flags=pt.readShort(),this.unitsPerEm=pt.readShort(),this.created=pt.readLongLong(),this.modified=pt.readLongLong(),this.xMin=pt.readShort(),this.yMin=pt.readShort(),this.xMax=pt.readShort(),this.yMax=pt.readShort(),this.macStyle=pt.readShort(),this.lowestRecPPEM=pt.readShort(),this.fontDirectionHint=pt.readShort(),this.indexToLocFormat=pt.readShort(),this.glyphDataFormat=pt.readShort()},Et.prototype.encode=function(pt){var vt;return(vt=new wt).writeInt(this.version),vt.writeInt(this.revision),vt.writeInt(this.checkSumAdjustment),vt.writeInt(this.magicNumber),vt.writeShort(this.flags),vt.writeShort(this.unitsPerEm),vt.writeLongLong(this.created),vt.writeLongLong(this.modified),vt.writeShort(this.xMin),vt.writeShort(this.yMin),vt.writeShort(this.xMax),vt.writeShort(this.yMax),vt.writeShort(this.macStyle),vt.writeShort(this.lowestRecPPEM),vt.writeShort(this.fontDirectionHint),vt.writeShort(pt),vt.writeShort(this.glyphDataFormat),vt.data},Et}(),se=function(){function ht(Et,pt){var vt,Nt,_t,gt,Ht,kt,ir,Xt,mr,Ar,Nr,kr,tn,qr,_r,Qr,Lr,ur;switch(this.platformID=Et.readUInt16(),this.encodingID=Et.readShort(),this.offset=pt+Et.readInt(),mr=Et.pos,Et.pos=this.offset,this.format=Et.readUInt16(),this.length=Et.readUInt16(),this.language=Et.readUInt16(),this.isUnicode=this.platformID===3&&this.encodingID===1&&this.format===4||this.platformID===0&&this.format===4,this.codeMap={},this.format){case 0:for(kt=_r=0;_r<256;kt=++_r)this.codeMap[kt]=Et.readByte();break;case 4:for(Nr=Et.readUInt16(),Ar=Nr/2,Et.pos+=6,_t=function(){var pr,cr;for(cr=[],kt=pr=0;0<=Ar?pr<Ar:Ar<pr;kt=0<=Ar?++pr:--pr)cr.push(Et.readUInt16());return cr}(),Et.pos+=2,tn=function(){var pr,cr;for(cr=[],kt=pr=0;0<=Ar?pr<Ar:Ar<pr;kt=0<=Ar?++pr:--pr)cr.push(Et.readUInt16());return cr}(),ir=function(){var pr,cr;for(cr=[],kt=pr=0;0<=Ar?pr<Ar:Ar<pr;kt=0<=Ar?++pr:--pr)cr.push(Et.readUInt16());return cr}(),Xt=function(){var pr,cr;for(cr=[],kt=pr=0;0<=Ar?pr<Ar:Ar<pr;kt=0<=Ar?++pr:--pr)cr.push(Et.readUInt16());return cr}(),Nt=(this.length-Et.pos+this.offset)/2,Ht=function(){var pr,cr;for(cr=[],kt=pr=0;0<=Nt?pr<Nt:Nt<pr;kt=0<=Nt?++pr:--pr)cr.push(Et.readUInt16());return cr}(),kt=Qr=0,ur=_t.length;Qr<ur;kt=++Qr)for(qr=_t[kt],vt=Lr=kr=tn[kt];kr<=qr?Lr<=qr:qr<=Lr;vt=kr<=qr?++Lr:--Lr)Xt[kt]===0?gt=vt+ir[kt]:(gt=Ht[Xt[kt]/2+(vt-kr)-(Ar-kt)]||0)!==0&&(gt+=ir[kt]),this.codeMap[vt]=65535>}Et.pos=mr}return ht.encode=function(Et,pt){var vt,Nt,_t,gt,Ht,kt,ir,Xt,mr,Ar,Nr,kr,tn,qr,_r,Qr,Lr,ur,pr,cr,fr,xr,Yr,un,Nn,jr,Tn,gn,Bn,Kn,qn,Yn,Vn,An,on,ia,xa,ta,Li,Ci,Gn,Oa,mn,On,_n,Ln;switch(gn=new wt,gt=Object.keys(Et).sort(function(jn,ni){return jn-ni}),pt){case"macroman":for(tn=0,qr=function(){var jn,ni;for(ni=[],kr=jn=0;jn<256;kr=++jn)ni.push(0);return ni}(),Qr={0:0},_t={},Bn=0,Vn=gt.length;Bn<Vn;Bn++)Qr[mn=Et[Nt=gt[Bn]]]==null&&(Qr[mn]=++tn),_t[Nt]={old:Et[Nt],new:Qr[Et[Nt]]},qr[Nt]=Qr[Et[Nt]];return gn.writeUInt16(1),gn.writeUInt16(0),gn.writeUInt32(12),gn.writeUInt16(0),gn.writeUInt16(262),gn.writeUInt16(0),gn.write(qr),{charMap:_t,subtable:gn.data,maxGlyphID:tn+1};case"unicode":for(jr=[],mr=[],Qr={},vt={},_r=ir=null,Kn=Lr=0,An=gt.length;Kn<An;Kn++)Qr[pr=Et[Nt=gt[Kn]]]==null&&(Qr[pr]=++Lr),vt[Nt]={old:pr,new:Qr[pr]},Ht=Qr[pr]-Nt,_r!=null&&Ht===ir||(_r&&mr.push(_r),jr.push(Nt),ir=Ht),_r=Nt;for(_r&&mr.push(_r),mr.push(65535),jr.push(65535),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,kt=[],cr=[],Nr=[],kr=qn=0,on=jr.length;qn<on;kr=++qn){if(Nn=jr[kr],Xt=mr[kr],Nn===65535){kt.push(0),cr.push(0);break}if(32768<=Nn-(Tn=vt[Nn].new))for(kt.push(0),cr.push(2*(Nr.length+Yr-kr)),Nt=Yn=Nn;Nn<=Xt?Yn<=Xt:Xt<=Yn;Nt=Nn<=Xt?++Yn:--Yn)Nr.push(vt[Nt].new);else kt.push(Tn-Nn),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++)Nt=mr[Gn],gn.writeUInt16(Nt);for(gn.writeUInt16(0),Oa=0,xa=jr.length;Oa<xa;Oa++)Nt=jr[Oa],gn.writeUInt16(Nt);for(On=0,ta=kt.length;On<ta;On++)Ht=kt[On],gn.writeUInt16(Ht);for(_n=0,Li=cr.length;_n<Li;_n++)ur=cr[_n],gn.writeUInt16(ur);for(Ln=0,Ci=Nr.length;Ln<Ci;Ln++)tn=Nr[Ln],gn.writeUInt16(tn);return{charMap:vt,subtable:gn.data,maxGlyphID:Lr+1}}},ht}(),Oe=function(ht){function Et(){return Et.__super__.constructor.apply(this,arguments)}return xe(Et,ct),Et.prototype.tag="cmap",Et.prototype.parse=function(pt){var vt,Nt,_t;for(pt.pos=this.offset,this.version=pt.readUInt16(),Nt=pt.readUInt16(),this.tables=[],this.unicode=null,_t=0;0<=Nt?_t<Nt:Nt<_t;0<=Nt?++_t:--_t)vt=new se(pt,this.offset),this.tables.push(vt),vt.isUnicode&&this.unicode==null&&(this.unicode=vt);return!0},Et.encode=function(pt,vt){var Nt,_t;return vt==null&&(vt="macroman"),Nt=se.encode(pt,vt),(_t=new wt).writeUInt16(0),_t.writeUInt16(1),Nt.table=_t.data.concat(Nt.subtable),Nt},Et}(),ke=function(ht){function Et(){return Et.__super__.constructor.apply(this,arguments)}return xe(Et,ct),Et.prototype.tag="hhea",Et.prototype.parse=function(pt){return pt.pos=this.offset,this.version=pt.readInt(),this.ascender=pt.readShort(),this.decender=pt.readShort(),this.lineGap=pt.readShort(),this.advanceWidthMax=pt.readShort(),this.minLeftSideBearing=pt.readShort(),this.minRightSideBearing=pt.readShort(),this.xMaxExtent=pt.readShort(),this.caretSlopeRise=pt.readShort(),this.caretSlopeRun=pt.readShort(),this.caretOffset=pt.readShort(),pt.pos+=8,this.metricDataFormat=pt.readShort(),this.numberOfMetrics=pt.readUInt16()},Et}(),Pe=function(ht){function Et(){return Et.__super__.constructor.apply(this,arguments)}return xe(Et,ct),Et.prototype.tag="OS/2",Et.prototype.parse=function(pt){if(pt.pos=this.offset,this.version=pt.readUInt16(),this.averageCharWidth=pt.readShort(),this.weightClass=pt.readUInt16(),this.widthClass=pt.readUInt16(),this.type=pt.readShort(),this.ySubscriptXSize=pt.readShort(),this.ySubscriptYSize=pt.readShort(),this.ySubscriptXOffset=pt.readShort(),this.ySubscriptYOffset=pt.readShort(),this.ySuperscriptXSize=pt.readShort(),this.ySuperscriptYSize=pt.readShort(),this.ySuperscriptXOffset=pt.readShort(),this.ySuperscriptYOffset=pt.readShort(),this.yStrikeoutSize=pt.readShort(),this.yStrikeoutPosition=pt.readShort(),this.familyClass=pt.readShort(),this.panose=function(){var vt,Nt;for(Nt=[],vt=0;vt<10;++vt)Nt.push(pt.readByte());return Nt}(),this.charRange=function(){var vt,Nt;for(Nt=[],vt=0;vt<4;++vt)Nt.push(pt.readInt());return Nt}(),this.vendorID=pt.readString(4),this.selection=pt.readShort(),this.firstCharIndex=pt.readShort(),this.lastCharIndex=pt.readShort(),0<this.version&&(this.ascent=pt.readShort(),this.descent=pt.readShort(),this.lineGap=pt.readShort(),this.winAscent=pt.readShort(),this.winDescent=pt.readShort(),this.codePageRange=function(){var vt,Nt;for(Nt=[],vt=0;vt<2;++vt)Nt.push(pt.readInt());return Nt}(),1<this.version))return this.xHeight=pt.readShort(),this.capHeight=pt.readShort(),this.defaultChar=pt.readShort(),this.breakChar=pt.readShort(),this.maxContext=pt.readShort()},Et}(),rt=function(ht){function Et(){return Et.__super__.constructor.apply(this,arguments)}return xe(Et,ct),Et.prototype.tag="post",Et.prototype.parse=function(pt){var vt,Nt,_t,gt;switch(pt.pos=this.offset,this.format=pt.readInt(),this.italicAngle=pt.readInt(),this.underlinePosition=pt.readShort(),this.underlineThickness=pt.readShort(),this.isFixedPitch=pt.readInt(),this.minMemType42=pt.readInt(),this.maxMemType42=pt.readInt(),this.minMemType1=pt.readInt(),this.maxMemType1=pt.readInt(),this.format){case 65536:break;case 131072:for(Nt=pt.readUInt16(),this.glyphNameIndex=[],_t=0;0<=Nt?_t<Nt:Nt<_t;0<=Nt?++_t:--_t)this.glyphNameIndex.push(pt.readUInt16());for(this.names=[],gt=[];pt.pos<this.offset+this.length;)vt=pt.readByte(),gt.push(this.names.push(pt.readString(vt)));return gt;case 151552:return Nt=pt.readUInt16(),this.offsets=pt.read(Nt);case 196608:break;case 262144:return this.map=function(){var Ht,kt,ir;for(ir=[],Ht=0,kt=this.file.maxp.numGlyphs;0<=kt?Ht<kt:kt<Ht;0<=kt?++Ht:--Ht)ir.push(pt.readUInt32());return ir}.call(this)}},Et}(),At=function(Et,pt){this.raw=Et,this.length=Et.length,this.platformID=pt.platformID,this.encodingID=pt.encodingID,this.languageID=pt.languageID},Wt=function(ht){function Et(){return Et.__super__.constructor.apply(this,arguments)}return xe(Et,ct),Et.prototype.tag="name",Et.prototype.parse=function(pt){var vt,Nt,_t,gt,Ht,kt,ir,Xt,mr,Ar,Nr,kr;for(pt.pos=this.offset,pt.readShort(),vt=pt.readShort(),kt=pt.readShort(),Nt=[],gt=mr=0;0<=vt?mr<vt:vt<mr;gt=0<=vt?++mr:--mr)Nt.push({platformID:pt.readShort(),encodingID:pt.readShort(),languageID:pt.readShort(),nameID:pt.readShort(),length:pt.readShort(),offset:this.offset+kt+pt.readShort()});for(ir={},gt=Ar=0,Nr=Nt.length;Ar<Nr;gt=++Ar)_t=Nt[gt],pt.pos=_t.offset,Xt=pt.readString(_t.length),Ht=new At(Xt,_t),ir[kr=_t.nameID]==null&&(ir[kr]=[]),ir[_t.nameID].push(Ht);this.strings=ir,this.copyright=ir[0],this.fontFamily=ir[1],this.fontSubfamily=ir[2],this.uniqueSubfamily=ir[3],this.fontName=ir[4],this.version=ir[5];try{this.postscriptName=ir[6][0].raw.replace(/[\x00-\x19\x80-\xff]/g,"")}catch(tn){this.postscriptName=ir[4][0].raw.replace(/[\x00-\x19\x80-\xff]/g,"")}return this.trademark=ir[7],this.manufacturer=ir[8],this.designer=ir[9],this.description=ir[10],this.vendorUrl=ir[11],this.designerUrl=ir[12],this.license=ir[13],this.licenseUrl=ir[14],this.preferredFamily=ir[15],this.preferredSubfamily=ir[17],this.compatibleFull=ir[18],this.sampleText=ir[19]},Et}(),$t=function(ht){function Et(){return Et.__super__.constructor.apply(this,arguments)}return xe(Et,ct),Et.prototype.tag="maxp",Et.prototype.parse=function(pt){return pt.pos=this.offset,this.version=pt.readInt(),this.numGlyphs=pt.readUInt16(),this.maxPoints=pt.readUInt16(),this.maxContours=pt.readUInt16(),this.maxCompositePoints=pt.readUInt16(),this.maxComponentContours=pt.readUInt16(),this.maxZones=pt.readUInt16(),this.maxTwilightPoints=pt.readUInt16(),this.maxStorage=pt.readUInt16(),this.maxFunctionDefs=pt.readUInt16(),this.maxInstructionDefs=pt.readUInt16(),this.maxStackElements=pt.readUInt16(),this.maxSizeOfInstructions=pt.readUInt16(),this.maxComponentElements=pt.readUInt16(),this.maxComponentDepth=pt.readUInt16()},Et}(),Rt=function(ht){function Et(){return Et.__super__.constructor.apply(this,arguments)}return xe(Et,ct),Et.prototype.tag="hmtx",Et.prototype.parse=function(pt){var vt,Nt,_t,gt,Ht,kt,ir;for(pt.pos=this.offset,this.metrics=[],gt=0,kt=this.file.hhea.numberOfMetrics;0<=kt?gt<kt:kt<gt;0<=kt?++gt:--gt)this.metrics.push({advance:pt.readUInt16(),lsb:pt.readInt16()});for(Nt=this.file.maxp.numGlyphs-this.file.hhea.numberOfMetrics,this.leftSideBearings=function(){var Xt,mr;for(mr=[],Xt=0;0<=Nt?Xt<Nt:Nt<Xt;0<=Nt?++Xt:--Xt)mr.push(pt.readInt16());return mr}(),this.widths=function(){var Xt,mr,Ar,Nr;for(Nr=[],Xt=0,mr=(Ar=this.metrics).length;Xt<mr;Xt++)_t=Ar[Xt],Nr.push(_t.advance);return Nr}.call(this),vt=this.widths[this.widths.length-1],ir=[],Ht=0;0<=Nt?Ht<Nt:Nt<Ht;0<=Nt?++Ht:--Ht)ir.push(this.widths.push(vt));return ir},Et.prototype.forGlyph=function(pt){return pt in this.metrics?this.metrics[pt]:{advance:this.metrics[this.metrics.length-1].advance,lsb:this.leftSideBearings[pt-this.metrics.length]}},Et}(),zt=[].slice,Gt=function(ht){function Et(){return Et.__super__.constructor.apply(this,arguments)}return xe(Et,ct),Et.prototype.tag="glyf",Et.prototype.parse=function(pt){return this.cache={}},Et.prototype.glyphFor=function(pt){var vt,Nt,_t,gt,Ht,kt,ir,Xt,mr,Ar;return(pt=pt)in this.cache?this.cache[pt]:(gt=this.file.loca,vt=this.file.contents,Nt=gt.indexOf(pt),(_t=gt.lengthOf(pt))===0?this.cache[pt]=null:(vt.pos=this.offset+Nt,Ht=(kt=new wt(vt.read(_t))).readShort(),Xt=kt.readShort(),Ar=kt.readShort(),ir=kt.readShort(),mr=kt.readShort(),this.cache[pt]=Ht===-1?new Mt(kt,Xt,Ar,ir,mr):new Qt(kt,Ht,Xt,Ar,ir,mr),this.cache[pt]))},Et.prototype.encode=function(pt,vt,Nt){var _t,gt,Ht,kt,ir;for(Ht=[],gt=[],kt=0,ir=vt.length;kt<ir;kt++)_t=pt[vt[kt]],gt.push(Ht.length),_t&&(Ht=Ht.concat(_t.encode(Nt)));return gt.push(Ht.length),{table:Ht,offsets:gt}},Et}(),Qt=function(){function ht(Et,pt,vt,Nt,_t,gt){this.raw=Et,this.numberOfContours=pt,this.xMin=vt,this.yMin=Nt,this.xMax=_t,this.yMax=gt,this.compound=!1}return ht.prototype.encode=function(){return this.raw.data},ht}(),Mt=function(){function ht(Et,pt,vt,Nt,_t){var gt,Ht;for(this.raw=Et,this.xMin=pt,this.yMin=vt,this.xMax=Nt,this.yMax=_t,this.compound=!0,this.glyphIDs=[],this.glyphOffsets=[],gt=this.raw;Ht=gt.readShort(),this.glyphOffsets.push(gt.pos),this.glyphIDs.push(gt.readShort()),32&Ht;)gt.pos+=1&Ht?4:2,128&Ht?gt.pos+=8:64&Ht?gt.pos+=4:8&Ht&&(gt.pos+=2)}return ht.prototype.encode=function(Et){var pt,vt,Nt,_t,gt;for(vt=new wt(zt.call(this.raw.data)),pt=Nt=0,_t=(gt=this.glyphIDs).length;Nt<_t;pt=++Nt)gt[pt],vt.pos=this.glyphOffsets[pt];return vt.data},ht}(),dr=function(ht){function Et(){return Et.__super__.constructor.apply(this,arguments)}return xe(Et,ct),Et.prototype.tag="loca",Et.prototype.parse=function(pt){var vt;return pt.pos=this.offset,vt=this.file.head.indexToLocFormat,this.offsets=vt===0?function(){var Nt,_t,gt;for(gt=[],Nt=0,_t=this.length;Nt<_t;Nt+=2)gt.push(2*pt.readUInt16());return gt}.call(this):function(){var Nt,_t,gt;for(gt=[],Nt=0,_t=this.length;Nt<_t;Nt+=4)gt.push(pt.readUInt32());return gt}.call(this)},Et.prototype.indexOf=function(pt){return this.offsets[pt]},Et.prototype.lengthOf=function(pt){return this.offsets[pt+1]-this.offsets[pt]},Et.prototype.encode=function(pt,vt){for(var Nt=new Uint32Array(this.offsets.length),_t=0,gt=0,Ht=0;Ht<Nt.length;++Ht)if(Nt[Ht]=_t,gt<vt.length&&vt[gt]==Ht){++gt,Nt[Ht]=_t;var kt=this.offsets[Ht],ir=this.offsets[Ht+1]-kt;0<ir&&(_t+=ir)}for(var Xt=new Array(4*Nt.length),mr=0;mr<Nt.length;++mr)Xt[4*mr+3]=255&Nt[mr],Xt[4*mr+2]=(65280&Nt[mr])>>8,Xt[4*mr+1]=(16711680&Nt[mr])>>16,Xt[4*mr]=(4278190080&Nt[mr])>>24;return Xt},Et}(),er=function(){function ht(Et){this.font=Et,this.subset={},this.unicodes={},this.next=33}return ht.prototype.generateCmap=function(){var Et,pt,vt,Nt,_t;for(pt in Nt=this.font.cmap.tables[0].codeMap,Et={},_t=this.subset)vt=_t[pt],Et[pt]=Nt[vt];return Et},ht.prototype.glyphsFor=function(Et){var pt,vt,Nt,_t,gt,Ht,kt;for(Nt={},gt=0,Ht=Et.length;gt<Ht;gt++)Nt[_t=Et[gt]]=this.font.glyf.glyphFor(_t);for(_t in pt=[],Nt)((vt=Nt[_t])!=null?vt.compound:void 0)&&pt.push.apply(pt,vt.glyphIDs);if(0<pt.length)for(_t in kt=this.glyphsFor(pt))vt=kt[_t],Nt[_t]=vt;return Nt},ht.prototype.encode=function(Et,pt){var vt,Nt,_t,gt,Ht,kt,ir,Xt,mr,Ar,Nr,kr,tn,qr,_r;for(Nt in vt=Oe.encode(this.generateCmap(),"unicode"),gt=this.glyphsFor(Et),Nr={0:0},_r=vt.charMap)Nr[(kt=_r[Nt]).old]=kt.new;for(kr in Ar=vt.maxGlyphID,gt)kr in Nr||(Nr[kr]=Ar++);return Xt=function(Qr){var Lr,ur;for(Lr in ur={},Qr)ur[Qr[Lr]]=Lr;return ur}(Nr),mr=Object.keys(Xt).sort(function(Qr,Lr){return Qr-Lr}),tn=function(){var Qr,Lr,ur;for(ur=[],Qr=0,Lr=mr.length;Qr<Lr;Qr++)Ht=mr[Qr],ur.push(Xt[Ht]);return ur}(),_t=this.font.glyf.encode(gt,tn,Nr),ir=this.font.loca.encode(_t.offsets,tn),qr={cmap:this.font.cmap.raw(),glyf:_t.table,loca:ir,hmtx:this.font.hmtx.raw(),hhea:this.font.hhea.raw(),maxp:this.font.maxp.raw(),post:this.font.post.raw(),name:this.font.name.raw(),head:this.font.head.encode(pt)},this.font.os2.exists&&(qr["OS/2"]=this.font.os2.raw()),this.font.directory.encode(qr)},ht}();_e.API.PDFObject=function(){var ht;function Et(){}return ht=function(vt,Nt){return(Array(Nt+1).join("0")+vt).slice(-Nt)},Et.convert=function(pt){var vt,Nt,_t,gt;if(Array.isArray(pt))return"["+function(){var Ht,kt,ir;for(ir=[],Ht=0,kt=pt.length;Ht<kt;Ht++)vt=pt[Ht],ir.push(Et.convert(vt));return ir}().join(" ")+"]";if(typeof pt=="string")return"/"+pt;if(pt!=null?pt.isString:void 0)return"("+pt+")";if(pt instanceof Date)return"(D:"+ht(pt.getUTCFullYear(),4)+ht(pt.getUTCMonth(),2)+ht(pt.getUTCDate(),2)+ht(pt.getUTCHours(),2)+ht(pt.getUTCMinutes(),2)+ht(pt.getUTCSeconds(),2)+"Z)";if({}.toString.call(pt)!=="[object Object]")return""+pt;for(Nt in _t=["<<"],pt)gt=pt[Nt],_t.push("/"+Nt+" "+Et.convert(gt));return _t.push(">>"),_t.join(`
|
|
|
`)},Et}()}(ze),Ze=typeof self!="undefined"&&self||typeof window!="undefined"&&window||typeof g!="undefined"&&g||Function('return typeof this === "object" && this.content')()||Function("return this")(),Te=function(){var _e,Ce,Ee;function we(Fe){var Ye,Ge,qe,Ke,ct,wt,Lt,de,xe,$,se,Oe,ke,Pe;for(this.data=Fe,this.pos=8,this.palette=[],this.imgData=[],this.transparency={},this.animation=null,this.text={},wt=null;;){switch(Ye=this.readUInt32(),xe=function(){var rt,At;for(At=[],rt=0;rt<4;++rt)At.push(String.fromCharCode(this.data[this.pos++]));return At}.call(this).join("")){case"IHDR":this.width=this.readUInt32(),this.height=this.readUInt32(),this.bits=this.data[this.pos++],this.colorType=this.data[this.pos++],this.compressionMethod=this.data[this.pos++],this.filterMethod=this.data[this.pos++],this.interlaceMethod=this.data[this.pos++];break;case"acTL":this.animation={numFrames:this.readUInt32(),numPlays:this.readUInt32()||1/0,frames:[]};break;case"PLTE":this.palette=this.read(Ye);break;case"fcTL":wt&&this.animation.frames.push(wt),this.pos+=4,wt={width:this.readUInt32(),height:this.readUInt32(),xOffset:this.readUInt32(),yOffset:this.readUInt32()},ct=this.readUInt16(),Ke=this.readUInt16()||100,wt.delay=1e3*ct/Ke,wt.disposeOp=this.data[this.pos++],wt.blendOp=this.data[this.pos++],wt.data=[];break;case"IDAT":case"fdAT":for(xe==="fdAT"&&(this.pos+=4,Ye-=4),Fe=(wt!=null?wt.data:void 0)||this.imgData,Oe=0;0<=Ye?Oe<Ye:Ye<Oe;0<=Ye?++Oe:--Oe)Fe.push(this.data[this.pos++]);break;case"tRNS":switch(this.transparency={},this.colorType){case 3:if(qe=this.palette.length/3,this.transparency.indexed=this.read(Ye),this.transparency.indexed.length>qe)throw new Error("More transparent colors than palette size");if(0<($=qe-this.transparency.indexed.length))for(ke=0;0<=$?ke<$:$<ke;0<=$?++ke:--ke)this.transparency.indexed.push(255);break;case 0:this.transparency.grayscale=this.read(Ye)[0];break;case 2:this.transparency.rgb=this.read(Ye)}break;case"tEXt":Lt=(se=this.read(Ye)).indexOf(0),de=String.fromCharCode.apply(String,se.slice(0,Lt)),this.text[de]=String.fromCharCode.apply(String,se.slice(Lt+1));break;case"IEND":return wt&&this.animation.frames.push(wt),this.colors=function(){switch(this.colorType){case 0:case 3:case 4:return 1;case 2:case 6:return 3}}.call(this),this.hasAlphaChannel=(Pe=this.colorType)===4||Pe===6,Ge=this.colors+(this.hasAlphaChannel?1:0),this.pixelBitlength=this.bits*Ge,this.colorSpace=function(){switch(this.colors){case 1:return"DeviceGray";case 3:return"DeviceRGB"}}.call(this),void(this.imgData=new Uint8Array(this.imgData));default:this.pos+=Ye}if(this.pos+=4,this.pos>this.data.length)throw new Error("Incomplete or corrupt PNG file")}}we.load=function(Fe,Ye,Ge){var qe;return typeof Ye=="function"&&(Ge=Ye),(qe=new XMLHttpRequest).open("GET",Fe,!0),qe.responseType="arraybuffer",qe.onload=function(){var Ke;return Ke=new we(new Uint8Array(qe.response||qe.mozResponseArrayBuffer)),typeof(Ye!=null?Ye.getContext:void 0)=="function"&&Ke.render(Ye),typeof Ge=="function"?Ge(Ke):void 0},qe.send(null)},we.prototype.read=function(Fe){var Ye,Ge;for(Ge=[],Ye=0;0<=Fe?Ye<Fe:Fe<Ye;0<=Fe?++Ye:--Ye)Ge.push(this.data[this.pos++]);return Ge},we.prototype.readUInt32=function(){return this.data[this.pos++]<<24|this.data[this.pos++]<<16|this.data[this.pos++]<<8|this.data[this.pos++]},we.prototype.readUInt16=function(){return this.data[this.pos++]<<8|this.data[this.pos++]},we.prototype.decodePixels=function(Fe){var Ye=this.pixelBitlength/8,Ge=new Uint8Array(this.width*this.height*Ye),qe=0,Ke=this;if(Fe==null&&(Fe=this.imgData),Fe.length===0)return new Uint8Array(0);function ct(wt,Lt,de,xe){var $,se,Oe,ke,Pe,rt,At,Wt,$t,Rt,zt,Gt,Qt,Mt,dr,er,ht,Et,pt,vt,Nt,_t=Math.ceil((Ke.width-wt)/de),gt=Math.ceil((Ke.height-Lt)/xe),Ht=Ke.width==_t&&Ke.height==gt;for(Mt=Ye*_t,Gt=Ht?Ge:new Uint8Array(Mt*gt),rt=Fe.length,se=Qt=0;Qt<gt&&qe<rt;){switch(Fe[qe++]){case 0:for(ke=ht=0;ht<Mt;ke=ht+=1)Gt[se++]=Fe[qe++];break;case 1:for(ke=Et=0;Et<Mt;ke=Et+=1)$=Fe[qe++],Pe=ke<Ye?0:Gt[se-Ye],Gt[se++]=($+Pe)%256;break;case 2:for(ke=pt=0;pt<Mt;ke=pt+=1)$=Fe[qe++],Oe=(ke-ke%Ye)/Ye,dr=Qt&&Gt[(Qt-1)*Mt+Oe*Ye+ke%Ye],Gt[se++]=(dr+$)%256;break;case 3:for(ke=vt=0;vt<Mt;ke=vt+=1)$=Fe[qe++],Oe=(ke-ke%Ye)/Ye,Pe=ke<Ye?0:Gt[se-Ye],dr=Qt&&Gt[(Qt-1)*Mt+Oe*Ye+ke%Ye],Gt[se++]=($+Math.floor((Pe+dr)/2))%256;break;case 4:for(ke=Nt=0;Nt<Mt;ke=Nt+=1)$=Fe[qe++],Oe=(ke-ke%Ye)/Ye,Pe=ke<Ye?0:Gt[se-Ye],Qt===0?dr=er=0:(dr=Gt[(Qt-1)*Mt+Oe*Ye+ke%Ye],er=Oe&&Gt[(Qt-1)*Mt+(Oe-1)*Ye+ke%Ye]),At=Pe+dr-er,Wt=Math.abs(At-Pe),Rt=Math.abs(At-dr),zt=Math.abs(At-er),$t=Wt<=Rt&&Wt<=zt?Pe:Rt<=zt?dr:er,Gt[se++]=($+$t)%256;break;default:throw new Error("Invalid filter algorithm: "+Fe[qe-1])}if(!Ht){var kt=((Lt+Qt*xe)*Ke.width+wt)*Ye,ir=Qt*Mt;for(ke=0;ke<_t;ke+=1){for(var Xt=0;Xt<Ye;Xt+=1)Ge[kt++]=Gt[ir++];kt+=(de-1)*Ye}}Qt++}}return Fe=(Fe=new Pt(Fe)).getBytes(),Ke.interlaceMethod==1?(ct(0,0,8,8),ct(4,0,8,8),ct(0,4,4,8),ct(2,0,4,4),ct(0,2,2,4),ct(1,0,2,2),ct(0,1,1,2)):ct(0,0,1,1),Ge},we.prototype.decodePalette=function(){var Fe,Ye,Ge,qe,Ke,ct,wt,Lt,de;for(Ge=this.palette,ct=this.transparency.indexed||[],Ke=new Uint8Array((ct.length||0)+Ge.length),qe=0,Ge.length,Ye=wt=Fe=0,Lt=Ge.length;wt<Lt;Ye=wt+=3)Ke[qe++]=Ge[Ye],Ke[qe++]=Ge[Ye+1],Ke[qe++]=Ge[Ye+2],Ke[qe++]=(de=ct[Fe++])!=null?de:255;return Ke},we.prototype.copyToImageData=function(Fe,Ye){var Ge,qe,Ke,ct,wt,Lt,de,xe,$,se,Oe;if(qe=this.colors,$=null,Ge=this.hasAlphaChannel,this.palette.length&&($=(Oe=this._decodedPalette)!=null?Oe:this._decodedPalette=this.decodePalette(),qe=4,Ge=!0),xe=(Ke=Fe.data||Fe).length,wt=$||Ye,ct=Lt=0,qe===1)for(;ct<xe;)de=$?4*Ye[ct/4]:Lt,se=wt[de++],Ke[ct++]=se,Ke[ct++]=se,Ke[ct++]=se,Ke[ct++]=Ge?wt[de++]:255,Lt=de;else for(;ct<xe;)de=$?4*Ye[ct/4]:Lt,Ke[ct++]=wt[de++],Ke[ct++]=wt[de++],Ke[ct++]=wt[de++],Ke[ct++]=Ge?wt[de++]:255,Lt=de},we.prototype.decode=function(){var Fe;return Fe=new Uint8Array(this.width*this.height*4),this.copyToImageData(Fe,this.decodePixels()),Fe};try{Ce=Ze.document.createElement("canvas"),Ee=Ce.getContext("2d")}catch(Fe){return-1}return _e=function(Ye){var Ge;return Ee.width=Ye.width,Ee.height=Ye.height,Ee.clearRect(0,0,Ye.width,Ye.height),Ee.putImageData(Ye,0,0),(Ge=new Image).src=Ce.toDataURL(),Ge},we.prototype.decodeFrames=function(Fe){var Ye,Ge,qe,Ke,ct,wt,Lt,de;if(this.animation){for(de=[],Ge=ct=0,wt=(Lt=this.animation.frames).length;ct<wt;Ge=++ct)Ye=Lt[Ge],qe=Fe.createImageData(Ye.width,Ye.height),Ke=this.decodePixels(new Uint8Array(Ye.data)),this.copyToImageData(qe,Ke),Ye.imageData=qe,de.push(Ye.image=_e(qe));return de}},we.prototype.renderFrame=function(Fe,Ye){var Ge,qe,Ke;return Ge=(qe=this.animation.frames)[Ye],Ke=qe[Ye-1],Ye===0&&Fe.clearRect(0,0,this.width,this.height),(Ke!=null?Ke.disposeOp:void 0)===1?Fe.clearRect(Ke.xOffset,Ke.yOffset,Ke.width,Ke.height):(Ke!=null?Ke.disposeOp:void 0)===2&&Fe.putImageData(Ke.imageData,Ke.xOffset,Ke.yOffset),Ge.blendOp===0&&Fe.clearRect(Ge.xOffset,Ge.yOffset,Ge.width,Ge.height),Fe.drawImage(Ge.image,Ge.xOffset,Ge.yOffset)},we.prototype.animate=function(Fe){var Ye,Ge,qe,Ke,ct,wt,Lt=this;return Ge=0,wt=this.animation,Ke=wt.numFrames,qe=wt.frames,ct=wt.numPlays,(Ye=function(){var xe,$;if(xe=Ge++%Ke,$=qe[xe],Lt.renderFrame(Fe,xe),1<Ke&&Ge/Ke<ct)return Lt.animation._timeout=setTimeout(Ye,$.delay)})()},we.prototype.stopAnimation=function(){var Fe;return clearTimeout((Fe=this.animation)!=null?Fe._timeout:void 0)},we.prototype.render=function(Fe){var Ye,Ge;return Fe._png&&Fe._png.stopAnimation(),Fe._png=this,Fe.width=this.width,Fe.height=this.height,Ye=Fe.getContext("2d"),this.animation?(this.decodeFrames(Ye),this.animate(Ye)):(Ge=Ye.createImageData(this.width,this.height),this.copyToImageData(Ge,this.decodePixels()),Ye.putImageData(Ge,0,0))},we}(),Ze.PNG=Te;var or=function(){function _e(){this.pos=0,this.bufferLength=0,this.eof=!1,this.buffer=null}return _e.prototype={ensureBuffer:function(Ee){var we=this.buffer,Fe=we?we.byteLength:0;if(Ee<Fe)return we;for(var Ye=512;Ye<Ee;)Ye<<=1;for(var Ge=new Uint8Array(Ye),qe=0;qe<Fe;++qe)Ge[qe]=we[qe];return this.buffer=Ge},getByte:function(){for(var Ee=this.pos;this.bufferLength<=Ee;){if(this.eof)return null;this.readBlock()}return this.buffer[this.pos++]},getBytes:function(Ee){var we=this.pos;if(Ee){this.ensureBuffer(we+Ee);for(var Fe=we+Ee;!this.eof&&this.bufferLength<Fe;)this.readBlock();var Ye=this.bufferLength;Ye<Fe&&(Fe=Ye)}else{for(;!this.eof;)this.readBlock();Fe=this.bufferLength}return this.pos=Fe,this.buffer.subarray(we,Fe)},lookChar:function(){for(var Ee=this.pos;this.bufferLength<=Ee;){if(this.eof)return null;this.readBlock()}return String.fromCharCode(this.buffer[this.pos])},getChar:function(){for(var Ee=this.pos;this.bufferLength<=Ee;){if(this.eof)return null;this.readBlock()}return String.fromCharCode(this.buffer[this.pos++])},makeSubStream:function(Ee,we,Fe){for(var Ye=Ee+we;this.bufferLength<=Ye&&!this.eof;)this.readBlock();return new Stream(this.buffer,Ee,we,Fe)},skip:function(Ee){Ee||(Ee=1),this.pos+=Ee},reset:function(){this.pos=0}},_e}(),Pt=function(){if(typeof Uint32Array!="undefined"){var _e=new Uint32Array([16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15]),Ce=new Uint32Array([3,4,5,6,7,8,9,10,65547,65549,65551,65553,131091,131095,131099,131103,196643,196651,196659,196667,262211,262227,262243,262259,327811,327843,327875,327907,258,258,258]),Ee=new Uint32Array([1,2,3,4,65541,65543,131081,131085,196625,196633,262177,262193,327745,327777,393345,393409,459009,459137,524801,525057,590849,591361,657409,658433,724993,727041,794625,798721,868353,876545]),we=[new Uint32Array([459008,524368,524304,524568,459024,524400,524336,590016,459016,524384,524320,589984,524288,524416,524352,590048,459012,524376,524312,589968,459028,524408,524344,590032,459020,524392,524328,59e4,524296,524424,524360,590064,459010,524372,524308,524572,459026,524404,524340,590024,459018,524388,524324,589992,524292,524420,524356,590056,459014,524380,524316,589976,459030,524412,524348,590040,459022,524396,524332,590008,524300,524428,524364,590072,459009,524370,524306,524570,459025,524402,524338,590020,459017,524386,524322,589988,524290,524418,524354,590052,459013,524378,524314,589972,459029,524410,524346,590036,459021,524394,524330,590004,524298,524426,524362,590068,459011,524374,524310,524574,459027,524406,524342,590028,459019,524390,524326,589996,524294,524422,524358,590060,459015,524382,524318,589980,459031,524414,524350,590044,459023,524398,524334,590012,524302,524430,524366,590076,459008,524369,524305,524569,459024,524401,524337,590018,459016,524385,524321,589986,524289,524417,524353,590050,459012,524377,524313,589970,459028,524409,524345,590034,459020,524393,524329,590002,524297,524425,524361,590066,459010,524373,524309,524573,459026,524405,524341,590026,459018,524389,524325,589994,524293,524421,524357,590058,459014,524381,524317,589978,459030,524413,524349,590042,459022,524397,524333,590010,524301,524429,524365,590074,459009,524371,524307,524571,459025,524403,524339,590022,459017,524387,524323,589990,524291,524419,524355,590054,459013,524379,524315,589974,459029,524411,524347,590038,459021,524395,524331,590006,524299,524427,524363,590070,459011,524375,524311,524575,459027,524407,524343,590030,459019,524391,524327,589998,524295,524423,524359,590062,459015,524383,524319,589982,459031,524415,524351,590046,459023,524399,524335,590014,524303,524431,524367,590078,459008,524368,524304,524568,459024,524400,524336,590017,459016,524384,524320,589985,524288,524416,524352,590049,459012,524376,524312,589969,459028,524408,524344,590033,459020,524392,524328,590001,524296,524424,524360,590065,459010,524372,524308,524572,459026,524404,524340,590025,459018,524388,524324,589993,524292,524420,524356,590057,459014,524380,524316,589977,459030,524412,524348,590041,459022,524396,524332,590009,524300,524428,524364,590073,459009,524370,524306,524570,459025,524402,524338,590021,459017,524386,524322,589989,524290,524418,524354,590053,459013,524378,524314,589973,459029,524410,524346,590037,459021,524394,524330,590005,524298,524426,524362,590069,459011,524374,524310,524574,459027,524406,524342,590029,459019,524390,524326,589997,524294,524422,524358,590061,459015,524382,524318,589981,459031,524414,524350,590045,459023,524398,524334,590013,524302,524430,524366,590077,459008,524369,524305,524569,459024,524401,524337,590019,459016,524385,524321,589987,524289,524417,524353,590051,459012,524377,524313,589971,459028,524409,524345,590035,459020,524393,524329,590003,524297,524425,524361,590067,459010,524373,524309,524573,459026,524405,524341,590027,459018,524389,524325,589995,524293,524421,524357,590059,459014,524381,524317,589979,459030,524413,524349,590043,459022,524397,524333,590011,524301,524429,524365,590075,459009,524371,524307,524571,459025,524403,524339,590023,459017,524387,524323,589991,524291,524419,524355,590055,459013,524379,524315,589975,459029,524411,524347,590039,459021,524395,524331,590007,524299,524427,524363,590071,459011,524375,524311,524575,459027,524407,524343,590031,459019,524391,524327,589999,524295,524423,524359,590063,459015,524383,524319,589983,459031,524415,524351,590047,459023,524399,524335,590015,524303,524431,524367,590079]),9],Fe=[new Uint32Array([327680,327696,327688,327704,327684,327700,327692,327708,327682,327698,327690,327706,327686,327702,327694,0,327681,327697,327689,327705,327685,327701,327693,327709,327683,327699,327691,327707,327687,327703,327695,0]),5];return(Ge.prototype=Object.create(or.prototype)).getBits=function(qe){for(var Ke,ct=this.codeSize,wt=this.codeBuf,Lt=this.bytes,de=this.bytesPos;ct<qe;)(Ke=Lt[de++])===void 0&&Ye("Bad encoding in flate stream"),wt|=Ke<<ct,ct+=8;return Ke=wt&(1<<qe)-1,this.codeBuf=wt>>qe,this.codeSize=ct-=qe,this.bytesPos=de,Ke},Ge.prototype.getCode=function(qe){for(var Ke=qe[0],ct=qe[1],wt=this.codeSize,Lt=this.codeBuf,de=this.bytes,xe=this.bytesPos;wt<ct;){var $;($=de[xe++])===void 0&&Ye("Bad encoding in flate stream"),Lt|=$<<wt,wt+=8}var se=Ke[Lt&(1<<ct)-1],Oe=se>>16,ke=65535&se;return(wt==0||wt<Oe||Oe==0)&&Ye("Bad encoding in flate stream"),this.codeBuf=Lt>>Oe,this.codeSize=wt-Oe,this.bytesPos=xe,ke},Ge.prototype.generateHuffmanTable=function(qe){for(var Ke=qe.length,ct=0,wt=0;wt<Ke;++wt)qe[wt]>ct&&(ct=qe[wt]);for(var Lt=1<<ct,de=new Uint32Array(Lt),xe=1,$=0,se=2;xe<=ct;++xe,$<<=1,se<<=1)for(var Oe=0;Oe<Ke;++Oe)if(qe[Oe]==xe){var ke=0,Pe=$;for(wt=0;wt<xe;++wt)ke=ke<<1|1&Pe,Pe>>=1;for(wt=ke;wt<Lt;wt+=se)de[wt]=xe<<16|Oe;++$}return[de,ct]},Ge.prototype.readBlock=function(){function qe(gt,Ht,kt,ir,Xt){for(var mr=gt.getBits(kt)+ir;0<mr--;)Ht[se++]=Xt}var Ke=this.getBits(3);if(1&Ke&&(this.eof=!0),(Ke>>=1)!=0){var ct,wt;if(Ke==1)ct=we,wt=Fe;else if(Ke==2){for(var Lt=this.getBits(5)+257,de=this.getBits(5)+1,xe=this.getBits(4)+4,$=Array(_e.length),se=0;se<xe;)$[_e[se++]]=this.getBits(3);for(var Oe=this.generateHuffmanTable($),ke=0,Pe=(se=0,Lt+de),rt=new Array(Pe);se<Pe;){var At=this.getCode(Oe);At==16?qe(this,rt,2,3,ke):At==17?qe(this,rt,3,3,ke=0):At==18?qe(this,rt,7,11,ke=0):rt[se++]=ke=At}ct=this.generateHuffmanTable(rt.slice(0,Lt)),wt=this.generateHuffmanTable(rt.slice(Lt,Pe))}else Ye("Unknown block type in flate stream");for(var Wt=(vt=this.buffer)?vt.length:0,$t=this.bufferLength;;){var Rt=this.getCode(ct);if(Rt<256)Wt<=$t+1&&(Wt=(vt=this.ensureBuffer($t+1)).length),vt[$t++]=Rt;else{if(Rt==256)return void(this.bufferLength=$t);var zt=(Rt=Ce[Rt-=257])>>16;0<zt&&(zt=this.getBits(zt)),ke=(65535&Rt)+zt,Rt=this.getCode(wt),0<(zt=(Rt=Ee[Rt])>>16)&&(zt=this.getBits(zt));var Gt=(65535&Rt)+zt;Wt<=$t+ke&&(Wt=(vt=this.ensureBuffer($t+ke)).length);for(var Qt=0;Qt<ke;++Qt,++$t)vt[$t]=vt[$t-Gt]}}}else{var Mt,dr=this.bytes,er=this.bytesPos;(Mt=dr[er++])===void 0&&Ye("Bad block header in flate stream");var ht=Mt;(Mt=dr[er++])===void 0&&Ye("Bad block header in flate stream"),ht|=Mt<<8,(Mt=dr[er++])===void 0&&Ye("Bad block header in flate stream");var Et=Mt;(Mt=dr[er++])===void 0&&Ye("Bad block header in flate stream"),(Et|=Mt<<8)!=(65535&~ht)&&Ye("Bad uncompressed block length in flate stream"),this.codeBuf=0,this.codeSize=0;var pt=this.bufferLength,vt=this.ensureBuffer(pt+ht),Nt=pt+ht;this.bufferLength=Nt;for(var _t=pt;_t<Nt;++_t){if((Mt=dr[er++])===void 0){this.eof=!0;break}vt[_t]=Mt}this.bytesPos=er}},Ge}function Ye(qe){throw new Error(qe)}function Ge(qe){var Ke=0,ct=qe[Ke++],wt=qe[Ke++];ct!=-1&&wt!=-1||Ye("Invalid header in flate stream"),(15&ct)!=8&&Ye("Unknown compression method in flate stream"),((ct<<8)+wt)%31!=0&&Ye("Bad FCHECK in flate stream"),32&wt&&Ye("FDICT bit set in flate stream"),this.bytes=qe,this.bytesPos=2,this.codeSize=0,this.codeBuf=0,or.call(this)}}();window.tmp=Pt});try{R.exports=jsPDF}catch(m){}}).call(this,e("yLpj"))},"5RzL":function(R,D,e){"use strict";var g=e("pVnL"),f=e.n(g),A=e("lSNA"),m=e.n(A),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"),x=e("KQm4"),S=e("U8pU"),T=e("ODXe"),w=e("VTBJ"),E=e("qNPg"),C=e("2Qr1"),_=e("815F"),y=e("NvD2"),b=e("wPlo"),O=e("6cGi"),I=e("Kwbf"),M=e("4IlW"),F=e("YrtM"),P=e("fAei"),j=l.a.createContext(null);function K(bt,It){if(!bt)return!0;var or=bt.data,Pt=or.disabled,_e=or.disableCheckbox;switch(It){case"select":return Pt;case"checkbox":return Pt||_e}return!1}function N(bt,It){var or=l.a.useCallback(function(_e){var Ce=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"select",Ee=arguments.length>2?arguments[2]:void 0,we=bt.get(_e);return!Ee&&K(we,Ce)?null:we},[bt]),Pt=l.a.useCallback(function(_e){var Ce=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"select",Ee=arguments.length>2?arguments[2]:void 0,we=It.get(_e);return!Ee&&K(we,Ce)?null:we},[It]);return[or,Pt]}function B(bt){return l.a.useMemo(function(){var It=new Map,or=new Map;return bt.forEach(function(Pt){It.set(Pt.key,Pt),or.set(Pt.data.value,Pt)}),[It,or]},[bt])}var U={width:0,height:0,display:"flex",overflow:"hidden",opacity:0,border:0,padding:0,margin:0},H=function(It,or){var Pt=It.prefixCls,_e=It.height,Ce=It.itemHeight,Ee=It.virtual,we=It.options,Fe=It.flattenOptions,Ye=It.multiple,Ge=It.searchValue,qe=It.onSelect,Ke=It.onToggleOpen,ct=It.open,wt=It.notFoundContent,Lt=It.onMouseEnter,de=l.a.useContext(j),xe=de.checkable,$=de.checkedKeys,se=de.halfCheckedKeys,Oe=de.treeExpandedKeys,ke=de.treeDefaultExpandAll,Pe=de.treeDefaultExpandedKeys,rt=de.onTreeExpand,At=de.treeIcon,Wt=de.showTreeIcon,$t=de.switcherIcon,Rt=de.treeLine,zt=de.treeNodeFilterProp,Gt=de.loadData,Qt=de.treeLoadedKeys,Mt=de.treeMotion,dr=de.onTreeLoad,er=l.a.useRef(),ht=Object(F.a)(function(){return we},[ct,we],function(Bn,Kn){return Kn[0]&&Bn[1]!==Kn[1]}),Et=B(Fe),pt=Object(T.a)(Et,2),vt=pt[0],Nt=pt[1],_t=N(vt,Nt),gt=Object(T.a)(_t,2),Ht=gt[0],kt=gt[1],ir=l.a.useMemo(function(){return $.map(function(Bn){var Kn=kt(Bn);return Kn?Kn.key:null})},[$]),Xt=l.a.useMemo(function(){return xe?{checked:ir,halfChecked:se}:null},[ir,se,xe]);l.a.useEffect(function(){if(ct&&!Ye&&ir.length){var Bn;(Bn=er.current)===null||Bn===void 0||Bn.scrollTo({key:ir[0]})}},[ct]);var mr=String(Ge).toLowerCase(),Ar=function(Kn){return mr?String(Kn[zt]).toLowerCase().includes(mr):!1},Nr=l.a.useState(Pe),kr=Object(T.a)(Nr,2),tn=kr[0],qr=kr[1],_r=l.a.useState(null),Qr=Object(T.a)(_r,2),Lr=Qr[0],ur=Qr[1],pr=l.a.useMemo(function(){return Oe?Object(x.a)(Oe):Ge?Lr:tn},[tn,Lr,mr,Oe]);l.a.useEffect(function(){Ge&&ur(Fe.map(function(Bn){return Bn.key}))},[Ge]);var cr=function(Kn){qr(Kn),ur(Kn),rt&&rt(Kn)},fr=function(Kn){Kn.preventDefault()},xr=function(Kn,qn){var Yn=qn.node.key,Vn=Ht(Yn,xe?"checkbox":"select");Vn!==null&&qe(Vn.data.value,{selected:!$.includes(Vn.data.value)}),Ye||Ke(!1)},Yr=l.a.useState(null),un=Object(T.a)(Yr,2),Nn=un[0],jr=un[1],Tn=Ht(Nn);if(l.a.useImperativeHandle(or,function(){return{onKeyDown:function(Kn){var qn,Yn=Kn.which;switch(Yn){case M.a.UP:case M.a.DOWN:case M.a.LEFT:case M.a.RIGHT:(qn=er.current)===null||qn===void 0||qn.onKeyDown(Kn);break;case M.a.ENTER:{Tn!==null&&xr(null,{node:{key:Nn},selected:!$.includes(Tn.data.value)});break}case M.a.ESC:Ke(!1)}},onKeyUp:function(){}}}),ht.length===0)return l.a.createElement("div",{role:"listbox",className:"".concat(Pt,"-empty"),onMouseDown:fr},wt);var gn={};return Qt&&(gn.loadedKeys=Qt),pr&&(gn.expandedKeys=pr),l.a.createElement("div",{onMouseDown:fr,onMouseEnter:Lt},Tn&&ct&&l.a.createElement("span",{style:U,"aria-live":"assertive"},Tn.data.value),l.a.createElement(P.b,Object.assign({ref:er,focusable:!1,prefixCls:"".concat(Pt,"-tree"),treeData:ht,height:_e,itemHeight:Ce,virtual:Ee,multiple:Ye,icon:At,showIcon:Wt,switcherIcon:$t,showLine:Rt,loadData:Ge?null:Gt,motion:Mt,checkable:xe,checkStrictly:!0,checkedKeys:Xt,selectedKeys:xe?[]:ir,defaultExpandAll:ke},gn,{onActiveChange:jr,onSelect:xr,onCheck:xr,onExpand:cr,onLoad:dr,filterTreeNode:Ar})))},z=l.a.forwardRef(H);z.displayName="OptionList";var X=z,W=function(){return null},Y=W,q=e("Ff2n"),me=e("Zm9Q");function G(bt){return Object(me.a)(bt).map(function(It){if(!l.a.isValidElement(It)||!It.type)return null;var or=It.key,Pt=It.props,_e=Pt.children,Ce=Pt.value,Ee=Object(q.a)(Pt,["children","value"]),we=Object(w.a)({key:or,value:Ce},Ee),Fe=G(_e);return Fe.length&&(we.children=Fe),we}).filter(function(It){return It})}function ye(bt){if(!bt)return bt;var It=Object(w.a)({},bt);return"props"in It||Object.defineProperty(It,"props",{get:function(){return Object(I.a)(!1,"New `rc-tree-select` not support return node instance as argument anymore. Please consider to remove `props` access."),It}}),It}function Ae(bt,It,or,Pt,_e){var Ce=null,Ee=null;function we(){function Fe(Ye){var Ge=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"0",qe=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;return Ye.map(function(Ke,ct){var wt="".concat(Ge,"-").concat(ct),Lt=or.includes(Ke.value),de=Fe(Ke.children||[],wt,Lt),xe=l.a.createElement(Y,Object.assign({},Ke),de.map(function(se){return se.node}));if(It===Ke.value&&(Ce=xe),Lt){var $={pos:wt,node:xe,children:de};return qe||Ee.push($),$}return null}).filter(function(Ke){return Ke})}Ee||(Ee=[],Fe(Pt),Ee.sort(function(Ye,Ge){var qe=Ye.node.props.value,Ke=Ge.node.props.value,ct=or.indexOf(qe),wt=or.indexOf(Ke);return ct-wt}))}Object.defineProperty(bt,"triggerNode",{get:function(){return Object(I.a)(!1,"`triggerNode` is deprecated. Please consider decoupling data with node."),we(),Ce}}),Object.defineProperty(bt,"allCheckedNodes",{get:function(){return Object(I.a)(!1,"`allCheckedNodes` is deprecated. Please consider decoupling data with node."),we(),_e?Ee:Ee.map(function(Ye){var Ge=Ye.node;return Ge})}})}function ve(bt){return Array.isArray(bt)?bt:bt!==void 0?[bt]:[]}function Ue(bt,It){var or=new Map;return It.forEach(function(Pt){var _e=Pt.data;or.set(_e.value,_e)}),bt.map(function(Pt){return ye(or.get(Pt))})}function Me(bt,It){var or=Ue([bt],It)[0];return or?or.disabled:!1}function nt(bt){return bt.disabled||bt.disableCheckbox||bt.checkable===!1}function ne(bt){for(var It=bt.parent,or=0,Pt=It;Pt;)Pt=Pt.parent,or+=1;return or}function be(bt){function It(Pt){return(Pt||[]).map(function(_e){var Ce=_e.value,Ee=_e.key,we=_e.children,Fe=Object(w.a)(Object(w.a)({},_e),{},{key:"key"in _e?Ee:Ce});return we&&(Fe.children=It(we)),Fe})}var or=Object(_.d)(It(bt),!0);return or.map(function(Pt){return{key:Pt.data.key,data:Pt.data,level:ne(Pt)}})}function ot(bt){return function(It,or){var Pt=or[bt];return String(Pt).toLowerCase().includes(String(It).toLowerCase())}}function ue(bt,It,or){var Pt=or.optionFilterProp,_e=or.filterOption;if(_e===!1)return It;var Ce;typeof _e=="function"?Ce=_e:Ce=ot(Pt);function Ee(we){var Fe=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;return we.map(function(Ye){var Ge=Ye.children,qe=Fe||Ce(bt,ye(Ye)),Ke=Ee(Ge||[],qe);return qe||Ke.length?Object(w.a)(Object(w.a)({},Ye),{},{children:Ke}):null}).filter(function(Ye){return Ye})}return Ee(It)}function Q(bt,It,or,Pt){var _e=new Map;return ve(It).forEach(function(Ce){Ce&&Object(S.a)(Ce)==="object"&&"value"in Ce&&_e.set(Ce.value,Ce)}),bt.map(function(Ce){var Ee={value:Ce},we=or(Ce,"select",!0),Fe=we?Pt(we.data):Ce;if(_e.has(Ce)){var Ye=_e.get(Ce);Ee.label="label"in Ye?Ye.label:Fe,"halfChecked"in Ye&&(Ee.halfChecked=Ye.halfChecked)}else Ee.label=Fe;return Ee})}function V(bt,It){var or=new Set(bt);return or.add(It),Array.from(or)}function J(bt,It){var or=new Set(bt);return or.delete(It),Array.from(or)}function fe(bt){var It=bt.searchPlaceholder,or=bt.treeCheckStrictly,Pt=bt.treeCheckable,_e=bt.labelInValue,Ce=bt.value,Ee=bt.multiple;Object(I.a)(!It,"`searchPlaceholder` has been removed."),or&&_e===!1&&Object(I.a)(!1,"`treeCheckStrictly` will force set `labelInValue` to `true`."),(_e||or)&&Object(I.a)(ve(Ce).every(function(we){return we&&Object(S.a)(we)==="object"&&"value"in we}),"Invalid prop `value` supplied to `TreeSelect`. You should use { label: string, value: string | number } or [{ label: string, value: string | number }] instead."),or||Ee||Pt?Object(I.a)(!Ce||Array.isArray(Ce),"`value` should be an array when `TreeSelect` is checkable or multiple."):Object(I.a)(!Array.isArray(Ce),"`value` should not be array when `TreeSelect` is single mode.")}var oe=fe,Le=10;function he(bt,It){var or=It.id,Pt=It.pId,_e=It.rootPId,Ce={},Ee=[],we=bt.map(function(Fe){var Ye=Object(w.a)({},Fe),Ge=Ye[or];return Ce[Ge]=Ye,Ye.key=Ye.key||Ge,Ye});return we.forEach(function(Fe){var Ye=Fe[Pt],Ge=Ce[Ye];Ge&&(Ge.children=Ge.children||[],Ge.children.push(Fe)),(Ye===_e||!Ge&&_e===null)&&Ee.push(Fe)}),Ee}function te(bt,It){var or=0,Pt=new Set;function _e(Ce){return(Ce||[]).map(function(Ee){var we=Ee.key,Fe=Ee.value,Ye=Ee.children,Ge=Object(q.a)(Ee,["key","value","children"]),qe="value"in Ee?Fe:we,Ke=Object(w.a)(Object(w.a)({},Ge),{},{key:we!=null?we:qe,value:qe,title:It(Ee)});return"children"in Ee&&(Ke.children=_e(Ye)),Ke})}return _e(bt)}function Z(bt,It,or){var Pt=or.getLabelProp,_e=or.simpleMode,Ce=l.a.useRef({});return bt?(Ce.current.formatTreeData=Ce.current.treeData===bt?Ce.current.formatTreeData:te(_e?he(bt,Object(w.a)({id:"id",pId:"pId",rootPId:null},_e!==!0?_e:{})):bt,Pt),Ce.current.treeData=bt):Ce.current.formatTreeData=Ce.current.children===It?Ce.current.formatTreeData:te(G(It),Pt),Ce.current.formatTreeData}var ge="SHOW_ALL",Re="SHOW_PARENT",ze="SHOW_CHILD";function dt(bt,It,or){var Pt=new Set(bt);return It===ze?bt.filter(function(_e){var Ce=or[_e];return!(Ce&&Ce.children&&Ce.children.every(function(Ee){var we=Ee.node;return nt(we)||Pt.has(we.key)}))}):It===Re?bt.filter(function(_e){var Ce=or[_e],Ee=Ce?Ce.parent:null;return!(Ee&&!nt(Ee.node)&&Pt.has(Ee.node.key))}):bt}function De(bt,It){var or=It.value,Pt=It.getEntityByValue,_e=It.getEntityByKey,Ce=It.treeConduction,Ee=It.showCheckedStrategy,we=It.conductKeyEntities,Fe=It.getLabelProp;return l.a.useMemo(function(){var Ye=bt;if(Ce){var Ge=dt(bt.map(function(qe){var Ke=Pt(qe);return Ke?Ke.key:qe}),Ee,we);Ye=Ge.map(function(qe){var Ke=_e(qe);return Ke?Ke.data.value:qe})}return Q(Ye,or,Pt,Fe)},[bt,or,Ce,Ee,Pt])}var Tt=["expandedKeys","treeData","treeCheckable","showCheckedStrategy","searchPlaceholder","treeLine","treeIcon","showTreeIcon","switcherIcon","treeNodeFilterProp","filterTreeNode","dropdownPopupAlign","treeDefaultExpandAll","treeCheckStrictly","treeExpandedKeys","treeLoadedKeys","treeMotion","onTreeExpand","onTreeLoad","loadData","treeDataSimpleMode","treeNodeLabelProp","treeDefaultExpandedKeys"],je=Object(E.a)({prefixCls:"rc-tree-select",components:{optionList:X},convertChildrenToData:function(){return null},flattenOptions:be,getLabeledValue:C.e,filterOptions:ue,isValueDisabled:Me,findValueOption:Ue,omitDOMProps:function(It){var or=Object(w.a)({},It);return Tt.forEach(function(Pt){delete or[Pt]}),or}});je.displayName="Select";var st=n.forwardRef(function(bt,It){var or=bt.multiple,Pt=bt.treeCheckable,_e=bt.treeCheckStrictly,Ce=bt.showCheckedStrategy,Ee=Ce===void 0?"SHOW_CHILD":Ce,we=bt.labelInValue,Fe=bt.loadData,Ye=bt.treeLoadedKeys,Ge=bt.treeNodeFilterProp,qe=Ge===void 0?"value":Ge,Ke=bt.treeNodeLabelProp,ct=bt.treeDataSimpleMode,wt=bt.treeData,Lt=bt.treeExpandedKeys,de=bt.treeDefaultExpandedKeys,xe=bt.treeDefaultExpandAll,$=bt.children,se=bt.treeIcon,Oe=bt.showTreeIcon,ke=bt.switcherIcon,Pe=bt.treeLine,rt=bt.treeMotion,At=bt.filterTreeNode,Wt=bt.dropdownPopupAlign,$t=bt.onChange,Rt=bt.onTreeExpand,zt=bt.onTreeLoad,Gt=bt.onDropdownVisibleChange,Qt=bt.onSelect,Mt=bt.onDeselect,dr=Pt||_e,er=or||dr,ht=Pt&&!_e,Et=_e||we,pt=n.useRef(null);n.useImperativeHandle(It,function(){return{focus:pt.current.focus,blur:pt.current.blur}});var vt=function(Yn){return wt&&Yn.label||Yn.title},Nt=function(Yn){return Ke?Yn[Ke]:vt(Yn)},_t=Z(wt,$,{getLabelProp:vt,simpleMode:ct}),gt=Object(n.useMemo)(function(){return be(_t)},[_t]),Ht=B(gt),kt=Object(T.a)(Ht,2),ir=kt[0],Xt=kt[1],mr=N(ir,Xt),Ar=Object(T.a)(mr,2),Nr=Ar[0],kr=Ar[1],tn=Object(n.useMemo)(function(){return ht?Object(_.a)(_t):{keyEntities:null}},[_t,Pt,_e]),qr=tn.keyEntities,_r=Object(O.a)(bt.defaultValue,{value:bt.value}),Qr=Object(T.a)(_r,2),Lr=Qr[0],ur=Qr[1],pr=function(Yn){var Vn=[],An=[];return Yn.forEach(function(on){kr(on)?An.push(on):Vn.push(on)}),{missingRawValues:Vn,existRawValues:An}},cr=Object(n.useMemo)(function(){var qn=[],Yn=[];if(ve(Lr).forEach(function(Ci){if(Ci&&Object(S.a)(Ci)==="object"&&"value"in Ci)if(Ci.halfChecked&&_e){var Gn=kr(Ci.value);qn.push(Gn?Gn.key:Ci.value)}else Yn.push(Ci.value);else Yn.push(Ci)}),ht){var Vn=pr(Yn),An=Vn.missingRawValues,on=Vn.existRawValues,ia=on.map(function(Ci){return kr(Ci).key}),xa=Object(y.a)(ia,!0,qr),ta=xa.checkedKeys,Li=xa.halfCheckedKeys;return[[].concat(Object(x.a)(An),Object(x.a)(ta.map(function(Ci){return Nr(Ci).data.value}))),Li]}return[Yn,qn]},[Lr,er,Et,Pt,_e]),fr=Object(T.a)(cr,2),xr=fr[0],Yr=fr[1],un=De(xr,{treeConduction:ht,value:Lr,showCheckedStrategy:Ee,conductKeyEntities:qr,getEntityByValue:kr,getEntityByKey:Nr,getLabelProp:Nt}),Nn=function(Yn,Vn,An){if(ur(er?Yn:Yn[0]),$t){var on=Yn;if(ht&&Ee!=="SHOW_ALL"){var ia=Yn.map(function(_n){var Ln=kr(_n);return Ln?Ln.key:_n}),xa=dt(ia,Ee,qr);on=xa.map(function(_n){var Ln=Nr(_n);return Ln?Ln.data.value:_n})}var ta=Vn||{triggerValue:void 0,selected:void 0},Li=ta.triggerValue,Ci=ta.selected,Gn=Et?Q(on,Lr,kr,Nt):on;if(_e){var Oa=Yr.map(function(_n){var Ln=Nr(_n);return Ln?Ln.data.value:_n}).filter(function(_n){return!on.includes(_n)});Gn=[].concat(Object(x.a)(Gn),Object(x.a)(Q(Oa,Lr,kr,Nt)))}var mn={preValue:un,triggerValue:Li},On=!0;(_e||An==="selection"&&!Ci)&&(On=!1),Ae(mn,Li,Yn,_t,On),dr?mn.checked=Ci:mn.selected=Ci,$t(er?Gn:Gn[0],Et?null:on.map(function(_n){var Ln=kr(_n);return Ln?Nt(Ln.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(ht){var xa=pr(ia),ta=xa.missingRawValues,Li=xa.existRawValues,Ci=Li.map(function(mn){return kr(mn).key}),Gn=Object(y.a)(Ci,!0,qr),Oa=Gn.checkedKeys;ia=[].concat(Object(x.a)(ta),Object(x.a)(Oa.map(function(mn){return Nr(mn).data.value})))}Nn(ia,{selected:!0,triggerValue:Yn},An)}Qt&&Qt(on,Vn)},Tn=function(Yn,Vn,An){var on=Yn,ia=J(xr,Yn);if(ht){var xa=pr(ia),ta=xa.missingRawValues,Li=xa.existRawValues,Ci=Li.map(function(mn){return kr(mn).key}),Gn=Object(y.a)(Ci,{checked:!1,halfCheckedKeys:Yr},qr),Oa=Gn.checkedKeys;ia=[].concat(Object(x.a)(ta),Object(x.a)(Oa.map(function(mn){return Nr(mn).data.value})))}Nn(ia,{selected:!1,triggerValue:Yn},An),Mt&&Mt(on,Vn)},gn=function(){Nn([],null,"clear")},Bn=n.useCallback(function(qn){if(Gt){var Yn={};Object.defineProperty(Yn,"documentClickClose",{get:function(){return Object(I.a)(!1,"Second param of `onDropdownVisibleChange` has been removed."),!1}}),Gt(qn,Yn)}},[Gt]),Kn={optionLabelProp:null,optionFilterProp:qe,dropdownAlign:Wt,internalProps:{mark:b.a,onClear:gn,skipTriggerChange:!0,skipTriggerSelect:!0,onRawSelect:jr,onRawDeselect:Tn}};return"filterTreeNode"in bt&&(Kn.filterOption=At),n.createElement(j.Provider,{value:{checkable:dr,loadData:Fe,treeLoadedKeys:Ye,onTreeLoad:zt,checkedKeys:xr,halfCheckedKeys:Yr,treeDefaultExpandAll:xe,treeExpandedKeys:Lt,treeDefaultExpandedKeys:de,onTreeExpand:Rt,treeIcon:se,treeMotion:rt,showTreeIcon:Oe,switcherIcon:ke,treeLine:Pe,treeNodeFilterProp:qe}},n.createElement(je,Object.assign({ref:pt,mode:er?"multiple":null},bt,Kn,{value:un,labelInValue:!0,options:_t,onChange:null,onSelect:null,onDeselect:null,onDropdownVisibleChange:Bn})))}),Xe=function(bt){Object(u.a)(or,bt);var It=Object(p.a)(or);function or(){var Pt;return Object(t.a)(this,or),Pt=It.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(st,Object.assign({ref:this.selectRef},this.props))}}]),or}(n.Component);Xe.TreeNode=Y,Xe.SHOW_ALL=ge,Xe.SHOW_PARENT=Re,Xe.SHOW_CHILD=ze;var Je=Xe,et=Je,at=e("TSYQ"),Ve=e.n(at),le=e("BGR+"),ae=e("H84U"),lt=e("uaoM"),Ze=e("1vzs"),Te=e("2jpz"),Jt=e("3Nzz"),mt=function(bt){r()(or,bt);var It=d()(or);function or(Pt){var _e;return h()(this,or),_e=It.call(this,Pt),_e.selectRef=n.createRef(),_e.renderTreeSelect=function(Ce){var Ee=Ce.getPopupContainer,we=Ce.getPrefixCls,Fe=Ce.renderEmpty,Ye=Ce.direction,Ge=Ce.virtual,qe=Ce.dropdownMatchSelectWidth,Ke=_e.props,ct=Ke.prefixCls,wt=Ke.size,Lt=Ke.className,de=Ke.treeCheckable,xe=Ke.multiple,$=Ke.listHeight,se=$===void 0?256:$,Oe=Ke.listItemHeight,ke=Oe===void 0?26:Oe,Pe=Ke.notFoundContent,rt=Ke.switcherIcon,At=Ke.treeLine,Wt=Ke.getPopupContainer,$t=Ke.dropdownClassName,Rt=Ke.bordered,zt=Ke.treeIcon,Gt=zt===void 0?!1:zt,Qt=we("select",ct),Mt=we("select-tree",ct),dr=we("tree-select",ct),er=Ve()($t,"".concat(dr,"-dropdown"),m()({},"".concat(dr,"-dropdown-rtl"),Ye==="rtl")),ht=!!(de||xe),Et=Object(Ze.a)(f()(f()({},_e.props),{multiple:ht,prefixCls:Qt})),pt=Et.suffixIcon,vt=Et.itemIcon,Nt=Et.removeIcon,_t=Et.clearIcon,gt;Pe!==void 0?gt=Pe:gt=Fe("Select");var Ht=Object(le.default)(_e.props,["prefixCls","suffixIcon","itemIcon","removeIcon","clearIcon","switcherIcon","size","bordered"]);return n.createElement(Jt.b.Consumer,null,function(kt){var ir,Xt=wt||kt,mr=Ve()(!ct&&dr,(ir={},m()(ir,"".concat(Qt,"-lg"),Xt==="large"),m()(ir,"".concat(Qt,"-sm"),Xt==="small"),m()(ir,"".concat(Qt,"-rtl"),Ye==="rtl"),m()(ir,"".concat(Qt,"-borderless"),!Rt),ir),Lt);return n.createElement(et,f()({virtual:Ge,dropdownMatchSelectWidth:qe},Ht,{ref:_e.selectRef,prefixCls:Qt,className:mr,listHeight:se,listItemHeight:ke,treeCheckable:de&&n.createElement("span",{className:"".concat(Qt,"-tree-checkbox-inner")}),inputIcon:pt,menuItemSelectedIcon:vt,removeIcon:Nt,clearIcon:_t,switcherIcon:function(Nr){return Object(Te.a)(Mt,rt,At,Nr)},showTreeIcon:Gt,notFoundContent:gt,getPopupContainer:Wt||Ee,treeMotion:null,dropdownClassName:er}))})},Object(lt.a)(Pt.multiple!==!1||!Pt.treeCheckable,"TreeSelect","`multiple` will alway be `true` when `treeCheckable` is true"),_e}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(ae.a,null,this.renderTreeSelect)}}]),or}(n.Component);mt.TreeNode=Y,mt.SHOW_ALL=ge,mt.SHOW_PARENT=Re,mt.SHOW_CHILD=ze,mt.defaultProps={transitionName:"slide-up",choiceTransitionName:"",bordered:!0};var ft=D.a=mt},"5Uyt":function(R,D,e){"use strict";Object.defineProperty(D,"__esModule",{value:!0}),D.default=void 0;var g=f(e("KmBX"));function f(m){return m&&m.__esModule?m:{default:m}}var A=g;D.default=A,R.exports=A},"5YOS":function(R,D,e){"use strict";Object.defineProperty(D,"__esModule",{value:!0}),D.default=void 0;var g=f(e("xb2K"));function f(m){return m&&m.__esModule?m:{default:m}}var A=g;D.default=A,R.exports=A},"5YgA":function(R,D,e){},"5bA4":function(R,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"},A=f,m=e("6VBw"),v=function(a,i){return g.createElement(m.a,Object.assign({},a,{ref:i,icon:A}))};v.displayName="LeftOutlined";var h=D.a=g.forwardRef(v)},"5nXd":function(R,D,e){var g=e("MFOe"),f=g.slice,A=g.pluck,m=g.each,v=g.bind,h=g.create,c=g.isList,a=g.isFunction,i=g.isObject;R.exports={createStore:d};var r={version:"2.0.12",enabled:!1,get:function(l,t){var s=this.storage.read(this._namespacePrefix+l);return this._deserialize(s,t)},set:function(l,t){return t===void 0?this.remove(l):(this.storage.write(this._namespacePrefix+l,this._serialize(t)),t)},remove:function(l){this.storage.remove(this._namespacePrefix+l)},each:function(l){var t=this;this.storage.each(function(s,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 x={_namespacePrefix:s,_namespaceRegexp:u,_testStorage:function(w){try{var E="__storejs__test__";w.write(E,E);var C=w.read(E)===E;return w.remove(E),C}catch(_){return!1}},_assignPluginFnProp:function(w,E){var C=this[E];this[E]=function(){var y=f(arguments,0),b=this;function O(){return C?(m(arguments,function(M,F){y[F]=M}),C.apply(b,y)):void 0}var I=[O].concat(y);return w.apply(b,I)}},_serialize:function(w){return JSON.stringify(w)},_deserialize:function(w,E){if(!w)return E;var C="";try{C=JSON.parse(w)}catch(_){C=w}return C!==void 0?C:E},_addStorage:function(w){if(this.enabled)return;this._testStorage(w)&&(this.storage=w,this.enabled=!0)},_addPlugin:function(w){var E=this;if(c(w)){m(w,function(y){E._addPlugin(y)});return}var C=A(this.plugins,function(y){return w===y});if(C)return;if(this.plugins.push(w),!a(w))throw new Error("Plugins must be function values that return objects");var _=w.call(this);if(!i(_))throw new Error("Plugins must return an object of function properties");m(_,function(y,b){if(!a(y))throw new Error("Bad plugin property: "+b+" from plugin "+w.name+". Plugins should only return functions.");E._assignPluginFnProp(y,b)})},addStorage:function(w){o("store.addStorage(storage) is deprecated. Use createStore([storages])"),this._addStorage(w)}},S=h(x,r,{plugins:[]});return S.raw={},m(S,function(T,w){a(T)&&(S.raw[w]=v(S,T))}),m(n,function(T){S._addStorage(T)}),m(l,function(T){S._addPlugin(T)}),S}},"5rEg":function(R,D,e){"use strict";var g=e("pVnL"),f=e.n(g),A=e("lwsE"),m=e.n(A),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),x=e("CWQg"),S=e("0n0R"),T=Object(x.a)("text","input");function w(J){return!!(J.prefix||J.suffix||J.allowClear)}var E=function(J){a()(oe,J);var fe=r()(oe);function oe(){var Le;return m()(this,oe),Le=fe.apply(this,arguments),Le.containerRef=n.createRef(),Le.onInputMouseUp=function(he){var te;if((te=Le.containerRef.current)===null||te===void 0?void 0:te.contains(he.target)){var Z=Le.props.triggerFocus;Z()}},Le}return h()(oe,[{key:"renderClearIcon",value:function(he){var te=this.props,Z=te.allowClear,ge=te.value,Re=te.disabled,ze=te.readOnly,dt=te.inputType,De=te.handleReset;if(!Z)return null;var Tt=!Re&&!ze&&ge,je=dt===T[0]?"".concat(he,"-textarea-clear-icon"):"".concat(he,"-clear-icon");return n.createElement(p.a,{onClick:De,className:t()(je,d()({},"".concat(je,"-hidden"),!Tt)),role:"button"})}},{key:"renderSuffix",value:function(he){var te=this.props,Z=te.suffix,ge=te.allowClear;return Z||ge?n.createElement("span",{className:"".concat(he,"-suffix")},this.renderClearIcon(he),Z):null}},{key:"renderLabeledIcon",value:function(he,te){var Z,ge=this.props,Re=ge.focused,ze=ge.value,dt=ge.prefix,De=ge.className,Tt=ge.size,je=ge.suffix,st=ge.disabled,Xe=ge.allowClear,Je=ge.direction,et=ge.style,at=ge.readOnly,Ve=ge.bordered,le=this.renderSuffix(he);if(!w(this.props))return Object(S.a)(te,{value:ze});var ae=dt?n.createElement("span",{className:"".concat(he,"-prefix")},dt):null,lt=t()(De,"".concat(he,"-affix-wrapper"),(Z={},d()(Z,"".concat(he,"-affix-wrapper-focused"),Re),d()(Z,"".concat(he,"-affix-wrapper-disabled"),st),d()(Z,"".concat(he,"-affix-wrapper-sm"),Tt==="small"),d()(Z,"".concat(he,"-affix-wrapper-lg"),Tt==="large"),d()(Z,"".concat(he,"-affix-wrapper-input-with-clear-btn"),je&&Xe&&ze),d()(Z,"".concat(he,"-affix-wrapper-rtl"),Je==="rtl"),d()(Z,"".concat(he,"-affix-wrapper-readonly"),at),d()(Z,"".concat(he,"-affix-wrapper-borderless"),!Ve),Z));return n.createElement("span",{ref:this.containerRef,className:lt,style:et,onMouseUp:this.onInputMouseUp},ae,Object(S.a)(te,{style:null,value:ze,className:M(he,Ve,Tt,st)}),le)}},{key:"renderInputWithLabel",value:function(he,te){var Z,ge,Re=this.props,ze=Re.addonBefore,dt=Re.addonAfter,De=Re.style,Tt=Re.size,je=Re.className,st=Re.direction;if(!ze&&!dt)return te;var Xe="".concat(he,"-group"),Je="".concat(Xe,"-addon"),et=ze?n.createElement("span",{className:Je},ze):null,at=dt?n.createElement("span",{className:Je},dt):null,Ve=t()("".concat(he,"-wrapper"),(Z={},d()(Z,Xe,ze||dt),d()(Z,"".concat(Xe,"-rtl"),st==="rtl"),Z)),le=t()(je,"".concat(he,"-group-wrapper"),(ge={},d()(ge,"".concat(he,"-group-wrapper-sm"),Tt==="small"),d()(ge,"".concat(he,"-group-wrapper-lg"),Tt==="large"),d()(ge,"".concat(he,"-group-wrapper-rtl"),st==="rtl"),ge));return n.createElement("span",{className:le,style:De},n.createElement("span",{className:Ve},et,Object(S.a)(te,{style:null}),at))}},{key:"renderTextAreaWithClearIcon",value:function(he,te){var Z,ge=this.props,Re=ge.value,ze=ge.allowClear,dt=ge.className,De=ge.style,Tt=ge.direction,je=ge.bordered;if(!ze)return Object(S.a)(te,{value:Re});var st=t()(dt,"".concat(he,"-affix-wrapper"),"".concat(he,"-affix-wrapper-textarea-with-clear-btn"),(Z={},d()(Z,"".concat(he,"-affix-wrapper-rtl"),Tt==="rtl"),d()(Z,"".concat(he,"-affix-wrapper-borderless"),!je),Z));return n.createElement("span",{className:st,style:De},Object(S.a)(te,{style:null,value:Re}),this.renderClearIcon(he))}},{key:"render",value:function(){var he=this.props,te=he.prefixCls,Z=he.inputType,ge=he.element;return Z===T[0]?this.renderTextAreaWithClearIcon(te,ge):this.renderInputWithLabel(te,this.renderLabeledIcon(te,ge))}}]),oe}(n.Component),C=E,_=e("H84U"),y=e("3Nzz"),b=e("uaoM");function O(J){return typeof J=="undefined"||J===null?"":J}function I(J,fe,oe){if(oe){var Le=fe;if(fe.type==="click"){Le=Object.create(fe),Le.target=J,Le.currentTarget=J;var he=J.value;J.value="",oe(Le),J.value=he;return}oe(Le)}}function M(J,fe,oe,Le,he){var te;return t()(J,(te={},d()(te,"".concat(J,"-sm"),oe==="small"),d()(te,"".concat(J,"-lg"),oe==="large"),d()(te,"".concat(J,"-disabled"),Le),d()(te,"".concat(J,"-rtl"),he==="rtl"),d()(te,"".concat(J,"-borderless"),!fe),te))}var F=function(J){a()(oe,J);var fe=r()(oe);function oe(Le){var he;m()(this,oe),he=fe.call(this,Le),he.direction="ltr",he.focus=function(){he.input.focus()},he.saveClearableInput=function(Z){he.clearableInput=Z},he.saveInput=function(Z){he.input=Z},he.onFocus=function(Z){var ge=he.props.onFocus;he.setState({focused:!0},he.clearPasswordValueAttribute),ge&&ge(Z)},he.onBlur=function(Z){var ge=he.props.onBlur;he.setState({focused:!1},he.clearPasswordValueAttribute),ge&&ge(Z)},he.handleReset=function(Z){he.setValue("",function(){he.focus()}),I(he.input,Z,he.props.onChange)},he.renderInput=function(Z,ge,Re){var ze=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{},dt=he.props,De=dt.className,Tt=dt.addonBefore,je=dt.addonAfter,st=dt.size,Xe=dt.disabled,Je=Object(s.default)(he.props,["prefixCls","onPressEnter","addonBefore","addonAfter","prefix","suffix","allowClear","defaultValue","size","inputType","bordered"]);return n.createElement("input",f()({autoComplete:ze.autoComplete},Je,{onChange:he.handleChange,onFocus:he.onFocus,onBlur:he.onBlur,onKeyDown:he.handleKeyDown,className:t()(M(Z,Re,st||ge,Xe,he.direction),d()({},De,De&&!Tt&&!je)),ref:he.saveInput}))},he.clearPasswordValueAttribute=function(){he.removePasswordTimeout=setTimeout(function(){he.input&&he.input.getAttribute("type")==="password"&&he.input.hasAttribute("value")&&he.input.removeAttribute("value")})},he.handleChange=function(Z){he.setValue(Z.target.value,he.clearPasswordValueAttribute),I(he.input,Z,he.props.onChange)},he.handleKeyDown=function(Z){var ge=he.props,Re=ge.onPressEnter,ze=ge.onKeyDown;Z.keyCode===13&&Re&&Re(Z),ze&&ze(Z)},he.renderComponent=function(Z){var ge=Z.getPrefixCls,Re=Z.direction,ze=Z.input,dt=he.state,De=dt.value,Tt=dt.focused,je=he.props,st=je.prefixCls,Xe=je.bordered,Je=Xe===void 0?!0:Xe,et=ge("input",st);return he.direction=Re,n.createElement(y.b.Consumer,null,function(at){return n.createElement(C,f()({size:at},he.props,{prefixCls:et,inputType:"input",value:O(De),element:he.renderInput(et,at,Je,ze),handleReset:he.handleReset,ref:he.saveClearableInput,direction:Re,focused:Tt,triggerFocus:he.focus,bordered:Je}))})};var te=typeof Le.value=="undefined"?Le.defaultValue:Le.value;return he.state={value:te,focused:!1,prevValue:Le.value},he}return h()(oe,[{key:"componentDidMount",value:function(){this.clearPasswordValueAttribute()}},{key:"componentDidUpdate",value:function(){}},{key:"getSnapshotBeforeUpdate",value:function(he){return w(he)!==w(this.props)&&Object(b.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(he,te){this.props.value===void 0&&this.setState({value:he},te)}},{key:"render",value:function(){return n.createElement(_.a,null,this.renderComponent)}}],[{key:"getDerivedStateFromProps",value:function(he,te){var Z=te.prevValue,ge={prevValue:he.value};return(he.value!==void 0||Z!==he.value)&&(ge.value=he.value),ge}}]),oe}(n.Component);F.defaultProps={type:"text"};var P=F,j=function(fe){return n.createElement(_.a,null,function(oe){var Le,he=oe.getPrefixCls,te=oe.direction,Z=fe.prefixCls,ge=fe.className,Re=ge===void 0?"":ge,ze=he("input-group",Z),dt=t()(ze,(Le={},d()(Le,"".concat(ze,"-lg"),fe.size==="large"),d()(Le,"".concat(ze,"-sm"),fe.size==="small"),d()(Le,"".concat(ze,"-compact"),fe.compact),d()(Le,"".concat(ze,"-rtl"),te==="rtl"),Le),Re);return n.createElement("span",{className:dt,style:fe.style,onMouseEnter:fe.onMouseEnter,onMouseLeave:fe.onMouseLeave,onFocus:fe.onFocus,onBlur:fe.onBlur},fe.children)})},K=j,N=e("c+Xe"),B=e("w6Tc"),U=e.n(B),H=e("gZBC"),z=e.n(H),X=e("2/Rp"),W=function(J,fe){var oe={};for(var Le in J)Object.prototype.hasOwnProperty.call(J,Le)&&fe.indexOf(Le)<0&&(oe[Le]=J[Le]);if(J!=null&&typeof Object.getOwnPropertySymbols=="function")for(var he=0,Le=Object.getOwnPropertySymbols(J);he<Le.length;he++)fe.indexOf(Le[he])<0&&Object.prototype.propertyIsEnumerable.call(J,Le[he])&&(oe[Le[he]]=J[Le[he]]);return oe},Y=n.forwardRef(function(J,fe){var oe=n.useRef(null),Le=function(De){var Tt=J.onChange,je=J.onSearch;De&&De.target&&De.type==="click"&&je&&je(De.target.value,De),Tt&&Tt(De)},he=function(De){var Tt;document.activeElement===((Tt=oe.current)===null||Tt===void 0?void 0:Tt.input)&&De.preventDefault()},te=function(De){var Tt,je=J.onSearch,st=J.loading,Xe=J.disabled;if(st||Xe)return;je&&je((Tt=oe.current)===null||Tt===void 0?void 0:Tt.input.value,De)},Z=function(De){var Tt=J.enterButton,je=J.size;return Tt?n.createElement(y.b.Consumer,{key:"enterButton"},function(st){return n.createElement(X.a,{className:"".concat(De,"-button"),type:"primary",size:je||st},n.createElement(z.a,null))}):n.createElement(z.a,{className:"".concat(De,"-icon"),key:"loadingIcon"})},ge=function(De){var Tt=J.suffix,je=J.enterButton,st=J.loading;if(st&&!je)return[Tt,Z(De)];if(je)return Tt;var Xe=n.createElement(U.a,{className:"".concat(De,"-icon"),key:"searchIcon",onClick:te});return Tt?[Object(S.c)(Tt,null,{key:"suffix"}),Xe]:Xe},Re=function(De,Tt){var je=J.enterButton,st=J.disabled,Xe=J.addonAfter,Je=J.loading,et="".concat(De,"-button");if(Je&&je)return[Z(De),Xe];if(!je)return Xe;var at,Ve=je,le=Ve.type&&Ve.type.__ANT_BUTTON===!0;return le||Ve.type==="button"?at=Object(S.a)(Ve,f()({onMouseDown:he,onClick:te,key:"enterButton"},le?{className:et,size:Tt}:{})):at=n.createElement(X.a,{className:et,type:"primary",size:Tt,disabled:st,key:"enterButton",onMouseDown:he,onClick:te},je===!0?n.createElement(U.a,null):je),Xe?[at,Object(S.c)(Xe,null,{key:"addonAfter"})]:at},ze=function(De){var Tt=De.getPrefixCls,je=De.direction,st=J.prefixCls,Xe=J.inputPrefixCls,Je=J.enterButton,et=J.className,at=J.size,Ve=W(J,["prefixCls","inputPrefixCls","enterButton","className","size"]);delete Ve.onSearch,delete Ve.loading;var le=Tt("input-search",st),ae=Tt("input",Xe),lt=function(Te){var Jt;if(Je){var mt;Jt=t()(le,et,(mt={},d()(mt,"".concat(le,"-rtl"),je==="rtl"),d()(mt,"".concat(le,"-enter-button"),!!Je),d()(mt,"".concat(le,"-").concat(Te),!!Te),mt))}else Jt=t()(le,et,d()({},"".concat(le,"-rtl"),je==="rtl"));return Jt};return n.createElement(y.b.Consumer,null,function(Ze){return n.createElement(P,f()({ref:Object(N.a)(oe,fe),onPressEnter:te},Ve,{size:at||Ze,prefixCls:ae,addonAfter:Re(le,at||Ze),suffix:ge(le),onChange:Le,className:lt(at||Ze)}))})};return n.createElement(_.a,null,ze)});Y.defaultProps={enterButton:!1},Y.displayName="Search";var q=Y,me=e("Y1PL"),G=function(J){a()(oe,J);var fe=r()(oe);function oe(Le){var he;m()(this,oe),he=fe.call(this,Le),he.focus=function(){he.resizableTextArea.textArea.focus()},he.saveTextArea=function(Z){he.resizableTextArea=Z==null?void 0:Z.resizableTextArea},he.saveClearableInput=function(Z){he.clearableInput=Z},he.handleChange=function(Z){he.setValue(Z.target.value),I(he.resizableTextArea.textArea,Z,he.props.onChange)},he.handleReset=function(Z){he.setValue("",function(){he.focus()}),I(he.resizableTextArea.textArea,Z,he.props.onChange)},he.renderTextArea=function(Z,ge){return n.createElement(me.default,f()({},Object(s.default)(he.props,["allowClear","bordered"]),{className:t()(he.props.className,d()({},"".concat(Z,"-borderless"),!ge)),prefixCls:Z,onChange:he.handleChange,ref:he.saveTextArea}))},he.renderComponent=function(Z){var ge=Z.getPrefixCls,Re=Z.direction,ze=he.state.value,dt=he.props,De=dt.prefixCls,Tt=dt.bordered,je=Tt===void 0?!0:Tt,st=ge("input",De);return n.createElement(C,f()({},he.props,{prefixCls:st,direction:Re,inputType:"text",value:O(ze),element:he.renderTextArea(st,je),handleReset:he.handleReset,ref:he.saveClearableInput,triggerFocus:he.focus,bordered:je}))};var te=typeof Le.value=="undefined"?Le.defaultValue:Le.value;return he.state={value:te},he}return h()(oe,[{key:"setValue",value:function(he,te){this.props.value===void 0&&this.setState({value:he},te)}},{key:"blur",value:function(){this.resizableTextArea.textArea.blur()}},{key:"render",value:function(){return n.createElement(_.a,null,this.renderComponent)}}],[{key:"getDerivedStateFromProps",value:function(he){return he.value!==void 0?{value:he.value}:null}}]),oe}(n.Component),ye=G,Ae=e("J4zp"),ve=e.n(Ae),Ue=e("qPY4"),Me=e.n(Ue),nt=e("fUL4"),ne=e.n(nt),be=function(J,fe){var oe={};for(var Le in J)Object.prototype.hasOwnProperty.call(J,Le)&&fe.indexOf(Le)<0&&(oe[Le]=J[Le]);if(J!=null&&typeof Object.getOwnPropertySymbols=="function")for(var he=0,Le=Object.getOwnPropertySymbols(J);he<Le.length;he++)fe.indexOf(Le[he])<0&&Object.prototype.propertyIsEnumerable.call(J,Le[he])&&(oe[Le[he]]=J[Le[he]]);return oe},ot={click:"onClick",hover:"onMouseOver"},ue=n.forwardRef(function(J,fe){var oe=Object(n.useState)(!1),Le=ve()(oe,2),he=Le[0],te=Le[1],Z=function(){var dt=J.disabled;if(dt)return;te(!he)},ge=function(dt){var De,Tt=J.action,je=J.iconRender,st=je===void 0?function(){return null}:je,Xe=ot[Tt]||"",Je=st(he),et=(De={},d()(De,Xe,Z),d()(De,"className","".concat(dt,"-icon")),d()(De,"key","passwordIcon"),d()(De,"onMouseDown",function(Ve){Ve.preventDefault()}),d()(De,"onMouseUp",function(Ve){Ve.preventDefault()}),De);return n.cloneElement(n.isValidElement(Je)?Je:n.createElement("span",null,Je),et)},Re=function(dt){var De=dt.getPrefixCls,Tt=J.className,je=J.prefixCls,st=J.inputPrefixCls,Xe=J.size,Je=J.visibilityToggle,et=be(J,["className","prefixCls","inputPrefixCls","size","visibilityToggle"]),at=De("input",st),Ve=De("input-password",je),le=Je&&ge(Ve),ae=t()(Ve,Tt,d()({},"".concat(Ve,"-").concat(Xe),!!Xe)),lt=f()(f()({},Object(s.default)(et,["suffix","iconRender"])),{type:he?"text":"password",className:ae,prefixCls:at,suffix:le});return Xe&&(lt.size=Xe),n.createElement(P,f()({ref:fe},lt))};return n.createElement(_.a,null,Re)});ue.defaultProps={action:"click",visibilityToggle:!0,iconRender:function(fe){return fe?n.createElement(Me.a,null):n.createElement(ne.a,null)}},ue.displayName="Password";var Q=ue;P.Group=K,P.Search=q,P.TextArea=ye,P.Password=Q;var V=D.a=P},"5s0K":function(R,D,e){var g=e("bYtY");function f(){var A=[],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,A.push({el:h,target:c,time:a,delay:i,easing:r}),!0)},done:function(h){return v=h,this},start:function(){for(var h=A.length,c=0,a=A.length;c<a;c++){var i=A[c];i.el.animateTo(i.target,i.time,i.delay,i.easing,r)}return this;function r(){h--,h||(A.length=0,m={},v&&v())}}}}D.createWrap=f},"5yev":function(R,D,e){"use strict";Object.defineProperty(D,"__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"};D.default=g},"6/nd":function(R,D,e){var g=e("ProS");g.registerAction("legendScroll","legendscroll",function(f,A){var m=f.scrollDataIndex;m!=null&&A.eachComponent({mainType:"legend",subType:"scroll",query:f},function(v){v.setScrollDataIndex(m)})})},"62sa":function(R,D,e){var g=e("bYtY"),f=e("4NO4"),A=f.makeInner,m=e("zTMp"),v=e("Ez2D"),h=g.each,c=g.curry,a=A();function i(S,T,w){var E=S.currTrigger,C=[S.x,S.y],_=S,y=S.dispatchAction||g.bind(w.dispatchAction,w),b=T.getComponent("axisPointer").coordSysAxesInfo;if(!b)return;x(C)&&(C=v({seriesIndex:_.seriesIndex,dataIndex:_.dataIndex},T).point);var O=x(C),I=_.axesInfo,M=b.axesInfo,F=E==="leave"||x(C),P={},j={},K={list:[],map:{}},N={showPointer:c(d,j),showTooltip:c(n,K)};h(b.coordSysMap,function(U,H){var z=O||U.containPoint(C);h(b.coordSysAxesInfo[H],function(X,W){var Y=X.axis,q=u(I,X);if(!F&&z&&(!I||q)){var me=q&&q.value;me==null&&!O&&(me=Y.pointToData(C)),me!=null&&r(X,me,N,!1,P)}})});var B={};return h(M,function(U,H){var z=U.linkGroup;z&&!j[H]&&h(z.axesInfo,function(X,W){var Y=j[W];if(X!==U&&Y){var q=Y.value;z.mapper&&(q=U.axis.scale.parse(z.mapper(q,p(X),p(U)))),B[U.key]=q}})}),h(B,function(U,H){r(M[H],U,N,!0,P)}),l(j,M,P),t(K,C,S,y),s(M,y,w),P}function r(S,T,w,E,C){var _=S.axis;if(_.scale.isBlank()||!_.containData(T))return;if(!S.involveSeries){w.showPointer(S,T);return}var y=o(T,S),b=y.payloadBatch,O=y.snapToValue;b[0]&&C.seriesIndex==null&&g.extend(C,b[0]),!E&&S.snap&&(_.containData(O)&&O!=null&&(T=O)),w.showPointer(S,T,b,C),w.showTooltip(S,y,O)}function o(S,T){var w=T.axis,E=w.dim,C=S,_=[],y=Number.MAX_VALUE,b=-1;return h(T.seriesModels,function(O,I){var M=O.getData().mapDimension(E,!0),F,P;if(O.getAxisTooltipData){var j=O.getAxisTooltipData(M,S,w);P=j.dataIndices,F=j.nestestValue}else{if(P=O.getData().indicesOfNearest(M[0],S,w.type==="category"?.5:null),!P.length)return;F=O.getData().get(M[0],P[0])}if(F==null||!isFinite(F))return;var K=S-F,N=Math.abs(K);N<=y&&((N<y||K>=0&&b<0)&&(y=N,b=K,C=F,_.length=0),h(P,function(B){_.push({seriesIndex:O.seriesIndex,dataIndexInside:B,dataIndex:O.getData().getRawIndex(B)})}))}),{payloadBatch:_,snapToValue:C}}function d(S,T,w,E){S[T.key]={value:w,payloadBatch:E}}function n(S,T,w,E){var C=w.payloadBatch,_=T.axis,y=_.model,b=T.axisPointerModel;if(!T.triggerTooltip||!C.length)return;var O=T.coordSys.model,I=m.makeKey(O),M=S.map[I];M||(M=S.map[I]={coordSysId:O.id,coordSysIndex:O.componentIndex,coordSysType:O.type,coordSysMainType:O.mainType,dataByAxis:[]},S.list.push(M)),M.dataByAxis.push({axisDim:_.dim,axisIndex:y.componentIndex,axisType:y.type,axisId:y.id,value:E,valueLabelOpt:{precision:b.get("label.precision"),formatter:b.get("label.formatter")},seriesDataIndices:C.slice()})}function l(S,T,w){var E=w.axesInfo=[];h(T,function(C,_){var y=C.axisPointerModel.option,b=S[_];b?(!C.useHandle&&(y.status="show"),y.value=b.value,y.seriesDataIndices=(b.payloadBatch||[]).slice()):!C.useHandle&&(y.status="hide"),y.status==="show"&&E.push({axisDim:C.axis.dim,axisIndex:C.axis.model.componentIndex,value:y.value})})}function t(S,T,w,E){if(x(T)||!S.list.length){E({type:"hideTip"});return}var C=((S.list[0].dataByAxis[0]||{}).seriesDataIndices||[])[0]||{};E({type:"showTip",escapeConnect:!0,x:T[0],y:T[1],tooltipOption:w.tooltipOption,position:w.position,dataIndexInside:C.dataIndexInside,dataIndex:C.dataIndex,seriesIndex:C.seriesIndex,dataByCoordSys:S.list})}function s(S,T,w){var E=w.getZr(),C="axisPointerLastHighlights",_=a(E)[C]||{},y=a(E)[C]={};h(S,function(I,M){var F=I.axisPointerModel.option;F.status==="show"&&h(F.seriesDataIndices,function(P){var j=P.seriesIndex+" | "+P.dataIndex;y[j]=P})});var b=[],O=[];g.each(_,function(I,M){!y[M]&&O.push(I)}),g.each(y,function(I,M){!_[M]&&b.push(I)}),O.length&&w.dispatchAction({type:"downplay",escapeConnect:!0,batch:O}),b.length&&w.dispatchAction({type:"highlight",escapeConnect:!0,batch:b})}function u(S,T){for(var w=0;w<(S||[]).length;w++){var E=S[w];if(T.axis.dim===E.axisDim&&T.axis.model.componentIndex===E.axisIndex)return E}}function p(S){var T=S.axis.model,w={},E=w.axisDim=S.axis.dim;return w.axisIndex=w[E+"AxisIndex"]=T.componentIndex,w.axisName=w[E+"AxisName"]=T.name,w.axisId=w[E+"AxisId"]=T.id,w}function x(S){return!S||S[0]==null||isNaN(S[0])||S[1]==null||isNaN(S[1])}R.exports=i},"6BzB":function(R,D,e){"use strict";Object.defineProperty(D,"__esModule",{value:!0}),D.shrinkBuf=g,D.arraySet=f,D.flattenChunks=A,D.Buf32=D.Buf16=D.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 A(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;D.Buf8=m;var v=Uint16Array;D.Buf16=v;var h=Int32Array;D.Buf32=h},"6D9b":function(R,D,e){},"6GrX":function(R,D,e){var g=e("mFDi"),f=e("Xnb7"),A=e("bYtY"),m=A.getContext,v=A.extend,h=A.retrieve2,c=A.retrieve3,a=A.trim,i={},r=0,o=5e3,d=/\{([a-zA-Z0-9_]+)\|([^}]*)\}/g,n="12px sans-serif",l={};function t(K,N){l[K]=N}function s(K,N){N=N||n;var B=K+":"+N;if(i[B])return i[B];for(var U=(K+"").split(`
|
|
|
`),H=0,z=0,X=U.length;z<X;z++)H=Math.max(I(U[z],N).width,H);return r>o&&(r=0,i={}),r++,i[B]=H,H}function u(K,N,B,U,H,z,X,W){return X?x(K,N,B,U,H,z,X,W):p(K,N,B,U,H,z,W)}function p(K,N,B,U,H,z,X){var W=M(K,N,H,z,X),Y=s(K,N);H&&(Y+=H[1]+H[3]);var q=W.outerHeight,me=S(0,Y,B),G=T(0,q,U),ye=new g(me,G,Y,q);return ye.lineHeight=W.lineHeight,ye}function x(K,N,B,U,H,z,X,W){var Y=F(K,{rich:X,truncate:W,font:N,textAlign:B,textPadding:H,textLineHeight:z}),q=Y.outerWidth,me=Y.outerHeight,G=S(0,q,B),ye=T(0,me,U);return new g(G,ye,q,me)}function S(K,N,B){return B==="right"?K-=N:B==="center"&&(K-=N/2),K}function T(K,N,B){return B==="middle"?K-=N/2:B==="bottom"&&(K-=N),K}function w(K,N,B){var U=N.textPosition,H=N.textDistance,z=B.x,X=B.y;H=H||0;var W=B.height,Y=B.width,q=W/2,me="left",G="top";switch(U){case"left":z-=H,X+=q,me="right",G="middle";break;case"right":z+=H+Y,X+=q,G="middle";break;case"top":z+=Y/2,X-=H,me="center",G="bottom";break;case"bottom":z+=Y/2,X+=W+H,me="center";break;case"inside":z+=Y/2,X+=q,me="center",G="middle";break;case"insideLeft":z+=H,X+=q,G="middle";break;case"insideRight":z+=Y-H,X+=q,me="right",G="middle";break;case"insideTop":z+=Y/2,X+=H,me="center";break;case"insideBottom":z+=Y/2,X+=W-H,me="center",G="bottom";break;case"insideTopLeft":z+=H,X+=H;break;case"insideTopRight":z+=Y-H,X+=H,me="right";break;case"insideBottomLeft":z+=H,X+=W-H,G="bottom";break;case"insideBottomRight":z+=Y-H,X+=W-H,me="right",G="bottom";break}return K=K||{},K.x=z,K.y=X,K.textAlign=me,K.textVerticalAlign=G,K}function E(K,N,B){var U={textPosition:K,textDistance:B};return w({},U,N)}function C(K,N,B,U,H){if(!N)return"";var z=(K+"").split(`
|
|
|
`);H=_(N,B,U,H);for(var X=0,W=z.length;X<W;X++)z[X]=y(z[X],H);return z.join(`
|
|
|
`)}function _(K,N,B,U){U=v({},U),U.font=N;var B=h(B,"...");U.maxIterations=h(U.maxIterations,2);var H=U.minChar=h(U.minChar,0);U.cnCharWidth=s("\u56FD",N);var z=U.ascCharWidth=s("a",N);U.placeholder=h(U.placeholder,"");for(var X=K=Math.max(0,K-1),W=0;W<H&&X>=z;W++)X-=z;var Y=s(B,N);return Y>X&&(B="",Y=0),X=K-Y,U.ellipsis=B,U.ellipsisWidth=Y,U.contentWidth=X,U.containerWidth=K,U}function y(K,N){var B=N.containerWidth,U=N.font,H=N.contentWidth;if(!B)return"";var z=s(K,U);if(z<=B)return K;for(var X=0;;X++){if(z<=H||X>=N.maxIterations){K+=N.ellipsis;break}var W=X===0?b(K,H,N.ascCharWidth,N.cnCharWidth):z>0?Math.floor(K.length*H/z):0;K=K.substr(0,W),z=s(K,U)}return K===""&&(K=N.placeholder),K}function b(K,N,B,U){for(var H=0,z=0,X=K.length;z<X&&H<N;z++){var W=K.charCodeAt(z);H+=0<=W&&W<=127?B:U}return z}function O(K){return s("\u56FD",K)}function I(K,N){return l.measureText(K,N)}l.measureText=function(K,N){var B=m();return B.font=N||n,B.measureText(K)};function M(K,N,B,U,H){K!=null&&(K+="");var z=h(U,O(N)),X=K?K.split(`
|
|
|
`):[],W=X.length*z,Y=W,q=!0;if(B&&(Y+=B[0]+B[2]),K&&H){q=!1;var me=H.outerHeight,G=H.outerWidth;if(me!=null&&Y>me)K="",X=[];else if(G!=null)for(var ye=_(G-(B?B[1]+B[3]:0),N,H.ellipsis,{minChar:H.minChar,placeholder:H.placeholder}),Ae=0,ve=X.length;Ae<ve;Ae++)X[Ae]=y(X[Ae],ye)}return{lines:X,height:W,outerHeight:Y,lineHeight:z,canCacheByTextString:q}}function F(K,N){var B={lines:[],width:0,height:0};if(K!=null&&(K+=""),!K)return B;for(var U=d.lastIndex=0,H;(H=d.exec(K))!=null;){var z=H.index;z>U&&P(B,K.substring(U,z)),P(B,H[2],H[1]),U=d.lastIndex}U<K.length&&P(B,K.substring(U,K.length));var X=B.lines,W=0,Y=0,q=[],me=N.textPadding,G=N.truncate,ye=G&&G.outerWidth,Ae=G&&G.outerHeight;me&&(ye!=null&&(ye-=me[1]+me[3]),Ae!=null&&(Ae-=me[0]+me[2]));for(var ve=0;ve<X.length;ve++){for(var Ue=X[ve],Me=0,nt=0,ne=0;ne<Ue.tokens.length;ne++){var be=Ue.tokens[ne],ot=be.styleName&&N.rich[be.styleName]||{},ue=be.textPadding=ot.textPadding,Q=be.font=ot.font||N.font,V=be.textHeight=h(ot.textHeight,O(Q));if(ue&&(V+=ue[0]+ue[2]),be.height=V,be.lineHeight=c(ot.textLineHeight,N.textLineHeight,V),be.textAlign=ot&&ot.textAlign||N.textAlign,be.textVerticalAlign=ot&&ot.textVerticalAlign||"middle",Ae!=null&&W+be.lineHeight>Ae)return{lines:[],width:0,height:0};be.textWidth=s(be.text,Q);var J=ot.textWidth,fe=J==null||J==="auto";if(typeof J=="string"&&J.charAt(J.length-1)==="%")be.percentWidth=J,q.push(be),J=0;else{if(fe){J=be.textWidth;var oe=ot.textBackgroundColor,Le=oe&&oe.image;Le&&(Le=f.findExistImage(Le),f.isImageReady(Le)&&(J=Math.max(J,Le.width*V/Le.height)))}var he=ue?ue[1]+ue[3]:0;J+=he;var te=ye!=null?ye-nt:null;te!=null&&te<J&&(!fe||te<he?(be.text="",be.textWidth=J=0):(be.text=C(be.text,te-he,Q,G.ellipsis,{minChar:G.minChar}),be.textWidth=s(be.text,Q),J=be.textWidth+he))}nt+=be.width=J,ot&&(Me=Math.max(Me,be.lineHeight))}Ue.width=nt,Ue.lineHeight=Me,W+=Me,Y=Math.max(Y,nt)}B.outerWidth=B.width=h(N.textWidth,Y),B.outerHeight=B.height=h(N.textHeight,W),me&&(B.outerWidth+=me[1]+me[3],B.outerHeight+=me[0]+me[2]);for(var ve=0;ve<q.length;ve++){var be=q[ve],Z=be.percentWidth;be.width=parseInt(Z,10)/100*Y}return B}function P(K,N,B){for(var U=N==="",H=N.split(`
|
|
|
`),z=K.lines,X=0;X<H.length;X++){var W=H[X],Y={styleName:B,text:W,isLineHolder:!W&&!U};if(X)z.push({tokens:[Y]});else{var q=(z[z.length-1]||(z[0]={tokens:[]})).tokens,me=q.length;me===1&&q[0].isLineHolder?q[0]=Y:(W||!me||U)&&q.push(Y)}}}function j(K){var N=(K.fontSize||K.fontFamily)&&[K.fontStyle,K.fontWeight,(K.fontSize||12)+"px",K.fontFamily||"sans-serif"].join(" ");return N&&a(N)||K.textFont||K.font}D.DEFAULT_FONT=n,D.$override=t,D.getWidth=s,D.getBoundingRect=u,D.adjustTextX=S,D.adjustTextY=T,D.calculateTextPosition=w,D.adjustTextPositionOnRect=E,D.truncateText=C,D.getLineHeight=O,D.measureText=I,D.parsePlainText=M,D.parseRichText=F,D.makeFont=j},"6Hfg":function(R,D,e){"use strict";var g=e("TqRt"),f=e("284h");Object.defineProperty(D,"__esModule",{value:!0}),D.default=void 0;var A=f(e("q1tI")),m=g(e("FhB9")),v=g(e("KQxl")),h=function(i,r){return A.createElement(v.default,Object.assign({},i,{ref:r,icon:m.default}))};h.displayName="SwapRightOutlined";var c=A.forwardRef(h);D.default=c},"6Ic6":function(R,D,e){var g=e("bYtY"),f=g.each,A=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 A,this.uid=m.getUID("viewChart"),this.renderTask=i({plan:u,reset:p}),this.renderTask.context={view:this}}n.prototype={type:"chart",init:function(T,w){},render:function(T,w,E,C){},highlight:function(T,w,E,C){s(T.getData(),C,"emphasis")},downplay:function(T,w,E,C){s(T.getData(),C,"normal")},remove:function(T,w){this.group.removeAll()},dispose:function(){},incrementalPrepareRender:null,incrementalRender:null,updateTransform:null,filterForExposedEvent:null};var l=n.prototype;l.updateView=l.updateLayout=l.updateVisual=function(T,w,E,C){this.render(T,w,E,C)};function t(T,w,E){if(T&&(T.trigger(w,E),T.isGroup&&!c.isHighDownDispatcher(T)))for(var C=0,_=T.childCount();C<_;C++)t(T.childAt(C),w,E)}function s(T,w,E){var C=h.queryDataIndex(T,w),_=w&&w.highlightKey!=null?c.getHighlightDigit(w.highlightKey):null;C!=null?f(h.normalizeToArray(C),function(y){t(T.getItemGraphicEl(y),E,_)}):T.eachItemGraphicEl(function(y){t(y,E,_)})}v.enableClassExtend(n,["dispose"]),v.enableClassManagement(n,{registerWhenExtend:!0}),n.markUpdateMethod=function(T,w){o(T).updateMethod=w};function u(T){return d(T.model)}function p(T){var w=T.model,E=T.ecModel,C=T.api,_=T.payload,y=w.pipelineContext.progressiveRender,b=T.view,O=_&&o(_).updateMethod,I=y?"incrementalPrepareRender":O&&b[O]?O:"render";return I!=="render"&&b[I](w,E,C,_),x[I]}var x={incrementalPrepareRender:{progress:function(T,w){w.view.incrementalRender(T,w.model,w.ecModel,w.api,w.payload)}},render:{forceFirstProgress:!0,progress:function(T,w){w.view.render(w.model,w.ecModel,w.api,w.payload)}}},S=n;R.exports=S},"6MrE":function(R,D,e){},"6Qwc":function(R,D,e){"use strict";Object.defineProperty(D,"__esModule",{value:!0}),D.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"};D.default=g},"6SEX":function(R,D,e){"use strict";Object.defineProperty(D,"__esModule",{value:!0}),D.default=void 0;var g=f(e("qWUW"));function f(m){return m&&m.__esModule?m:{default:m}}var A=g;D.default=A,R.exports=A},"6UJt":function(R,D,e){"use strict";var g=e("cIOH"),f=e.n(g),A=e("v56E"),m=e.n(A),v=e("R9oj"),h=e("5NDa")},"6VBw":function(R,D,e){"use strict";var g=e("ODXe"),f=e("rePB"),A=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 x=p.primaryColor,S=p.secondaryColor;i.primaryColor=x,i.secondaryColor=S||Object(a.b)(x),i.calculated=!!S}function o(){return Object(c.a)({},i)}var d=function(x){var S=x.icon,T=x.className,w=x.onClick,E=x.style,C=x.primaryColor,_=x.secondaryColor,y=Object(A.a)(x,["icon","className","onClick","style","primaryColor","secondaryColor"]),b=i;if(C&&(b={primaryColor:C,secondaryColor:_||Object(a.b)(C)}),Object(a.f)(),Object(a.g)(Object(a.c)(S),"icon should be icon definiton, but got ".concat(S)),!Object(a.c)(S))return null;var O=S;return O&&typeof O.icon=="function"&&(O=Object(c.a)(Object(c.a)({},O),{},{icon:O.icon(b.primaryColor,b.secondaryColor)})),Object(a.a)(O.icon,"svg-".concat(O.name),Object(c.a)({className:T,onClick:w,style:E,"data-icon":O.name,width:"1em",height:"1em",fill:"currentColor","aria-hidden":"true"},y))};d.displayName="IconReact",d.getTwoToneColors=o,d.setTwoToneColors=r;var n=d;function l(p){var x=Object(a.d)(p),S=Object(g.a)(x,2),T=S[0],w=S[1];return n.setTwoToneColors({primaryColor:T,secondaryColor:w})}function t(){var p=n.getTwoToneColors();return p.calculated?[p.primaryColor,p.secondaryColor]:p.primaryColor}l("#1890ff");var s=m.forwardRef(function(p,x){var S=p.className,T=p.icon,w=p.spin,E=p.rotate,C=p.tabIndex,_=p.onClick,y=p.twoToneColor,b=Object(A.a)(p,["className","icon","spin","rotate","tabIndex","onClick","twoToneColor"]),O=h()("anticon",Object(f.a)({},"anticon-".concat(T.name),Boolean(T.name)),S),I=h()({"anticon-spin":!!w||T.name==="loading"}),M=C;M===void 0&&_&&(M=-1);var F=E?{msTransform:"rotate(".concat(E,"deg)"),transform:"rotate(".concat(E,"deg)")}:void 0,P=Object(a.d)(y),j=Object(g.a)(P,2),K=j[0],N=j[1];return m.createElement("span",Object.assign({role:"img","aria-label":T.name},b,{ref:x,tabIndex:M,onClick:_,className:O}),m.createElement(n,{className:I,icon:T,primaryColor:K,secondaryColor:N,style:F}))});s.displayName="AntdIcon",s.getTwoToneColor=t,s.setTwoToneColor=l;var u=D.a=s},"6cGi":function(R,D,e){"use strict";e.d(D,"a",function(){return i});var g=e("q1tI"),f=e.n(g);function A(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=A(u,2),x=p[0],S=p[1],T=l!==void 0?l:x;s&&(T=s(T));function w(C){S(C),T!==C&&t&&t(C,T)}var E=g.useRef(!0);return g.useEffect(function(){if(E.current){E.current=!1;return}l===void 0&&S(l)},[l]),[T,w]}},"6fms":function(R,D,e){var g=e("SUKs"),f=e("06Qe"),A=e("bYtY"),m=A.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;R.exports=a},"6r85":function(R,D,e){var g=e("bYtY");function f(A){if(!A||!g.isArray(A.series))return;g.each(A.series,function(m){g.isObject(m)&&m.type==="k"&&(m.type="candlestick")})}R.exports=f},"6sVZ":function(R,D){var e=Object.prototype;function g(f){var A=f&&f.constructor,m=typeof A=="function"&&A.prototype||e;return f===m}R.exports=g},"6uqw":function(R,D,e){var g=e("ProS"),f=e("bYtY"),A=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,x,S){this._dataExtent,this.targetVisuals={},this.controllerVisuals={},this.textStyleModel,this.itemSize,this.mergeDefaultAndTheme(p,S)},optionUpdated:function(p,x){var S=this.option;A.canvasSupported||(S.realtime=!1),!x&&h.replaceVisualOption(S,p,this.replacableOptionKeys),this.textStyleModel=this.getModel("textStyle"),this.resetItemSize(),this.completeVisualOption()},resetVisual:function(p){var x=this.stateList;p=f.bind(p,this),this.controllerVisuals=h.createVisualMappings(this.option.controller,x,p),this.targetVisuals=h.createVisualMappings(this.option.target,x,p)},getTargetSeriesIndices:function(){var p=this.option.seriesIndex,x=[];return p==null||p==="all"?this.ecModel.eachSeries(function(S,T){x.push(T)}):x=c.normalizeToArray(p),x},eachTargetSeries:function(p,x){f.each(this.getTargetSeriesIndices(),function(S){p.call(x,this.ecModel.getSeriesByIndex(S))},this)},isTargetSeries:function(p){var x=!1;return this.eachTargetSeries(function(S){S===p&&(x=!0)}),x},formatValueText:function(p,x,S){var T=this.option,w=T.precision,E=this.dataBound,C=T.formatter,_,y;if(S=S||["<",">"],f.isArray(p)&&(p=p.slice(),_=!0),y=x?p:_?[b(p[0]),b(p[1])]:b(p),f.isString(C))return C.replace("{value}",_?y[0]:y).replace("{value2}",_?y[1]:y);if(f.isFunction(C))return _?C(p[0],p[1]):C(p);if(_)return p[0]===E[0]?S[0]+" "+y[1]:p[1]===E[1]?S[1]+" "+y[0]:y[0]+" - "+y[1];return y;function b(O){return O===E[0]?"min":O===E[1]?"max":(+O).toFixed(Math.min(w,20))}},resetExtent:function(){var p=this.option,x=n([p.min,p.max]);this._dataExtent=x},getDataDimension:function(p){var x=this.option.dimension,S=p.dimensions;if(x==null&&!S.length)return;if(x!=null)return p.getDimension(x);for(var T=p.dimensions,w=T.length-1;w>=0;w--){var E=T[w],C=p.getDimensionInfo(E);if(!C.isCalculationCoord)return E}},getExtent:function(){return this._dataExtent.slice()},completeVisualOption:function(){var p=this.ecModel,x=this.option,S={inRange:x.inRange,outOfRange:x.outOfRange},T=x.target||(x.target={}),w=x.controller||(x.controller={});f.merge(T,S),f.merge(w,S);var E=this.isCategory();C.call(this,T),C.call(this,w),_.call(this,T,"inRange","outOfRange"),y.call(this,w);function C(b){o(x.color)&&!b.inRange&&(b.inRange={color:x.color.slice().reverse()}),b.inRange=b.inRange||{color:p.get("gradientColor")},d(this.stateList,function(O){var I=b[O];if(f.isString(I)){var M=m.get(I,"active",E);M?(b[O]={},b[O][I]=M):delete b[O]}},this)}function _(b,O,I){var M=b[O],F=b[I];M&&!F&&(F=b[I]={},d(M,function(P,j){if(!v.isValidType(j))return;var K=m.get(j,"inactive",E);K!=null&&(F[j]=K,j==="color"&&!F.hasOwnProperty("opacity")&&!F.hasOwnProperty("colorAlpha")&&(F.opacity=[0,0]))}))}function y(b){var O=(b.inRange||{}).symbol||(b.outOfRange||{}).symbol,I=(b.inRange||{}).symbolSize||(b.outOfRange||{}).symbolSize,M=this.get("inactiveColor");d(this.stateList,function(F){var P=this.itemSize,j=b[F];j||(j=b[F]={color:E?M:[M]}),j.symbol==null&&(j.symbol=O&&f.clone(O)||(E?"roundRect":["roundRect"])),j.symbolSize==null&&(j.symbolSize=I&&f.clone(I)||(E?P[0]:[P[0],P[0]])),j.symbol=i(j.symbol,function(B){return B==="none"||B==="square"?"roundRect":B});var K=j.symbolSize;if(K!=null){var N=-Infinity;r(K,function(B){B>N&&(N=B)}),j.symbolSize=i(K,function(B){return l(B,[0,N],[0,P[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;R.exports=u},"6usn":function(R,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 A(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)}}}R.exports=A},"6xvX":function(R,D,e){"use strict";Object.defineProperty(D,"__esModule",{value:!0}),D.default=void 0;var g=f(e("V7ic"));function f(m){return m&&m.__esModule?m:{default:m}}var A=g;D.default=A,R.exports=A},"711d":function(R,D){function e(g){return function(f){return f==null?void 0:f[g]}}R.exports=e},"72pK":function(R,D){function e(A,m,v,h,c,a){A=A||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]+=A;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(A,m){var v=A[m]-A[1-m];return{span:Math.abs(v),sign:v>0?-1:v<0?1:m?-1:1}}function f(A,m){return Math.min(m[1]!=null?m[1]:Infinity,Math.max(m[0]!=null?m[0]:-Infinity,A))}R.exports=e},"75ce":function(R,D,e){var g=e("ProS");e("IXuL"),e("8X+K");var f=e("f5Yq"),A=e("h8O9"),m=e("/d5a");e("Ae16"),g.registerVisual(f("line","circle","line")),g.registerLayout(A("line")),g.registerProcessor(g.PRIORITY.PROCESSOR.STATISTIC,m("line"))},"75ev":function(R,D,e){var g=e("ProS");e("IWNH"),e("bNin"),e("v5uJ");var f=e("f5Yq"),A=e("yik8");g.registerVisual(f("tree","circle")),g.registerLayout(A)},"77Zs":function(R,D,e){var g=e("Xi7e");function f(){this.__data__=new g,this.size=0}R.exports=f},"7AJT":function(R,D,e){var g=e("bYtY"),f=e("hM6l"),A=function(v,h,c,a,i){f.call(this,v,h,c),this.type=a||"value",this.position=i||"bottom"};A.prototype={constructor:A,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(A,f);var m=A;R.exports=m},"7Cbv":function(R,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 A(){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||A)();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=D.a=o},"7DRL":function(R,D,e){var g=e("Tghj"),f=g.__DEV__,A=e("bYtY"),m=A.createHashMap,v=A.isString,h=A.isArray,c=A.each,a=A.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 x=p.type;x==="geoJson"&&(x=p.type="geoJSON");var S=n[x];S(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)}};R.exports=d},"7G+c":function(R,D,e){var g=e("bYtY"),f=g.createHashMap,A=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:A(l)?r:c,fromDataset:!1})},v(d);var n=d;R.exports=n},"7GkX":function(R,D,e){var g=e("b80T"),f=e("A90E"),A=e("MMmD");function m(v){return A(v)?g(v):f(v)}R.exports=m},"7Kak":function(R,D,e){"use strict";var g=e("cIOH"),f=e.n(g),A=e("KPFz"),m=e.n(A)},"7Phj":function(R,D,e){var g=e("bYtY"),f=e("OELB"),A=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(E){p=Math.max(p,E.getData().count())}),r=o.getExtent(),Math.abs(r[1]-r[0])/p}m(d,function(E){var C=E.get("boxWidth");g.isArray(C)||(C=[C,C]),s.push([A(C[0],u)||0,A(C[1],u)||0])});var x=u*.8-2,S=x/n*.3,T=(x-S*(n-1))/n,w=T/2-x/2;m(d,function(E,C){t.push(w),w+=S+T,l.push(Math.min(Math.max(T,s[C][0]),s[C][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]),x=n.mapDimension(u[s],!0);if(p==null||x.length<5)return;for(var S=0;S<n.count();S++){var T=n.get(p,S),w=O(T,x[2],S),E=O(T,x[0],S),C=O(T,x[1],S),_=O(T,x[3],S),y=O(T,x[4],S),b=[];I(b,C,0),I(b,_,1),b.push(E,C,y,_),M(b,E),M(b,y),M(b,w),n.setItemLayout(S,{initBaseline:w[s],ends:b})}function O(F,P,j){var K=n.get(P,j),N=[];N[t]=F,N[s]=K;var B;return isNaN(F)||isNaN(K)?B=[NaN,NaN]:(B=d.dataToPoint(N),B[t]+=r),B}function I(F,P,j){var K=P.slice(),N=P.slice();K[t]+=l,N[t]-=l,j?F.push(K,N):F.push(N,K)}function M(F,P){var j=P.slice(),K=P.slice();j[t]-=l,K[t]+=l,F.push(j,K)}}R.exports=v},"7SHv":function(R,D,e){var g=e("LPTA"),f=g.devicePixelRatio,A=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(_){return parseInt(_,10)}function s(_){return _?_.__builtin__?!0:!(typeof _.resize!="function"||typeof _.refresh!="function"):!1}var u=new v(0,0,0,0),p=new v(0,0,0,0);function x(_,y,b){return u.copy(_.getBoundingRect()),_.transform&&u.applyTransform(_.transform),p.width=y,p.height=b,!u.intersect(p)}function S(_,y){if(_===y)return!1;if(!_||!y||_.length!==y.length)return!0;for(var b=0;b<_.length;b++)if(_[b]!==y[b])return!0;return!1}function T(_,y){for(var b=0;b<_.length;b++){var O=_[b];O.setTransform(y),y.beginPath(),O.buildPath(y,O.shape),y.clip(),O.restoreTransform(y)}}function w(_,y){var b=document.createElement("div");return b.style.cssText=["position:relative","width:"+_+"px","height:"+y+"px","padding:0","margin:0","border-width:0"].join(";")+";",b}var E=function(y,b,O){this.type="canvas";var I=!y.nodeName||y.nodeName.toUpperCase()==="CANVAS";this._opts=O=A.extend({},O||{}),this.dpr=O.devicePixelRatio||f,this._singleCanvas=I,this.root=y;var M=y.style;M&&(M["-webkit-tap-highlight-color"]="transparent",M["-webkit-user-select"]=M["user-select"]=M["-webkit-touch-callout"]="none",y.innerHTML=""),this.storage=b;var F=this._zlevelList=[],P=this._layers={};if(this._layerConfig={},this._needsManuallyCompositing=!1,I){var K=y.width,N=y.height;O.width!=null&&(K=O.width),O.height!=null&&(N=O.height),this.dpr=O.devicePixelRatio||1,y.width=K*this.dpr,y.height=N*this.dpr,this._width=K,this._height=N;var B=new c(y,this,this.dpr);B.__builtin__=!0,B.initContext(),P[d]=B,B.zlevel=d,F.push(d),this._domRoot=y}else{this._width=this._getSize(0),this._height=this._getSize(1);var j=this._domRoot=w(this._width,this._height);y.appendChild(j)}this._hoverlayer=null,this._hoverElements=[]};E.prototype={constructor:E,getType:function(){return"canvas"},isSingleCanvas:function(){return this._singleCanvas},getViewportRoot:function(){return this._domRoot},getViewportRootOffset:function(){var y=this.getViewportRoot();if(y)return{offsetLeft:y.offsetLeft||0,offsetTop:y.offsetTop||0}},refresh:function(y){var b=this.storage.getDisplayList(!0),O=this._zlevelList;this._redrawId=Math.random(),this._paintList(b,y,this._redrawId);for(var I=0;I<O.length;I++){var M=O[I],F=this._layers[M];if(!F.__builtin__&&F.refresh){var P=I===0?this._backgroundColor:null;F.refresh(P)}}return this.refreshHover(),this},addHover:function(y,b){if(y.__hoverMir)return;var O=new y.constructor({style:y.style,shape:y.shape,z:y.z,z2:y.z2,silent:y.silent});return O.__from=y,y.__hoverMir=O,b&&O.setStyle(b),this._hoverElements.push(O),O},removeHover:function(y){var b=y.__hoverMir,O=this._hoverElements,I=A.indexOf(O,b);I>=0&&O.splice(I,1),y.__hoverMir=null},clearHover:function(y){for(var b=this._hoverElements,O=0;O<b.length;O++){var I=b[O].__from;I&&(I.__hoverMir=null)}b.length=0},refreshHover:function(){var y=this._hoverElements,b=y.length,O=this._hoverlayer;if(O&&O.clear(),!b)return;h(y,this.storage.displayableSortFunc),O||(O=this._hoverlayer=this.getLayer(o));var I={};O.ctx.save();for(var M=0;M<b;){var F=y[M],P=F.__from;if(!(P&&P.__zr)){y.splice(M,1),P.__hoverMir=null,b--;continue}M++,P.invisible||(F.transform=P.transform,F.invTransform=P.invTransform,F.__clipPaths=P.__clipPaths,this._doPaintEl(F,O,!0,I))}O.ctx.restore()},getHoverLayer:function(){return this.getLayer(o)},_paintList:function(y,b,O){if(this._redrawId!==O)return;b=b||!1,this._updateLayerStatus(y);var I=this._doPaintList(y,b);if(this._needsManuallyCompositing&&this._compositeManually(),!I){var M=this;a(function(){M._paintList(y,b,O)})}},_compositeManually:function(){var y=this.getLayer(d).ctx,b=this._domRoot.width,O=this._domRoot.height;y.clearRect(0,0,b,O),this.eachBuiltinLayer(function(I){I.virtual&&y.drawImage(I.dom,0,0,b,O)})},_doPaintList:function(y,b){for(var O=[],I=0;I<this._zlevelList.length;I++){var M=this._zlevelList[I],F=this._layers[M];F.__builtin__&&F!==this._hoverlayer&&(F.__dirty||b)&&O.push(F)}for(var P=!0,j=0;j<O.length;j++){var F=O[j],K=F.ctx,N={};K.save();var B=b?F.__startIndex:F.__drawIndex,U=!b&&F.incremental&&Date.now,H=U&&Date.now(),z=F.zlevel===this._zlevelList[0]?this._backgroundColor:null;if(F.__startIndex===F.__endIndex)F.clear(!1,z);else if(B===F.__startIndex){var X=y[B];(!X.incremental||!X.notClear||b)&&F.clear(!1,z)}B===-1&&(console.error("For some unknown reason. drawIndex is -1"),B=F.__startIndex);for(var W=B;W<F.__endIndex;W++){var Y=y[W];if(this._doPaintEl(Y,F,b,N),Y.__dirty=Y.__dirtyText=!1,U){var q=Date.now()-H;if(q>15)break}}F.__drawIndex=W,F.__drawIndex<F.__endIndex&&(P=!1),N.prevElClipPaths&&K.restore(),K.restore()}return r.wxa&&A.each(this._layers,function(me){me&&me.ctx&&me.ctx.draw&&me.ctx.draw()}),P},_doPaintEl:function(y,b,O,I){var M=b.ctx,F=y.transform;if((b.__dirty||O)&&!y.invisible&&y.style.opacity!==0&&!(F&&!F[0]&&!F[3])&&!(y.culling&&x(y,this._width,this._height))){var P=y.__clipPaths,j=I.prevElClipPaths;(!j||S(P,j))&&(j&&(M.restore(),I.prevElClipPaths=null,I.prevEl=null),P&&(M.save(),T(P,M),I.prevElClipPaths=P)),y.beforeBrush&&y.beforeBrush(M),y.brush(M,I.prevEl||null),I.prevEl=y,y.afterBrush&&y.afterBrush(M)}},getLayer:function(y,b){this._singleCanvas&&!this._needsManuallyCompositing&&(y=d);var O=this._layers[y];return O||(O=new c("zr_"+y,this,this.dpr),O.zlevel=y,O.__builtin__=!0,this._layerConfig[y]?A.merge(O,this._layerConfig[y],!0):this._layerConfig[y-n]&&A.merge(O,this._layerConfig[y-n],!0),b&&(O.virtual=b),this.insertLayer(y,O),O.initContext()),O},insertLayer:function(y,b){var O=this._layers,I=this._zlevelList,M=I.length,F=null,P=-1,j=this._domRoot;if(O[y]){m("ZLevel "+y+" has been used already");return}if(!s(b)){m("Layer of zlevel "+y+" is not valid");return}if(M>0&&y>I[0]){for(P=0;P<M-1&&!(I[P]<y&&I[P+1]>y);P++);F=O[I[P]]}if(I.splice(P+1,0,y),O[y]=b,!b.virtual)if(F){var K=F.dom;K.nextSibling?j.insertBefore(b.dom,K.nextSibling):j.appendChild(b.dom)}else j.firstChild?j.insertBefore(b.dom,j.firstChild):j.appendChild(b.dom)},eachLayer:function(y,b){var O=this._zlevelList,I,M;for(M=0;M<O.length;M++)I=O[M],y.call(b,this._layers[I],I)},eachBuiltinLayer:function(y,b){var O=this._zlevelList,I,M,F;for(F=0;F<O.length;F++)M=O[F],I=this._layers[M],I.__builtin__&&y.call(b,I,M)},eachOtherLayer:function(y,b){var O=this._zlevelList,I,M,F;for(F=0;F<O.length;F++)M=O[F],I=this._layers[M],I.__builtin__||y.call(b,I,M)},getLayers:function(){return this._layers},_updateLayerStatus:function(y){this.eachBuiltinLayer(function(N,B){N.__dirty=N.__used=!1});function b(N){M&&(M.__endIndex!==N&&(M.__dirty=!0),M.__endIndex=N)}if(this._singleCanvas)for(var O=1;O<y.length;O++){var I=y[O];if(I.zlevel!==y[O-1].zlevel||I.incremental){this._needsManuallyCompositing=!0;break}}for(var M=null,F=0,P,O=0;O<y.length;O++){var I=y[O],j=I.zlevel,K;P!==j&&(P=j,F=0),I.incremental?(K=this.getLayer(j+l,this._needsManuallyCompositing),K.incremental=!0,F=1):K=this.getLayer(j+(F>0?n:0),this._needsManuallyCompositing),K.__builtin__||m("ZLevel "+j+" has been used by unkown layer "+K.id),K!==M&&(K.__used=!0,K.__startIndex!==O&&(K.__dirty=!0),K.__startIndex=O,K.incremental?K.__drawIndex=-1:K.__drawIndex=O,b(O),M=K),I.__dirty&&(K.__dirty=!0,K.incremental&&K.__drawIndex<0&&(K.__drawIndex=O))}b(O),this.eachBuiltinLayer(function(N,B){!N.__used&&N.getElementCount()>0&&(N.__dirty=!0,N.__startIndex=N.__endIndex=N.__drawIndex=0),N.__dirty&&N.__drawIndex<0&&(N.__drawIndex=N.__startIndex)})},clear:function(){return this.eachBuiltinLayer(this._clearLayer),this},_clearLayer:function(y){y.clear()},setBackgroundColor:function(y){this._backgroundColor=y},configLayer:function(y,b){if(b){var O=this._layerConfig;O[y]?A.merge(O[y],b,!0):O[y]=b;for(var I=0;I<this._zlevelList.length;I++){var M=this._zlevelList[I];if(M===y||M===y+n){var F=this._layers[M];A.merge(F,O[y],!0)}}}},delLayer:function(y){var b=this._layers,O=this._zlevelList,I=b[y];if(!I)return;I.dom.parentNode.removeChild(I.dom),delete b[y],O.splice(A.indexOf(O,y),1)},resize:function(y,b){if(this._domRoot.style){var O=this._domRoot;O.style.display="none";var I=this._opts;if(y!=null&&(I.width=y),b!=null&&(I.height=b),y=this._getSize(0),b=this._getSize(1),O.style.display="",this._width!==y||b!==this._height){O.style.width=y+"px",O.style.height=b+"px";for(var M in this._layers)this._layers.hasOwnProperty(M)&&this._layers[M].resize(y,b);A.each(this._progressiveLayers,function(F){F.resize(y,b)}),this.refresh(!0)}this._width=y,this._height=b}else{if(y==null||b==null)return;this._width=y,this._height=b,this.getLayer(d).resize(y,b)}return this},clearLayer:function(y){var b=this._layers[y];b&&b.clear()},dispose:function(){this.root.innerHTML="",this.root=this.storage=this._domRoot=this._layers=null},getRenderedCanvas:function(y){if(y=y||{},this._singleCanvas&&!this._compositeManually)return this._layers[d].dom;var b=new c("image",this,y.pixelRatio||this.dpr);if(b.initContext(),b.clear(!1,y.backgroundColor||this._backgroundColor),y.pixelRatio<=this.dpr){this.refresh();var O=b.dom.width,I=b.dom.height,M=b.ctx;this.eachLayer(function(N){N.__builtin__?M.drawImage(N.dom,0,0,O,I):N.renderToCanvas&&(b.ctx.save(),N.renderToCanvas(b.ctx),b.ctx.restore())})}else for(var F={},P=this.storage.getDisplayList(!0),j=0;j<P.length;j++){var K=P[j];this._doPaintEl(K,b,!0,F)}return b.dom},getWidth:function(){return this._width},getHeight:function(){return this._height},_getSize:function(y){var b=this._opts,O=["width","height"][y],I=["clientWidth","clientHeight"][y],M=["paddingLeft","paddingTop"][y],F=["paddingRight","paddingBottom"][y];if(b[O]!=null&&b[O]!=="auto")return parseFloat(b[O]);var P=this.root,j=document.defaultView.getComputedStyle(P);return(P[I]||t(j[O])||t(P.style[O]))-(t(j[M])||0)-(t(j[F])||0)|0},pathToImage:function(y,b){b=b||this.dpr;var O=document.createElement("canvas"),I=O.getContext("2d"),M=y.getBoundingRect(),F=y.style,P=F.shadowBlur*b,j=F.shadowOffsetX*b,K=F.shadowOffsetY*b,N=F.hasStroke()?F.lineWidth:0,B=Math.max(N/2,-j+P),U=Math.max(N/2,j+P),H=Math.max(N/2,-K+P),z=Math.max(N/2,K+P),X=M.width+B+U,W=M.height+H+z;O.width=X*b,O.height=W*b,I.scale(b,b),I.clearRect(0,0,X,W),I.dpr=b;var Y={position:y.position,rotation:y.rotation,scale:y.scale};y.position=[B-M.x,H-M.y],y.rotation=0,y.scale=[1,1],y.updateTransform(),y&&y.brush(I);var q=i,me=new q({style:{x:0,y:0,image:O}});return Y.position!=null&&(me.position=y.position=Y.position),Y.rotation!=null&&(me.rotation=y.rotation=Y.rotation),Y.scale!=null&&(me.scale=y.scale=Y.scale),me}};var C=E;R.exports=C},"7a+S":function(R,D,e){var g=e("bYtY"),f=e("bLfw"),A=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 A([{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;R.exports=h},"7aKB":function(R,D,e){var g=e("bYtY"),f=e("6GrX"),A=e("OELB");function m(w){return isNaN(w)?"-":(w=(w+"").split("."),w[0].replace(/(\d{1,3})(?=(?:\d{3})+(?!\d))/g,"$1,")+(w.length>1?"."+w[1]:""))}function v(w,E){return w=(w||"").toLowerCase().replace(/-(.)/g,function(C,_){return _.toUpperCase()}),E&&w&&(w=w.charAt(0).toUpperCase()+w.slice(1)),w}var h=g.normalizeCssArray,c=/([&<>"'])/g,a={"&":"&","<":"<",">":">",'"':""","'":"'"};function i(w){return w==null?"":(w+"").replace(c,function(E,C){return a[C]})}var r=["a","b","c","d","e","f","g"],o=function(w,E){return"{"+w+(E==null?"":E)+"}"};function d(w,E,C){g.isArray(E)||(E=[E]);var _=E.length;if(!_)return"";for(var y=E[0].$vars||[],b=0;b<y.length;b++){var O=r[b];w=w.replace(o(O),o(O,0))}for(var I=0;I<_;I++)for(var M=0;M<y.length;M++){var F=E[I][y[M]];w=w.replace(o(r[M],I),C?i(F):F)}return w}function n(w,E,C){return g.each(E,function(_,y){w=w.replace("{"+y+"}",C?i(_):_)}),w}function l(w,E){w=g.isString(w)?{color:w,extraCssText:E}:w||{};var C=w.color,_=w.type,E=w.extraCssText,y=w.renderMode||"html",b=w.markerId||"X";return C?y==="html"?_==="subItem"?'<span style="display:inline-block;vertical-align:middle;margin-right:8px;margin-left:3px;border-radius:4px;width:4px;height:4px;background-color:'+i(C)+";"+(E||"")+'"></span>':'<span style="display:inline-block;margin-right:5px;border-radius:10px;width:10px;height:10px;background-color:'+i(C)+";"+(E||"")+'"></span>':{renderMode:y,content:"{marker"+b+"|} ",style:{color:C}}:""}function t(w,E){return w+="","0000".substr(0,E-w.length)+w}function s(w,E,C){(w==="week"||w==="month"||w==="quarter"||w==="half-year"||w==="year")&&(w=`MM-dd
|
|
|
yyyy`);var _=A.parseDate(E),y=C?"UTC":"",b=_["get"+y+"FullYear"](),O=_["get"+y+"Month"]()+1,I=_["get"+y+"Date"](),M=_["get"+y+"Hours"](),F=_["get"+y+"Minutes"](),P=_["get"+y+"Seconds"](),j=_["get"+y+"Milliseconds"]();return w=w.replace("MM",t(O,2)).replace("M",O).replace("yyyy",b).replace("yy",b%100).replace("dd",t(I,2)).replace("d",I).replace("hh",t(M,2)).replace("h",M).replace("mm",t(F,2)).replace("m",F).replace("ss",t(P,2)).replace("s",P).replace("SSS",t(j,3)),w}function u(w){return w&&w.charAt(0).toUpperCase()+w.substr(1)}var p=f.truncateText;function x(w){return f.getBoundingRect(w.text,w.font,w.textAlign,w.textVerticalAlign,w.textPadding,w.textLineHeight,w.rich,w.truncate)}function S(w,E,C,_,y,b,O,I){return f.getBoundingRect(w,E,C,_,y,I,b,O)}function T(w,E){if(E==="_blank"||E==="blank"){var C=window.open();C.opener=null,C.location=w}else window.open(w,E)}D.addCommas=m,D.toCamelCase=v,D.normalizeCssArray=h,D.encodeHTML=i,D.formatTpl=d,D.formatTplSimple=n,D.getTooltipMarker=l,D.formatTime=s,D.capitalFirst=u,D.truncateText=p,D.getTextBoundingRect=x,D.getTextRect=S,D.windowOpen=T},"7bkD":function(R,D,e){var g=e("bYtY");function f(A,m){m=m||{};var v=A.coordinateSystem,h=A.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],A.get("axisTick.inside")&&(c.tickDirection=-c.tickDirection),g.retrieve(m.labelInside,A.get("axisLabel.inside"))&&(c.labelDirection=-c.labelDirection);var t=m.rotate;return t==null&&(t=A.get("axisLabel.rotate")),c.labelRotation=a==="top"?-t:t,c.z2=1,c}D.layout=f},"7fqy":function(R,D){function e(g){var f=-1,A=Array(g.size);return g.forEach(function(m,v){A[++f]=[v,m]}),A}R.exports=e},"7hqr":function(R,D,e){var g=e("bYtY"),f=g.each,A=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(S,T){A(S)&&(a[T]=S={name:S}),d&&!S.isExtraCoord&&(!r&&!n&&S.ordinalMeta&&(n=S),!l&&S.type!=="ordinal"&&S.type!=="time"&&(!o||o===S.coordDim)&&(l=S))}),l&&!r&&!n&&(r=!0),l){t="__\0ecstackresult",s="__\0ecstackedover",n&&(n.createInvertedIndices=!0);var u=l.coordDim,p=l.type,x=0;f(a,function(S){S.coordDim===u&&x++}),a.push({name:t,coordDim:u,coordDimIndex:x,type:p,isExtraCoord:!0,isCalculationCoord:!0}),x++,a.push({name:s,coordDim:s,coordDimIndex:x,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}D.enableDataStack=m,D.isDimensionStacked=v,D.getStackedDimension=h},"7mYs":function(R,D,e){var g=e("ProS"),f=e("bYtY"),A=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 A.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,x=0;p.time<=r.end.time;x++){T(p.formatedDate),x===0&&(p=l.getDateInfo(r.start.y+"-"+r.start.m));var S=p.date;S.setMonth(S.getMonth()+1),p=l.getDateInfo(S)}T(l.getNextNDay(r.end.time,1).formatedDate);function T(w){n._firstDayOfMonth.push(l.getDateInfo(w)),n._firstDayPoints.push(l.dataToRect([w],!1).tl);var E=n._getLinePointsOfOneWeek(i,w,o);n._tlpoints.push(E[0]),n._blpoints.push(E[E.length-1]),s&&n._drawSplitline(E,t,d)}s&&this._drawSplitline(n._getEdgesPoints(n._tlpoints,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 A.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,x=o==="horizontal"?0:1,S={top:[u,s[x][1]],bottom:[u,s[1-x][1]],left:[s[1-x][0],p],right:[s[x][0],p]},T=r.start.y;+r.end.y>+r.start.y&&(T=T+"-"+r.end.y);var w=n.get("formatter"),E={start:r.start.y,end:r.end.y,nameMap:T},C=this._formatterLabel(w,E),_=new A.Text({z2:30});A.setTextStyle(_.style,n,{text:C}),_.attr(this._yearTextPositionControl(_,S[t],o,t,l)),d.add(_)},_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,x=r==="horizontal"?0:1;l=t==="start"?-l:l;for(var S=s==="center",T=0;T<u[p].length-1;T++){var w=u[p][T].slice(),E=this._firstDayOfMonth[T];if(S){var C=this._firstDayPoints[T];w[x]=(C[x]+u[0][T+1][x])/2}var _=d.get("formatter"),y=n[+E.m-1],b={yyyy:E.y,yy:(E.y+"").slice(2),MM:E.m,M:+E.m,nameMap:y},O=this._formatterLabel(_,b),I=new A.Text({z2:30});f.extend(A.setTextStyle(I.style,d,{text:O}),this._monthTextPositionControl(w,S,r,t,l)),o.add(I)}},_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 x=l.getNextNDay(r.end.time,7-r.lweek).time,S=[l.getCellWidth(),l.getCellHeight()];u=v.parsePercent(u,S[o==="horizontal"?0:1]),t==="start"&&(x=l.getNextNDay(r.start.time,-(7+r.fweek)).time,u=-u);for(var T=0;T<7;T++){var w=l.getNextNDay(x,T),E=l.dataToRect([w.time],!1).center,C=T;C=Math.abs((T+p)%7);var _=new A.Text({z2:30});f.extend(A.setTextStyle(_.style,n,{text:s[C]}),this._weekTextPositionControl(E,o,t,u,S)),d.add(_)}}});R.exports=a},"7oTu":function(R,D,e){var g=e("IMiH"),f=e("QBsz"),A=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,x=m.C,S=m.L,T=m.R,w=m.A,E=m.Q;for(l=0,t=0;l<o.length;){d=o[l++],t=l,n=0;switch(d){case p:n=1;break;case S:n=1;break;case x:n=3;break;case E:n=2;break;case w:var C=r[4],_=r[5],y=h(r[0]*r[0]+r[1]*r[1]),b=h(r[2]*r[2]+r[3]*r[3]),O=c(-r[1]/b,r[0]/y);o[l]*=y,o[l++]+=C,o[l]*=b,o[l++]+=_,o[l++]*=y,o[l++]*=b,o[l++]+=O,o[l++]+=O,l+=2,t=l;break;case T:u[0]=o[l++],u[1]=o[l++],A(u,u,r),o[t++]=u[0],o[t++]=u[1],u[0]+=o[l++],u[1]+=o[l++],A(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++],A(u,u,r),o[t++]=u[0],o[t++]=u[1]}}}R.exports=a},"7pVf":function(R,D,e){var g=e("ProS"),f=e("ZqQs");e("oE7X"),e("OUJF"),e("3X6L"),e("NH9N"),g.registerPreprocessor(f)},"7ph2":function(R,D){function e(A){return A instanceof Array||(A=[A,A]),A}var g="lineStyle.opacity".split("."),f={seriesType:"lines",reset:function(A,m,v){var h=e(A.get("symbol")),c=e(A.get("symbolSize")),a=A.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",A.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}}};R.exports=f},"7uqq":function(R,D,e){var g=e("Tghj"),f=g.__DEV__,A=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 x=this.getBoundingRect(),S,T=l.get("layoutCenter"),w=l.get("layoutSize"),E=t.getWidth(),C=t.getHeight(),_=x.width/x.height*this.aspectScale,y=!1;T&&w&&(T=[c.parsePercent(T[0],E),c.parsePercent(T[1],C)],w=c.parsePercent(w,Math.min(E,C)),!isNaN(T[0])&&!isNaN(T[1])&&!isNaN(w)&&(y=!0));var b;if(y){var b={};_>1?(b.width=w,b.height=w/_):(b.height=w,b.width=w*_),b.y=T[1]-b.height/2,b.x=T[0]-b.width/2}else S=l.getBoxLayoutParams(),S.aspect=_,b=h.getLayoutRect(S,{width:E,height:C});this.setViewRect(b.x,b.y,b.width,b.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,x){var S=p.get("map"),T=p.get("aspectScale"),w=!0,E=i.retrieveMap(S);E&&E[0]&&E[0].type==="svg"?(T==null&&(T=1),w=!1):T==null&&(T=.75);var C=new v(S+x,S,p.get("nameMap"),w);C.aspectScale=T,C.zoomLimit=p.get("scaleLimit"),s.push(C),o(C,p),p.coordinateSystem=C,C.model=p,C.resize=r,C.resize(p,t)}),l.eachSeries(function(p){var x=p.get("coordinateSystem");if(x==="geo"){var S=p.get("geoIndex")||0;p.coordinateSystem=s[S]}});var u={};return l.eachSeriesByType("map",function(p){if(!p.getHostGeoModel()){var x=p.getMapType();u[x]=u[x]||[],u[x].push(p)}}),m.each(u,function(p,x){var S=m.map(p,function(w){return w.get("nameMap")}),T=new v(x,x,m.mergeAll(S));T.zoomLimit=m.retrieve.apply(null,m.map(p,function(w){return w.get("scaleLimit")})),s.push(T),T.resize=r,T.aspectScale=p[0].get("aspectScale"),T.resize(p[0],t),m.each(p,function(w){w.coordinateSystem=T,o(T,w)})}),s},getFilledRegions:function(l,t,s){for(var u=(l||[]).slice(),p=m.createHashMap(),x=0;x<u.length;x++)p.set(u[x].name,u[x]);var S=a.load(t,s);return m.each(S.regions,function(T){var w=T.name;!p.get(w)&&u.push({name:w})}),u}};A.registerCoordinateSystem("geo",d);var n=d;R.exports=n},"7yuC":function(R,D,e){var g=e("QBsz"),f=g.scaleAndAdd;function A(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,x=0;x<v.length;x++){var S=v[x];if(S.ignoreForceLayout)continue;var T=S.n1,w=S.n2;g.sub(u,w.p,T.p);var E=g.len(u)-S.d,C=w.w/(T.w+w.w);isNaN(C)&&(C=0),g.normalize(u,u),!T.fixed&&f(T.p,T.p,u,C*E*t),!w.fixed&&f(w.p,w.p,u,-(1-C)*E*t)}for(var x=0;x<p;x++){var _=m[x];_.fixed||(g.sub(u,r,_.p),f(_.p,_.p,u,o*t))}for(var x=0;x<p;x++)for(var T=m[x],y=x+1;y<p;y++){var w=m[y];g.sub(u,w.p,T.p);var E=g.len(u);E===0&&(g.set(u,Math.random()-.5,Math.random()-.5),E=1);var b=(T.rep+w.rep)/E/E;!T.fixed&&f(T.pp,T.pp,u,b),!w.fixed&&f(w.pp,w.pp,u,-b)}for(var O=[],x=0;x<p;x++){var _=m[x];_.fixed||(g.sub(O,_.p,_.pp),f(_.p,_.p,O,t),g.copy(_.pp,_.p))}t=t*.992,s&&s(m,v,t<.01)}}}D.forceLayout=A},"8+yF":function(R,D,e){"use strict";Object.defineProperty(D,"__esModule",{value:!0}),D.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}};D.default=f},"815F":function(R,D,e){"use strict";e.d(D,"e",function(){return c}),e.d(D,"c",function(){return i}),e.d(D,"d",function(){return r}),e.d(D,"a",function(){return d}),e.d(D,"f",function(){return n}),e.d(D,"b",function(){return l});var g=e("KQm4"),f=e("VTBJ"),A=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 x=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"";(p||[]).forEach(function(S){var T=S.key,w=S.children;Object(v.a)(T!=null,"Tree node must have a certain key: [".concat(x).concat(T,"]"));var E=String(T);Object(v.a)(!s.has(E)||T===null||T===void 0,"Same 'key' exist in the Tree: ".concat(E)),s.set(E,!0),u(w,"".concat(x).concat(E," > "))})}u(t)}function i(t){function s(u){var p=Object(m.a)(u);return p.map(function(x){if(!Object(h.i)(x))return Object(v.a)(!x,"Tree/TreeNode can only accept TreeNode as children."),null;var S=x.key,T=x.props,w=T.children,E=Object(A.a)(T,["children"]),C=Object(f.a)({key:S},E),_=s(w);return _.length&&(C.children=_),C}).filter(function(x){return x})}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 x(S){var T=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null;return S.map(function(w,E){var C=Object(h.h)(T?T.pos:"0",E),_=c(w.key,C),y=Object(f.a)(Object(f.a)({},w),{},{parent:T,pos:C,children:null,data:w,isStart:[].concat(Object(g.a)(T?T.isStart:[]),[E===0]),isEnd:[].concat(Object(g.a)(T?T.isEnd:[]),[E===S.length-1])});return p.push(y),s===!0||u.has(_)?y.children=x(w.children||[],y):y.children=[],y})}return x(t),p}function o(t,s,u){var p;u?typeof u=="string"?p=function(T){return T[u]}:typeof u=="function"&&(p=function(T){return u(T)}):p=function(T,w){return c(T.key,w)};function x(S,T,w){var E=S?S.children:t,C=S?Object(h.h)(w.pos,T):"0";if(S){var _=p(S,C),y={node:S,index:T,pos:C,key:_,parentPos:w.node?w.pos:null,level:w.level+1};s(y)}E&&E.forEach(function(b,O){x(b,O,{node:S,pos:C,level:w?w.level+1:-1})})}x(null)}function d(t){var s=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},u=s.initWrapper,p=s.processEntity,x=s.onProcessFinished,S=arguments.length>2?arguments[2]:void 0,T={},w={},E={posEntities:T,keyEntities:w};return u&&(E=u(E)||E),o(t,function(C){var _=C.node,y=C.index,b=C.pos,O=C.key,I=C.parentPos,M=C.level,F={node:_,index:y,key:O,pos:b,level:M},P=c(O,b);T[b]=F,w[P]=F,F.parent=T[I],F.parent&&(F.parent.children=F.parent.children||[],F.parent.children.push(F)),p&&p(F,E)},S),x&&x(E),E}function n(t,s){var u=s.expandedKeys,p=s.selectedKeys,x=s.loadedKeys,S=s.loadingKeys,T=s.checkedKeys,w=s.halfCheckedKeys,E=s.dragOverNodeKey,C=s.dropPosition,_=s.keyEntities,y=_[t],b={eventKey:t,expanded:u.indexOf(t)!==-1,selected:p.indexOf(t)!==-1,loaded:x.indexOf(t)!==-1,loading:S.indexOf(t)!==-1,checked:T.indexOf(t)!==-1,halfChecked:w.indexOf(t)!==-1,pos:String(y?y.pos:""),dragOver:E===t&&C===0,dragOverGapTop:E===t&&C===-1,dragOverGapBottom:E===t&&C===1};return b}function l(t){var s=t.data,u=t.expanded,p=t.selected,x=t.checked,S=t.loaded,T=t.loading,w=t.halfChecked,E=t.dragOver,C=t.dragOverGapTop,_=t.dragOverGapBottom,y=t.pos,b=t.active,O=Object(f.a)(Object(f.a)({},s),{},{expanded:u,selected:p,checked:x,loaded:S,loading:T,halfChecked:w,dragOver:E,dragOverGapTop:C,dragOverGapBottom:_,pos:y,active:b});return"props"in O||Object.defineProperty(O,"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}}),O}},"8CQX":function(R,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(D,"__esModule",{value:!0}),D.getKeycode=o,D.getKey=d,D.getKeysym=n;var f=r(e("mHUz")),A=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 x=u?Object.getOwnPropertyDescriptor(l,p):null;x&&(x.get||x.set)?Object.defineProperty(s,p,x):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 x=o(l);if(x==="NumLock")return f.default.XK_Num_Lock}return h.default[t][s]}if(t.length!==1)return null;var S=t.charCodeAt();return S?A.default.lookup(S):null}},"8EBN":function(R,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 A=g.modeInfo[f];A.mimes&&(A.mime=A.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(R,D,e){"use strict";Object.defineProperty(D,"__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"};D.default=g},"8ISB":function(R,D,e){"use strict";Object.defineProperty(D,"__esModule",{value:!0}),D.default=void 0;var g=f(e("6Hfg"));function f(m){return m&&m.__esModule?m:{default:m}}var A=g;D.default=A,R.exports=A},"8K/p":function(R,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(D,"__esModule",{value:!0}),D.default=void 0;var f=h(e("Lo0S")),A=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 A.default}return i(o,[{key:"decodeRect",value:function(n,l,t,s,u,p,x){if(this._ctl===null){if(u.rQwait("TIGHT compression-control",1))return!1;this._ctl=u.rQshift8();for(var S=0;S<4;S++)this._ctl>>S&1&&(this._zlibs[S].reset(),f.Info("Reset zlib stream "+S));this._ctl=this._ctl>>4}var T;if(this._ctl===8)T=this._fillRect(n,l,t,s,u,p,x);else if(this._ctl===9)T=this._jpegRect(n,l,t,s,u,p,x);else if(this._ctl===10)T=this._pngRect(n,l,t,s,u,p,x);else if((this._ctl&128)==0)T=this._basicRect(this._ctl,n,l,t,s,u,p,x);else throw new Error("Illegal tight compression received (ctl: "+this._ctl+")");return T&&(this._ctl=null),T}},{key:"_fillRect",value:function(n,l,t,s,u,p,x){if(u.rQwait("TIGHT",3))return!1;var S=u.rQi,T=u.rQ;return p.fillRect(n,l,t,s,[T[S+2],T[S+1],T[S]],!1),u.rQskipBytes(3),!0}},{key:"_jpegRect",value:function(n,l,t,s,u,p,x){var S=this._readData(u);return S===null?!1:(p.imageRect(n,l,t,s,"image/jpeg",S),!0)}},{key:"_pngRect",value:function(n,l,t,s,u,p,x){throw new Error("PNG received in standard Tight rect")}},{key:"_basicRect",value:function(n,l,t,s,u,p,x,S){if(this._filter===null)if(n&4){if(p.rQwait("TIGHT",1))return!1;this._filter=p.rQshift8()}else this._filter=0;var T=n&3,w;switch(this._filter){case 0:w=this._copyFilter(T,l,t,s,u,p,x,S);break;case 1:w=this._paletteFilter(T,l,t,s,u,p,x,S);break;case 2:w=this._gradientFilter(T,l,t,s,u,p,x,S);break;default:throw new Error("Illegal tight filter received (ctl: "+this._filter+")")}return w&&(this._filter=null),w}},{key:"_copyFilter",value:function(n,l,t,s,u,p,x,S){var T=s*u*3,w;if(T<12){if(p.rQwait("TIGHT",T))return!1;w=p.rQshiftBytes(T)}else{if(w=this._readData(p),w===null)return!1;this._zlibs[n].setInput(w),w=this._zlibs[n].inflate(T),this._zlibs[n].setInput(null)}return x.blitRgbImage(l,t,s,u,w,0,!1),!0}},{key:"_paletteFilter",value:function(n,l,t,s,u,p,x,S){if(this._numColors===0){if(p.rQwait("TIGHT palette",1))return!1;var T=p.rQpeek8()+1,w=T*3;if(p.rQwait("TIGHT palette",1+w))return!1;this._numColors=T,p.rQskipBytes(1),p.rQshiftTo(this._palette,w)}var E=this._numColors<=2?1:8,C=Math.floor((s*E+7)/8),_=C*u,y;if(_<12){if(p.rQwait("TIGHT",_))return!1;y=p.rQshiftBytes(_)}else{if(y=this._readData(p),y===null)return!1;this._zlibs[n].setInput(y),y=this._zlibs[n].inflate(_),this._zlibs[n].setInput(null)}return this._numColors==2?this._monoRect(l,t,s,u,y,this._palette,x):this._paletteRect(l,t,s,u,y,this._palette,x),this._numColors=0,!0}},{key:"_monoRect",value:function(n,l,t,s,u,p,x){for(var S=this._getScratchBuffer(t*s*4),T=Math.floor((t+7)/8),w=Math.floor(t/8),E=0;E<s;E++){var C=void 0,_=void 0,y=void 0;for(y=0;y<w;y++)for(var b=7;b>=0;b--)C=(E*t+y*8+7-b)*4,_=(u[E*T+y]>>b&1)*3,S[C]=p[_],S[C+1]=p[_+1],S[C+2]=p[_+2],S[C+3]=255;for(var O=7;O>=8-t%8;O--)C=(E*t+y*8+7-O)*4,_=(u[E*T+y]>>O&1)*3,S[C]=p[_],S[C+1]=p[_+1],S[C+2]=p[_+2],S[C+3]=255}x.blitRgbxImage(n,l,t,s,S,0,!1)}},{key:"_paletteRect",value:function(n,l,t,s,u,p,x){for(var S=this._getScratchBuffer(t*s*4),T=t*s*4,w=0,E=0;w<T;w+=4,E++){var C=u[E]*3;S[w]=p[C],S[w+1]=p[C+1],S[w+2]=p[C+2],S[w+3]=255}x.blitRgbxImage(n,l,t,s,S,0,!1)}},{key:"_gradientFilter",value:function(n,l,t,s,u,p,x,S){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}();D.default=r},"8OUc":function(R,D,e){"use strict";var g=e("q1tI"),f=e.n(g),A=e("TSYQ"),m=e.n(A),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))};D.a=v},"8SMY":function(R,D,e){var g=e("n4Lv"),f=g.prepareDataCoordInfo,A=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=[],x=[],S=[],T=[],w=f(r,c,d),E=f(o,h,n),C=0;C<l.length;C++){var _=l[C],y=!0;switch(_.cmd){case"=":var b=h.getItemLayout(_.idx),O=c.getItemLayout(_.idx1);(isNaN(b[0])||isNaN(b[1]))&&(b=O.slice()),t.push(b),s.push(O),u.push(a[_.idx]),p.push(i[_.idx1]),T.push(c.getRawIndex(_.idx1));break;case"+":var I=_.idx;t.push(r.dataToPoint([c.get(w.dataDimsForPoint[0],I),c.get(w.dataDimsForPoint[1],I)])),s.push(c.getItemLayout(I).slice()),u.push(A(w,r,c,I)),p.push(i[I]),T.push(c.getRawIndex(I));break;case"-":var I=_.idx,M=h.getRawIndex(I);M!==I?(t.push(h.getItemLayout(I)),s.push(o.dataToPoint([h.get(E.dataDimsForPoint[0],I),h.get(E.dataDimsForPoint[1],I)])),u.push(a[I]),p.push(A(E,o,h,I)),T.push(M)):y=!1}y&&(x.push(_),S.push(S.length))}S.sort(function(B,U){return T[B]-T[U]});for(var F=[],P=[],j=[],K=[],N=[],C=0;C<S.length;C++){var I=S[C];F[C]=t[I],P[C]=s[I],j[C]=u[I],K[C]=p[I],N[C]=x[I]}return{current:F,next:P,stackedOnCurrent:j,stackedOnNext:K,status:N}}R.exports=v},"8Skl":function(R,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"},A=f,m=e("6VBw"),v=function(a,i){return g.createElement(m.a,Object.assign({},a,{ref:i,icon:A}))};v.displayName="DownOutlined";var h=D.a=g.forwardRef(v)},"8Th4":function(R,D,e){var g=e("3LNs"),f=e("/y7N"),A=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,x=r(p,1-i(u)),S=p.dataToPoint(n)[0],T=t.get("type");if(T&&T!=="none"){var w=f.buildElStyle(t),E=a[T](u,S,x);E.style=w,d.graphicKey=E.type,d.pointer=E}var C=A.layout(l);f.buildCartesianSingleLabelElOption(n,d,C,l,t,s)},getHandleTransform:function(d,n,l){var t=A.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),x=r(u,p),S=d.position;S[p]+=n[p],S[p]=Math.min(x[1],S[p]),S[p]=Math.max(x[0],S[p]);var T=r(u,1-p),w=(T[1]+T[0])/2,E=[w,w];return E[p]=S[p],{position:S,rotation:d.rotation,cursorPoint:E,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;R.exports=o},"8Uz6":function(R,D,e){var g=e("hNWo"),f=e("+TT/"),A=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,A(i,r,{type:"box",ignoreSize:d})}var c=v;R.exports=c},"8X+K":function(R,D,e){var g=e("Tghj"),f=g.__DEV__,A=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"),x=p.createGridClipPath,S=p.createPolarClipPath;function T(F,P){if(F.length!==P.length)return;for(var j=0;j<F.length;j++){var K=F[j],N=P[j];if(K[0]!==N[0]||K[1]!==N[1])return}return!0}function w(F,P){var j=[],K=[],N=[],B=[];return v(F,j,K),v(P,N,B),Math.max(Math.abs(j[0]-N[0]),Math.abs(j[1]-N[1]),Math.abs(K[0]-B[0]),Math.abs(K[1]-B[1]))}function E(F){return typeof F=="number"?F:F?.5:0}function C(F,P,j){if(!j.valueDim)return[];for(var K=[],N=0,B=P.count();N<B;N++)K.push(u(j,F,P,N));return K}function _(F,P,j){for(var K=P.getBaseAxis(),N=K.dim==="x"||K.dim==="radius"?0:1,B=[],U=0;U<F.length-1;U++){var H=F[U+1],z=F[U];B.push(z);var X=[];switch(j){case"end":X[N]=H[N],X[1-N]=z[1-N],B.push(X);break;case"middle":var W=(z[N]+H[N])/2,Y=[];X[N]=Y[N]=W,X[1-N]=z[1-N],Y[1-N]=H[1-N],B.push(X),B.push(Y);break;default:X[N]=z[N],X[1-N]=H[1-N],B.push(X)}}return F[U]&&B.push(F[U]),B}function y(F,P){var j=F.getVisual("visualMeta");if(!j||!j.length||!F.count())return;if(P.type!=="cartesian2d")return;for(var K,N,B=j.length-1;B>=0;B--){var U=j[B].dimension,H=F.dimensions[U],z=F.getDimensionInfo(H);if(K=z&&z.coordDim,K==="x"||K==="y"){N=j[B];break}}if(!N)return;var X=P.getAxis(K),W=A.map(N.stops,function(Ue){return{coord:X.toGlobalCoord(X.dataToCoord(Ue.value)),color:Ue.color}}),Y=W.length,q=N.outerColors.slice();Y&&W[0].coord>W[Y-1].coord&&(W.reverse(),q.reverse());var me=10,G=W[0].coord-me,ye=W[Y-1].coord+me,Ae=ye-G;if(Ae<.001)return"transparent";A.each(W,function(Ue){Ue.offset=(Ue.coord-G)/Ae}),W.push({offset:Y?W[Y-1].offset:.5,color:q[1]||"transparent"}),W.unshift({offset:Y?W[0].offset:.5,color:q[0]||"transparent"});var ve=new i.LinearGradient(0,0,0,0,W,!0);return ve[K]=G,ve[K+"2"]=ye,ve}function b(F,P,j){var K=F.get("showAllSymbol"),N=K==="auto";if(K&&!N)return;var B=j.getAxesByScale("ordinal")[0];if(!B)return;if(N&&O(B,P))return;var U=P.mapDimension(B.dim),H={};return A.each(B.getViewLabels(),function(z){H[z.tickValue]=1}),function(z){return!H.hasOwnProperty(P.get(U,z))}}function O(F,P){var j=F.getExtent(),K=Math.abs(j[1]-j[0])/F.scale.count();isNaN(K)&&(K=0);for(var N=P.count(),B=Math.max(1,Math.round(N/5)),U=0;U<N;U+=B)if(c.getSymbolSize(P,U)[F.isHorizontal()?1:0]*1.5>K)return!1;return!0}function I(F,P,j){if(F.type==="cartesian2d"){var K=F.getBaseAxis().isHorizontal(),N=x(F,P,j);if(!j.get("clip",!0)){var B=N.shape,U=Math.max(B.width,B.height);K?(B.y-=U,B.height+=U*2):(B.x-=U,B.width+=U*2)}return N}else return S(F,P,j)}var M=l.extend({type:"line",init:function(){var F=new i.Group,P=new h;this.group.add(P.group),this._symbolDraw=P,this._lineGroup=F},render:function(F,P,j){var K=F.coordinateSystem,N=this.group,B=F.getData(),U=F.getModel("lineStyle"),H=F.getModel("areaStyle"),z=B.mapArray(B.getItemLayout),X=K.type==="polar",W=this._coordSys,Y=this._symbolDraw,q=this._polyline,me=this._polygon,G=this._lineGroup,ye=F.get("animation"),Ae=!H.isEmpty(),ve=H.get("origin"),Ue=s(K,B,ve),Me=C(K,B,Ue),nt=F.get("showSymbol"),ne=nt&&!X&&b(F,B,K),be=this._data;be&&be.eachItemGraphicEl(function(oe,Le){oe.__temp&&(N.remove(oe),be.setItemGraphicEl(Le,null))}),nt||Y.remove(),N.add(G);var ot=!X&&F.get("step"),ue;K&&K.getArea&&F.get("clip",!0)&&(ue=K.getArea(),ue.width!=null?(ue.x-=.1,ue.y-=.1,ue.width+=.2,ue.height+=.2):ue.r0&&(ue.r0-=.5,ue.r1+=.5)),this._clipShapeForSymbol=ue,q&&W.type===K.type&&ot===this._step?(Ae&&!me?me=this._newPolygon(z,Me,K,ye):me&&!Ae&&(G.remove(me),me=this._polygon=null),G.setClipPath(I(K,!1,F)),nt&&Y.updateData(B,{isIgnore:ne,clipShape:ue}),B.eachItemGraphicEl(function(oe){oe.stopAnimation(!0)}),(!T(this._stackedOnPoints,Me)||!T(this._points,z))&&(ye?this._updateAnimation(B,Me,K,j,ot,ve):(ot&&(z=_(z,K,ot),Me=_(Me,K,ot)),q.setShape({points:z}),me&&me.setShape({points:z,stackedOnPoints:Me})))):(nt&&Y.updateData(B,{isIgnore:ne,clipShape:ue}),ot&&(z=_(z,K,ot),Me=_(Me,K,ot)),q=this._newPolyline(z,K,ye),Ae&&(me=this._newPolygon(z,Me,K,ye)),G.setClipPath(I(K,!0,F)));var Q=y(B,K)||B.getVisual("color");q.useStyle(A.defaults(U.getLineStyle(),{fill:"none",stroke:Q,lineJoin:"bevel"}));var V=F.get("smooth");if(V=E(F.get("smooth")),q.setShape({smooth:V,smoothMonotone:F.get("smoothMonotone"),connectNulls:F.get("connectNulls")}),me){var J=B.getCalculationInfo("stackedOnSeries"),fe=0;me.useStyle(A.defaults(H.getAreaStyle(),{fill:Q,opacity:.7,lineJoin:"bevel"})),J&&(fe=E(J.get("smooth"))),me.setShape({smooth:V,stackedOnSmooth:fe,smoothMonotone:F.get("smoothMonotone"),connectNulls:F.get("connectNulls")})}this._data=B,this._coordSys=K,this._stackedOnPoints=Me,this._points=z,this._step=ot,this._valueOrigin=ve},dispose:function(){},highlight:function(F,P,j,K){var N=F.getData(),B=r.queryDataIndex(N,K);if(!(B instanceof Array)&&B!=null&&B>=0){var U=N.getItemGraphicEl(B);if(!U){var H=N.getItemLayout(B);if(!H)return;if(this._clipShapeForSymbol&&!this._clipShapeForSymbol.contain(H[0],H[1]))return;U=new c(N,B),U.position=H,U.setZ(F.get("zlevel"),F.get("z")),U.ignore=isNaN(H[0])||isNaN(H[1]),U.__temp=!0,N.setItemGraphicEl(B,U),U.stopSymbolAnimation(!0),this.group.add(U)}U.highlight()}else l.prototype.highlight.call(this,F,P,j,K)},downplay:function(F,P,j,K){var N=F.getData(),B=r.queryDataIndex(N,K);if(B!=null&&B>=0){var U=N.getItemGraphicEl(B);U&&(U.__temp?(N.setItemGraphicEl(B,null),this.group.remove(U)):U.downplay())}else l.prototype.downplay.call(this,F,P,j,K)},_newPolyline:function(F){var P=this._polyline;return P&&this._lineGroup.remove(P),P=new d({shape:{points:F},silent:!0,z2:10}),this._lineGroup.add(P),this._polyline=P,P},_newPolygon:function(F,P){var j=this._polygon;return j&&this._lineGroup.remove(j),j=new n({shape:{points:F,stackedOnPoints:P},silent:!0}),this._lineGroup.add(j),this._polygon=j,j},_updateAnimation:function(F,P,j,K,N,B){var U=this._polyline,H=this._polygon,z=F.hostModel,X=a(this._data,F,this._stackedOnPoints,P,this._coordSys,j,this._valueOrigin,B),W=X.current,Y=X.stackedOnCurrent,q=X.next,me=X.stackedOnNext;if(N&&(W=_(X.current,j,N),Y=_(X.stackedOnCurrent,j,N),q=_(X.next,j,N),me=_(X.stackedOnNext,j,N)),w(W,q)>3e3||H&&w(Y,me)>3e3){U.setShape({points:q}),H&&H.setShape({points:q,stackedOnPoints:me});return}U.shape.__points=X.current,U.shape.points=W,i.updateProps(U,{shape:{points:q}},z),H&&(H.setShape({points:W,stackedOnPoints:Y}),i.updateProps(H,{shape:{points:q,stackedOnPoints:me}},z));for(var G=[],ye=X.status,Ae=0;Ae<ye.length;Ae++){var ve=ye[Ae].cmd;if(ve==="="){var Ue=F.getItemGraphicEl(ye[Ae].idx1);Ue&&G.push({el:Ue,ptIdx:Ae})}}U.animators&&U.animators.length&&U.animators[0].during(function(){for(var Me=0;Me<G.length;Me++){var nt=G[Me].el;nt.attr("position",U.shape.__points[G[Me].ptIdx])}})},remove:function(F){var P=this.group,j=this._data;this._lineGroup.removeAll(),this._symbolDraw.remove(!0),j&&j.eachItemGraphicEl(function(K,N){K.__temp&&(P.remove(K),j.setItemGraphicEl(N,null))}),this._polyline=this._polygon=this._coordSys=this._points=this._stackedOnPoints=this._data=null}});R.exports=M},"8XDt":function(R,D,e){e("qH13");var g=e("aX58"),f=g.registerPainter,A=e("6fms");f("vml",A)},"8hn6":function(R,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"],A={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"}}}};A.categoryAxis.splitLine.show=!1;var m=A;R.exports=m},"8nMs":function(R,D,e){var g=e("bYtY"),f=e("IwbS"),A=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),x=new A(d,p);g.each(i,x.add,x),this._axisGroup.add(x.getGroup()),g.each(r,function(S){d.get(S+".show")&&this["_"+S](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(),x=l.isHorizontal(),S=0,T=l.getTicksCoords({tickModel:t}),w=[],E=[],C=s.getLineStyle(),_=0;_<T.length;_++){var y=l.toGlobalCoord(T[_].coord);x?(w[0]=y,w[1]=p.y,E[0]=y,E[1]=p.y+p.height):(w[0]=p.x,w[1]=y,E[0]=p.x+p.width,E[1]=y);var b=S++%u.length,O=T[_].tickValue;this._axisGroup.add(new f.Line({anid:O!=null?"line_"+T[_].tickValue:null,subPixelOptimize:!0,shape:{x1:w[0],y1:w[1],x2:E[0],y2:E[1]},style:g.defaults({stroke:u[b]},C),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(),x=l.getMinorTicksCoords();if(!x.length)return;for(var S=[],T=[],w=s.getLineStyle(),E=0;E<x.length;E++)for(var C=0;C<x[E].length;C++){var _=l.toGlobalCoord(x[E][C].coord);p?(S[0]=_,S[1]=u.y,T[0]=_,T[1]=u.y+u.height):(S[0]=u.x,S[1]=_,T[0]=u.x+u.width,T[1]=_),this._axisGroup.add(new f.Line({anid:"minor_line_"+x[E][C].tickValue,subPixelOptimize:!0,shape:{x1:S[0],y1:S[1],x2:T[0],y2:T[1]},style:w,silent:!0}))}},_splitArea:function(d,n){c(this,this._axisGroup,d,n)}});o.extend({type:"xAxis"}),o.extend({type:"yAxis"})},"8nly":function(R,D,e){var g=e("mFDi"),f=e("4mN7"),A=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),A.min(i,i,o),A.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,x=0;x<u.length;x++)A.applyTransform(u[x],u[x],l);for(var S=0;S<(p?p.length:0);S++)for(var x=0;x<p[S].length;x++)A.applyTransform(p[S][x],p[S][x],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;R.exports=h},"8waO":function(R,D,e){var g=e("ProS"),f=e("bYtY"),A=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)),A.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(R,D,e){var g=e("Tghj"),f=g.__DEV__,A=e("ProS"),m=e("bYtY"),v=e("K4ya"),h=e("Qxkt"),c=["#ddd"],a=A.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;R.exports=r},"8z0m":function(R,D,e){"use strict";var g=e("lSNA"),f=e.n(g),A=e("RIqP"),m=e.n(A),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,_e){var Ce="cannot "+Pt.method+" "+Pt.action+" "+_e.status+"'",Ee=new Error(Ce);return Ee.status=_e.status,Ee.method=Pt.method,Ee.url=Pt.action,Ee}function l(Pt){var _e=Pt.responseText||Pt.response;if(!_e)return _e;try{return JSON.parse(_e)}catch(Ce){return _e}}function t(Pt){var _e=new XMLHttpRequest;Pt.onProgress&&_e.upload&&(_e.upload.onprogress=function(Fe){Fe.total>0&&(Fe.percent=Fe.loaded/Fe.total*100),Pt.onProgress(Fe)});var Ce=new FormData;Pt.data&&Object.keys(Pt.data).forEach(function(we){var Fe=Pt.data[we];if(Array.isArray(Fe)){Fe.forEach(function(Ye){Ce.append(we+"[]",Ye)});return}Ce.append(we,Pt.data[we])}),Pt.file instanceof Blob?Ce.append(Pt.filename,Pt.file,Pt.file.name):Ce.append(Pt.filename,Pt.file),_e.onerror=function(Fe){Pt.onError(Fe)},_e.onload=function(){return _e.status<200||_e.status>=300?Pt.onError(n(Pt,_e),l(_e)):Pt.onSuccess(l(_e),_e)},_e.open(Pt.method,Pt.action,!0),Pt.withCredentials&&"withCredentials"in _e&&(_e.withCredentials=!0);var Ee=Pt.headers||{};return Ee["X-Requested-With"]!==null&&_e.setRequestHeader("X-Requested-With","XMLHttpRequest"),Object.keys(Ee).forEach(function(we){Ee[we]!==null&&_e.setRequestHeader(we,Ee[we])}),_e.send(Ce),{abort:function(){_e.abort()}}}var s=+new Date,u=0;function p(){return"rc-upload-"+s+"-"+ ++u}function x(Pt,_e){return Pt.indexOf(_e,Pt.length-_e.length)!==-1}var S=function(Pt,_e){if(Pt&&_e){var Ce=Array.isArray(_e)?_e:_e.split(","),Ee=Pt.name||"",we=Pt.type||"",Fe=we.replace(/\/.*$/,"");return Ce.some(function(Ye){var Ge=Ye.trim();return Ge.charAt(0)==="."?x(Ee.toLowerCase(),Ge.toLowerCase()):/\/\*$/.test(Ge)?Fe===Ge.replace(/\/.*$/,""):we===Ge})}return!0};function T(Pt,_e){var Ce=Pt.createReader(),Ee=[];function we(){Ce.readEntries(function(Fe){var Ye=Array.prototype.slice.apply(Fe);Ee=Ee.concat(Ye);var Ge=!Ye.length;Ge?_e(Ee):we()})}we()}var w=function(_e,Ce,Ee){var we=function Fe(Ye,Ge){Ge=Ge||"",Ye.isFile?Ye.file(function(qe){Ee(qe)&&(Ye.fullPath&&!qe.webkitRelativePath&&(Object.defineProperties(qe,{webkitRelativePath:{writable:!0}}),qe.webkitRelativePath=Ye.fullPath.replace(/^\//,""),Object.defineProperties(qe,{webkitRelativePath:{writable:!1}})),Ce([qe]))}):Ye.isDirectory&&T(Ye,function(qe){qe.forEach(function(Ke){Fe(Ke,""+Ge+Ye.name+"/")})})};_e.forEach(function(Fe){we(Fe.webkitGetAsEntry())})},E=w,C=Object.assign||function(Pt){for(var _e=1;_e<arguments.length;_e++){var Ce=arguments[_e];for(var Ee in Ce)Object.prototype.hasOwnProperty.call(Ce,Ee)&&(Pt[Ee]=Ce[Ee])}return Pt},_=function(){function Pt(_e,Ce){var Ee=[],we=!0,Fe=!1,Ye=void 0;try{for(var Ge=_e[Symbol.iterator](),qe;!(we=(qe=Ge.next()).done)&&!(Ee.push(qe.value),Ce&&Ee.length===Ce);we=!0);}catch(Ke){Fe=!0,Ye=Ke}finally{try{!we&&Ge.return&&Ge.return()}finally{if(Fe)throw Ye}}return Ee}return function(_e,Ce){if(Array.isArray(_e))return _e;if(Symbol.iterator in Object(_e))return Pt(_e,Ce);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}(),y=function(){function Pt(_e,Ce){for(var Ee=0;Ee<Ce.length;Ee++){var we=Ce[Ee];we.enumerable=we.enumerable||!1,we.configurable=!0,"value"in we&&(we.writable=!0),Object.defineProperty(_e,we.key,we)}}return function(_e,Ce,Ee){return Ce&&Pt(_e.prototype,Ce),Ee&&Pt(_e,Ee),_e}}();function b(Pt,_e,Ce){return _e in Pt?Object.defineProperty(Pt,_e,{value:Ce,enumerable:!0,configurable:!0,writable:!0}):Pt[_e]=Ce,Pt}function O(Pt,_e){var Ce={};for(var Ee in Pt){if(_e.indexOf(Ee)>=0)continue;if(!Object.prototype.hasOwnProperty.call(Pt,Ee))continue;Ce[Ee]=Pt[Ee]}return Ce}function I(Pt,_e){if(!(Pt instanceof _e))throw new TypeError("Cannot call a class as a function")}function M(Pt,_e){if(!Pt)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return _e&&(typeof _e=="object"||typeof _e=="function")?_e:Pt}function F(Pt,_e){if(typeof _e!="function"&&_e!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof _e);Pt.prototype=Object.create(_e&&_e.prototype,{constructor:{value:Pt,enumerable:!1,writable:!0,configurable:!0}}),_e&&(Object.setPrototypeOf?Object.setPrototypeOf(Pt,_e):Pt.__proto__=_e)}var P=function(_e){return Object.keys(_e).reduce(function(Ce,Ee){return(Ee.substr(0,5)==="data-"||Ee.substr(0,5)==="aria-"||Ee==="role")&&(Ce[Ee]=_e[Ee]),Ce},{})},j=function(Pt){F(_e,Pt);function _e(){var Ce,Ee,we,Fe;I(this,_e);for(var Ye=arguments.length,Ge=Array(Ye),qe=0;qe<Ye;qe++)Ge[qe]=arguments[qe];return Fe=(Ee=(we=M(this,(Ce=_e.__proto__||Object.getPrototypeOf(_e)).call.apply(Ce,[this].concat(Ge))),we),we.state={uid:p()},we.reqs={},we.onChange=function(Ke){var ct=Ke.target.files;we.uploadFiles(ct),we.reset()},we.onClick=function(Ke){var ct=we.fileInput;if(!ct)return;var wt=we.props,Lt=wt.children,de=wt.onClick;Lt&&Lt.type==="button"&&(ct.parentNode.focus(),ct.parentNode.querySelector("button").blur()),ct.click(),de&&de(Ke)},we.onKeyDown=function(Ke){Ke.key==="Enter"&&we.onClick()},we.onFileDrop=function(Ke){var ct=we.props.multiple;if(Ke.preventDefault(),Ke.type==="dragover")return;if(we.props.directory)E(Array.prototype.slice.call(Ke.dataTransfer.items),we.uploadFiles,function(Lt){return S(Lt,we.props.accept)});else{var wt=Array.prototype.slice.call(Ke.dataTransfer.files).filter(function(Lt){return S(Lt,we.props.accept)});ct===!1&&(wt=wt.slice(0,1)),we.uploadFiles(wt)}},we.uploadFiles=function(Ke){var ct=Array.prototype.slice.call(Ke);ct.map(function(wt){return wt.uid=p(),wt}).forEach(function(wt){we.upload(wt,ct)})},we.saveFileInput=function(Ke){we.fileInput=Ke},Ee),M(we,Fe)}return y(_e,[{key:"componentDidMount",value:function(){this._isMounted=!0}},{key:"componentWillUnmount",value:function(){this._isMounted=!1,this.abort()}},{key:"upload",value:function(Ee,we){var Fe=this,Ye=this.props;if(!Ye.beforeUpload)return setTimeout(function(){return Fe.post(Ee)},0);var Ge=Ye.beforeUpload(Ee,we);Ge&&Ge.then?Ge.then(function(qe){var Ke=Object.prototype.toString.call(qe);return Ke==="[object File]"||Ke==="[object Blob]"?Fe.post(qe):Fe.post(Ee)}).catch(function(qe){console.log(qe)}):Ge!==!1&&setTimeout(function(){return Fe.post(Ee)},0);return}},{key:"post",value:function(Ee){var we=this;if(!this._isMounted)return;var Fe=this.props,Ye=Fe.onStart,Ge=Fe.onProgress,qe=Fe.transformFile,Ke=qe===void 0?function(ct){return ct}:qe;new Promise(function(ct){var wt=Fe.action;return typeof wt=="function"&&(wt=wt(Ee)),ct(wt)}).then(function(ct){var wt=Ee.uid,Lt=Fe.customRequest||t,de=Promise.resolve(Ke(Ee)).then(function(xe){var $=Fe.data;return typeof $=="function"&&($=$(xe)),Promise.all([xe,$])}).catch(function(xe){console.error(xe)});de.then(function(xe){var $=_(xe,2),se=$[0],Oe=$[1],ke={action:ct,filename:Fe.name,data:Oe,file:se,headers:Fe.headers,withCredentials:Fe.withCredentials,method:Fe.method||"post",onProgress:Ge?function(Pe){Ge(Pe,Ee)}:null,onSuccess:function(rt,At){delete we.reqs[wt],Fe.onSuccess(rt,Ee,At)},onError:function(rt,At){delete we.reqs[wt],Fe.onError(rt,At,Ee)}};we.reqs[wt]=Lt(ke),Ye(Ee)})})}},{key:"reset",value:function(){this.setState({uid:p()})}},{key:"abort",value:function(Ee){var we=this.reqs;if(Ee){var Fe=Ee;Ee&&Ee.uid&&(Fe=Ee.uid),we[Fe]&&we[Fe].abort&&we[Fe].abort(),delete we[Fe]}else Object.keys(we).forEach(function(Ye){we[Ye]&&we[Ye].abort&&we[Ye].abort(),delete we[Ye]})}},{key:"render",value:function(){var Ee,we=this.props,Fe=we.component,Ye=we.prefixCls,Ge=we.className,qe=we.disabled,Ke=we.id,ct=we.style,wt=we.multiple,Lt=we.accept,de=we.children,xe=we.directory,$=we.openFileDialogOnClick,se=we.onMouseEnter,Oe=we.onMouseLeave,ke=O(we,["component","prefixCls","className","disabled","id","style","multiple","accept","children","directory","openFileDialogOnClick","onMouseEnter","onMouseLeave"]),Pe=d()((Ee={},b(Ee,Ye,!0),b(Ee,Ye+"-disabled",qe),b(Ee,Ge,Ge),Ee)),rt=qe?{}:{onClick:$?this.onClick:function(){},onKeyDown:$?this.onKeyDown:function(){},onMouseEnter:se,onMouseLeave:Oe,onDrop:this.onFileDrop,onDragOver:this.onFileDrop,tabIndex:"0"};return r.a.createElement(Fe,C({},rt,{className:Pe,role:"button",style:ct}),r.a.createElement("input",C({},P(ke),{id:Ke,type:"file",ref:this.saveFileInput,onClick:function(Wt){return Wt.stopPropagation()},key:this.state.uid,style:{display:"none"},accept:Lt,directory:xe?"directory":null,webkitdirectory:xe?"webkitdirectory":null,multiple:wt,onChange:this.onChange})),de)}}]),_e}(i.Component),K=j,N=Object.assign||function(Pt){for(var _e=1;_e<arguments.length;_e++){var Ce=arguments[_e];for(var Ee in Ce)Object.prototype.hasOwnProperty.call(Ce,Ee)&&(Pt[Ee]=Ce[Ee])}return Pt},B=function(){function Pt(_e,Ce){for(var Ee=0;Ee<Ce.length;Ee++){var we=Ce[Ee];we.enumerable=we.enumerable||!1,we.configurable=!0,"value"in we&&(we.writable=!0),Object.defineProperty(_e,we.key,we)}}return function(_e,Ce,Ee){return Ce&&Pt(_e.prototype,Ce),Ee&&Pt(_e,Ee),_e}}();function U(Pt,_e){if(!(Pt instanceof _e))throw new TypeError("Cannot call a class as a function")}function H(Pt,_e){if(!Pt)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return _e&&(typeof _e=="object"||typeof _e=="function")?_e:Pt}function z(Pt,_e){if(typeof _e!="function"&&_e!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof _e);Pt.prototype=Object.create(_e&&_e.prototype,{constructor:{value:Pt,enumerable:!1,writable:!0,configurable:!0}}),_e&&(Object.setPrototypeOf?Object.setPrototypeOf(Pt,_e):Pt.__proto__=_e)}function X(){}var W=function(Pt){z(_e,Pt);function _e(){var Ce,Ee,we,Fe;U(this,_e);for(var Ye=arguments.length,Ge=Array(Ye),qe=0;qe<Ye;qe++)Ge[qe]=arguments[qe];return Fe=(Ee=(we=H(this,(Ce=_e.__proto__||Object.getPrototypeOf(_e)).call.apply(Ce,[this].concat(Ge))),we),we.saveUploader=function(Ke){we.uploader=Ke},Ee),H(we,Fe)}return B(_e,[{key:"abort",value:function(Ee){this.uploader.abort(Ee)}},{key:"render",value:function(){return r.a.createElement(K,N({},this.props,{ref:this.saveUploader}))}}]),_e}(i.Component);W.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 Y=W,q=Y,me=function(Pt,_e){var Ce={};for(var Ee in Pt)Object.prototype.hasOwnProperty.call(Pt,Ee)&&_e.indexOf(Ee)<0&&(Ce[Ee]=Pt[Ee]);if(Pt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var we=0,Ee=Object.getOwnPropertySymbols(Pt);we<Ee.length;we++)_e.indexOf(Ee[we])<0&&Object.prototype.propertyIsEnumerable.call(Pt,Ee[we])&&(Ce[Ee[we]]=Pt[Ee[we]]);return Ce},G=function(_e,Ce){var Ee=_e.style,we=_e.height,Fe=me(_e,["style","height"]);return i.createElement(It,h()({ref:Ce},Fe,{type:"drag",style:h()(h()({},Ee),{height:we})}))},ye=i.forwardRef(G);ye.displayName="Dragger";var Ae=ye,ve=e("UmKh"),Ue=e("gZBC"),Me=e.n(Ue),nt=e("+d4F"),ne=e.n(nt),be=e("XAae"),ot=e.n(be),ue=e("6xvX"),Q=e.n(ue),V=e("qPY4"),J=e.n(V),fe=e("QB+1"),oe=e.n(fe),Le=e("Qs3X"),he=e.n(Le),te=e("0n0R");function Z(){return!0}function ge(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 Re(Pt,_e){var Ce=Pt.uid!==void 0?"uid":"name";return _e.filter(function(Ee){return Ee[Ce]===Pt[Ce]})[0]}function ze(Pt,_e){var Ce=Pt.uid!==void 0?"uid":"name",Ee=_e.filter(function(we){return we[Ce]!==Pt[Ce]});return Ee.length===_e.length?null:Ee}var dt=function(){var _e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"",Ce=_e.split("/"),Ee=Ce[Ce.length-1],we=Ee.split(/#|\?/)[0];return(/\.[^./\\]*$/.exec(we)||[""])[0]},De=function(_e){return _e.indexOf("image/")===0},Tt=function(_e){if(_e.type&&!_e.thumbUrl)return De(_e.type);var Ce=_e.thumbUrl||_e.url,Ee=dt(Ce);return/^data:image\//.test(Ce)||/(webp|svg|png|gif|jpg|jpeg|jfif|bmp|dpg|ico)$/i.test(Ee)?!0:/^data:/.test(Ce)?!1:!Ee},je=200;function st(Pt){return new Promise(function(_e){if(!Pt.type||!De(Pt.type)){_e("");return}var Ce=document.createElement("canvas");Ce.width=je,Ce.height=je,Ce.style.cssText="position: fixed; left: 0; top: 0; width: ".concat(je,"px; height: ").concat(je,"px; z-index: 9999; display: none;"),document.body.appendChild(Ce);var Ee=Ce.getContext("2d"),we=new Image;we.onload=function(){var Fe=we.width,Ye=we.height,Ge=je,qe=je,Ke=0,ct=0;Fe<Ye?(qe=Ye*(je/Fe),ct=-(qe-Ge)/2):(Ge=Fe*(je/Ye),Ke=-(Ge-qe)/2),Ee.drawImage(we,Ke,ct,Ge,qe);var wt=Ce.toDataURL();document.body.removeChild(Ce),_e(wt)},we.src=window.URL.createObjectURL(Pt)})}var Xe=e("3S7+"),Je=e("CFYs"),et=e("H84U"),at=e("2/Rp"),Ve=e("hkKa"),le=function(_e,Ce){var Ee,we=_e.listType,Fe=_e.previewFile,Ye=_e.onPreview,Ge=_e.onDownload,qe=_e.onRemove,Ke=_e.locale,ct=_e.iconRender,wt=_e.isImageUrl,Lt=_e.prefixCls,de=_e.items,xe=de===void 0?[]:de,$=_e.showPreviewIcon,se=_e.showRemoveIcon,Oe=_e.showDownloadIcon,ke=_e.removeIcon,Pe=_e.downloadIcon,rt=_e.progress,At=Object(Ve.a)();i.useEffect(function(){if(we!=="picture"&&we!=="picture-card")return;(xe||[]).forEach(function(vt){if(typeof document=="undefined"||typeof window=="undefined"||!window.FileReader||!window.File||!(vt.originFileObj instanceof File||vt.originFileObj instanceof Blob)||vt.thumbUrl!==void 0)return;vt.thumbUrl="",Fe&&Fe(vt.originFileObj).then(function(Nt){vt.thumbUrl=Nt||"",At()})})},[we,xe,Fe]);var Wt=function(Nt,_t){return Ye?(_t.preventDefault(),Ye(Nt)):void 0},$t=function(Nt){typeof Ge=="function"?Ge(Nt):Nt.url&&window.open(Nt.url)},Rt=function(Nt){qe&&qe(Nt)},zt=function(Nt){if(ct)return ct(Nt,we);var _t=Nt.status==="uploading",gt=wt&&wt(Nt)?i.createElement(ot.a,null):i.createElement(Q.a,null),Ht=_t?i.createElement(Me.a,null):i.createElement(ne.a,null);return we==="picture"?Ht=_t?i.createElement(Me.a,null):gt:we==="picture-card"&&(Ht=_t?Ke.uploading:gt),Ht},Gt=function(Nt,_t,gt,Ht){var kt={type:"text",size:"small",title:Ht,onClick:function(mr){_t(),Object(te.b)(Nt)&&Nt.props.onClick&&Nt.props.onClick(mr)},className:"".concat(gt,"-list-item-card-actions-btn")};if(Object(te.b)(Nt)){var ir=Object(te.a)(Nt,h()(h()({},Nt.props),{onClick:function(){}}));return i.createElement(at.a,h()({},kt,{icon:ir}))}return i.createElement(at.a,kt,i.createElement("span",null,Nt))};i.useImperativeHandle(Ce,function(){return{handlePreview:Wt,handleDownload:$t}});var Qt=i.useContext(et.b),Mt=Qt.getPrefixCls,dr=Qt.direction,er=Mt("upload",Lt),ht=xe.map(function(vt){var Nt,_t,gt,Ht=zt(vt),kt=i.createElement("div",{className:"".concat(er,"-text-icon")},Ht);if(we==="picture"||we==="picture-card")if(vt.status==="uploading"||!vt.thumbUrl&&!vt.url){var ir,Xt=d()((ir={},f()(ir,"".concat(er,"-list-item-thumbnail"),!0),f()(ir,"".concat(er,"-list-item-file"),vt.status!=="uploading"),ir));kt=i.createElement("div",{className:Xt},Ht)}else{var mr,Ar=wt&&wt(vt)?i.createElement("img",{src:vt.thumbUrl||vt.url,alt:vt.name,className:"".concat(er,"-list-item-image")}):Ht,Nr=d()((mr={},f()(mr,"".concat(er,"-list-item-thumbnail"),!0),f()(mr,"".concat(er,"-list-item-file"),wt&&!wt(vt)),mr));kt=i.createElement("a",{className:Nr,onClick:function(gn){return Wt(vt,gn)},href:vt.url||vt.thumbUrl,target:"_blank",rel:"noopener noreferrer"},Ar)}if(vt.status==="uploading"){var kr="percent"in vt?i.createElement(Je.a,h()({},rt,{type:"line",percent:vt.percent})):null;gt=i.createElement("div",{className:"".concat(er,"-list-item-progress"),key:"progress"},kr)}var tn=d()((Nt={},f()(Nt,"".concat(er,"-list-item"),!0),f()(Nt,"".concat(er,"-list-item-").concat(vt.status),!0),f()(Nt,"".concat(er,"-list-item-list-type-").concat(we),!0),Nt)),qr=typeof vt.linkProps=="string"?JSON.parse(vt.linkProps):vt.linkProps,_r=se?Gt(ke||i.createElement(oe.a,null),function(){return Rt(vt)},er,Ke.removeFile):null,Qr=Oe&&vt.status==="done"?Gt(Pe||i.createElement(he.a,null),function(){return $t(vt)},er,Ke.downloadFile):null,Lr=we!=="picture-card"&&i.createElement("span",{key:"download-delete",className:"".concat(er,"-list-item-card-actions ").concat(we==="picture"?"picture":"")},Qr,_r),ur=d()((_t={},f()(_t,"".concat(er,"-list-item-name"),!0),f()(_t,"".concat(er,"-list-item-name-icon-count-").concat([Qr,_r].filter(function(Tn){return Tn}).length),!0),_t)),pr=vt.url?[i.createElement("a",h()({key:"view",target:"_blank",rel:"noopener noreferrer",className:ur,title:vt.name},qr,{href:vt.url,onClick:function(gn){return Wt(vt,gn)}}),vt.name),Lr]:[i.createElement("span",{key:"view",className:ur,onClick:function(gn){return Wt(vt,gn)},title:vt.name},vt.name),Lr],cr={pointerEvents:"none",opacity:.5},fr=$?i.createElement("a",{href:vt.url||vt.thumbUrl,target:"_blank",rel:"noopener noreferrer",style:vt.url||vt.thumbUrl?void 0:cr,onClick:function(gn){return Wt(vt,gn)},title:Ke.previewFile},i.createElement(J.a,null)):null,xr=we==="picture-card"&&vt.status!=="uploading"&&i.createElement("span",{className:"".concat(er,"-list-item-actions")},fr,vt.status==="done"&&Qr,_r),Yr;vt.response&&typeof vt.response=="string"?Yr=vt.response:Yr=vt.error&&vt.error.statusText||Ke.uploadError;var un=i.createElement("span",null,kt,pr),Nn=i.createElement("div",{className:tn},i.createElement("div",{className:"".concat(er,"-list-item-info")},un),xr,i.createElement(ve.a,{transitionName:"fade",component:""},gt)),jr=d()(f()({},"".concat(er,"-list-picture-card-container"),we==="picture-card"));return i.createElement("div",{key:vt.uid,className:jr},vt.status==="error"?i.createElement(Xe.a,{title:Yr,getPopupContainer:function(gn){return gn.parentNode}},Nn):i.createElement("span",null,Nn))}),Et=d()((Ee={},f()(Ee,"".concat(er,"-list"),!0),f()(Ee,"".concat(er,"-list-").concat(we),!0),f()(Ee,"".concat(er,"-list-rtl"),dr==="rtl"),Ee)),pt=we==="picture-card"?"animate-inline":"animate";return i.createElement(ve.a,{transitionName:"".concat(er,"-").concat(pt),component:"div",className:Et},ht)},ae=i.forwardRef(le);ae.displayName="UploadList",ae.defaultProps={listType:"text",progress:{strokeWidth:2,showInfo:!1},showRemoveIcon:!0,showDownloadIcon:!1,showPreviewIcon:!0,previewFile:st,isImageUrl:Tt};var lt=ae,Ze=e("YMnH"),Te=e("ZvpZ"),Jt=e("uaoM"),mt=e("sPtV"),ft=function(_e,Ce){var Ee,we=_e.fileList,Fe=_e.defaultFileList,Ye=_e.onRemove,Ge=_e.showUploadList,qe=_e.listType,Ke=_e.onPreview,ct=_e.onDownload,wt=_e.previewFile,Lt=_e.disabled,de=_e.locale,xe=_e.iconRender,$=_e.isImageUrl,se=_e.progress,Oe=_e.prefixCls,ke=_e.className,Pe=_e.type,rt=_e.children,At=_e.style,Wt=Object(mt.a)(we||Fe||[]),$t=a()(Wt,2),Rt=$t[0],zt=$t[1],Gt=i.useState("drop"),Qt=a()(Gt,2),Mt=Qt[0],dr=Qt[1],er=i.useRef();i.useEffect(function(){zt(we||Fe||[]),Object(Jt.a)("fileList"in _e||!("value"in _e),"Upload","`value` is not a valid prop, do you mean `fileList`?")},[]),i.useEffect(function(){"fileList"in _e&&zt(we||[])},[we]);var ht=function(pr){"fileList"in _e||zt(pr.fileList);var cr=_e.onChange;cr&&cr(h()(h()({},pr),{fileList:m()(pr.fileList)}))},Et=function(pr){var cr=ge(pr);cr.status="uploading";var fr=Rt().concat(),xr=fr.findIndex(function(Yr){var un=Yr.uid;return un===cr.uid});xr===-1?fr.push(cr):fr[xr]=cr,ht({file:cr,fileList:fr})},pt=function(pr,cr,fr){try{typeof pr=="string"&&(pr=JSON.parse(pr))}catch(Yr){}var xr=Re(cr,Rt());if(!xr)return;xr.status="done",xr.response=pr,xr.xhr=fr,ht({file:h()({},xr),fileList:Rt().concat()})},vt=function(pr,cr){var fr=Re(cr,Rt());if(!fr)return;fr.percent=pr.percent,ht({event:pr,file:h()({},fr),fileList:Rt().concat()})},Nt=function(pr,cr,fr){var xr=Re(fr,Rt());if(!xr)return;xr.error=pr,xr.response=cr,xr.status="error",ht({file:h()({},xr),fileList:Rt().concat()})},_t=function(pr){Promise.resolve(typeof Ye=="function"?Ye(pr):Ye).then(function(cr){if(cr===!1)return;var fr=ze(pr,Rt());fr&&(pr.status="removed",er.current&&er.current.abort(pr),ht({file:pr,fileList:fr}))})},gt=function(pr){dr(pr.type)},Ht=function(pr,cr){var fr=_e.beforeUpload;if(!fr)return!0;var xr=fr(pr,cr);if(xr===!1){var Yr=[];return Rt().concat(cr.map(ge)).forEach(function(un){Yr.every(function(Nn){return Nn.uid!==un.uid})&&Yr.push(un)}),ht({file:pr,fileList:Yr}),!1}return xr&&xr.then?xr:!0},kt=Object(Ve.a)();i.useImperativeHandle(Ce,function(){return{onStart:Et,onSuccess:pt,onProgress:vt,onError:Nt,fileList:Rt(),upload:er.current,forceUpdate:kt}});var ir=function(pr){var cr=Ge.showRemoveIcon,fr=Ge.showPreviewIcon,xr=Ge.showDownloadIcon,Yr=Ge.removeIcon,un=Ge.downloadIcon;return i.createElement(lt,{listType:qe,items:Rt(),previewFile:wt,onPreview:Ke,onDownload:ct,onRemove:_t,showRemoveIcon:!Lt&&cr,showPreviewIcon:fr,showDownloadIcon:xr,removeIcon:Yr,downloadIcon:un,iconRender:xe,locale:h()(h()({},pr),de),isImageUrl:$,progress:se})},Xt=i.useContext(et.b),mr=Xt.getPrefixCls,Ar=Xt.direction,Nr=mr("upload",Oe),kr=h()(h()({onStart:Et,onError:Nt,onProgress:vt,onSuccess:pt},_e),{prefixCls:Nr,beforeUpload:Ht});delete kr.className,delete kr.style,(!rt||Lt)&&delete kr.id;var tn=Ge?i.createElement(Ze.a,{componentName:"Upload",defaultLocale:Te.a.Upload},ir):null;if(Pe==="drag"){var qr,_r=d()(Nr,(qr={},f()(qr,"".concat(Nr,"-drag"),!0),f()(qr,"".concat(Nr,"-drag-uploading"),Rt().some(function(ur){return ur.status==="uploading"})),f()(qr,"".concat(Nr,"-drag-hover"),Mt==="dragover"),f()(qr,"".concat(Nr,"-disabled"),Lt),f()(qr,"".concat(Nr,"-rtl"),Ar==="rtl"),qr),ke);return i.createElement("span",null,i.createElement("div",{className:_r,onDrop:gt,onDragOver:gt,onDragLeave:gt,style:At},i.createElement(q,h()({},kr,{ref:er,className:"".concat(Nr,"-btn")}),i.createElement("div",{className:"".concat(Nr,"-drag-container")},rt))),tn)}var Qr=d()(Nr,(Ee={},f()(Ee,"".concat(Nr,"-select"),!0),f()(Ee,"".concat(Nr,"-select-").concat(qe),!0),f()(Ee,"".concat(Nr,"-disabled"),Lt),f()(Ee,"".concat(Nr,"-rtl"),Ar==="rtl"),Ee)),Lr=i.createElement("div",{className:Qr,style:rt?void 0:{display:"none"}},i.createElement(q,h()({},kr,{ref:er})));return qe==="picture-card"?i.createElement("span",{className:d()(ke,"".concat(Nr,"-picture-card-wrapper"))},tn,Lr):i.createElement("span",{className:ke},Lr,tn)},bt=i.forwardRef(ft);bt.Dragger=Ae,bt.displayName="Upload",bt.defaultProps={type:"select",multiple:!1,action:"",data:{},accept:"",beforeUpload:Z,showUploadList:!0,listType:"text",className:"",disabled:!1,supportServerRender:!0};var It=bt;It.Dragger=Ae;var or=D.a=It},"98bh":function(R,D,e){var g=e("ProS"),f=e("5GtS"),A=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(A.bind(this.getData,this),A.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:A.curry(o,this)})},_createSelectableList:function(){for(var t=this.getRawData(),s=t.mapDimension("value"),u=[],p=0,x=t.count();p<x;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(x){p.push(x)}),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"}});A.mixin(n,c);var l=n;R.exports=l},"9H2F":function(R,D,e){var g=e("bYtY"),f=g.assert,A=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=T(this._modBy),p=this._modDataCount||0,x=T(d&&d.modBy),S=d&&d.modDataCount||0;(u!==x||p!==S)&&(s="reset");function T(I){return!(I>=1)&&(I=1),I}var w;(this._dirty||s==="reset")&&(this._dirty=!1,w=o(this,l)),this._modBy=x,this._modDataCount=S;var E=d&&d.step;if(n?this._dueEnd=n._outputDueEnd:this._dueEnd=this._count?this._count(this.context):Infinity,this._progress){var C=this._dueIndex,_=Math.min(E!=null?this._dueIndex+E:Infinity,this._dueEnd);if(!l&&(w||C<_)){var y=this._progress;if(A(y))for(var b=0;b<y.length;b++)r(this,y[b],C,_,x,S);else r(this,y,C,_,x,S)}this._dueIndex=_;var O=this._settedOutputEnd!=null?this._settedOutputEnd:_;this._outputDueEnd=O}else this._dueIndex=this._outputDueEnd=this._settedOutputEnd!=null?this._settedOutputEnd:this._dueEnd;return this.unfinished()};var i=function(){var d,n,l,t,s,u={reset:function(S,T,w,E){n=S,d=T,l=w,t=E,s=Math.ceil(t/l),u.next=l>1&&t>0?x:p}};return u;function p(){return n<d?n++:null}function x(){var S=n%s*l+Math.ceil(n/s),T=n>=d?null:S<t?S:n;return n++,T}}();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),A(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},D.createTask=h},"9KIM":function(R,D,e){var g=e("mFDi"),f=e("xSat"),A=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])&&!A(d,r,o)}}function a(i){return g.create(i)}D.makeRectPanelClipPath=v,D.makeLinearBrushOtherExtent=h,D.makeRectIsTargetByCursor=c},"9ama":function(R,D,e){},"9eas":function(R,D,e){e("HM/N"),e("tBnm")},"9hCq":function(R,D,e){var g=e("IwbS"),f=e("+TT/"),A=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 x=u.getModel("itemStyle"),S=x.getModel("textStyle"),T={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,T,S),this._renderContent(n,T,x,S,s),f.positionElement(p,T.pos,T.box)},_prepare:function(n,l,t){for(var s=n;s;s=s.parentNode){var u=s.getModel().get("name"),p=t.getTextRect(u),x=Math.max(p.width+h*2,l.emptyItemWidth);l.totalWidth+=x+c,l.renderList.push({node:s,text:u,width:x})}},_renderContent:function(n,l,t,s,u){for(var p=0,x=l.emptyItemWidth,S=n.get("breadcrumb.height"),T=f.getAvailableSize(l.pos,l.box),w=l.totalWidth,E=l.renderList,C=E.length-1;C>=0;C--){var _=E[C],y=_.node,b=_.width,O=_.text;w>T.width&&(w-=b-x,b=x,O=null);var I=new g.Polygon({shape:{points:r(p,0,b,S,C===E.length-1,C===0)},style:A.defaults(t.getItemStyle(),{lineJoin:"bevel",text:O,textFill:s.getTextColor(),textFont:s.getFont()}),z:10,onclick:A.curry(u,y)});this.group.add(I),o(I,n,y),p+=b+c}},remove:function(){this.group.removeAll()}};function r(n,l,t,s,u,p){var x=[[u?n:n-a,l],[n+t,l],[n+t,l+s],[u?n:n-a,l+s]];return!p&&x.splice(2,0,[n+t+a,l+s/2]),!u&&x.push([n,l+s/2]),x}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;R.exports=d},"9u0u":function(R,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 A(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]})}R.exports=A},"9wZj":function(R,D,e){var g=e("IwbS"),f=e("FBjb"),A=e("bYtY"),m=A.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 x=o.getItemLayout(p);if(c(o,x,p,d)){var S=new s(o,p,u);S.attr("position",x),o.setItemGraphicEl(p,S),n.add(S)}}).update(function(p,x){var S=t.getItemGraphicEl(x),T=o.getItemLayout(p);if(!c(o,T,p,d)){n.remove(S);return}S?(S.updateData(o,p,u),g.updateProps(S,{position:T},l)):(S=new s(o,p),S.attr("position",T)),n.add(S),o.setItemGraphicEl(p,S)}).remove(function(p){var x=t.getItemGraphicEl(p);x&&x.fadeOut(function(){n.remove(x)})}).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;R.exports=r},"9yH6":function(R,D,e){"use strict";var g=e("lSNA"),f=e.n(g),A=e("pVnL"),m=e.n(A),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(j,K){typeof j=="function"?j(K):l()(j)==="object"&&j&&"current"in j&&(j.current=K)}function s(){for(var j=arguments.length,K=new Array(j),N=0;N<j;N++)K[N]=arguments[N];return function(B){K.forEach(function(U){t(U,B)})}}var u=e("uaoM"),p=function(j,K){var N={};for(var B in j)Object.prototype.hasOwnProperty.call(j,B)&&K.indexOf(B)<0&&(N[B]=j[B]);if(j!=null&&typeof Object.getOwnPropertySymbols=="function")for(var U=0,B=Object.getOwnPropertySymbols(j);U<B.length;U++)K.indexOf(B[U])<0&&Object.prototype.propertyIsEnumerable.call(j,B[U])&&(N[B[U]]=j[B[U]]);return N},x=function(K,N){var B,U=v.useContext(d),H=v.useContext(i.b),z=H.getPrefixCls,X=H.direction,W=v.useRef(),Y=s(N,W);v.useEffect(function(){Object(u.a)(!("optionType"in K),"Radio","`optionType` is only support in Radio.Group.")},[]);var q=function(be){K.onChange&&K.onChange(be),(U==null?void 0:U.onChange)&&U.onChange(be)},me=K.prefixCls,G=K.className,ye=K.children,Ae=K.style,ve=p(K,["prefixCls","className","children","style"]),Ue=z("radio",me),Me=m()({},ve);U&&(Me.name=U.name,Me.onChange=q,Me.checked=K.value===U.value,Me.disabled=K.disabled||U.disabled);var nt=a()(G,(B={},f()(B,"".concat(Ue,"-wrapper"),!0),f()(B,"".concat(Ue,"-wrapper-checked"),Me.checked),f()(B,"".concat(Ue,"-wrapper-disabled"),Me.disabled),f()(B,"".concat(Ue,"-wrapper-rtl"),X==="rtl"),B));return v.createElement("label",{className:nt,style:Ae,onMouseEnter:K.onMouseEnter,onMouseLeave:K.onMouseLeave},v.createElement(h.a,m()({},Me,{prefixCls:Ue,ref:Y})),ye!==void 0?v.createElement("span",null,ye):null)},S=v.forwardRef(x);S.displayName="Radio",S.defaultProps={type:"radio"};var T=S,w=e("J4zp"),E=e.n(w),C=e("6cGi"),_=e("3Nzz"),y=v.forwardRef(function(j,K){var N=v.useContext(i.b),B=N.getPrefixCls,U=N.direction,H=v.useContext(_.b),z=Object(C.a)(j.defaultValue,{value:j.value}),X=E()(z,2),W=X[0],Y=X[1],q=function(ye){var Ae=W,ve=ye.target.value;"value"in j||Y(ve);var Ue=j.onChange;Ue&&ve!==Ae&&Ue(ye)},me=function(){var ye,Ae=j.prefixCls,ve=j.className,Ue=ve===void 0?"":ve,Me=j.options,nt=j.optionType,ne=j.buttonStyle,be=j.disabled,ot=j.children,ue=j.size,Q=j.style,V=j.id,J=j.onMouseEnter,fe=j.onMouseLeave,oe=B("radio",Ae),Le="".concat(oe,"-group"),he=ot;if(Me&&Me.length>0){var te=nt==="button"?"".concat(oe,"-button"):oe;he=Me.map(function(Re){return typeof Re=="string"?v.createElement(T,{ref:K,key:Re,prefixCls:te,disabled:be,value:Re,checked:W===Re},Re):v.createElement(T,{ref:K,key:"radio-group-value-options-".concat(Re.value),prefixCls:te,disabled:Re.disabled||be,value:Re.value,checked:W===Re.value,style:Re.style},Re.label)})}var Z=ue||H,ge=a()(Le,"".concat(Le,"-").concat(ne),(ye={},f()(ye,"".concat(Le,"-").concat(Z),Z),f()(ye,"".concat(Le,"-rtl"),U==="rtl"),ye),Ue);return v.createElement("div",{className:ge,style:Q,onMouseEnter:J,onMouseLeave:fe,id:V},he)};return v.createElement(o,{value:{onChange:q,value:W,disabled:j.disabled,name:j.name}},me())});y.defaultProps={buttonStyle:"outline"};var b=v.memo(y),O=function(j,K){var N={};for(var B in j)Object.prototype.hasOwnProperty.call(j,B)&&K.indexOf(B)<0&&(N[B]=j[B]);if(j!=null&&typeof Object.getOwnPropertySymbols=="function")for(var U=0,B=Object.getOwnPropertySymbols(j);U<B.length;U++)K.indexOf(B[U])<0&&Object.prototype.propertyIsEnumerable.call(j,B[U])&&(N[B[U]]=j[B[U]]);return N},I=function(K,N){var B=v.useContext(d),U=v.useContext(i.b),H=U.getPrefixCls,z=K.prefixCls,X=O(K,["prefixCls"]),W=H("radio-button",z);return B&&(X.checked=K.value===B.value,X.disabled=K.disabled||B.disabled),v.createElement(T,m()({prefixCls:W},X,{type:"radio",ref:N}))},M=v.forwardRef(I),F=T;F.Button=M,F.Group=b;var P=D.a=F},A1Ka:function(R,D,e){var g=e("bLfw"),f=e("sS/r"),A=e("D5nY"),m=A.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(R,D,e){var g=e("6sVZ"),f=e("V6Ve"),A=Object.prototype,m=A.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}R.exports=v},ABKa:function(R,D,e){"use strict";var g=e("TqRt"),f=e("284h");Object.defineProperty(D,"__esModule",{value:!0}),D.default=void 0;var A=f(e("q1tI")),m=g(e("Qs9O")),v=g(e("KQxl")),h=function(i,r){return A.createElement(v.default,Object.assign({},i,{ref:r,icon:m.default}))};h.displayName="FolderOutlined";var c=A.forwardRef(h);D.default=c},AE9C:function(R,D,e){var g=e("bYtY"),f=e("crZl"),A=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(),x=p.endsText,S=g.retrieve(o.get("showLabel",!0),!x);x&&this._renderEndsText(r,x[0],u,S,s),g.each(p.viewPieceList,T,this),x&&this._renderEndsText(r,x[1],u,S,s),h.box(o.get("orient"),r,o.get("itemGap")),this.renderBackground(r),this.positionGroup(r);function T(w){var E=w.piece,C=new A.Group;C.onclick=g.bind(this._onItemClick,this,E),this._enableHoverLink(C,w.indexInModelPieceList);var _=o.getRepresentValue(E);if(this._createItemSymbol(C,_,[0,0,u[0],u[1]]),S){var y=this.visualMapModel.getValueState(_);C.add(new A.Text({style:{x:s==="right"?-d:u[0]+d,y:u[1]/2,text:E.text,textVerticalAlign:"middle",textAlign:s,textFont:l,textFill:t,opacity:y==="outOfRange"?.5:1}}))}r.add(C)}},_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 A.Group,s=this.visualMapModel.textStyleModel;t.add(new A.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;R.exports=i},AEZ6:function(R,D,e){var g=e("bYtY"),f=g.each,A=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=A();f(o.dimensions,function(n){var l=a(n);d.set(n,l)})}function a(i){return+i.replace("dim","")}R.exports=h},AH3D:function(R,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(R,D,e){var g=e("ProS"),f=e("bYtY"),A=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 A(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;R.exports=r},ANjR:function(R,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 A(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)}}}R.exports=A},AOa7:function(R,D,e){},AUH6:function(R,D,e){var g=e("bYtY"),f=e("mFDi"),A=e("bMXI"),m=e("W4dC");function v(a,i,r,o){A.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 A.prototype.dataToPoint.call(this,a,i,r)},convertToPixel:g.curry(h,"dataToPoint"),convertFromPixel:g.curry(h,"pointToData")},g.mixin(v,A);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;R.exports=c},AVZG:function(R,D,e){var g=e("bYtY");function f(A,m,v){v=v||{};var h=A.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 x={top:-1,bottom:1,left:-1,right:1};a.labelDirection=a.tickDirection=a.nameDirection=x[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 S=m.get("axisLabel.rotate");return a.labelRotate=o==="top"?-S:S,a.z2=1,a}D.layout=f},"Ae+d":function(R,D){function e(f,A,m){var v=f.target,h=v.position;h[0]+=A,h[1]+=m,v.dirty()}function g(f,A,m,v){var h=f.target,c=f.zoomLimit,a=h.position,i=h.scale,r=f.zoom=f.zoom||1;if(r*=A,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()}D.updateViewOnPan=e,D.updateViewOnZoom=g},Ae16:function(R,D,e){var g=e("ProS"),f=e("bYtY"),A=e("IwbS");e("Wqna"),e("rySg"),g.extendComponentView({type:"grid",render:function(m,v){this.group.removeAll(),m.get("show")&&this.group.add(new A.Rect({shape:m.coordinateSystem.getRect(),style:f.defaults({fill:m.get("backgroundColor")},m.getItemStyle()),silent:!0,z2:-1}))}}),g.registerPreprocessor(function(m){m.xAxis&&m.yAxis&&!m.grid&&(m.grid={})})},Awhp:function(R,D,e){"use strict";var g=e("cIOH"),f=e.n(g),A=e("PQMj"),m=e.n(A)},"B+YJ":function(R,D,e){e("TYVI"),e("p1MT")},"B6l+":function(R,D,e){var g=e("Sq3C"),f=e("Z1HP"),A=e("Sxd8"),m=e("dt0z");function v(h,c,a){h=m(h),c=A(c);var i=c?f(h):0;return c&&i<c?h+g(c-i,a):h}R.exports=v},B8du:function(R,D){function e(){return!1}R.exports=e},B9cy:function(R,D,e){"use strict";var g=e("cIOH"),f=e.n(g),A=e("0XgM"),m=e.n(A)},B9fm:function(R,D,e){var g=e("bYtY"),f=e("Qe9p"),A=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)",x="left "+u+"s "+p+",top "+u+"s "+p;return g.map(i,function(S){return S+"transition:"+x}).join(";")}function d(u){var p=[],x=u.get("fontSize"),S=u.getTextColor();return S&&p.push("color:"+S),p.push("font:"+u.getFont()),x&&p.push("line-height:"+Math.round(x*3/2)+"px"),c(["decoration","align"],function(T){var w=u.get(T);w&&p.push("text-"+T+":"+w)}),p.join(";")}function n(u){var p=[],x=u.get("transitionDuration"),S=u.get("backgroundColor"),T=u.getModel("textStyle"),w=u.get("padding");return x&&p.push(o(x)),S&&(v.canvasSupported?p.push("background-Color:"+S):(p.push("background-Color:#"+f.toHex(S)),p.push("filter:alpha(opacity=70)"))),c(["width","color","radius"],function(E){var C="border-"+E,_=a(C),y=u.get(_);y!=null&&p.push(C+":"+y+(E==="color"?"":"px"))}),p.push(d(T)),w!=null&&p.push("padding:"+h.normalizeCssArray(w).join("px ")+"px"),p.join(";")+";"}function l(u,p,x,S,T){var w=p&&p.painter;if(x){var E=w&&w.getViewportRoot();E&&m.transformLocalCoord(u,E,document.body,S,T)}else{u[0]=S,u[1]=T;var C=w&&w.getViewportRootOffset();C&&(u[0]+=C.offsetLeft,u[1]+=C.offsetTop)}}function t(u,p,x){if(v.wxa)return null;var S=document.createElement("div");S.domBelongToZr=!0,this.el=S;var T=this._zr=p.getZr(),w=this._appendToBody=x&&x.appendToBody;this._styleCoord=[0,0],l(this._styleCoord,T,w,p.getWidth()/2,p.getHeight()/2),w?document.body.appendChild(S):u.appendChild(S),this._container=u,this._show=!1,this._hideTimeout;var E=this;S.onmouseenter=function(){E._enterable&&(clearTimeout(E._hideTimeout),E._show=!0),E._inContent=!0},S.onmousemove=function(C){if(C=C||window.event,!E._enterable){var _=T.handler,y=T.painter.getViewportRoot();A.normalizeEvent(y,C,!0),_.dispatch("mousemove",C)}},S.onmouseleave=function(){E._enterable&&(E._show&&E.hideLater(E._hideDelay)),E._inContent=!1}}t.prototype={constructor:t,_enterable:!0,update:function(){var u=this._container,p=u.currentStyle||document.defaultView.getComputedStyle(u),x=u.style;x.position!=="absolute"&&p.position!=="absolute"&&(x.position="relative")},show:function(u){clearTimeout(this._hideTimeout);var p=this.el,x=this._styleCoord;p.style.cssText=r+n(u)+";left:"+x[0]+"px;top:"+x[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 x=this._styleCoord;l(x,this._zr,this._appendToBody,u,p);var S=this.el.style;S.left=x[0]+"px",S.top=x[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 x=document.defaultView.getComputedStyle(this.el);x&&(u+=parseInt(x.borderLeftWidth,10)+parseInt(x.borderRightWidth,10),p+=parseInt(x.borderTopWidth,10)+parseInt(x.borderBottomWidth,10))}return{width:u,height:p}}};var s=t;R.exports=s},BPZU:function(R,D){var e=32,g=7,f=256;function A(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,x;u<p;)x=u+p>>>1,t(s,o[x])<0?p=x:u=x+1;var S=l-u;switch(S){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(;S>0;)o[u+S]=o[u+S-1],S--}o[u]=s}}function c(o,d,n,l,t,s){var u=0,p=0,x=1;if(s(o,d[n+t])>0){for(p=l-t;x<p&&s(o,d[n+t+x])>0;)u=x,x=(x<<1)+1,x<=0&&(x=p);x>p&&(x=p),u+=t,x+=t}else{for(p=t+1;x<p&&s(o,d[n+t-x])<=0;)u=x,x=(x<<1)+1,x<=0&&(x=p);x>p&&(x=p);var S=u;u=t-x,x=t-S}for(u++;u<x;){var T=u+(x-u>>>1);s(o,d[n+T])>0?u=T+1:x=T}return x}function a(o,d,n,l,t,s){var u=0,p=0,x=1;if(s(o,d[n+t])<0){for(p=t+1;x<p&&s(o,d[n+t-x])<0;)u=x,x=(x<<1)+1,x<=0&&(x=p);x>p&&(x=p);var S=u;u=t-x,x=t-S}else{for(p=l-t;x<p&&s(o,d[n+t+x])>=0;)u=x,x=(x<<1)+1,x<=0&&(x=p);x>p&&(x=p),u+=t,x+=t}for(u++;u<x;){var T=u+(x-u>>>1);s(o,d[n+T])<0?x=T:u=T+1}return x}function i(o,d){var n=g,l=0,t=f,s=0,u,p,x=0;l=o.length,l<2*f&&(t=l>>>1);var S=[];s=l<120?5:l<1542?10:l<119151?19:40,u=[],p=[];function T(b,O){u[x]=b,p[x]=O,x+=1}function w(){for(;x>1;){var b=x-2;if(b>=1&&p[b-1]<=p[b]+p[b+1]||b>=2&&p[b-2]<=p[b]+p[b-1])p[b-1]<p[b+1]&&b--;else if(p[b]>p[b+1])break;C(b)}}function E(){for(;x>1;){var b=x-2;b>0&&p[b-1]<p[b+1]&&b--,C(b)}}function C(b){var O=u[b],I=p[b],M=u[b+1],F=p[b+1];p[b]=I+F,b===x-3&&(u[b+1]=u[b+2],p[b+1]=p[b+2]),x--;var P=a(o[M],o,O,I,0,d);if(O+=P,I-=P,I===0)return;if(F=c(o[O+I-1],o,M,F,F-1,d),F===0)return;I<=F?_(O,I,M,F):y(O,I,M,F)}function _(b,O,I,M){var F=0;for(F=0;F<O;F++)S[F]=o[b+F];var P=0,j=I,K=b;if(o[K++]=o[j++],--M===0){for(F=0;F<O;F++)o[K+F]=S[P+F];return}if(O===1){for(F=0;F<M;F++)o[K+F]=o[j+F];o[K+M]=S[P];return}for(var N=n,B,U,H;;){B=0,U=0,H=!1;do if(d(o[j],S[P])<0){if(o[K++]=o[j++],U++,B=0,--M===0){H=!0;break}}else if(o[K++]=S[P++],B++,U=0,--O===1){H=!0;break}while((B|U)<N);if(H)break;do{if(B=a(o[j],S,P,O,0,d),B!==0){for(F=0;F<B;F++)o[K+F]=S[P+F];if(K+=B,P+=B,O-=B,O<=1){H=!0;break}}if(o[K++]=o[j++],--M===0){H=!0;break}if(U=c(S[P],o,j,M,0,d),U!==0){for(F=0;F<U;F++)o[K+F]=o[j+F];if(K+=U,j+=U,M-=U,M===0){H=!0;break}}if(o[K++]=S[P++],--O===1){H=!0;break}N--}while(B>=g||U>=g);if(H)break;N<0&&(N=0),N+=2}if(n=N,n<1&&(n=1),O===1){for(F=0;F<M;F++)o[K+F]=o[j+F];o[K+M]=S[P]}else{if(O===0)throw new Error;for(F=0;F<O;F++)o[K+F]=S[P+F]}}function y(b,O,I,M){var F=0;for(F=0;F<M;F++)S[F]=o[I+F];var P=b+O-1,j=M-1,K=I+M-1,N=0,B=0;if(o[K--]=o[P--],--O===0){for(N=K-(M-1),F=0;F<M;F++)o[N+F]=S[F];return}if(M===1){for(K-=O,P-=O,B=K+1,N=P+1,F=O-1;F>=0;F--)o[B+F]=o[N+F];o[K]=S[j];return}for(var U=n;;){var H=0,z=0,X=!1;do if(d(S[j],o[P])<0){if(o[K--]=o[P--],H++,z=0,--O===0){X=!0;break}}else if(o[K--]=S[j--],z++,H=0,--M===1){X=!0;break}while((H|z)<U);if(X)break;do{if(H=O-a(S[j],o,b,O,O-1,d),H!==0){for(K-=H,P-=H,O-=H,B=K+1,N=P+1,F=H-1;F>=0;F--)o[B+F]=o[N+F];if(O===0){X=!0;break}}if(o[K--]=S[j--],--M===1){X=!0;break}if(z=M-c(o[P],S,0,M,M-1,d),z!==0){for(K-=z,j-=z,M-=z,B=K+1,N=j+1,F=0;F<z;F++)o[B+F]=S[N+F];if(M<=1){X=!0;break}}if(o[K--]=o[P--],--O===0){X=!0;break}U--}while(H>=g||z>=g);if(X)break;U<0&&(U=0),U+=2}if(n=U,n<1&&(n=1),M===1){for(K-=O,P-=O,B=K+1,N=P+1,F=O-1;F>=0;F--)o[B+F]=o[N+F];o[K]=S[j]}else{if(M===0)throw new Error;for(N=K-(M-1),F=0;F<M;F++)o[N+F]=S[F]}}this.mergeRuns=w,this.forceMergeRuns=E,this.pushRun=T}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=A(t);do{if(s=m(o,n,l,d),s<p){var x=t;x>p&&(x=p),h(o,n,n+x,n+s,d),s=x}u.pushRun(n,s),u.mergeRuns(),t-=s,n+=s}while(t!==0);u.forceMergeRuns()}R.exports=r},Bd2K:function(R,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"],A=["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),x=p&&p.name;if(!x)return g.Pass;var S=s.mode.configuration=="html",T=typeof d=="object"&&d.dontCloseTags||S&&f,w=typeof d=="object"&&d.indentTags||S&&A;t.end>l.ch&&(x=x.slice(0,x.length-t.end+l.ch));var E=x.toLowerCase();if(!x||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||T&&c(T,E)>-1||a(i,s.mode.xmlCurrentContext&&s.mode.xmlCurrentContext(u)||[],x,l,!0))return g.Pass;var C=typeof d=="object"&&d.emptyTags;if(C&&c(C,x)>-1){o[n]={text:"/>",newPos:g.Pos(l.line,l.ch+2)};continue}var _=w&&c(w,E)>-1;o[n]={indent:_,text:">"+(_?`
|
|
|
|
|
|
`:"")+"</"+x+">",newPos:_?g.Pos(l.line+1,0):g.Pos(l.line,l.ch+1)}}for(var y=typeof d=="object"&&d.dontIndentOnAutoClose,n=r.length-1;n>=0;n--){var b=o[n];i.replaceRange(b.text,r[n].head,r[n].anchor,"+insert");var O=i.listSelections().slice(0);O[n]={head:b.newPos,anchor:b.newPos},i.setSelections(O),!y&&b.indent&&(i.indentLine(b.newPos.line,null,!0),i.indentLine(b.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),x=g.innerMode(i.getMode(),p.state),S=x.state;if(r&&(p.type=="string"||p.string.charAt(0)!="<"||p.start!=u.ch-1))return g.Pass;var T,w=x.mode.name!="xml"&&i.getMode().name=="htmlmixed";if(w&&x.mode.name=="javascript")T=n+"script";else if(w&&x.mode.name=="css")T=n+"style";else{var E=x.mode.xmlCurrentContext&&x.mode.xmlCurrentContext(S);if(!E||E.length&&a(i,E,E[E.length-1],u))return g.Pass;T=n+E[E.length-1]}i.getLine(u.line).charAt(p.end)!=">"&&(T+=">"),d[s]=T}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(R,D,e){var g=e("hyiK"),f=1e-8;function A(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(!A(i[0],d[0])||!A(i[1],d[1]))&&(a+=g(i[0],i[1],d[0],d[1],h,c)),a!==0}D.contain=m},BoS7:function(R,D,e){"use strict";var g=e("cIOH"),f=e.n(g),A=e("czTT"),m=e.n(A)},Bq2U:function(R,D,e){var g=e("RDYZ"),f=e("Qe9p"),A=e("bYtY"),m=A.isArrayLike,v=Array.prototype.slice;function h(T,w){return T[w]}function c(T,w,E){T[w]=E}function a(T,w,E){return(w-T)*E+T}function i(T,w,E){return E>.5?w:T}function r(T,w,E,C,_){var y=T.length;if(_===1)for(var b=0;b<y;b++)C[b]=a(T[b],w[b],E);else for(var O=y&&T[0].length,b=0;b<y;b++)for(var I=0;I<O;I++)C[b][I]=a(T[b][I],w[b][I],E)}function o(T,w,E){var C=T.length,_=w.length;if(C!==_){var y=C>_;if(y)T.length=_;else for(var b=C;b<_;b++)T.push(E===1?w[b]:v.call(w[b]))}for(var O=T[0]&&T[0].length,b=0;b<T.length;b++)if(E===1)isNaN(T[b])&&(T[b]=w[b]);else for(var I=0;I<O;I++)isNaN(T[b][I])&&(T[b][I]=w[b][I])}function d(T,w,E){if(T===w)return!0;var C=T.length;if(C!==w.length)return!1;if(E===1){for(var _=0;_<C;_++)if(T[_]!==w[_])return!1}else for(var y=T[0].length,_=0;_<C;_++)for(var b=0;b<y;b++)if(T[_][b]!==w[_][b])return!1;return!0}function n(T,w,E,C,_,y,b,O,I){var M=T.length;if(I===1)for(var F=0;F<M;F++)O[F]=l(T[F],w[F],E[F],C[F],_,y,b);else for(var P=T[0].length,F=0;F<M;F++)for(var j=0;j<P;j++)O[F][j]=l(T[F][j],w[F][j],E[F][j],C[F][j],_,y,b)}function l(T,w,E,C,_,y,b){var O=(E-T)*.5,I=(C-w)*.5;return(2*(w-E)+O+I)*b+(-3*(w-E)-2*O-I)*y+O*_+w}function t(T){if(m(T)){var w=T.length;if(m(T[0])){for(var E=[],C=0;C<w;C++)E.push(v.call(T[C]));return E}return v.call(T)}return T}function s(T){return T[0]=Math.floor(T[0]),T[1]=Math.floor(T[1]),T[2]=Math.floor(T[2]),"rgba("+T.join(",")+")"}function u(T){var w=T[T.length-1].value;return m(w&&w[0])?2:1}function p(T,w,E,C,_,y){var b=T._getter,O=T._setter,I=w==="spline",M=C.length;if(!M)return;var F=C[0].value,P=m(F),j=!1,K=!1,N=P?u(C):0,B;C.sort(function(Q,V){return Q.time-V.time}),B=C[M-1].time;for(var U=[],H=[],z=C[0].value,X=!0,W=0;W<M;W++){U.push(C[W].time/B);var Y=C[W].value;if(P&&d(Y,z,N)||!P&&Y===z||(X=!1),z=Y,typeof Y=="string"){var q=f.parse(Y);q?(Y=q,j=!0):K=!0}H.push(Y)}if(!y&&X)return;for(var me=H[M-1],W=0;W<M-1;W++)P?o(H[W],me,N):isNaN(H[W])&&!isNaN(me)&&!K&&!j&&(H[W]=me);P&&o(b(T._target,_),me,N);var G=0,ye=0,Ae,ve,Ue,Me,nt,ne;if(j)var be=[0,0,0,0];var ot=function(V,J){var fe;if(J<0)fe=0;else if(J<ye){for(Ae=Math.min(G+1,M-1),fe=Ae;fe>=0&&!(U[fe]<=J);fe--);fe=Math.min(fe,M-2)}else{for(fe=G;fe<M&&!(U[fe]>J);fe++);fe=Math.min(fe-1,M-2)}G=fe,ye=J;var oe=U[fe+1]-U[fe];if(oe===0)return;if(ve=(J-U[fe])/oe,I)if(Me=H[fe],Ue=H[fe===0?fe:fe-1],nt=H[fe>M-2?M-1:fe+1],ne=H[fe>M-3?M-1:fe+2],P)n(Ue,Me,nt,ne,ve,ve*ve,ve*ve*ve,b(V,_),N);else{var Le;if(j)Le=n(Ue,Me,nt,ne,ve,ve*ve,ve*ve*ve,be,1),Le=s(be);else{if(K)return i(Me,nt,ve);Le=l(Ue,Me,nt,ne,ve,ve*ve,ve*ve*ve)}O(V,_,Le)}else if(P)r(H[fe],H[fe+1],ve,b(V,_),N);else{var Le;if(j)r(H[fe],H[fe+1],ve,be,1),Le=s(be);else{if(K)return i(H[fe],H[fe+1],ve);Le=a(H[fe],H[fe+1],ve)}O(V,_,Le)}},ue=new g({target:T._target,life:B,loop:T._loop,delay:T._delay,onframe:ot,ondestroy:E});return w&&w!=="spline"&&(ue.easing=w),ue}var x=function(w,E,C,_){this._tracks={},this._target=w,this._loop=E||!1,this._getter=C||h,this._setter=_||c,this._clipCount=0,this._delay=0,this._doneList=[],this._onframeList=[],this._clipList=[]};x.prototype={when:function(w,E){var C=this._tracks;for(var _ in E){if(!E.hasOwnProperty(_))continue;if(!C[_]){C[_]=[];var y=this._getter(this._target,_);if(y==null)continue;w!==0&&C[_].push({time:0,value:t(y)})}C[_].push({time:w,value:E[_]})}return this},during:function(w){return this._onframeList.push(w),this},pause:function(){for(var w=0;w<this._clipList.length;w++)this._clipList[w].pause();this._paused=!0},resume:function(){for(var w=0;w<this._clipList.length;w++)this._clipList[w].resume();this._paused=!1},isPaused:function(){return!!this._paused},_doneCallback:function(){this._tracks={},this._clipList.length=0;for(var w=this._doneList,E=w.length,C=0;C<E;C++)w[C].call(this)},start:function(w,E){var C=this,_=0,y=function(){_--,_||C._doneCallback()},b;for(var O in this._tracks){if(!this._tracks.hasOwnProperty(O))continue;var I=p(this,w,y,this._tracks[O],O,E);I&&(this._clipList.push(I),_++,this.animation&&this.animation.addClip(I),b=I)}if(b){var M=b.onframe;b.onframe=function(F,P){M(F,P);for(var j=0;j<C._onframeList.length;j++)C._onframeList[j](F,P)}}return _||this._doneCallback(),this},stop:function(w){for(var E=this._clipList,C=this.animation,_=0;_<E.length;_++){var y=E[_];w&&y.onframe(this._target,1),C&&C.removeClip(y)}E.length=0},delay:function(w){return this._delay=w,this},done:function(w){return w&&this._doneList.push(w),this},getClips:function(){return this._clipList}};var S=x;R.exports=S},Bqw1:function(R,D,e){"use strict";Object.defineProperty(D,"__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"};D.default=g},Bsck:function(R,D,e){var g=e("bYtY"),f=e("Qxkt"),A=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(S,T){var w=S.value;s=Math.max(s,g.isArray(w)?w.length:1),t.push(S);var E=new h(S.name,l);T?a(E,T):l.root=E,l._nodes.push(E);var C=S.children;if(C)for(var _=0;_<C.length;_++)u(C[_],E)}l.root.updateDepthAndHeight(0);var p=v(t,{coordDimensions:["value"],dimensionsCount:s}),x=new m(p,o);return x.initData(t),n&&n(x),A({mainData:x,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;R.exports=i},BtR2:function(R,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"},A=f,m=e("6VBw"),v=function(a,i){return g.createElement(m.a,Object.assign({},a,{ref:i,icon:A}))};v.displayName="LikeOutlined";var h=D.a=g.forwardRef(v)},BuqR:function(R,D,e){var g=e("Tghj"),f=g.__DEV__,A=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=A.clone(s)):(u.dataExtent=this.getExtent(),u.mappingMethod="piecewise",u.pieceList=A.map(this._pieceList,function(x){var x=A.clone(x);return p!=="inRange"&&(x.visual=null),x}))})},completeVisualOption:function(){var n=this.option,l={},t=v.listVisualTypes(),s=this.isCategory();A.each(n.pieces,function(p){A.each(t,function(x){p.hasOwnProperty(x)&&(l[x]=1)})}),A.each(l,function(p,x){var S=0;A.each(this.stateList,function(T){S|=u(n,T,x)||u(n.target,T,x)},this),!S&&A.each(this.stateList,function(T){(n[T]||(n[T]={}))[x]=h.get(x,T==="inRange"?"active":"inactive",s)})},this);function u(p,x,S){return p&&p[x]&&(A.isObject(p[x])?p[x].hasOwnProperty(S):p[x]===S)}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,A.each(s,function(x,S){var T=this.getSelectedMapKey(x);u.hasOwnProperty(T)||(u[T]=!0)},this),t.selectedMode==="single"){var p=!1;A.each(s,function(x,S){var T=this.getSelectedMapKey(x);u[T]&&(p?u[T]=!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=A.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,x){var S=v.findPieceIndex(p,this._pieceList);S===n&&s.push(x)},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(T,w){var E=s.getRepresentValue({interval:T});w||(w=s.getValueState(E));var C=n(E,w);T[0]===-Infinity?t[0]=C:T[1]===Infinity?t[1]=C:l.push({value:T[0],color:C},{value:T[1],color:C})}var p=this._pieceList.slice();if(!p.length)p.push({interval:[-Infinity,Infinity]});else{var x=p[0].interval[0];x!==-Infinity&&p.unshift({interval:[-Infinity,x]}),x=p[p.length-1].interval[1],x!==Infinity&&p.push({interval:[x,Infinity]})}var S=-Infinity;return A.each(p,function(T){var w=T.interval;w&&(w[0]>S&&u([S,w[0]],"outOfRange"),u(w.slice()),S=w[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 x=0,S=s[0];x<u;S+=p,x++){var T=x===u-1?s[1]:S+p;l.push({interval:[S,T],close:[1,1]})}n.maxOpen&&l.push({interval:[s[1],Infinity],close:[0,0]}),a(l),A.each(l,function(w,E){w.index=E,w.text=this.formatValueText(w.interval)},this)},categories:function(){var n=this.option;A.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;A.each(n.pieces,function(t,s){A.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 x=u.interval=[],S=u.close=[0,0],T=[1,0,1],w=[-Infinity,Infinity],E=[],C=0;C<2;C++){for(var _=[["gte","gt","min"],["lte","lt","max"]][C],y=0;y<3&&x[C]==null;y++)x[C]=t[_[y]],S[C]=T[y],E[C]=y===2;x[C]==null&&(x[C]=w[C])}E[0]&&x[1]===Infinity&&(S[0]=0),E[1]&&x[0]===-Infinity&&(S[1]=0),x[0]===x[1]&&S[0]&&S[1]&&(u.value=x[0])}u.visual=v.retrieveVisuals(t),l.push(u)},this),o(n,l),a(l),A.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;R.exports=d},BvKs:function(R,D,e){"use strict";e.d(D,"a",function(){return P});var g=e("pVnL"),f=e.n(g),A=e("lSNA"),m=e.n(A),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}),x=p,S=e("0n0R"),T=function(j){r()(N,j);var K=d()(N);function N(){return h()(this,N),K.apply(this,arguments)}return a()(N,[{key:"renderTitle",value:function(U){var H=this.props,z=H.icon,X=H.title,W=H.level,Y=H.rootPrefixCls;if(!z)return U&&W===1&&X&&typeof X=="string"?n.createElement("div",{className:"".concat(Y,"-inline-collapsed-noicon")},X.charAt(0)):X;var q=Object(S.b)(X)&&X.type==="span";return n.createElement(n.Fragment,null,z,q?X:n.createElement("span",null,X))}},{key:"render",value:function(){var U=this,H=this.props,z=H.rootPrefixCls,X=H.popupClassName;return n.createElement(x.Consumer,null,function(W){var Y=W.inlineCollapsed,q=W.antdMenuTheme;return n.createElement(l.e,f()({},Object(u.default)(U.props,["icon"]),{title:U.renderTitle(Y),popupClassName:s()(z,"".concat(z,"-").concat(q),X)}))})}}]),N}(n.Component);T.contextType=x,T.isSubMenu=1;var w=T,E=e("Zm9Q"),C=e("3S7+"),_=e("ZX9x"),y=function(j,K){var N={};for(var B in j)Object.prototype.hasOwnProperty.call(j,B)&&K.indexOf(B)<0&&(N[B]=j[B]);if(j!=null&&typeof Object.getOwnPropertySymbols=="function")for(var U=0,B=Object.getOwnPropertySymbols(j);U<B.length;U++)K.indexOf(B[U])<0&&Object.prototype.propertyIsEnumerable.call(j,B[U])&&(N[B[U]]=j[B[U]]);return N},b=function(j){r()(N,j);var K=d()(N);function N(){var B;return h()(this,N),B=K.apply(this,arguments),B.renderItem=function(U){var H=U.siderCollapsed,z=B.props,X=z.level,W=z.className,Y=z.children,q=z.rootPrefixCls,me=B.props,G=me.title,ye=me.icon,Ae=me.danger,ve=y(me,["title","icon","danger"]);return n.createElement(x.Consumer,null,function(Ue){var Me,nt=Ue.inlineCollapsed,ne=Ue.direction,be=G;typeof G=="undefined"?be=X===1?Y:"":G===!1&&(be="");var ot={title:be};!H&&!nt&&(ot.title=null,ot.visible=!1);var ue=Object(E.a)(Y).length;return n.createElement(C.a,f()({},ot,{placement:ne==="rtl"?"left":"right",overlayClassName:"".concat(q,"-inline-collapsed-tooltip")}),n.createElement(l.b,f()({},ve,{className:s()(W,(Me={},m()(Me,"".concat(q,"-item-danger"),Ae),m()(Me,"".concat(q,"-item-only-child"),(ye?ue+1:ue)===1),Me)),title:G}),ye,B.renderItemChildren(nt)))})},B}return a()(N,[{key:"renderItemChildren",value:function(U){var H=this.props,z=H.icon,X=H.children,W=H.level,Y=H.rootPrefixCls;return!z||Object(S.b)(X)&&X.type==="span"?X&&U&&W===1&&typeof X=="string"?n.createElement("div",{className:"".concat(Y,"-inline-collapsed-noicon")},X.charAt(0)):X:n.createElement("span",null,X)}},{key:"render",value:function(){return n.createElement(_.a.Consumer,null,this.renderItem)}}]),N}(n.Component);b.isMenuItem=!0;var O=e("H84U"),I=e("uaoM"),M=e("EXcs"),F=function(j){r()(N,j);var K=d()(N);function N(B){var U;return h()(this,N),U=K.call(this,B),U.renderMenu=function(H){var z=H.getPopupContainer,X=H.getPrefixCls,W=H.direction,Y=U.props,q=Y.prefixCls,me=Y.className,G=Y.theme,ye={horizontal:{motionName:"slide-up"},inline:M.a,other:{motionName:"zoom-big"}},Ae=X("menu",q),ve=s()(me,"".concat(Ae,"-").concat(G),m()({},"".concat(Ae,"-inline-collapsed"),U.getInlineCollapsed()));return n.createElement(x.Provider,{value:{inlineCollapsed:U.getInlineCollapsed()||!1,antdMenuTheme:G,direction:W}},n.createElement(l.f,f()({getPopupContainer:z},U.props,{className:ve,prefixCls:Ae,direction:W,defaultMotions:ye})))},Object(I.a)(!("inlineCollapsed"in B&&B.mode!=="inline"),"Menu","`inlineCollapsed` should only be used when `mode` is inline."),Object(I.a)(!(B.siderCollapsed!==void 0&&"inlineCollapsed"in B),"Menu","`inlineCollapsed` not control Menu under Sider. Should set `collapsed` on Sider instead."),U}return a()(N,[{key:"getInlineCollapsed",value:function(){var U=this.props,H=U.inlineCollapsed,z=U.siderCollapsed;return z!==void 0?z:H}},{key:"render",value:function(){return n.createElement(O.a,null,this.renderMenu)}}]),N}(n.Component);F.defaultProps={className:"",theme:"light",focusable:!1};var P=function(j){r()(N,j);var K=d()(N);function N(){return h()(this,N),K.apply(this,arguments)}return a()(N,[{key:"render",value:function(){var U=this;return n.createElement(_.a.Consumer,null,function(H){return n.createElement(F,f()({},U.props,H))})}}]),N}(n.Component);P.Divider=l.a,P.Item=b,P.SubMenu=w,P.ItemGroup=l.c},C0SR:function(R,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 A(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=A(o)/A(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;R.exports=h},C0tN:function(R,D,e){e("0o9m"),e("8Uz6"),e("Ducp"),e("6/nd")},CBdT:function(R,D,e){var g=e("ProS");e("8waO"),e("AEZ6"),e("YNf1");var f=e("q3GZ");g.registerVisual(f)},CF2D:function(R,D,e){var g=e("ProS");e("vZI5"),e("GeKi");var f=e("6r85"),A=e("TJmX"),m=e("CbHG");g.registerPreprocessor(f),g.registerVisual(A),g.registerLayout(m)},CFYs:function(R,D,e){"use strict";var g=e("lSNA"),f=e.n(g),A=e("pVnL"),m=e.n(A),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),x=e("BGR+"),S=e("V/uB"),T=e.n(S),w=e("NAnI"),E=e.n(w),C=e("J84W"),_=e.n(C),y=e("kbBi"),b=e.n(y),O=e("H84U"),I=e("CWQg"),M=e("uaoM"),F=e("Zss7"),P=e.n(F),j=2,K=.16,N=.05,B=.05,U=.15,H=5,z=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 W(Pe,rt,At){var Wt;return Math.round(Pe.h)>=60&&Math.round(Pe.h)<=240?Wt=At?Math.round(Pe.h)-j*rt:Math.round(Pe.h)+j*rt:Wt=At?Math.round(Pe.h)+j*rt:Math.round(Pe.h)-j*rt,Wt<0?Wt+=360:Wt>=360&&(Wt-=360),Wt}function Y(Pe,rt,At){if(Pe.h===0&&Pe.s===0)return Pe.s;var Wt;return At?Wt=Pe.s-K*rt:rt===z?Wt=Pe.s+K:Wt=Pe.s+N*rt,Wt>1&&(Wt=1),At&&rt===H&&Wt>.1&&(Wt=.1),Wt<.06&&(Wt=.06),Number(Wt.toFixed(2))}function q(Pe,rt,At){var Wt;return At?Wt=Pe.v+B*rt:Wt=Pe.v-U*rt,Wt>1&&(Wt=1),Number(Wt.toFixed(2))}function me(Pe){for(var rt=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},At=[],Wt=P()(Pe),$t=H;$t>0;$t-=1){var Rt=Wt.toHsv(),zt=P()({h:W(Rt,$t,!0),s:Y(Rt,$t,!0),v:q(Rt,$t,!0)}).toHexString();At.push(zt)}At.push(Wt.toHexString());for(var Gt=1;Gt<=z;Gt+=1){var Qt=Wt.toHsv(),Mt=P()({h:W(Qt,Gt),s:Y(Qt,Gt),v:q(Qt,Gt)}).toHexString();At.push(Mt)}return rt.theme==="dark"?X.map(function(dr){var er=dr.index,ht=dr.opacity,Et=P.a.mix(rt.backgroundColor||"#141414",At[er],ht*100).toHexString();return Et}):At}var G={red:"#F5222D",volcano:"#FA541C",orange:"#FA8C16",gold:"#FAAD14",yellow:"#FADB14",lime:"#A0D911",green:"#52C41A",cyan:"#13C2C2",blue:"#1890FF",geekblue:"#2F54EB",purple:"#722ED1",magenta:"#EB2F96",grey:"#666666"},ye={},Ae={};Object.keys(G).forEach(function(Pe){ye[Pe]=me(G[Pe]),ye[Pe].primary=ye[Pe][5],Ae[Pe]=me(G[Pe],{theme:"dark",backgroundColor:"#141414"}),Ae[Pe].primary=Ae[Pe][5]});var ve=ye.red,Ue=ye.volcano,Me=ye.gold,nt=ye.orange,ne=ye.yellow,be=ye.lime,ot=ye.green,ue=ye.cyan,Q=ye.blue,V=ye.geekblue,J=ye.purple,fe=ye.magenta,oe=ye.grey;function Le(Pe){return!Pe||Pe<0?0:Pe>100?100:Pe}function he(Pe){var rt=Pe.success,At=Pe.successPercent,Wt=At;return rt&&"progress"in rt&&(Object(M.a)(!1,"Progress","`success.progress` is deprecated. Please use `success.percent` instead."),Wt=rt.progress),rt&&"percent"in rt&&(Wt=rt.percent),Wt}var te=function(Pe,rt){var At={};for(var Wt in Pe)Object.prototype.hasOwnProperty.call(Pe,Wt)&&rt.indexOf(Wt)<0&&(At[Wt]=Pe[Wt]);if(Pe!=null&&typeof Object.getOwnPropertySymbols=="function")for(var $t=0,Wt=Object.getOwnPropertySymbols(Pe);$t<Wt.length;$t++)rt.indexOf(Wt[$t])<0&&Object.prototype.propertyIsEnumerable.call(Pe,Wt[$t])&&(At[Wt[$t]]=Pe[Wt[$t]]);return At},Z=function(rt){var At=[];return Object.keys(rt).forEach(function(Wt){var $t=parseFloat(Wt.replace(/%/g,""));isNaN($t)||At.push({key:$t,value:rt[Wt]})}),At=At.sort(function(Wt,$t){return Wt.key-$t.key}),At.map(function(Wt){var $t=Wt.key,Rt=Wt.value;return"".concat(Rt," ").concat($t,"%")}).join(", ")},ge=function(rt){var At=rt.from,Wt=At===void 0?G.blue:At,$t=rt.to,Rt=$t===void 0?G.blue:$t,zt=rt.direction,Gt=zt===void 0?"to right":zt,Qt=te(rt,["from","to","direction"]);if(Object.keys(Qt).length!==0){var Mt=Z(Qt);return{backgroundImage:"linear-gradient(".concat(Gt,", ").concat(Mt,")")}}return{backgroundImage:"linear-gradient(".concat(Gt,", ").concat(Wt,", ").concat(Rt,")")}},Re=function(rt){var At=rt.prefixCls,Wt=rt.percent,$t=rt.strokeWidth,Rt=rt.size,zt=rt.strokeColor,Gt=rt.strokeLinecap,Qt=rt.children,Mt=rt.trailColor,dr=rt.success,er=zt&&typeof zt!="string"?ge(zt):{background:zt},ht=Mt?{backgroundColor:Mt}:void 0,Et=m()({width:"".concat(Le(Wt),"%"),height:$t||(Rt==="small"?6:8),borderRadius:Gt==="square"?0:""},er),pt=he(rt),vt={width:"".concat(Le(pt),"%"),height:$t||(Rt==="small"?6:8),borderRadius:Gt==="square"?0:"",backgroundColor:dr==null?void 0:dr.strokeColor},Nt=pt!==void 0?t.createElement("div",{className:"".concat(At,"-success-bg"),style:vt}):null;return t.createElement(t.Fragment,null,t.createElement("div",{className:"".concat(At,"-outer")},t.createElement("div",{className:"".concat(At,"-inner"),style:ht},t.createElement("div",{className:"".concat(At,"-bg"),style:Et}),Nt)),Qt)},ze=Re,dt={className:"",percent:0,prefixCls:"rc-progress",strokeColor:"#2db7f5",strokeLinecap:"round",strokeWidth:1,style:{},trailColor:"#D9D9D9",trailWidth:1},De=function(rt){var At=rt.map(function(){return Object(t.useRef)()}),Wt=Object(t.useRef)();return Object(t.useEffect)(function(){var $t=Date.now(),Rt=!1;Object.keys(At).forEach(function(zt){var Gt=At[zt].current;if(!Gt)return;Rt=!0;var Qt=Gt.style;Qt.transitionDuration=".3s, .3s, .3s, .06s",Wt.current&&$t-Wt.current<100&&(Qt.transitionDuration="0s, 0s")}),Rt&&(Wt.current=Date.now())}),[At]};function Tt(){return Tt=Object.assign||function(Pe){for(var rt=1;rt<arguments.length;rt++){var At=arguments[rt];for(var Wt in At)Object.prototype.hasOwnProperty.call(At,Wt)&&(Pe[Wt]=At[Wt])}return Pe},Tt.apply(this,arguments)}function je(Pe,rt){return at(Pe)||et(Pe,rt)||Xe(Pe,rt)||st()}function st(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
|
|
|
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function Xe(Pe,rt){if(!Pe)return;if(typeof Pe=="string")return Je(Pe,rt);var At=Object.prototype.toString.call(Pe).slice(8,-1);if(At==="Object"&&Pe.constructor&&(At=Pe.constructor.name),At==="Map"||At==="Set")return Array.from(Pe);if(At==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(At))return Je(Pe,rt)}function Je(Pe,rt){(rt==null||rt>Pe.length)&&(rt=Pe.length);for(var At=0,Wt=new Array(rt);At<rt;At++)Wt[At]=Pe[At];return Wt}function et(Pe,rt){if(typeof Symbol=="undefined"||!(Symbol.iterator in Object(Pe)))return;var At=[],Wt=!0,$t=!1,Rt=void 0;try{for(var zt=Pe[Symbol.iterator](),Gt;!(Wt=(Gt=zt.next()).done)&&!(At.push(Gt.value),rt&&At.length===rt);Wt=!0);}catch(Qt){$t=!0,Rt=Qt}finally{try{!Wt&&zt.return!=null&&zt.return()}finally{if($t)throw Rt}}return At}function at(Pe){if(Array.isArray(Pe))return Pe}function Ve(Pe,rt){if(Pe==null)return{};var At=le(Pe,rt),Wt,$t;if(Object.getOwnPropertySymbols){var Rt=Object.getOwnPropertySymbols(Pe);for($t=0;$t<Rt.length;$t++){if(Wt=Rt[$t],rt.indexOf(Wt)>=0)continue;if(!Object.prototype.propertyIsEnumerable.call(Pe,Wt))continue;At[Wt]=Pe[Wt]}}return At}function le(Pe,rt){if(Pe==null)return{};var At={},Wt=Object.keys(Pe),$t,Rt;for(Rt=0;Rt<Wt.length;Rt++){if($t=Wt[Rt],rt.indexOf($t)>=0)continue;At[$t]=Pe[$t]}return At}var ae=function(rt){var At=rt.className,Wt=rt.percent,$t=rt.prefixCls,Rt=rt.strokeColor,zt=rt.strokeLinecap,Gt=rt.strokeWidth,Qt=rt.style,Mt=rt.trailColor,dr=rt.trailWidth,er=rt.transition,ht=Ve(rt,["className","percent","prefixCls","strokeColor","strokeLinecap","strokeWidth","style","trailColor","trailWidth","transition"]);delete ht.gapPosition;var Et=Array.isArray(Wt)?Wt:[Wt],pt=Array.isArray(Rt)?Rt:[Rt],vt=De(Et),Nt=je(vt,1),_t=Nt[0],gt=Gt/2,Ht=100-Gt/2,kt="M ".concat(zt==="round"?gt:0,",").concat(gt,`
|
|
|
L `).concat(zt==="round"?Ht:100,",").concat(gt),ir="0 0 100 ".concat(Gt),Xt=0;return s.a.createElement("svg",Tt({className:p()("".concat($t,"-line"),At),viewBox:ir,preserveAspectRatio:"none",style:Qt},ht),s.a.createElement("path",{className:"".concat($t,"-line-trail"),d:kt,strokeLinecap:zt,stroke:Mt,strokeWidth:dr||Gt,fillOpacity:"0"}),Et.map(function(mr,Ar){var Nr={strokeDasharray:"".concat(mr,"px, 100px"),strokeDashoffset:"-".concat(Xt,"px"),transition:er||"stroke-dashoffset 0.3s ease 0s, stroke-dasharray .3s ease 0s, stroke 0.3s linear"},kr=pt[Ar]||pt[pt.length-1];return Xt+=mr,s.a.createElement("path",{key:Ar,className:"".concat($t,"-line-path"),d:kt,strokeLinecap:zt,stroke:kr,strokeWidth:Gt,fillOpacity:"0",ref:_t[Ar],style:Nr})}))};ae.defaultProps=dt;var lt=ae;function Ze(){return Ze=Object.assign||function(Pe){for(var rt=1;rt<arguments.length;rt++){var At=arguments[rt];for(var Wt in At)Object.prototype.hasOwnProperty.call(At,Wt)&&(Pe[Wt]=At[Wt])}return Pe},Ze.apply(this,arguments)}function Te(Pe,rt){return It(Pe)||bt(Pe,rt)||mt(Pe,rt)||Jt()}function Jt(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
|
|
|
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function mt(Pe,rt){if(!Pe)return;if(typeof Pe=="string")return ft(Pe,rt);var At=Object.prototype.toString.call(Pe).slice(8,-1);if(At==="Object"&&Pe.constructor&&(At=Pe.constructor.name),At==="Map"||At==="Set")return Array.from(Pe);if(At==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(At))return ft(Pe,rt)}function ft(Pe,rt){(rt==null||rt>Pe.length)&&(rt=Pe.length);for(var At=0,Wt=new Array(rt);At<rt;At++)Wt[At]=Pe[At];return Wt}function bt(Pe,rt){if(typeof Symbol=="undefined"||!(Symbol.iterator in Object(Pe)))return;var At=[],Wt=!0,$t=!1,Rt=void 0;try{for(var zt=Pe[Symbol.iterator](),Gt;!(Wt=(Gt=zt.next()).done)&&!(At.push(Gt.value),rt&&At.length===rt);Wt=!0);}catch(Qt){$t=!0,Rt=Qt}finally{try{!Wt&&zt.return!=null&&zt.return()}finally{if($t)throw Rt}}return At}function It(Pe){if(Array.isArray(Pe))return Pe}function or(Pe,rt){if(Pe==null)return{};var At=Pt(Pe,rt),Wt,$t;if(Object.getOwnPropertySymbols){var Rt=Object.getOwnPropertySymbols(Pe);for($t=0;$t<Rt.length;$t++){if(Wt=Rt[$t],rt.indexOf(Wt)>=0)continue;if(!Object.prototype.propertyIsEnumerable.call(Pe,Wt))continue;At[Wt]=Pe[Wt]}}return At}function Pt(Pe,rt){if(Pe==null)return{};var At={},Wt=Object.keys(Pe),$t,Rt;for(Rt=0;Rt<Wt.length;Rt++){if($t=Wt[Rt],rt.indexOf($t)>=0)continue;At[$t]=Pe[$t]}return At}var _e=0;function Ce(Pe){return+Pe.replace("%","")}function Ee(Pe){return Array.isArray(Pe)?Pe:[Pe]}function we(Pe,rt,At,Wt){var $t=arguments.length>4&&arguments[4]!==void 0?arguments[4]:0,Rt=arguments.length>5?arguments[5]:void 0,zt=50-Wt/2,Gt=0,Qt=-zt,Mt=0,dr=-2*zt;switch(Rt){case"left":Gt=-zt,Qt=0,Mt=2*zt,dr=0;break;case"right":Gt=zt,Qt=0,Mt=-2*zt,dr=0;break;case"bottom":Qt=zt,dr=2*zt;break;default:}var er="M 50,50 m ".concat(Gt,",").concat(Qt,`
|
|
|
a `).concat(zt,",").concat(zt," 0 1 1 ").concat(Mt,",").concat(-dr,`
|
|
|
a `).concat(zt,",").concat(zt," 0 1 1 ").concat(-Mt,",").concat(dr),ht=Math.PI*2*zt,Et={stroke:At,strokeDasharray:"".concat(rt/100*(ht-$t),"px ").concat(ht,"px"),strokeDashoffset:"-".concat($t/2+Pe/100*(ht-$t),"px"),transition:"stroke-dashoffset .3s ease 0s, stroke-dasharray .3s ease 0s, stroke .3s, stroke-width .06s ease .3s"};return{pathString:er,pathStyle:Et}}var Fe=function(rt){var At=rt.prefixCls,Wt=rt.strokeWidth,$t=rt.trailWidth,Rt=rt.gapDegree,zt=rt.gapPosition,Gt=rt.trailColor,Qt=rt.strokeLinecap,Mt=rt.style,dr=rt.className,er=rt.strokeColor,ht=rt.percent,Et=or(rt,["prefixCls","strokeWidth","trailWidth","gapDegree","gapPosition","trailColor","strokeLinecap","style","className","strokeColor","percent"]),pt=Object(t.useMemo)(function(){return _e+=1,_e},[]),vt=we(0,100,Gt,Wt,Rt,zt),Nt=vt.pathString,_t=vt.pathStyle,gt=Ee(ht),Ht=Ee(er),kt=Ht.find(function(Nr){return Object.prototype.toString.call(Nr)==="[object Object]"}),ir=De(gt),Xt=Te(ir,1),mr=Xt[0],Ar=function(){var kr=0;return gt.map(function(tn,qr){var _r=Ht[qr]||Ht[Ht.length-1],Qr=Object.prototype.toString.call(_r)==="[object Object]"?"url(#".concat(At,"-gradient-").concat(pt,")"):"",Lr=we(kr,tn,_r,Wt,Rt,zt);return kr+=tn,s.a.createElement("path",{key:qr,className:"".concat(At,"-circle-path"),d:Lr.pathString,stroke:Qr,strokeLinecap:Qt,strokeWidth:Wt,opacity:tn===0?0:1,fillOpacity:"0",style:Lr.pathStyle,ref:mr[qr]})})};return s.a.createElement("svg",Ze({className:p()("".concat(At,"-circle"),dr),viewBox:"0 0 100 100",style:Mt},Et),kt&&s.a.createElement("defs",null,s.a.createElement("linearGradient",{id:"".concat(At,"-gradient-").concat(pt),x1:"100%",y1:"0%",x2:"0%",y2:"0%"},Object.keys(kt).sort(function(Nr,kr){return Ce(Nr)-Ce(kr)}).map(function(Nr,kr){return s.a.createElement("stop",{key:kr,offset:Nr,stopColor:kt[Nr]})}))),s.a.createElement("path",{className:"".concat(At,"-circle-trail"),d:Nt,stroke:Gt,strokeLinecap:Qt,strokeWidth:$t||Wt,fillOpacity:"0",style:_t}),Ar().reverse())};Fe.defaultProps=dt;var Ye=Fe,Ge={Line:lt,Circle:Ye};function qe(Pe){var rt=Pe.percent,At=Pe.success,Wt=Pe.successPercent,$t=Le(rt),Rt=he({success:At,successPercent:Wt});return Rt?[Le(Rt),Le($t-Le(Rt))]:$t}function Ke(Pe){var rt=Pe.success,At=Pe.strokeColor,Wt=Pe.successPercent,$t=At||null,Rt=he({success:rt,successPercent:Wt});return Rt?[G.green,$t]:$t}var ct=function(rt){var At=rt.prefixCls,Wt=rt.width,$t=rt.strokeWidth,Rt=rt.trailColor,zt=rt.strokeLinecap,Gt=rt.gapPosition,Qt=rt.gapDegree,Mt=rt.type,dr=rt.children,er=Wt||120,ht={width:er,height:er,fontSize:er*.15+6},Et=$t||6,pt=Gt||Mt==="dashboard"&&"bottom"||"top",vt=function(){return Qt||Qt===0?Qt:Mt==="dashboard"?75:void 0},Nt=Ke(rt),_t=Object.prototype.toString.call(Nt)==="[object Object]",gt=p()("".concat(At,"-inner"),f()({},"".concat(At,"-circle-gradient"),_t));return t.createElement("div",{className:gt,style:ht},t.createElement(Ye,{percent:qe(rt),strokeWidth:Et,trailWidth:Et,strokeColor:Nt,strokeLinecap:zt,trailColor:Rt,prefixCls:At,gapDegree:vt(),gapPosition:pt}),dr)},wt=ct,Lt=function(rt){for(var At=rt.size,Wt=rt.steps,$t=rt.percent,Rt=$t===void 0?0:$t,zt=rt.strokeWidth,Gt=zt===void 0?8:zt,Qt=rt.strokeColor,Mt=rt.trailColor,dr=rt.prefixCls,er=rt.children,ht=Math.floor(Wt*(Rt/100)),Et=At==="small"?2:14,pt=[],vt=0;vt<Wt;vt+=1)pt.push(t.createElement("div",{key:vt,className:p()("".concat(dr,"-steps-item"),f()({},"".concat(dr,"-steps-item-active"),vt<=ht-1)),style:{backgroundColor:vt<=ht-1?Qt:Mt,width:Et,height:Gt}}));return t.createElement("div",{className:"".concat(dr,"-steps-outer")},pt,er)},de=Lt,xe=function(Pe,rt){var At={};for(var Wt in Pe)Object.prototype.hasOwnProperty.call(Pe,Wt)&&rt.indexOf(Wt)<0&&(At[Wt]=Pe[Wt]);if(Pe!=null&&typeof Object.getOwnPropertySymbols=="function")for(var $t=0,Wt=Object.getOwnPropertySymbols(Pe);$t<Wt.length;$t++)rt.indexOf(Wt[$t])<0&&Object.prototype.propertyIsEnumerable.call(Pe,Wt[$t])&&(At[Wt[$t]]=Pe[Wt[$t]]);return At},$=Object(I.a)("line","circle","dashboard"),se=Object(I.a)("normal","exception","active","success"),Oe=function(Pe){d()(At,Pe);var rt=l()(At);function At(){var Wt;return h()(this,At),Wt=rt.apply(this,arguments),Wt.renderProgress=function($t){var Rt,zt=$t.getPrefixCls,Gt=$t.direction,Qt=r()(Wt),Mt=Qt.props,dr=Mt.prefixCls,er=Mt.className,ht=Mt.size,Et=Mt.type,pt=Mt.steps,vt=Mt.showInfo,Nt=Mt.strokeColor,_t=xe(Mt,["prefixCls","className","size","type","steps","showInfo","strokeColor"]),gt=zt("progress",dr),Ht=Wt.getProgressStatus(),kt=Wt.renderProcessInfo(gt,Ht);Object(M.a)(!("successPercent"in Mt),"Progress","`successPercent` is deprecated. Please use `success.percent` instead.");var ir;Et==="line"?ir=pt?t.createElement(de,m()({},Wt.props,{strokeColor:typeof Nt=="string"?Nt:void 0,prefixCls:gt,steps:pt}),kt):t.createElement(ze,m()({},Wt.props,{prefixCls:gt}),kt):(Et==="circle"||Et==="dashboard")&&(ir=t.createElement(wt,m()({},Wt.props,{prefixCls:gt,progressStatus:Ht}),kt));var Xt=p()(gt,(Rt={},f()(Rt,"".concat(gt,"-").concat(Et==="dashboard"&&"circle"||pt&&"steps"||Et),!0),f()(Rt,"".concat(gt,"-status-").concat(Ht),!0),f()(Rt,"".concat(gt,"-show-info"),vt),f()(Rt,"".concat(gt,"-").concat(ht),ht),f()(Rt,"".concat(gt,"-rtl"),Gt==="rtl"),Rt),er);return t.createElement("div",m()({},Object(x.default)(_t,["status","format","trailColor","strokeWidth","width","gapDegree","gapPosition","strokeColor","strokeLinecap","percent","steps","success","successPercent"]),{className:Xt}),ir)},Wt}return a()(At,[{key:"getPercentNumber",value:function(){var $t=this.props.percent,Rt=$t===void 0?0:$t,zt=he(this.props);return parseInt(zt!==void 0?zt.toString():Rt.toString(),10)}},{key:"getProgressStatus",value:function(){var $t=this.props.status;return se.indexOf($t)<0&&this.getPercentNumber()>=100?"success":$t||"normal"}},{key:"renderProcessInfo",value:function($t,Rt){var zt=this.props,Gt=zt.showInfo,Qt=zt.format,Mt=zt.type,dr=zt.percent,er=he(this.props);if(!Gt)return null;var ht,Et=Qt||function(vt){return"".concat(vt,"%")},pt=Mt==="line";return Qt||Rt!=="exception"&&Rt!=="success"?ht=Et(Le(dr),Le(er)):Rt==="exception"?ht=pt?t.createElement(b.a,null):t.createElement(T.a,null):Rt==="success"&&(ht=pt?t.createElement(_.a,null):t.createElement(E.a,null)),t.createElement("span",{className:"".concat($t,"-text"),title:typeof ht=="string"?ht:void 0},ht)}},{key:"render",value:function(){return t.createElement(O.a,null,this.renderProgress)}}]),At}(t.Component);Oe.defaultProps={type:"line",percent:0,showInfo:!0,trailColor:null,size:"default",gapDegree:void 0,strokeLinecap:"round"};var ke=D.a=Oe},CH3K:function(R,D){function e(g,f){for(var A=-1,m=f.length,v=g.length;++A<m;)g[v+A]=f[A];return g}R.exports=e},"CMP+":function(R,D,e){var g=e("bYtY"),f=e("hM6l"),A=function(v,h,c,a){f.call(this,v,h,c),this.type=a||"value",this.model=null};A.prototype={constructor:A,getLabelModel:function(){return this.model.getModel("label")},isHorizontal:function(){return this.model.get("orient")==="horizontal"}},g.inherits(A,f);var m=A;R.exports=m},CP8R:function(R,D,e){"use strict";Object.defineProperty(D,"__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"};D.default=g},"CWI+":function(R,D,e){},CbHG:function(R,D,e){var g=e("IwbS"),f=g.subPixelOptimize,A=e("zM3Q"),m=e("OELB"),v=m.parsePercent,h=e("bYtY"),c=h.retrieve2,a=typeof Float32Array!="undefined"?Float32Array:Array,i={seriesType:"candlestick",plan:A(),reset:function(d){var n=d.coordinateSystem,l=d.getData(),t=o(d,l),s=0,u=1,p=["x","y"],x=l.mapDimension(p[s]),S=l.mapDimension(p[u],!0),T=S[0],w=S[1],E=S[2],C=S[3];if(l.setLayout({candleWidth:t,isSimpleBox:t<=1.3}),x==null||S.length<4)return;return{progress:d.pipelineContext.large?y:_};function _(b,O){for(var I;(I=b.next())!=null;){var M=O.get(x,I),F=O.get(T,I),P=O.get(w,I),j=O.get(E,I),K=O.get(C,I),N=Math.min(F,P),B=Math.max(F,P),U=Y(N,M),H=Y(B,M),z=Y(j,M),X=Y(K,M),W=[];q(W,H,0),q(W,U,1),W.push(G(X),G(H),G(z),G(U)),O.setItemLayout(I,{sign:r(O,I,F,P,w),initBaseline:F>P?H[u]:U[u],ends:W,brushRect:me(j,K,M)})}function Y(ye,Ae){var ve=[];return ve[s]=Ae,ve[u]=ye,isNaN(Ae)||isNaN(ye)?[NaN,NaN]:n.dataToPoint(ve)}function q(ye,Ae,ve){var Ue=Ae.slice(),Me=Ae.slice();Ue[s]=f(Ue[s]+t/2,1,!1),Me[s]=f(Me[s]-t/2,1,!0),ve?ye.push(Ue,Me):ye.push(Me,Ue)}function me(ye,Ae,ve){var Ue=Y(ye,ve),Me=Y(Ae,ve);return Ue[s]-=t/2,Me[s]-=t/2,{x:Ue[0],y:Ue[1],width:u?t:Me[0]-Ue[0],height:u?Me[1]-Ue[1]:t}}function G(ye){return ye[s]=f(ye[s],1),ye}}function y(b,O){for(var I=new a(b.count*4),M=0,F,P=[],j=[],K;(K=b.next())!=null;){var N=O.get(x,K),B=O.get(T,K),U=O.get(w,K),H=O.get(E,K),z=O.get(C,K);if(isNaN(N)||isNaN(H)||isNaN(z)){I[M++]=NaN,M+=3;continue}I[M++]=r(O,K,B,U,w),P[s]=N,P[u]=H,F=n.dataToPoint(P,null,j),I[M++]=F?F[0]:NaN,I[M++]=F?F[1]:NaN,P[u]=z,F=n.dataToPoint(P,null,j),I[M++]=F?F[1]:NaN}O.setLayout("largePoints",I)}}};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),x=d.get("barWidth");return x!=null?v(x,s):Math.max(Math.min(s/2,u),p)}R.exports=i},CiB2:function(R,D,e){"use strict";e.d(D,"a",function(){return g});function g(f){if(f==null)throw new TypeError("Cannot destructure undefined")}},Cm0C:function(R,D,e){e("5NHt"),e("f3JH")},CrYA:function(R,D,e){var g=e("MFOe"),f=g.Global;R.exports={name:"sessionStorage",read:m,write:v,each:h,remove:c,clearAll:a};function A(){return f.sessionStorage}function m(i){return A().getItem(i)}function v(i,r){return A().setItem(i,r)}function h(i){for(var r=A().length-1;r>=0;r--){var o=A().key(r);i(m(o),o)}}function c(i){return A().removeItem(i)}function a(){return A().clear()}},Csr3:function(R,D,e){"use strict";Object.defineProperty(D,"__esModule",{value:!0}),D.default=void 0;var g=f(e("4vCz"));function f(m){return m&&m.__esModule?m:{default:m}}var A=g;D.default=A,R.exports=A},Cwc5:function(R,D,e){var g=e("NKxu"),f=e("Npjl");function A(m,v){var h=f(m,v);return g(h)?h:void 0}R.exports=A},D1WM:function(R,D,e){var g=e("bYtY"),f=e("hM6l"),A=function(v,h,c,a,i){f.call(this,v,h,c),this.type=a||"value",this.axisIndex=i};A.prototype={constructor:A,model:null,isHorizontal:function(){return this.coordinateSystem.getModel().get("layout")!=="horizontal"}},g.inherits(A,f);var m=A;R.exports=m},D5nY:function(R,D,e){var g=e("Tghj"),f=g.__DEV__,A=e("4NO4"),m=A.makeInner,v=A.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"),x=p.SOURCE_FORMAT_ORIGINAL,S=p.SOURCE_FORMAT_ARRAY_ROWS,T=p.SOURCE_FORMAT_OBJECT_ROWS,w=p.SOURCE_FORMAT_KEYED_COLUMNS,E=p.SOURCE_FORMAT_UNKNOWN,C=p.SOURCE_FORMAT_TYPED_ARRAY,_=p.SERIES_LAYOUT_BY_ROW,y={Must:1,Might:2,Not:3},b=m();function O(W){var Y=W.option.source,q=E;if(n(Y))q=C;else if(r(Y)){Y.length===0&&(q=S);for(var me=0,G=Y.length;me<G;me++){var ye=Y[me];if(ye==null)continue;if(r(ye)){q=S;break}else if(d(ye)){q=T;break}}}else if(d(Y)){for(var Ae in Y)if(Y.hasOwnProperty(Ae)&&l(Y[Ae])){q=w;break}}else if(Y!=null)throw new Error("Invalid data");b(W).sourceFormat=q}function I(W){return b(W).source}function M(W){b(W).datasetMap=c()}function F(W){var Y=W.option,q=Y.data,me=n(q)?C:x,G=!1,ye=Y.seriesLayoutBy,Ae=Y.sourceHeader,ve=Y.dimensions,Ue=H(W);if(Ue){var Me=Ue.option;q=Me.source,me=b(Ue).sourceFormat,G=!0,ye=ye||Me.seriesLayoutBy,Ae==null&&(Ae=Me.sourceHeader),ve=ve||Me.dimensions}var nt=P(q,me,ye,Ae,ve);b(W).source=new u({data:q,fromDataset:G,seriesLayoutBy:ye,sourceFormat:me,dimensionsDefine:nt.dimensionsDefine,startIndex:nt.startIndex,dimensionsDetectCount:nt.dimensionsDetectCount,encodeDefine:Y.encode})}function P(W,Y,q,me,G){if(!W)return{dimensionsDefine:j(G)};var ye,Ae;if(Y===S)me==="auto"||me==null?K(function(Ue){Ue!=null&&Ue!=="-"&&(o(Ue)?Ae==null&&(Ae=1):Ae=0)},q,W,10):Ae=me?1:0,!G&&Ae===1&&(G=[],K(function(Ue,Me){G[Me]=Ue!=null?Ue:""},q,W)),ye=G?G.length:q===_?W.length:W[0]?W[0].length:null;else if(Y===T)G||(G=N(W));else if(Y===w)G||(G=[],a(W,function(Ue,Me){G.push(Me)}));else if(Y===x){var ve=v(W[0]);ye=r(ve)&&ve.length||1}else Y===C;return{startIndex:Ae,dimensionsDefine:j(G),dimensionsDetectCount:ye}}function j(W){if(!W)return;var Y=c();return i(W,function(q,me){if(q=t({},d(q)?q:{name:q}),q.name==null)return q;q.name+="",q.displayName==null&&(q.displayName=q.name);var G=Y.get(q.name);return G?q.name+="-"+G.count++:Y.set(q.name,{count:1}),q})}function K(W,Y,q,me){if(me==null&&(me=Infinity),Y===_)for(var G=0;G<q.length&&G<me;G++)W(q[G]?q[G][0]:null,G);else for(var ye=q[0]||[],G=0;G<ye.length&&G<me;G++)W(ye[G],G)}function N(W){for(var Y=0,q;Y<W.length&&!(q=W[Y++]););if(q){var me=[];return a(q,function(G,ye){me.push(ye)}),me}}function B(W,Y,q){var me={},G=H(Y);if(!G||!W)return me;var ye=[],Ae=[],ve=Y.ecModel,Ue=b(ve).datasetMap,Me=G.uid+"_"+q.seriesLayoutBy,nt,ne;W=W.slice(),a(W,function(Q,V){!d(Q)&&(W[V]={name:Q}),Q.type==="ordinal"&&nt==null&&(nt=V,ne=ue(W[V])),me[Q.name]=[]});var be=Ue.get(Me)||Ue.set(Me,{categoryWayDim:ne,valueWayDim:0});a(W,function(Q,V){var J=Q.name,fe=ue(Q);if(nt==null){var oe=be.valueWayDim;ot(me[J],oe,fe),ot(Ae,oe,fe),be.valueWayDim+=fe}else if(nt===V)ot(me[J],0,fe),ot(ye,0,fe);else{var oe=be.categoryWayDim;ot(me[J],oe,fe),ot(Ae,oe,fe),be.categoryWayDim+=fe}});function ot(Q,V,J){for(var fe=0;fe<J;fe++)Q.push(V+fe)}function ue(Q){var V=Q.dimsDef;return V?V.length:1}return ye.length&&(me.itemName=ye),Ae.length&&(me.seriesName=Ae),me}function U(W,Y,q){var me={},G=H(W);if(!G)return me;var ye=Y.sourceFormat,Ae=Y.dimensionsDefine,ve;(ye===T||ye===w)&&a(Ae,function(nt,ne){(d(nt)?nt.name:nt)==="name"&&(ve=ne)});var Ue=function(){for(var nt={},ne={},be=[],ot=0,ue=Math.min(5,q);ot<ue;ot++){var Q=X(Y.data,ye,Y.seriesLayoutBy,Ae,Y.startIndex,ot);be.push(Q);var V=Q===y.Not;if(V&&nt.v==null&&ot!==ve&&(nt.v=ot),(nt.n==null||nt.n===nt.v||!V&&be[nt.n]===y.Not)&&(nt.n=ot),J(nt)&&be[nt.n]!==y.Not)return nt;V||(Q===y.Might&&ne.v==null&&ot!==ve&&(ne.v=ot),(ne.n==null||ne.n===ne.v)&&(ne.n=ot))}function J(fe){return fe.v!=null&&fe.n!=null}return J(nt)?nt:J(ne)?ne:null}();if(Ue){me.value=Ue.v;var Me=ve!=null?ve:Ue.n;me.itemName=[Me],me.seriesName=[Me]}return me}function H(W){var Y=W.option,q=Y.data;if(!q)return W.ecModel.getComponent("dataset",Y.datasetIndex||0)}function z(W,Y){return X(W.data,W.sourceFormat,W.seriesLayoutBy,W.dimensionsDefine,W.startIndex,Y)}function X(W,Y,q,me,G,ye){var Ae,ve=5;if(n(W))return y.Not;var Ue,Me;if(me){var nt=me[ye];d(nt)?(Ue=nt.name,Me=nt.type):o(nt)&&(Ue=nt)}if(Me!=null)return Me==="ordinal"?y.Must:y.Not;if(Y===S)if(q===_){for(var ne=W[ye],be=0;be<(ne||[]).length&&be<ve;be++)if((Ae=V(ne[G+be]))!=null)return Ae}else for(var be=0;be<W.length&&be<ve;be++){var ot=W[G+be];if(ot&&(Ae=V(ot[ye]))!=null)return Ae}else if(Y===T){if(!Ue)return y.Not;for(var be=0;be<W.length&&be<ve;be++){var ue=W[be];if(ue&&(Ae=V(ue[Ue]))!=null)return Ae}}else if(Y===w){if(!Ue)return y.Not;var ne=W[Ue];if(!ne||n(ne))return y.Not;for(var be=0;be<ne.length&&be<ve;be++)if((Ae=V(ne[be]))!=null)return Ae}else if(Y===x)for(var be=0;be<W.length&&be<ve;be++){var ue=W[be],Q=v(ue);if(!r(Q))return y.Not;if((Ae=V(Q[ye]))!=null)return Ae}function V(J){var fe=o(J);if(J!=null&&isFinite(J)&&J!=="")return fe?y.Might:y.Not;if(fe&&J!=="-")return y.Must}return y.Not}D.BE_ORDINAL=y,D.detectSourceFormat=O,D.getSource=I,D.resetSourceDefaulter=M,D.prepareSource=F,D.makeSeriesEncodeForAxisCoordSys=B,D.makeSeriesEncodeForNameBased=U,D.guessOrdinal=z},D9ME:function(R,D,e){var g=e("IwbS"),f=e("fls0"),A=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");A.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"),x=d.get("constantSpeed"),S=A.retrieve(d.get("delay"),function(C){return C/o.count()*u/3}),T=typeof S=="function";if(l.ignore=!0,this.updateAnimationPoints(l,s),x>0&&(u=this.getLineLength(l)/x*1e3),u!==this._period||p!==this._loop){l.stopAnimation();var w=S;T&&(w=S(n)),l.__t>0&&(w=-u*l.__t),l.__t=0;var E=l.animate("",p).when(u,{__t:1}).delay(w).during(function(){t.updateSymbolPosition(l)});p||E.done(function(){t.remove(l)}),E.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,x=c.quadraticDerivativeAt;s[0]=p(d[0],l[0],n[0],t),s[1]=p(d[1],l[1],n[1],t);var S=x(d[0],l[0],n[0],t),T=x(d[1],l[1],n[1],t);if(o.rotation=-Math.atan2(T,S)-Math.PI/2,this._symbolType==="line"||this._symbolType==="rect"||this._symbolType==="roundRect")if(o.__lastT!==void 0&&o.__lastT<o.__t){var w=h.dist(u,s)*1.05;o.attr("scale",[o.scale[0],w]),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 w=2*h.dist(d,s);o.attr("scale",[o.scale[0],w])}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)},A.inherits(a,g.Group);var r=a;R.exports=r},DBLp:function(R,D){function e(){}e.prototype={diff:function(h,c,a){a||(a=function(T,w){return T===w}),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 S=-1*d;S<=d;S+=2){var T,w=l[S-1],E=l[S+1],C=(E?E.newPos:0)-S;w&&(l[S-1]=void 0);var _=w&&w.newPos+1<r,y=E&&0<=C&&C<o;if(!_&&!y){l[S]=void 0;continue}if(!_||y&&w.newPos<E.newPos?(T=f(E),i.pushComponent(T.components,void 0,!0)):(T=w,T.newPos++,i.pushComponent(T.components,!0,void 0)),C=i.extractCommon(T,c,h,S),T.newPos+1>=r&&C+1>=o)return g(i,T.components,c,h);l[S]=T}d++}for(;d<=n;){var x=p();if(x)return x}},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 A=new e;function m(v,h,c){return A.diff(v,h,c)}R.exports=m},DEFe:function(R,D,e){var g=e("bYtY"),f=e("SgGq"),A=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,x,S){p.off("click"),p.off("mousedown"),u.get("selectedMode")&&(p.on("mousedown",function(){s._mouseDownFlag=!0}),p.on("click",function(T){if(!s._mouseDownFlag)return;s._mouseDownFlag=!1;for(var w=T.target;!w.__regions;)w=w.parent;if(!w)return;var E={type:(u.mainType==="geo"?"geo":"map")+"ToggleSelect",batch:g.map(w.__regions,function(C){return{name:C.name,from:S.uid}})};E[u.mainType+"Id"]=u.id,x.dispatchAction(E),n(u,p)}))}function n(s,u){u.eachChild(function(p){g.each(p.__regions,function(x){p.trigger(s.isSelected(x.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,x,S){var T=s.mainType==="geo",w=s.getData&&s.getData();T&&u.eachComponent({mainType:"series",subType:"map"},function(H){!w&&H.getHostGeoModel()===s&&(w=H.getData())});var E=s.coordinateSystem;this._updateBackground(E);var C=this._regionsGroup,_=this.group,y=E.getTransformInfo(),b=!C.childAt(0)||S,O;if(b)_.transform=y.roamTransform,_.decomposeTransform(),_.dirty();else{var I=new r;I.transform=y.roamTransform,I.decomposeTransform();var M={scale:I.scale,position:I.position};O=I.scale,h.updateProps(_,M,s)}var F=y.rawScale,P=y.rawPosition;C.removeAll();var j=["itemStyle"],K=["emphasis","itemStyle"],N=["label"],B=["emphasis","label"],U=g.createHashMap();g.each(E.regions,function(H){var z=U.get(H.name)||U.set(H.name,new h.Group),X=new h.CompoundPath({segmentIgnoreThreshold:1,shape:{paths:[]}});z.add(X);var W=s.getRegionModel(H.name)||s,Y=W.getModel(j),q=W.getModel(K),me=o(Y),G=o(q),ye=W.getModel(N),Ae=W.getModel(B),ve;if(w){ve=w.indexOfName(H.name);var Ue=w.getItemVisual(ve,"color",!0);Ue&&(me.fill=Ue)}var Me=function(oe){return[oe[0]*F[0]+P[0],oe[1]*F[1]+P[1]]};g.each(H.geometries,function(oe){if(oe.type!=="polygon")return;for(var Le=[],he=0;he<oe.exterior.length;++he)Le.push(Me(oe.exterior[he]));X.shape.paths.push(new h.Polygon({segmentIgnoreThreshold:1,shape:{points:Le}}));for(var he=0;he<(oe.interiors?oe.interiors.length:0);++he){for(var te=oe.interiors[he],Le=[],Z=0;Z<te.length;++Z)Le.push(Me(te[Z]));X.shape.paths.push(new h.Polygon({segmentIgnoreThreshold:1,shape:{points:Le}}))}}),X.setStyle(me),X.style.strokeNoScale=!0,X.culling=!0;var nt=ye.get("show"),ne=Ae.get("show"),be=w&&isNaN(w.get(w.mapDimension("value"),ve)),ot=w&&w.getItemLayout(ve);if(T||be&&(nt||ne)||ot&&ot.showLabel){var ue=T?H.name:ve,Q;(!w||ve>=0)&&(Q=s);var V=new h.Text({position:Me(H.center.slice()),scale:[1/_.scale[0],1/_.scale[1]],z2:10,silent:!0});if(h.setLabelStyle(V.style,V.hoverStyle={},ye,Ae,{labelFetcher:Q,labelDataIndex:ue,defaultText:H.name,useInsideStyle:!1},{textAlign:"center",textVerticalAlign:"middle"}),!b){var J=[1/O[0],1/O[1]];h.updateProps(V,{scale:J},s)}z.add(V)}if(w)w.setItemGraphicEl(ve,z);else{var W=s.getRegionModel(H.name);X.eventData={componentType:"geo",componentIndex:s.componentIndex,geoIndex:s.componentIndex,name:H.name,region:W&&W.option||{}}}var fe=z.__regions||(z.__regions=[]);fe.push(H),z.highDownSilentOnTouch=!!s.get("selectedMode"),h.setHoverStyle(z,G),C.add(z)}),this._updateController(s,u,p),d(this,s,C,p,x),n(s,C)},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 x=s.coordinateSystem,S=this._controller,T=this._controllerHost;T.zoomLimit=s.get("scaleLimit"),T.zoom=x.getZoom(),S.enable(s.get("roam")||!1);var w=s.mainType;function E(){var C={type:"geoRoam",componentType:w};return C[w+"Id"]=s.id,C}S.off("pan").on("pan",function(C){this._mouseDownFlag=!1,A.updateViewOnPan(T,C.dx,C.dy),p.dispatchAction(g.extend(E(),{dx:C.dx,dy:C.dy}))},this),S.off("zoom").on("zoom",function(C){if(this._mouseDownFlag=!1,A.updateViewOnZoom(T,C.scale,C.originX,C.originY),p.dispatchAction(g.extend(E(),{zoom:C.scale,originX:C.originX,originY:C.originY})),this._updateGroup){var _=this.group.scale;this._regionsGroup.traverse(function(y){y.type==="text"&&y.attr("scale",[1/_[0],1/_[1]])})}},this),S.setPointerChecker(function(C,_,y){return x.getViewRectAfterRoam().contain(_,y)&&!v(C,p,s)})}};var t=l;R.exports=t},DFOY:function(R,D,e){"use strict";var g=e("pVnL"),f=e.n(g),A=e("lSNA"),m=e.n(A),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),x=e("4IlW"),S=e("uK0f"),T=e.n(S);function w(Ee,we){if(Ee===we)return!0;if(!Ee||!we)return!1;var Fe=Ee.length;if(we.length!==Fe)return!1;for(var Ye=0;Ye<Fe;Ye++)if(Ee[Ye]!==we[Ye])return!1;return!0}function E(Ee){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?E=function(Fe){return typeof Fe}:E=function(Fe){return Fe&&typeof Symbol=="function"&&Fe.constructor===Symbol&&Fe!==Symbol.prototype?"symbol":typeof Fe},E(Ee)}function C(Ee,we){if(!(Ee instanceof we))throw new TypeError("Cannot call a class as a function")}function _(Ee,we){for(var Fe=0;Fe<we.length;Fe++){var Ye=we[Fe];Ye.enumerable=Ye.enumerable||!1,Ye.configurable=!0,"value"in Ye&&(Ye.writable=!0),Object.defineProperty(Ee,Ye.key,Ye)}}function y(Ee,we,Fe){return we&&_(Ee.prototype,we),Fe&&_(Ee,Fe),Ee}function b(Ee,we){if(typeof we!="function"&&we!==null)throw new TypeError("Super expression must either be null or a function");Ee.prototype=Object.create(we&&we.prototype,{constructor:{value:Ee,writable:!0,configurable:!0}}),we&&O(Ee,we)}function O(Ee,we){return O=Object.setPrototypeOf||function(Ye,Ge){return Ye.__proto__=Ge,Ye},O(Ee,we)}function I(Ee){var we=P();return function(){var Fe=j(Ee),Ye;if(we){var Ge=j(this).constructor;Ye=Reflect.construct(Fe,arguments,Ge)}else Ye=Fe.apply(this,arguments);return M(this,Ye)}}function M(Ee,we){return we&&(E(we)==="object"||typeof we=="function")?we:F(Ee)}function F(Ee){if(Ee===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return Ee}function P(){if(typeof Reflect=="undefined"||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(Ee){return!1}}function j(Ee){return j=Object.setPrototypeOf?Object.getPrototypeOf:function(Fe){return Fe.__proto__||Object.getPrototypeOf(Fe)},j(Ee)}var K=function(){var Ee=function(we){b(Ye,we);var Fe=I(Ye);function Ye(){var Ge;return C(this,Ye),Ge=Fe.apply(this,arguments),Ge.menuItems={},Ge.saveMenuItem=function(qe){return function(Ke){Ge.menuItems[qe]=Ke}},Ge}return y(Ye,[{key:"componentDidMount",value:function(){this.scrollActiveItemToView()}},{key:"componentDidUpdate",value:function(qe){!qe.visible&&this.props.visible&&this.scrollActiveItemToView()}},{key:"getFieldName",value:function(qe){var Ke=this.props,ct=Ke.fieldNames,wt=Ke.defaultFieldNames;return ct[qe]||wt[qe]}},{key:"getOption",value:function(qe,Ke){var ct=this.props,wt=ct.prefixCls,Lt=ct.expandTrigger,de=ct.expandIcon,xe=ct.loadingIcon,$=this.props.onSelect.bind(this,qe,Ke),se=this.props.onItemDoubleClick.bind(this,qe,Ke),Oe={onClick:$,onDoubleClick:se},ke="".concat(wt,"-menu-item"),Pe=null,rt=qe[this.getFieldName("children")]&&qe[this.getFieldName("children")].length>0;(rt||qe.isLeaf===!1)&&(ke+=" ".concat(wt,"-menu-item-expand"),qe.loading||(Pe=t.createElement("span",{className:"".concat(wt,"-menu-item-expand-icon")},de))),Lt==="hover"&&(rt||qe.isLeaf===!1)&&(Oe={onMouseEnter:this.delayOnSelect.bind(this,$),onMouseLeave:this.delayOnSelect.bind(this),onClick:$}),this.isActiveOption(qe,Ke)&&(ke+=" ".concat(wt,"-menu-item-active"),Oe.ref=this.saveMenuItem(Ke)),qe.disabled&&(ke+=" ".concat(wt,"-menu-item-disabled"));var At=null;qe.loading&&(ke+=" ".concat(wt,"-menu-item-loading"),At=xe||null);var Wt="";return"title"in qe?Wt=qe.title:typeof qe[this.getFieldName("label")]=="string"&&(Wt=qe[this.getFieldName("label")]),t.createElement("li",Object.assign({key:qe[this.getFieldName("value")],className:ke,title:Wt},Oe,{role:"menuitem",onMouseDown:function(Rt){return Rt.preventDefault()}}),qe[this.getFieldName("label")],Pe,At)}},{key:"getActiveOptions",value:function(qe){var Ke=this,ct=this.props.options,wt=qe||this.props.activeValue;return T()(ct,function(Lt,de){return Lt[Ke.getFieldName("value")]===wt[de]},{childrenKeyName:this.getFieldName("children")})}},{key:"getShowOptions",value:function(){var qe=this,Ke=this.props.options,ct=this.getActiveOptions().map(function(wt){return wt[qe.getFieldName("children")]}).filter(function(wt){return!!wt});return ct.unshift(Ke),ct}},{key:"delayOnSelect",value:function(qe){for(var Ke=this,ct=arguments.length,wt=new Array(ct>1?ct-1:0),Lt=1;Lt<ct;Lt++)wt[Lt-1]=arguments[Lt];this.delayTimer&&(clearTimeout(this.delayTimer),this.delayTimer=null),typeof qe=="function"&&(this.delayTimer=window.setTimeout(function(){qe(wt),Ke.delayTimer=null},150))}},{key:"scrollActiveItemToView",value:function(){for(var qe=this.getShowOptions().length,Ke=0;Ke<qe;Ke++){var ct=this.menuItems[Ke];ct&&ct.parentElement&&(ct.parentElement.scrollTop=ct.offsetTop)}}},{key:"isActiveOption",value:function(qe,Ke){var ct=this.props.activeValue,wt=ct===void 0?[]:ct;return wt[Ke]===qe[this.getFieldName("value")]}},{key:"render",value:function(){var qe=this,Ke=this.props,ct=Ke.prefixCls,wt=Ke.dropdownMenuColumnStyle;return t.createElement("div",null,this.getShowOptions().map(function(Lt,de){return t.createElement("ul",{className:"".concat(ct,"-menu"),key:de,style:wt},Lt.map(function(xe){return qe.getOption(xe,de)}))}))}}]),Ye}(t.Component);return Ee.defaultProps={options:[],value:[],activeValue:[],onSelect:function(){},prefixCls:"rc-cascader-menus",visible:!1,expandTrigger:"click"},Ee}(),N=K,B={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}}},U=B;function H(Ee){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?H=function(Fe){return typeof Fe}:H=function(Fe){return Fe&&typeof Symbol=="function"&&Fe.constructor===Symbol&&Fe!==Symbol.prototype?"symbol":typeof Fe},H(Ee)}function z(Ee,we){if(Ee==null)return{};var Fe=X(Ee,we),Ye,Ge;if(Object.getOwnPropertySymbols){var qe=Object.getOwnPropertySymbols(Ee);for(Ge=0;Ge<qe.length;Ge++){if(Ye=qe[Ge],we.indexOf(Ye)>=0)continue;if(!Object.prototype.propertyIsEnumerable.call(Ee,Ye))continue;Fe[Ye]=Ee[Ye]}}return Fe}function X(Ee,we){if(Ee==null)return{};var Fe={},Ye=Object.keys(Ee),Ge,qe;for(qe=0;qe<Ye.length;qe++){if(Ge=Ye[qe],we.indexOf(Ge)>=0)continue;Fe[Ge]=Ee[Ge]}return Fe}function W(Ee){return G(Ee)||me(Ee)||q(Ee)||Y()}function Y(){throw new TypeError(`Invalid attempt to spread non-iterable instance.
|
|
|
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function q(Ee,we){if(!Ee)return;if(typeof Ee=="string")return ye(Ee,we);var Fe=Object.prototype.toString.call(Ee).slice(8,-1);if(Fe==="Object"&&Ee.constructor&&(Fe=Ee.constructor.name),Fe==="Map"||Fe==="Set")return Array.from(Ee);if(Fe==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(Fe))return ye(Ee,we)}function me(Ee){if(typeof Symbol!="undefined"&&Symbol.iterator in Object(Ee))return Array.from(Ee)}function G(Ee){if(Array.isArray(Ee))return ye(Ee)}function ye(Ee,we){(we==null||we>Ee.length)&&(we=Ee.length);for(var Fe=0,Ye=new Array(we);Fe<we;Fe++)Ye[Fe]=Ee[Fe];return Ye}function Ae(Ee,we){if(!(Ee instanceof we))throw new TypeError("Cannot call a class as a function")}function ve(Ee,we){for(var Fe=0;Fe<we.length;Fe++){var Ye=we[Fe];Ye.enumerable=Ye.enumerable||!1,Ye.configurable=!0,"value"in Ye&&(Ye.writable=!0),Object.defineProperty(Ee,Ye.key,Ye)}}function Ue(Ee,we,Fe){return we&&ve(Ee.prototype,we),Fe&&ve(Ee,Fe),Ee}function Me(Ee,we){if(typeof we!="function"&&we!==null)throw new TypeError("Super expression must either be null or a function");Ee.prototype=Object.create(we&&we.prototype,{constructor:{value:Ee,writable:!0,configurable:!0}}),we&&nt(Ee,we)}function nt(Ee,we){return nt=Object.setPrototypeOf||function(Ye,Ge){return Ye.__proto__=Ge,Ye},nt(Ee,we)}function ne(Ee){var we=ue();return function(){var Fe=Q(Ee),Ye;if(we){var Ge=Q(this).constructor;Ye=Reflect.construct(Fe,arguments,Ge)}else Ye=Fe.apply(this,arguments);return be(this,Ye)}}function be(Ee,we){return we&&(H(we)==="object"||typeof we=="function")?we:ot(Ee)}function ot(Ee){if(Ee===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return Ee}function ue(){if(typeof Reflect=="undefined"||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(Ee){return!1}}function Q(Ee){return Q=Object.setPrototypeOf?Object.getPrototypeOf:function(Fe){return Fe.__proto__||Object.getPrototypeOf(Fe)},Q(Ee)}var V=function(){var Ee=function(we){Me(Ye,we);var Fe=ne(Ye);function Ye(Ge){var qe;Ae(this,Ye),qe=Fe.call(this,Ge),qe.setPopupVisible=function(ct){var wt=qe.state.value;"popupVisible"in qe.props||qe.setState({popupVisible:ct}),ct&&!qe.state.popupVisible&&qe.setState({activeValue:wt}),qe.props.onPopupVisibleChange(ct)},qe.handleChange=function(ct,wt,Lt){var de=wt.visible;(Lt.type!=="keydown"||Lt.keyCode===x.a.ENTER)&&(qe.props.onChange(ct.map(function(xe){return xe[qe.getFieldName("value")]}),ct),qe.setPopupVisible(de))},qe.handlePopupVisibleChange=function(ct){qe.setPopupVisible(ct)},qe.handleMenuSelect=function(ct,wt,Lt){var de=qe.trigger.getRootDomNode();de&&de.focus&&de.focus();var xe=qe.props,$=xe.changeOnSelect,se=xe.loadData,Oe=xe.expandTrigger;if(!ct||ct.disabled)return;var ke=qe.state.activeValue;ke=ke.slice(0,wt+1),ke[wt]=ct[qe.getFieldName("value")];var Pe=qe.getActiveOptions(ke);if(ct.isLeaf===!1&&!ct[qe.getFieldName("children")]&&se){$&&qe.handleChange(Pe,{visible:!0},Lt),qe.setState({activeValue:ke}),se(Pe);return}var rt={};!ct[qe.getFieldName("children")]||!ct[qe.getFieldName("children")].length?(qe.handleChange(Pe,{visible:!1},Lt),rt.value=ke):$&&(Lt.type==="click"||Lt.type==="keydown")&&(Oe==="hover"?qe.handleChange(Pe,{visible:!1},Lt):qe.handleChange(Pe,{visible:!0},Lt),rt.value=ke),rt.activeValue=ke,("value"in qe.props||Lt.type==="keydown"&&Lt.keyCode!==x.a.ENTER)&&delete rt.value,qe.setState(rt)},qe.handleItemDoubleClick=function(){var ct=qe.props.changeOnSelect;ct&&qe.setPopupVisible(!1)},qe.handleKeyDown=function(ct){var wt=qe.props.children;if(wt&&wt.props.onKeyDown){wt.props.onKeyDown(ct);return}var Lt=W(qe.state.activeValue),de=Lt.length-1<0?0:Lt.length-1,xe=qe.getCurrentLevelOptions(),$=xe.map(function(Pe){return Pe[qe.getFieldName("value")]}).indexOf(Lt[de]);if(ct.keyCode!==x.a.DOWN&&ct.keyCode!==x.a.UP&&ct.keyCode!==x.a.LEFT&&ct.keyCode!==x.a.RIGHT&&ct.keyCode!==x.a.ENTER&&ct.keyCode!==x.a.SPACE&&ct.keyCode!==x.a.BACKSPACE&&ct.keyCode!==x.a.ESC&&ct.keyCode!==x.a.TAB)return;if(!qe.state.popupVisible&&ct.keyCode!==x.a.BACKSPACE&&ct.keyCode!==x.a.LEFT&&ct.keyCode!==x.a.RIGHT&&ct.keyCode!==x.a.ESC&&ct.keyCode!==x.a.TAB){qe.setPopupVisible(!0);return}if(ct.keyCode===x.a.DOWN||ct.keyCode===x.a.UP){ct.preventDefault();var se=$;se!==-1?ct.keyCode===x.a.DOWN?(se+=1,se=se>=xe.length?0:se):(se-=1,se=se<0?xe.length-1:se):se=0,Lt[de]=xe[se][qe.getFieldName("value")]}else if(ct.keyCode===x.a.LEFT||ct.keyCode===x.a.BACKSPACE)ct.preventDefault(),Lt.splice(Lt.length-1,1);else if(ct.keyCode===x.a.RIGHT)ct.preventDefault(),xe[$]&&xe[$][qe.getFieldName("children")]&&Lt.push(xe[$][qe.getFieldName("children")][0][qe.getFieldName("value")]);else if(ct.keyCode===x.a.ESC||ct.keyCode===x.a.TAB){qe.setPopupVisible(!1);return}(!Lt||Lt.length===0)&&qe.setPopupVisible(!1);var Oe=qe.getActiveOptions(Lt),ke=Oe[Oe.length-1];qe.handleMenuSelect(ke,Oe.length-1,ct),qe.props.onKeyDown&&qe.props.onKeyDown(ct)},qe.saveTrigger=function(ct){qe.trigger=ct};var Ke=[];return"value"in Ge?Ke=Ge.value||[]:"defaultValue"in Ge&&(Ke=Ge.defaultValue||[]),p()(!("filedNames"in Ge),"`filedNames` of Cascader is a typo usage and deprecated, please use `fieldNames` instead."),qe.state={popupVisible:Ge.popupVisible,activeValue:Ke,value:Ke,prevProps:Ge},qe.defaultFieldNames={label:"label",value:"value",children:"children"},qe}return Ue(Ye,[{key:"getPopupDOMNode",value:function(){return this.trigger.getPopupDomNode()}},{key:"getFieldName",value:function(qe){var Ke=this.defaultFieldNames,ct=this.props,wt=ct.fieldNames,Lt=ct.filedNames;return"filedNames"in this.props?Lt[qe]||Ke[qe]:wt[qe]||Ke[qe]}},{key:"getFieldNames",value:function(){var qe=this.props,Ke=qe.fieldNames,ct=qe.filedNames;return"filedNames"in this.props?ct:Ke}},{key:"getCurrentLevelOptions",value:function(){var qe=this,Ke=this.props.options,ct=Ke===void 0?[]:Ke,wt=this.state.activeValue,Lt=wt===void 0?[]:wt,de=T()(ct,function(xe,$){return xe[qe.getFieldName("value")]===Lt[$]},{childrenKeyName:this.getFieldName("children")});return de[de.length-2]?de[de.length-2][this.getFieldName("children")]:W(ct).filter(function(xe){return!xe.disabled})}},{key:"getActiveOptions",value:function(qe){var Ke=this;return T()(this.props.options||[],function(ct,wt){return ct[Ke.getFieldName("value")]===qe[wt]},{childrenKeyName:this.getFieldName("children")})}},{key:"render",value:function(){var qe=this.props,Ke=qe.prefixCls,ct=qe.transitionName,wt=qe.popupClassName,Lt=qe.options,de=Lt===void 0?[]:Lt,xe=qe.disabled,$=qe.builtinPlacements,se=qe.popupPlacement,Oe=qe.children,ke=qe.dropdownRender,Pe=z(qe,["prefixCls","transitionName","popupClassName","options","disabled","builtinPlacements","popupPlacement","children","dropdownRender"]),rt=t.createElement("div",null),At="";de&&de.length>0?rt=t.createElement(N,Object.assign({},this.props,{fieldNames:this.getFieldNames(),defaultFieldNames:this.defaultFieldNames,activeValue:this.state.activeValue,onSelect:this.handleMenuSelect,onItemDoubleClick:this.handleItemDoubleClick,visible:this.state.popupVisible})):At=" ".concat(Ke,"-menus-empty");var Wt=rt;return ke&&(Wt=ke(rt)),t.createElement(s.a,Object.assign({ref:this.saveTrigger},Pe,{popupPlacement:se,builtinPlacements:$,popupTransitionName:ct,action:xe?[]:["click"],popupVisible:xe?!1:this.state.popupVisible,onPopupVisibleChange:this.handlePopupVisibleChange,prefixCls:"".concat(Ke,"-menus"),popupClassName:wt+At,popup:Wt}),t.cloneElement(Oe,{onKeyDown:this.handleKeyDown,tabIndex:xe?void 0:0}))}}],[{key:"getDerivedStateFromProps",value:function(qe,Ke){var ct=Ke.prevProps,wt=ct===void 0?{}:ct,Lt={prevProps:qe};return"value"in qe&&!w(wt.value,qe.value)&&(Lt.value=qe.value||[],"loadData"in qe||(Lt.activeValue=qe.value||[])),"popupVisible"in qe&&(Lt.popupVisible=qe.popupVisible),Lt}}]),Ye}(t.Component);return Ee.defaultProps={onChange:function(){},onPopupVisibleChange:function(){},disabled:!1,transitionName:"",prefixCls:"rc-cascader",popupClassName:"",popupPlacement:"bottomLeft",builtinPlacements:U,expandTrigger:"click",fieldNames:{label:"label",value:"value",children:"children"},expandIcon:">"},Ee}(),J=V,fe=J,oe=e("TSYQ"),Le=e.n(oe),he=e("BGR+"),te=e("kbBi"),Z=e.n(te),ge=e("HQEm"),Re=e.n(ge),ze=e("fEPi"),dt=e.n(ze),De=e("5YOS"),Tt=e.n(De),je=e("DFhj"),st=e.n(je),Xe=e("5rEg"),Je=e("H84U"),et=e("YMnH"),at=e("uaoM"),Ve=e("3Nzz"),le=e("0n0R"),ae=function(Ee,we){var Fe={};for(var Ye in Ee)Object.prototype.hasOwnProperty.call(Ee,Ye)&&we.indexOf(Ye)<0&&(Fe[Ye]=Ee[Ye]);if(Ee!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Ge=0,Ye=Object.getOwnPropertySymbols(Ee);Ge<Ye.length;Ge++)we.indexOf(Ye[Ge])<0&&Object.prototype.propertyIsEnumerable.call(Ee,Ye[Ge])&&(Fe[Ye[Ge]]=Ee[Ye[Ge]]);return Fe},lt=50;function Ze(Ee,we,Fe){return Ee.split(we).map(function(Ye,Ge){return Ge===0?Ye:[t.createElement("span",{className:"".concat(Fe,"-menu-item-keyword"),key:"seperator"},we),Ye]})}function Te(Ee,we,Fe){return we.some(function(Ye){return Ye[Fe.label].indexOf(Ee)>-1})}function Jt(Ee,we,Fe,Ye){return we.map(function(Ge,qe){var Ke=Ge[Ye.label],ct=Ke.indexOf(Ee)>-1?Ze(Ke,Ee,Fe):Ke;return qe===0?ct:[" / ",ct]})}function mt(Ee,we,Fe,Ye){function Ge(qe){return qe[Ye.label].indexOf(Fe)>-1}return Ee.findIndex(Ge)-we.findIndex(Ge)}function ft(Ee){var we=Ee.fieldNames;return we}function bt(Ee){var we=ft(Ee)||{},Fe={children:we.children||"children",label:we.label||"label",value:we.value||"value"};return Fe}function It(Ee,we){var Fe=arguments.length>2&&arguments[2]!==void 0?arguments[2]:[],Ye=bt(we),Ge=[],qe=Ye.children;return Ee.forEach(function(Ke){var ct=Fe.concat(Ke);(we.changeOnSelect||!Ke[qe]||!Ke[qe].length)&&Ge.push(ct),Ke[qe]&&(Ge=Ge.concat(It(Ke[qe],we,ct)))}),Ge}var or=function(we){return we.join(" / ")};function Pt(Ee){var we=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};(Ee||[]).forEach(function(Fe){var Ye=we.value||"value";Object(at.a)(Ye in Fe,"Cascader","Not found `value` in `options`."),Pt(Fe[we.children||"children"],we)})}var _e=function(Ee){d()(Fe,Ee);var we=l()(Fe);function Fe(Ye){var Ge;return h()(this,Fe),Ge=we.call(this,Ye),Ge.cachedOptions=[],Ge.setValue=function(qe){var Ke=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[];"value"in Ge.props||Ge.setState({value:qe});var ct=Ge.props.onChange;ct&&ct(qe,Ke)},Ge.saveInput=function(qe){Ge.input=qe},Ge.handleChange=function(qe,Ke){if(Ge.setState({inputValue:""}),Ke[0].__IS_FILTERED_OPTION){var ct=qe[0],wt=Ke[0].path;Ge.setValue(ct,wt);return}Ge.setValue(qe,Ke)},Ge.handlePopupVisibleChange=function(qe){"popupVisible"in Ge.props||Ge.setState(function(ct){return{popupVisible:qe,inputFocused:qe,inputValue:qe?ct.inputValue:""}});var Ke=Ge.props.onPopupVisibleChange;Ke&&Ke(qe)},Ge.handleInputBlur=function(){Ge.setState({inputFocused:!1})},Ge.handleInputClick=function(qe){var Ke=Ge.state,ct=Ke.inputFocused,wt=Ke.popupVisible;(ct||wt)&&qe.stopPropagation()},Ge.handleKeyDown=function(qe){(qe.keyCode===x.a.BACKSPACE||qe.keyCode===x.a.SPACE)&&qe.stopPropagation()},Ge.handleInputChange=function(qe){var Ke=Ge.state.popupVisible,ct=qe.target.value;Ke||Ge.handlePopupVisibleChange(!0),Ge.setState({inputValue:ct})},Ge.clearSelection=function(qe){var Ke=Ge.state.inputValue;qe.preventDefault(),qe.stopPropagation(),Ke?Ge.setState({inputValue:""}):(Ge.handlePopupVisibleChange(!1),Ge.clearSelectionTimeout=setTimeout(function(){Ge.setValue([])},200))},Ge.renderCascader=function(qe,Ke){var ct=qe.getPopupContainer,wt=qe.getPrefixCls,Lt=qe.renderEmpty,de=qe.direction;return t.createElement(Ve.b.Consumer,null,function(xe){var $,se,Oe,ke,Pe=r()(Ge),rt=Pe.props,At=Pe.state,Wt=rt.prefixCls,$t=rt.inputPrefixCls,Rt=rt.children,zt=rt.placeholder,Gt=zt===void 0?Ke.placeholder||"Please select":zt,Qt=rt.size,Mt=rt.disabled,dr=rt.className,er=rt.style,ht=rt.allowClear,Et=rt.showSearch,pt=Et===void 0?!1:Et,vt=rt.suffixIcon,Nt=rt.expandIcon,_t=rt.notFoundContent,gt=rt.popupClassName,Ht=rt.bordered,kt=rt.dropdownRender,ir=ae(rt,["prefixCls","inputPrefixCls","children","placeholder","size","disabled","className","style","allowClear","showSearch","suffixIcon","expandIcon","notFoundContent","popupClassName","bordered","dropdownRender"]),Xt=Qt||xe,mr=At.value,Ar=At.inputFocused,Nr=de==="rtl",kr=wt("cascader",Wt),tn=wt("input",$t),qr=Le()(($={},m()($,"".concat(tn,"-lg"),Xt==="large"),m()($,"".concat(tn,"-sm"),Xt==="small"),$)),_r=ht&&!Mt&&mr.length>0||At.inputValue?t.createElement(Z.a,{className:"".concat(kr,"-picker-clear"),onClick:Ge.clearSelection}):null,Qr=Le()((se={},m()(se,"".concat(kr,"-picker-arrow"),!0),m()(se,"".concat(kr,"-picker-arrow-expand"),At.popupVisible),se)),Lr=Le()(dr,"".concat(kr,"-picker"),(Oe={},m()(Oe,"".concat(kr,"-picker-rtl"),Nr),m()(Oe,"".concat(kr,"-picker-with-value"),At.inputValue),m()(Oe,"".concat(kr,"-picker-disabled"),Mt),m()(Oe,"".concat(kr,"-picker-").concat(Xt),!!Xt),m()(Oe,"".concat(kr,"-picker-show-search"),!!pt),m()(Oe,"".concat(kr,"-picker-focused"),Ar),m()(Oe,"".concat(kr,"-picker-borderless"),!Ht),Oe)),ur=Object(he.default)(ir,["onChange","options","popupPlacement","transitionName","displayRender","onPopupVisibleChange","changeOnSelect","expandTrigger","popupVisible","getPopupContainer","loadData","popupClassName","filterOption","renderFilteredOption","sortFilteredOption","notFoundContent","fieldNames","bordered"]),pr=rt.options,cr=bt(Ge.props);if(pr&&pr.length>0)At.inputValue&&(pr=Ge.generateFilteredOptions(kr,Lt));else{var fr;pr=[(fr={},m()(fr,cr.label,_t||Lt("Cascader")),m()(fr,cr.value,"ANT_CASCADER_NOT_FOUND"),fr)]}At.popupVisible?Ge.cachedOptions=pr:pr=Ge.cachedOptions;var xr={},Yr=(pr||[]).length===1&&pr[0].isEmptyNode;Yr&&(xr.height="auto");var un=pt.matchInputWidth!==!1;un&&(At.inputValue||Yr)&&Ge.input&&(xr.width=Ge.input.input.offsetWidth);var Nn;vt?Nn=Object(le.c)(vt,t.createElement("span",{className:"".concat(kr,"-picker-arrow")},vt),function(){var Yn;return{className:Le()((Yn={},m()(Yn,vt.props.className,vt.props.className),m()(Yn,"".concat(kr,"-picker-arrow"),!0),Yn))}}):Nn=t.createElement(Re.a,{className:Qr});var jr=Rt||t.createElement("span",{style:er,className:Lr},t.createElement("span",{className:"".concat(kr,"-picker-label")},Ge.getLabel()),t.createElement(Xe.a,f()({},ur,{tabIndex:"-1",ref:Ge.saveInput,prefixCls:tn,placeholder:mr&&mr.length>0?void 0:Gt,className:"".concat(kr,"-input ").concat(qr),value:At.inputValue,disabled:Mt,readOnly:!pt,autoComplete:ur.autoComplete||"off",onClick:pt?Ge.handleInputClick:void 0,onBlur:pt?Ge.handleInputBlur:void 0,onKeyDown:Ge.handleKeyDown,onChange:pt?Ge.handleInputChange:void 0})),_r,Nn),Tn;Nt?Tn=Nt:Tn=Nr?t.createElement(st.a,null):t.createElement(dt.a,null);var gn=t.createElement("span",{className:"".concat(kr,"-menu-item-loading-icon")},t.createElement(Tt.a,{spin:!0})),Bn=rt.getPopupContainer||ct,Kn=Object(he.default)(rt,["inputIcon","expandIcon","loadingIcon","bordered"]),qn=Le()(gt,(ke={},m()(ke,"".concat(kr,"-menu-").concat(de),de==="rtl"),m()(ke,"".concat(kr,"-menu-empty"),pr.length===1&&pr[0].value==="ANT_CASCADER_NOT_FOUND"),ke));return t.createElement(fe,f()({},Kn,{prefixCls:kr,getPopupContainer:Bn,options:pr,value:mr,popupVisible:At.popupVisible,onPopupVisibleChange:Ge.handlePopupVisibleChange,onChange:Ge.handleChange,dropdownMenuColumnStyle:xr,expandIcon:Tn,loadingIcon:gn,popupClassName:qn,popupPlacement:Ge.getPopupPlacement(de),dropdownRender:kt}),jr)})},Ge.state={value:Ye.value||Ye.defaultValue||[],inputValue:"",inputFocused:!1,popupVisible:Ye.popupVisible,flattenOptions:Ye.showSearch?It(Ye.options,Ye):void 0,prevProps:Ye},Ge}return a()(Fe,[{key:"componentWillUnmount",value:function(){this.clearSelectionTimeout&&clearTimeout(this.clearSelectionTimeout)}},{key:"getLabel",value:function(){var Ge=this.props,qe=Ge.options,Ke=Ge.displayRender,ct=Ke===void 0?or:Ke,wt=bt(this.props),Lt=this.state.value,de=Array.isArray(Lt[0])?Lt[0]:Lt,xe=T()(qe,function(se,Oe){return se[wt.value]===de[Oe]},{childrenKeyName:wt.children}),$=xe.length?xe.map(function(se){return se[wt.label]}):Lt;return ct($,xe)}},{key:"generateFilteredOptions",value:function(Ge,qe){var Ke=this,ct,wt=this.props,Lt=wt.showSearch,de=wt.notFoundContent,xe=bt(this.props),$=Lt.filter,se=$===void 0?Te:$,Oe=Lt.render,ke=Oe===void 0?Jt:Oe,Pe=Lt.sort,rt=Pe===void 0?mt:Pe,At=Lt.limit,Wt=At===void 0?lt:At,$t=this.state,Rt=$t.flattenOptions,zt=Rt===void 0?[]:Rt,Gt=$t.inputValue,Qt;if(Wt>0){Qt=[];var Mt=0;zt.some(function(dr){var er=se(Ke.state.inputValue,dr,xe);return er&&(Qt.push(dr),Mt+=1),Mt>=Wt})}else Object(at.a)(typeof Wt!="number","Cascader","'limit' of showSearch should be positive number or false."),Qt=zt.filter(function(dr){return se(Ke.state.inputValue,dr,xe)});return Qt=Qt.sort(function(dr,er){return rt(dr,er,Gt,xe)}),Qt.length>0?Qt.map(function(dr){var er;return er={__IS_FILTERED_OPTION:!0,path:dr},m()(er,xe.value,dr.map(function(ht){return ht[xe.value]})),m()(er,xe.label,ke(Gt,dr,Ge,xe)),m()(er,"disabled",dr.some(function(ht){return!!ht.disabled})),m()(er,"isEmptyNode",!0),er}):[(ct={},m()(ct,xe.value,"ANT_CASCADER_NOT_FOUND"),m()(ct,xe.label,de||qe("Cascader")),m()(ct,"disabled",!0),m()(ct,"isEmptyNode",!0),ct)]}},{key:"focus",value:function(){this.input.focus()}},{key:"blur",value:function(){this.input.blur()}},{key:"getPopupPlacement",value:function(){var Ge=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"ltr",qe=this.props.popupPlacement;return qe!==void 0?qe:Ge==="rtl"?"bottomRight":"bottomLeft"}},{key:"render",value:function(){var Ge=this;return t.createElement(Je.a,null,function(qe){return t.createElement(et.a,null,function(Ke){return Ge.renderCascader(qe,Ke)})})}}],[{key:"getDerivedStateFromProps",value:function(Ge,qe){var Ke=qe.prevProps,ct={prevProps:Ge};return"value"in Ge&&(ct.value=Ge.value||[]),"popupVisible"in Ge&&(ct.popupVisible=Ge.popupVisible),Ge.showSearch&&Ke.options!==Ge.options&&(ct.flattenOptions=It(Ge.options,Ge)),ct}}]),Fe}(t.Component);_e.defaultProps={transitionName:"slide-up",options:[],disabled:!1,allowClear:!0,bordered:!0};var Ce=D.a=_e},DFhj:function(R,D,e){"use strict";Object.defineProperty(D,"__esModule",{value:!0}),D.default=void 0;var g=f(e("GGyF"));function f(m){return m&&m.__esModule?m:{default:m}}var A=g;D.default=A,R.exports=A},DL4k:function(R,D,e){"use strict";Object.defineProperty(D,"__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"};D.default=g},DN4a:function(R,D,e){var g=e("Fofx"),f=e("QBsz"),A=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&&A(t);return}t=t||g.create(),l?this.getLocalTransform(t):A(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,x=((a[0]-u)*s+u)/a[0]||0,S=((a[1]-p)*s+p)/a[1]||0;t[0]*=x,t[1]*=x,t[2]*=S,t[3]*=S}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||[],A(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;R.exports=o},DO2E:function(R,D,e){"use strict";Object.defineProperty(D,"__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"};D.default=g},DSRE:function(R,D,e){(function(g){var f=e("Kz5y"),A=e("B8du"),m=D&&!D.nodeType&&D,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||A;g.exports=i}).call(this,e("YuTi")(R))},DYRE:function(R,D,e){"use strict";var g=e("cIOH"),f=e.n(g),A=e("OPEp"),m=e.n(A)},DZo9:function(R,D,e){"use strict";var g=e("cIOH"),f=e.n(g),A=e("JGo8"),m=e.n(A),v=e("+L6B"),h=e("MXD1"),c=e("5Dmo")},Dagg:function(R,D,e){var g=e("Gev7"),f=e("mFDi"),A=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,x=r.sy||0;a.drawImage(d,p,x,r.sWidth,r.sHeight,n,l,t,s)}else if(r.sx&&r.sy){var p=r.sx,x=r.sy,S=t-p,T=s-x;a.drawImage(d,p,x,S,T,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}},A.inherits(v,g);var h=v;R.exports=h},Dg8C:function(R,D,e){var g=e("XxSj"),f=e("bYtY");function A(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)})}})}R.exports=A},DjyN:function(R,D,e){"use strict";var g=e("cIOH"),f=e.n(g),A=e("Urep"),m=e.n(A),v=e("OaEy")},DlQD:function(R,D,e){(function(g,f){R.exports=f()})(this,function(){"use strict";function g(Je,et){for(var at=0;at<et.length;at++){var Ve=et[at];Ve.enumerable=Ve.enumerable||!1,Ve.configurable=!0,"value"in Ve&&(Ve.writable=!0),Object.defineProperty(Je,Ve.key,Ve)}}function f(Je,et,at){return et&&g(Je.prototype,et),at&&g(Je,at),Je}function A(Je,et){if(!Je)return;if(typeof Je=="string")return m(Je,et);var at=Object.prototype.toString.call(Je).slice(8,-1);if(at==="Object"&&Je.constructor&&(at=Je.constructor.name),at==="Map"||at==="Set")return Array.from(Je);if(at==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(at))return m(Je,et)}function m(Je,et){(et==null||et>Je.length)&&(et=Je.length);for(var at=0,Ve=new Array(et);at<et;at++)Ve[at]=Je[at];return Ve}function v(Je,et){var at;if(typeof Symbol=="undefined"||Je[Symbol.iterator]==null){if(Array.isArray(Je)||(at=A(Je))||et&&Je&&typeof Je.length=="number"){at&&(Je=at);var Ve=0;return function(){return Ve>=Je.length?{done:!0}:{done:!1,value:Je[Ve++]}}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
|
|
|
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}return at=Je[Symbol.iterator](),at.next.bind(at)}function h(Je,et){return et={exports:{}},Je(et,et.exports),et.exports}var c=h(function(Je){function et(){return{baseUrl:null,breaks:!1,gfm:!0,headerIds:!0,headerPrefix:"",highlight:null,langPrefix:"language-",mangle:!0,pedantic:!1,renderer:null,sanitize:!1,sanitizer:null,silent:!1,smartLists:!1,smartypants:!1,tokenizer:null,walkTokens:null,xhtml:!1}}function at(Ve){Je.exports.defaults=Ve}Je.exports={defaults:et(),getDefaults:et,changeDefaults:at}}),a=c.defaults,i=c.getDefaults,r=c.changeDefaults,o=/[&<>"']/,d=/[&<>"']/g,n=/[<>"']|&(?!#?\w+;)/,l=/[<>"']|&(?!#?\w+;)/g,t={"&":"&","<":"<",">":">",'"':""","'":"'"},s=function(et){return t[et]};function u(Je,et){if(et){if(o.test(Je))return Je.replace(d,s)}else if(n.test(Je))return Je.replace(l,s);return Je}var p=/&(#(?:\d+)|(?:#x[0-9A-Fa-f]+)|(?:\w+));?/ig;function x(Je){return Je.replace(p,function(et,at){return at=at.toLowerCase(),at==="colon"?":":at.charAt(0)==="#"?at.charAt(1)==="x"?String.fromCharCode(parseInt(at.substring(2),16)):String.fromCharCode(+at.substring(1)):""})}var S=/(^|[^\[])\^/g;function T(Je,et){Je=Je.source||Je,et=et||"";var at={replace:function(le,ae){return ae=ae.source||ae,ae=ae.replace(S,"$1"),Je=Je.replace(le,ae),at},getRegex:function(){return new RegExp(Je,et)}};return at}var w=/[^\w:]/g,E=/^$|^[a-z][a-z0-9+.-]*:|^[?#]/i;function C(Je,et,at){if(Je){var Ve;try{Ve=decodeURIComponent(x(at)).replace(w,"").toLowerCase()}catch(le){return null}if(Ve.indexOf("javascript:")===0||Ve.indexOf("vbscript:")===0||Ve.indexOf("data:")===0)return null}et&&!E.test(at)&&(at=I(et,at));try{at=encodeURI(at).replace(/%25/g,"%")}catch(le){return null}return at}var _={},y=/^[^:]+:\/*[^/]*$/,b=/^([^:]+:)[\s\S]*$/,O=/^([^:]+:\/*[^/]*)[\s\S]*$/;function I(Je,et){_[" "+Je]||(y.test(Je)?_[" "+Je]=Je+"/":_[" "+Je]=j(Je,"/",!0)),Je=_[" "+Je];var at=Je.indexOf(":")===-1;return et.substring(0,2)==="//"?at?et:Je.replace(b,"$1")+et:et.charAt(0)==="/"?at?et:Je.replace(O,"$1")+et:Je+et}var M={exec:function(){}};function F(Je){for(var et=1,at,Ve;et<arguments.length;et++){at=arguments[et];for(Ve in at)Object.prototype.hasOwnProperty.call(at,Ve)&&(Je[Ve]=at[Ve])}return Je}function P(Je,et){var at=Je.replace(/\|/g,function(ae,lt,Ze){for(var Te=!1,Jt=lt;--Jt>=0&&Ze[Jt]==="\\";)Te=!Te;return Te?"|":" |"}),Ve=at.split(/ \|/),le=0;if(Ve.length>et)Ve.splice(et);else for(;Ve.length<et;)Ve.push("");for(;le<Ve.length;le++)Ve[le]=Ve[le].trim().replace(/\\\|/g,"|");return Ve}function j(Je,et,at){var Ve=Je.length;if(Ve===0)return"";for(var le=0;le<Ve;){var ae=Je.charAt(Ve-le-1);if(ae===et&&!at)le++;else if(ae!==et&&at)le++;else break}return Je.substr(0,Ve-le)}function K(Je,et){if(Je.indexOf(et[1])===-1)return-1;for(var at=Je.length,Ve=0,le=0;le<at;le++)if(Je[le]==="\\")le++;else if(Je[le]===et[0])Ve++;else if(Je[le]===et[1]&&(Ve--,Ve<0))return le;return-1}function N(Je){Je&&Je.sanitize&&!Je.silent&&console.warn("marked(): sanitize and sanitizer parameters are deprecated since version 0.7.0, should not be used and will be removed in the future. Read more here: https://marked.js.org/#/USING_ADVANCED.md#options")}var B={escape:u,unescape:x,edit:T,cleanUrl:C,resolveUrl:I,noopTest:M,merge:F,splitCells:P,rtrim:j,findClosingBracket:K,checkSanitizeDeprecation:N},U=c.defaults,H=B.rtrim,z=B.splitCells,X=B.escape,W=B.findClosingBracket;function Y(Je,et,at){var Ve=et.href,le=et.title?X(et.title):null,ae=Je[1].replace(/\\([\[\]])/g,"$1");return Je[0].charAt(0)!=="!"?{type:"link",raw:at,href:Ve,title:le,text:ae}:{type:"image",raw:at,href:Ve,title:le,text:X(ae)}}function q(Je,et){var at=Je.match(/^(\s+)(?:```)/);if(at===null)return et;var Ve=at[1];return et.split(`
|
|
|
`).map(function(le){var ae=le.match(/^\s+/);if(ae===null)return le;var lt=ae[0];return lt.length>=Ve.length?le.slice(Ve.length):le}).join(`
|
|
|
`)}var me=function(){function Je(at){this.options=at||U}var et=Je.prototype;return et.space=function(Ve){var le=this.rules.block.newline.exec(Ve);if(le)return le[0].length>1?{type:"space",raw:le[0]}:{raw:`
|
|
|
`}},et.code=function(Ve,le){var ae=this.rules.block.code.exec(Ve);if(ae){var lt=le[le.length-1];if(lt&<.type==="paragraph")return{raw:ae[0],text:ae[0].trimRight()};var Ze=ae[0].replace(/^ {4}/gm,"");return{type:"code",raw:ae[0],codeBlockStyle:"indented",text:this.options.pedantic?Ze:H(Ze,`
|
|
|
`)}}},et.fences=function(Ve){var le=this.rules.block.fences.exec(Ve);if(le){var ae=le[0],lt=q(ae,le[3]||"");return{type:"code",raw:ae,lang:le[2]?le[2].trim():le[2],text:lt}}},et.heading=function(Ve){var le=this.rules.block.heading.exec(Ve);if(le)return{type:"heading",raw:le[0],depth:le[1].length,text:le[2]}},et.nptable=function(Ve){var le=this.rules.block.nptable.exec(Ve);if(le){var ae={type:"table",header:z(le[1].replace(/^ *| *\| *$/g,"")),align:le[2].replace(/^ *|\| *$/g,"").split(/ *\| */),cells:le[3]?le[3].replace(/\n$/,"").split(`
|
|
|
`):[],raw:le[0]};if(ae.header.length===ae.align.length){var lt=ae.align.length,Ze;for(Ze=0;Ze<lt;Ze++)/^ *-+: *$/.test(ae.align[Ze])?ae.align[Ze]="right":/^ *:-+: *$/.test(ae.align[Ze])?ae.align[Ze]="center":/^ *:-+ *$/.test(ae.align[Ze])?ae.align[Ze]="left":ae.align[Ze]=null;for(lt=ae.cells.length,Ze=0;Ze<lt;Ze++)ae.cells[Ze]=z(ae.cells[Ze],ae.header.length);return ae}}},et.hr=function(Ve){var le=this.rules.block.hr.exec(Ve);if(le)return{type:"hr",raw:le[0]}},et.blockquote=function(Ve){var le=this.rules.block.blockquote.exec(Ve);if(le){var ae=le[0].replace(/^ *> ?/gm,"");return{type:"blockquote",raw:le[0],text:ae}}},et.list=function(Ve){var le=this.rules.block.list.exec(Ve);if(le){for(var ae=le[0],lt=le[2],Ze=lt.length>1,Te=lt[lt.length-1]===")",Jt={type:"list",raw:ae,ordered:Ze,start:Ze?+lt.slice(0,-1):"",loose:!1,items:[]},mt=le[0].match(this.rules.block.item),ft=!1,bt,It,or,Pt,_e,Ce,Ee,we=mt.length,Fe=0;Fe<we;Fe++)bt=mt[Fe],ae=bt,It=bt.length,bt=bt.replace(/^ *([*+-]|\d+[.)]) */,""),~bt.indexOf(`
|
|
|
`)&&(It-=bt.length,bt=this.options.pedantic?bt.replace(/^ {1,4}/gm,""):bt.replace(new RegExp("^ {1,"+It+"}","gm"),"")),Fe!==we-1&&(or=this.rules.block.bullet.exec(mt[Fe+1])[0],(Ze?or.length===1||!Te&&or[or.length-1]===")":or.length>1||this.options.smartLists&&or!==lt)&&(Pt=mt.slice(Fe+1).join(`
|
|
|
`),Jt.raw=Jt.raw.substring(0,Jt.raw.length-Pt.length),Fe=we-1)),_e=ft||/\n\n(?!\s*$)/.test(bt),Fe!==we-1&&(ft=bt.charAt(bt.length-1)===`
|
|
|
`,_e||(_e=ft)),_e&&(Jt.loose=!0),Ce=/^\[[ xX]\] /.test(bt),Ee=void 0,Ce&&(Ee=bt[1]!==" ",bt=bt.replace(/^\[[ xX]\] +/,"")),Jt.items.push({type:"list_item",raw:ae,task:Ce,checked:Ee,loose:_e,text:bt});return Jt}},et.html=function(Ve){var le=this.rules.block.html.exec(Ve);if(le)return{type:this.options.sanitize?"paragraph":"html",raw:le[0],pre:!this.options.sanitizer&&(le[1]==="pre"||le[1]==="script"||le[1]==="style"),text:this.options.sanitize?this.options.sanitizer?this.options.sanitizer(le[0]):X(le[0]):le[0]}},et.def=function(Ve){var le=this.rules.block.def.exec(Ve);if(le){le[3]&&(le[3]=le[3].substring(1,le[3].length-1));var ae=le[1].toLowerCase().replace(/\s+/g," ");return{tag:ae,raw:le[0],href:le[2],title:le[3]}}},et.table=function(Ve){var le=this.rules.block.table.exec(Ve);if(le){var ae={type:"table",header:z(le[1].replace(/^ *| *\| *$/g,"")),align:le[2].replace(/^ *|\| *$/g,"").split(/ *\| */),cells:le[3]?le[3].replace(/\n$/,"").split(`
|
|
|
`):[]};if(ae.header.length===ae.align.length){ae.raw=le[0];var lt=ae.align.length,Ze;for(Ze=0;Ze<lt;Ze++)/^ *-+: *$/.test(ae.align[Ze])?ae.align[Ze]="right":/^ *:-+: *$/.test(ae.align[Ze])?ae.align[Ze]="center":/^ *:-+ *$/.test(ae.align[Ze])?ae.align[Ze]="left":ae.align[Ze]=null;for(lt=ae.cells.length,Ze=0;Ze<lt;Ze++)ae.cells[Ze]=z(ae.cells[Ze].replace(/^ *\| *| *\| *$/g,""),ae.header.length);return ae}}},et.lheading=function(Ve){var le=this.rules.block.lheading.exec(Ve);if(le)return{type:"heading",raw:le[0],depth:le[2].charAt(0)==="="?1:2,text:le[1]}},et.paragraph=function(Ve){var le=this.rules.block.paragraph.exec(Ve);if(le)return{type:"paragraph",raw:le[0],text:le[1].charAt(le[1].length-1)===`
|
|
|
`?le[1].slice(0,-1):le[1]}},et.text=function(Ve,le){var ae=this.rules.block.text.exec(Ve);if(ae){var lt=le[le.length-1];return lt&<.type==="text"?{raw:ae[0],text:ae[0]}:{type:"text",raw:ae[0],text:ae[0]}}},et.escape=function(Ve){var le=this.rules.inline.escape.exec(Ve);if(le)return{type:"escape",raw:le[0],text:X(le[1])}},et.tag=function(Ve,le,ae){var lt=this.rules.inline.tag.exec(Ve);if(lt)return!le&&/^<a /i.test(lt[0])?le=!0:le&&/^<\/a>/i.test(lt[0])&&(le=!1),!ae&&/^<(pre|code|kbd|script)(\s|>)/i.test(lt[0])?ae=!0:ae&&/^<\/(pre|code|kbd|script)(\s|>)/i.test(lt[0])&&(ae=!1),{type:this.options.sanitize?"text":"html",raw:lt[0],inLink:le,inRawBlock:ae,text:this.options.sanitize?this.options.sanitizer?this.options.sanitizer(lt[0]):X(lt[0]):lt[0]}},et.link=function(Ve){var le=this.rules.inline.link.exec(Ve);if(le){var ae=W(le[2],"()");if(ae>-1){var lt=le[0].indexOf("!")===0?5:4,Ze=lt+le[1].length+ae;le[2]=le[2].substring(0,ae),le[0]=le[0].substring(0,Ze).trim(),le[3]=""}var Te=le[2],Jt="";if(this.options.pedantic){var mt=/^([^'"]*[^\s])\s+(['"])(.*)\2/.exec(Te);mt?(Te=mt[1],Jt=mt[3]):Jt=""}else Jt=le[3]?le[3].slice(1,-1):"";Te=Te.trim().replace(/^<([\s\S]*)>$/,"$1");var ft=Y(le,{href:Te&&Te.replace(this.rules.inline._escapes,"$1"),title:Jt&&Jt.replace(this.rules.inline._escapes,"$1")},le[0]);return ft}},et.reflink=function(Ve,le){var ae;if((ae=this.rules.inline.reflink.exec(Ve))||(ae=this.rules.inline.nolink.exec(Ve))){var lt=(ae[2]||ae[1]).replace(/\s+/g," ");if(lt=le[lt.toLowerCase()],!lt||!lt.href){var Ze=ae[0].charAt(0);return{type:"text",raw:Ze,text:Ze}}var Te=Y(ae,lt,ae[0]);return Te}},et.strong=function(Ve,le,ae){ae===void 0&&(ae="");var lt=this.rules.inline.strong.start.exec(Ve);if(lt&&(!lt[1]||lt[1]&&(ae===""||this.rules.inline.punctuation.exec(ae)))){le=le.slice(-1*Ve.length);var Ze=lt[0]==="**"?this.rules.inline.strong.endAst:this.rules.inline.strong.endUnd;Ze.lastIndex=0;for(var Te;(lt=Ze.exec(le))!=null;)if(Te=this.rules.inline.strong.middle.exec(le.slice(0,lt.index+3)),Te)return{type:"strong",raw:Ve.slice(0,Te[0].length),text:Ve.slice(2,Te[0].length-2)}}},et.em=function(Ve,le,ae){ae===void 0&&(ae="");var lt=this.rules.inline.em.start.exec(Ve);if(lt&&(!lt[1]||lt[1]&&(ae===""||this.rules.inline.punctuation.exec(ae)))){le=le.slice(-1*Ve.length);var Ze=lt[0]==="*"?this.rules.inline.em.endAst:this.rules.inline.em.endUnd;Ze.lastIndex=0;for(var Te;(lt=Ze.exec(le))!=null;)if(Te=this.rules.inline.em.middle.exec(le.slice(0,lt.index+2)),Te)return{type:"em",raw:Ve.slice(0,Te[0].length),text:Ve.slice(1,Te[0].length-1)}}},et.codespan=function(Ve){var le=this.rules.inline.code.exec(Ve);if(le){var ae=le[2].replace(/\n/g," "),lt=/[^ ]/.test(ae),Ze=ae.startsWith(" ")&&ae.endsWith(" ");return lt&&Ze&&(ae=ae.substring(1,ae.length-1)),ae=X(ae,!0),{type:"codespan",raw:le[0],text:ae}}},et.br=function(Ve){var le=this.rules.inline.br.exec(Ve);if(le)return{type:"br",raw:le[0]}},et.del=function(Ve){var le=this.rules.inline.del.exec(Ve);if(le)return{type:"del",raw:le[0],text:le[1]}},et.autolink=function(Ve,le){var ae=this.rules.inline.autolink.exec(Ve);if(ae){var lt,Ze;return ae[2]==="@"?(lt=X(this.options.mangle?le(ae[1]):ae[1]),Ze="mailto:"+lt):(lt=X(ae[1]),Ze=lt),{type:"link",raw:ae[0],text:lt,href:Ze,tokens:[{type:"text",raw:lt,text:lt}]}}},et.url=function(Ve,le){var ae;if(ae=this.rules.inline.url.exec(Ve)){var lt,Ze;if(ae[2]==="@")lt=X(this.options.mangle?le(ae[0]):ae[0]),Ze="mailto:"+lt;else{var Te;do Te=ae[0],ae[0]=this.rules.inline._backpedal.exec(ae[0])[0];while(Te!==ae[0]);lt=X(ae[0]),ae[1]==="www."?Ze="http://"+lt:Ze=lt}return{type:"link",raw:ae[0],text:lt,href:Ze,tokens:[{type:"text",raw:lt,text:lt}]}}},et.inlineText=function(Ve,le,ae){var lt=this.rules.inline.text.exec(Ve);if(lt){var Ze;return le?Ze=this.options.sanitize?this.options.sanitizer?this.options.sanitizer(lt[0]):X(lt[0]):lt[0]:Ze=X(this.options.smartypants?ae(lt[0]):lt[0]),{type:"text",raw:lt[0],text:Ze}}},Je}(),G=B.noopTest,ye=B.edit,Ae=B.merge,ve={newline:/^\n+/,code:/^( {4}[^\n]+\n*)+/,fences:/^ {0,3}(`{3,}(?=[^`\n]*\n)|~{3,})([^\n]*)\n(?:|([\s\S]*?)\n)(?: {0,3}\1[~`]* *(?:\n+|$)|$)/,hr:/^ {0,3}((?:- *){3,}|(?:_ *){3,}|(?:\* *){3,})(?:\n+|$)/,heading:/^ {0,3}(#{1,6}) +([^\n]*?)(?: +#+)? *(?:\n+|$)/,blockquote:/^( {0,3}> ?(paragraph|[^\n]*)(?:\n|$))+/,list:/^( {0,3})(bull) [\s\S]+?(?:hr|def|\n{2,}(?! )(?!\1bull )\n*|\s*$)/,html:"^ {0,3}(?:<(script|pre|style)[\\s>][\\s\\S]*?(?:</\\1>[^\\n]*\\n+|$)|comment[^\\n]*(\\n+|$)|<\\?[\\s\\S]*?\\?>\\n*|<![A-Z][\\s\\S]*?>\\n*|<!\\[CDATA\\[[\\s\\S]*?\\]\\]>\\n*|</?(tag)(?: +|\\n|/?>)[\\s\\S]*?(?:\\n{2,}|$)|<(?!script|pre|style)([a-z][\\w-]*)(?:attribute)*? */?>(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:\\n{2,}|$)|</(?!script|pre|style)[a-z][\\w-]*\\s*>(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:\\n{2,}|$))",def:/^ {0,3}\[(label)\]: *\n? *<?([^\s>]+)>?(?:(?: +\n? *| *\n *)(title))? *(?:\n+|$)/,nptable:G,table:G,lheading:/^([^\n]+)\n {0,3}(=+|-+) *(?:\n+|$)/,_paragraph:/^([^\n]+(?:\n(?!hr|heading|lheading|blockquote|fences|list|html)[^\n]+)*)/,text:/^[^\n]+/};ve._label=/(?!\s*\])(?:\\[\[\]]|[^\[\]])+/,ve._title=/(?:"(?:\\"?|[^"\\])*"|'[^'\n]*(?:\n[^'\n]+)*\n?'|\([^()]*\))/,ve.def=ye(ve.def).replace("label",ve._label).replace("title",ve._title).getRegex(),ve.bullet=/(?:[*+-]|\d{1,9}[.)])/,ve.item=/^( *)(bull) ?[^\n]*(?:\n(?!\1bull ?)[^\n]*)*/,ve.item=ye(ve.item,"gm").replace(/bull/g,ve.bullet).getRegex(),ve.list=ye(ve.list).replace(/bull/g,ve.bullet).replace("hr","\\n+(?=\\1?(?:(?:- *){3,}|(?:_ *){3,}|(?:\\* *){3,})(?:\\n+|$))").replace("def","\\n+(?="+ve.def.source+")").getRegex(),ve._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",ve._comment=/<!--(?!-?>)[\s\S]*?-->/,ve.html=ye(ve.html,"i").replace("comment",ve._comment).replace("tag",ve._tag).replace("attribute",/ +[a-zA-Z:_][\w.:-]*(?: *= *"[^"\n]*"| *= *'[^'\n]*'| *= *[^\s"'=<>`]+)?/).getRegex(),ve.paragraph=ye(ve._paragraph).replace("hr",ve.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",ve._tag).getRegex(),ve.blockquote=ye(ve.blockquote).replace("paragraph",ve.paragraph).getRegex(),ve.normal=Ae({},ve),ve.gfm=Ae({},ve.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*|$)"}),ve.gfm.nptable=ye(ve.gfm.nptable).replace("hr",ve.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",ve._tag).getRegex(),ve.gfm.table=ye(ve.gfm.table).replace("hr",ve.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",ve._tag).getRegex(),ve.pedantic=Ae({},ve.normal,{html:ye(`^ *(?:comment *(?:\\n|\\s*$)|<(tag)[\\s\\S]+?</\\1> *(?:\\n{2,}|\\s*$)|<tag(?:"[^"]*"|'[^']*'|\\s[^'"/>\\s]*)*?/?> *(?:\\n{2,}|\\s*$))`).replace("comment",ve._comment).replace(/tag/g,"(?!(?:a|em|strong|small|s|cite|q|dfn|abbr|data|time|code|var|samp|kbd|sub|sup|i|b|u|mark|ruby|rt|rp|bdi|bdo|span|br|wbr|ins|del|img)\\b)\\w+(?!:|[^\\w\\s@]*@)\\b").getRegex(),def:/^ *\[([^\]]+)\]: *<?([^\s>]+)>?(?: +(["(][^\n]+[")]))? *(?:\n+|$)/,heading:/^ *(#{1,6}) *([^\n]+?) *(?:#+ *)?(?:\n+|$)/,fences:G,paragraph:ye(ve.normal._paragraph).replace("hr",ve.hr).replace("heading",` *#{1,6} *[^
|
|
|
]`).replace("lheading",ve.lheading).replace("blockquote"," {0,3}>").replace("|fences","").replace("|list","").replace("|html","").getRegex()});var Ue={escape:/^\\([!"#$%&'()*+,\-./:;<=>?@\[\]\\^_`{|}~])/,autolink:/^<(scheme:[^\s\x00-\x1f<>]*|email)>/,url:G,tag:"^comment|^</[a-zA-Z][\\w:-]*\\s*>|^<[a-zA-Z][\\w-]*(?:attribute)*?\\s*/?>|^<\\?[\\s\\S]*?\\?>|^<![a-zA-Z]+\\s[\\s\\S]*?>|^<!\\[CDATA\\[[\\s\\S]*?\\]\\]>",link:/^!?\[(label)\]\(\s*(href)(?:\s+(title))?\s*\)/,reflink:/^!?\[(label)\]\[(?!\s*\])((?:\\[\[\]]?|[^\[\]\\])+)\]/,nolink:/^!?\[(?!\s*\])((?:\[[^\[\]]*\]|\\[\[\]]|[^\[\]])*)\](?:\[\])?/,reflinkSearch:"reflink|nolink(?!\\()",strong:{start:/^(?:(\*\*(?=[*punctuation]))|\*\*)(?![\s])|__/,middle:/^\*\*(?:(?:(?!overlapSkip)(?:[^*]|\\\*)|overlapSkip)|\*(?:(?!overlapSkip)(?:[^*]|\\\*)|overlapSkip)*?\*)+?\*\*$|^__(?![\s])((?:(?:(?!overlapSkip)(?:[^_]|\\_)|overlapSkip)|_(?:(?!overlapSkip)(?:[^_]|\\_)|overlapSkip)*?_)+?)__$/,endAst:/[^punctuation\s]\*\*(?!\*)|[punctuation]\*\*(?!\*)(?:(?=[punctuation\s]|$))/,endUnd:/[^\s]__(?!_)(?:(?=[punctuation\s])|$)/},em:{start:/^(?:(\*(?=[punctuation]))|\*)(?![*\s])|_/,middle:/^\*(?:(?:(?!overlapSkip)(?:[^*]|\\\*)|overlapSkip)|\*(?:(?!overlapSkip)(?:[^*]|\\\*)|overlapSkip)*?\*)+?\*$|^_(?![_\s])(?:(?:(?!overlapSkip)(?:[^_]|\\_)|overlapSkip)|_(?:(?!overlapSkip)(?:[^_]|\\_)|overlapSkip)*?_)+?_$/,endAst:/[^punctuation\s]\*(?!\*)|[punctuation]\*(?!\*)(?:(?=[punctuation\s]|$))/,endUnd:/[^\s]_(?!_)(?:(?=[punctuation\s])|$)/},code:/^(`+)([^`]|[^`][\s\S]*?[^`])\1(?!`)/,br:/^( {2,}|\\)\n(?!\s*$)/,del:G,text:/^(`+|[^`])(?:[\s\S]*?(?:(?=[\\<!\[`*]|\b_|$)|[^ ](?= {2,}\n))|(?= {2,}\n))/,punctuation:/^([\s*punctuation])/};Ue._punctuation="!\"#$%&'()+\\-.,/:;<=>?@\\[\\]`^{|}~",Ue.punctuation=ye(Ue.punctuation).replace(/punctuation/g,Ue._punctuation).getRegex(),Ue._blockSkip="\\[[^\\]]*?\\]\\([^\\)]*?\\)|`[^`]*?`|<[^>]*?>",Ue._overlapSkip="__[^_]*?__|\\*\\*\\[^\\*\\]*?\\*\\*",Ue.em.start=ye(Ue.em.start).replace(/punctuation/g,Ue._punctuation).getRegex(),Ue.em.middle=ye(Ue.em.middle).replace(/punctuation/g,Ue._punctuation).replace(/overlapSkip/g,Ue._overlapSkip).getRegex(),Ue.em.endAst=ye(Ue.em.endAst,"g").replace(/punctuation/g,Ue._punctuation).getRegex(),Ue.em.endUnd=ye(Ue.em.endUnd,"g").replace(/punctuation/g,Ue._punctuation).getRegex(),Ue.strong.start=ye(Ue.strong.start).replace(/punctuation/g,Ue._punctuation).getRegex(),Ue.strong.middle=ye(Ue.strong.middle).replace(/punctuation/g,Ue._punctuation).replace(/blockSkip/g,Ue._blockSkip).getRegex(),Ue.strong.endAst=ye(Ue.strong.endAst,"g").replace(/punctuation/g,Ue._punctuation).getRegex(),Ue.strong.endUnd=ye(Ue.strong.endUnd,"g").replace(/punctuation/g,Ue._punctuation).getRegex(),Ue.blockSkip=ye(Ue._blockSkip,"g").getRegex(),Ue.overlapSkip=ye(Ue._overlapSkip,"g").getRegex(),Ue._escapes=/\\([!"#$%&'()*+,\-./:;<=>?@\[\]\\^_`{|}~])/g,Ue._scheme=/[a-zA-Z][a-zA-Z0-9+.-]{1,31}/,Ue._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])?)+(?![-_])/,Ue.autolink=ye(Ue.autolink).replace("scheme",Ue._scheme).replace("email",Ue._email).getRegex(),Ue._attribute=/\s+[a-zA-Z:_][\w.:-]*(?:\s*=\s*"[^"]*"|\s*=\s*'[^']*'|\s*=\s*[^\s"'=<>`]+)?/,Ue.tag=ye(Ue.tag).replace("comment",ve._comment).replace("attribute",Ue._attribute).getRegex(),Ue._label=/(?:\[(?:\\.|[^\[\]\\])*\]|\\.|`[^`]*`|[^\[\]\\`])*?/,Ue._href=/<(?:\\[<>]?|[^\s<>\\])*>|[^\s\x00-\x1f]*/,Ue._title=/"(?:\\"?|[^"\\])*"|'(?:\\'?|[^'\\])*'|\((?:\\\)?|[^)\\])*\)/,Ue.link=ye(Ue.link).replace("label",Ue._label).replace("href",Ue._href).replace("title",Ue._title).getRegex(),Ue.reflink=ye(Ue.reflink).replace("label",Ue._label).getRegex(),Ue.reflinkSearch=ye(Ue.reflinkSearch,"g").replace("reflink",Ue.reflink).replace("nolink",Ue.nolink).getRegex(),Ue.normal=Ae({},Ue),Ue.pedantic=Ae({},Ue.normal,{strong:{start:/^__|\*\*/,middle:/^__(?=\S)([\s\S]*?\S)__(?!_)|^\*\*(?=\S)([\s\S]*?\S)\*\*(?!\*)/,endAst:/\*\*(?!\*)/g,endUnd:/__(?!_)/g},em:{start:/^_|\*/,middle:/^()\*(?=\S)([\s\S]*?\S)\*(?!\*)|^_(?=\S)([\s\S]*?\S)_(?!_)/,endAst:/\*(?!\*)/g,endUnd:/_(?!_)/g},link:ye(/^!?\[(label)\]\((.*?)\)/).replace("label",Ue._label).getRegex(),reflink:ye(/^!?\[(label)\]\s*\[([^\]]*)\]/).replace("label",Ue._label).getRegex()}),Ue.gfm=Ae({},Ue.normal,{escape:ye(Ue.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.!#$%&'*+\/=?_`{\|}~-]+@))/}),Ue.gfm.url=ye(Ue.gfm.url,"i").replace("email",Ue.gfm._extended_email).getRegex(),Ue.breaks=Ae({},Ue.gfm,{br:ye(Ue.br).replace("{2,}","*").getRegex(),text:ye(Ue.gfm.text).replace("\\b_","\\b_| {2,}\\n").replace(/\{2,\}/g,"*").getRegex()});var Me={block:ve,inline:Ue},nt=c.defaults,ne=Me.block,be=Me.inline;function ot(Je){return Je.replace(/---/g,"\u2014").replace(/--/g,"\u2013").replace(/(^|[-\u2014/(\[{"\s])'/g,"$1\u2018").replace(/'/g,"\u2019").replace(/(^|[-\u2014/(\[{\u2018\s])"/g,"$1\u201C").replace(/"/g,"\u201D").replace(/\.{3}/g,"\u2026")}function ue(Je){var et="",at,Ve,le=Je.length;for(at=0;at<le;at++)Ve=Je.charCodeAt(at),Math.random()>.5&&(Ve="x"+Ve.toString(16)),et+="&#"+Ve+";";return et}var Q=function(){function Je(at){this.tokens=[],this.tokens.links=Object.create(null),this.options=at||nt,this.options.tokenizer=this.options.tokenizer||new me,this.tokenizer=this.options.tokenizer,this.tokenizer.options=this.options;var Ve={block:ne.normal,inline:be.normal};this.options.pedantic?(Ve.block=ne.pedantic,Ve.inline=be.pedantic):this.options.gfm&&(Ve.block=ne.gfm,this.options.breaks?Ve.inline=be.breaks:Ve.inline=be.gfm),this.tokenizer.rules=Ve}Je.lex=function(Ve,le){var ae=new Je(le);return ae.lex(Ve)};var et=Je.prototype;return et.lex=function(Ve){return Ve=Ve.replace(/\r\n|\r/g,`
|
|
|
`).replace(/\t/g," "),this.blockTokens(Ve,this.tokens,!0),this.inline(this.tokens),this.tokens},et.blockTokens=function(Ve,le,ae){le===void 0&&(le=[]),ae===void 0&&(ae=!0),Ve=Ve.replace(/^ +$/gm,"");for(var lt,Ze,Te,Jt;Ve;){if(lt=this.tokenizer.space(Ve)){Ve=Ve.substring(lt.raw.length),lt.type&&le.push(lt);continue}if(lt=this.tokenizer.code(Ve,le)){Ve=Ve.substring(lt.raw.length),lt.type?le.push(lt):(Jt=le[le.length-1],Jt.raw+=`
|
|
|
`+lt.raw,Jt.text+=`
|
|
|
`+lt.text);continue}if(lt=this.tokenizer.fences(Ve)){Ve=Ve.substring(lt.raw.length),le.push(lt);continue}if(lt=this.tokenizer.heading(Ve)){Ve=Ve.substring(lt.raw.length),le.push(lt);continue}if(lt=this.tokenizer.nptable(Ve)){Ve=Ve.substring(lt.raw.length),le.push(lt);continue}if(lt=this.tokenizer.hr(Ve)){Ve=Ve.substring(lt.raw.length),le.push(lt);continue}if(lt=this.tokenizer.blockquote(Ve)){Ve=Ve.substring(lt.raw.length),lt.tokens=this.blockTokens(lt.text,[],ae),le.push(lt);continue}if(lt=this.tokenizer.list(Ve)){for(Ve=Ve.substring(lt.raw.length),Te=lt.items.length,Ze=0;Ze<Te;Ze++)lt.items[Ze].tokens=this.blockTokens(lt.items[Ze].text,[],!1);le.push(lt);continue}if(lt=this.tokenizer.html(Ve)){Ve=Ve.substring(lt.raw.length),le.push(lt);continue}if(ae&&(lt=this.tokenizer.def(Ve))){Ve=Ve.substring(lt.raw.length),this.tokens.links[lt.tag]||(this.tokens.links[lt.tag]={href:lt.href,title:lt.title});continue}if(lt=this.tokenizer.table(Ve)){Ve=Ve.substring(lt.raw.length),le.push(lt);continue}if(lt=this.tokenizer.lheading(Ve)){Ve=Ve.substring(lt.raw.length),le.push(lt);continue}if(ae&&(lt=this.tokenizer.paragraph(Ve))){Ve=Ve.substring(lt.raw.length),le.push(lt);continue}if(lt=this.tokenizer.text(Ve,le)){Ve=Ve.substring(lt.raw.length),lt.type?le.push(lt):(Jt=le[le.length-1],Jt.raw+=`
|
|
|
`+lt.raw,Jt.text+=`
|
|
|
`+lt.text);continue}if(Ve){var mt="Infinite loop on byte: "+Ve.charCodeAt(0);if(this.options.silent){console.error(mt);break}else throw new Error(mt)}}return le},et.inline=function(Ve){var le,ae,lt,Ze,Te,Jt,mt=Ve.length;for(le=0;le<mt;le++){Jt=Ve[le];switch(Jt.type){case"paragraph":case"text":case"heading":{Jt.tokens=[],this.inlineTokens(Jt.text,Jt.tokens);break}case"table":{for(Jt.tokens={header:[],cells:[]},Ze=Jt.header.length,ae=0;ae<Ze;ae++)Jt.tokens.header[ae]=[],this.inlineTokens(Jt.header[ae],Jt.tokens.header[ae]);for(Ze=Jt.cells.length,ae=0;ae<Ze;ae++)for(Te=Jt.cells[ae],Jt.tokens.cells[ae]=[],lt=0;lt<Te.length;lt++)Jt.tokens.cells[ae][lt]=[],this.inlineTokens(Te[lt],Jt.tokens.cells[ae][lt]);break}case"blockquote":{this.inline(Jt.tokens);break}case"list":{for(Ze=Jt.items.length,ae=0;ae<Ze;ae++)this.inline(Jt.items[ae].tokens);break}}}return Ve},et.inlineTokens=function(Ve,le,ae,lt,Ze){le===void 0&&(le=[]),ae===void 0&&(ae=!1),lt===void 0&&(lt=!1),Ze===void 0&&(Ze="");var Te,Jt=Ve,mt;if(this.tokens.links){var ft=Object.keys(this.tokens.links);if(ft.length>0)for(;(mt=this.tokenizer.rules.inline.reflinkSearch.exec(Jt))!=null;)ft.includes(mt[0].slice(mt[0].lastIndexOf("[")+1,-1))&&(Jt=Jt.slice(0,mt.index)+"["+"a".repeat(mt[0].length-2)+"]"+Jt.slice(this.tokenizer.rules.inline.reflinkSearch.lastIndex))}for(;(mt=this.tokenizer.rules.inline.blockSkip.exec(Jt))!=null;)Jt=Jt.slice(0,mt.index)+"["+"a".repeat(mt[0].length-2)+"]"+Jt.slice(this.tokenizer.rules.inline.blockSkip.lastIndex);for(;Ve;){if(Te=this.tokenizer.escape(Ve)){Ve=Ve.substring(Te.raw.length),le.push(Te);continue}if(Te=this.tokenizer.tag(Ve,ae,lt)){Ve=Ve.substring(Te.raw.length),ae=Te.inLink,lt=Te.inRawBlock,le.push(Te);continue}if(Te=this.tokenizer.link(Ve)){Ve=Ve.substring(Te.raw.length),Te.type==="link"&&(Te.tokens=this.inlineTokens(Te.text,[],!0,lt)),le.push(Te);continue}if(Te=this.tokenizer.reflink(Ve,this.tokens.links)){Ve=Ve.substring(Te.raw.length),Te.type==="link"&&(Te.tokens=this.inlineTokens(Te.text,[],!0,lt)),le.push(Te);continue}if(Te=this.tokenizer.strong(Ve,Jt,Ze)){Ve=Ve.substring(Te.raw.length),Te.tokens=this.inlineTokens(Te.text,[],ae,lt),le.push(Te);continue}if(Te=this.tokenizer.em(Ve,Jt,Ze)){Ve=Ve.substring(Te.raw.length),Te.tokens=this.inlineTokens(Te.text,[],ae,lt),le.push(Te);continue}if(Te=this.tokenizer.codespan(Ve)){Ve=Ve.substring(Te.raw.length),le.push(Te);continue}if(Te=this.tokenizer.br(Ve)){Ve=Ve.substring(Te.raw.length),le.push(Te);continue}if(Te=this.tokenizer.del(Ve)){Ve=Ve.substring(Te.raw.length),Te.tokens=this.inlineTokens(Te.text,[],ae,lt),le.push(Te);continue}if(Te=this.tokenizer.autolink(Ve,ue)){Ve=Ve.substring(Te.raw.length),le.push(Te);continue}if(!ae&&(Te=this.tokenizer.url(Ve,ue))){Ve=Ve.substring(Te.raw.length),le.push(Te);continue}if(Te=this.tokenizer.inlineText(Ve,lt,ot)){Ve=Ve.substring(Te.raw.length),Ze=Te.raw.slice(-1),le.push(Te);continue}if(Ve){var bt="Infinite loop on byte: "+Ve.charCodeAt(0);if(this.options.silent){console.error(bt);break}else throw new Error(bt)}}return le},f(Je,null,[{key:"rules",get:function(){return{block:ne,inline:be}}}]),Je}(),V=c.defaults,J=B.cleanUrl,fe=B.escape,oe=function(){function Je(at){this.options=at||V}var et=Je.prototype;return et.code=function(Ve,le,ae){var lt=(le||"").match(/\S*/)[0];if(this.options.highlight){var Ze=this.options.highlight(Ve,lt);Ze!=null&&Ze!==Ve&&(ae=!0,Ve=Ze)}return lt?'<pre><code class="'+this.options.langPrefix+fe(lt,!0)+'">'+(ae?Ve:fe(Ve,!0))+`</code></pre>
|
|
|
`:"<pre><code>"+(ae?Ve:fe(Ve,!0))+`</code></pre>
|
|
|
`},et.blockquote=function(Ve){return`<blockquote>
|
|
|
`+Ve+`</blockquote>
|
|
|
`},et.html=function(Ve){return Ve},et.heading=function(Ve,le,ae,lt){return this.options.headerIds?"<h"+le+' id="'+this.options.headerPrefix+lt.slug(ae)+'">'+Ve+"</h"+le+`>
|
|
|
`:"<h"+le+">"+Ve+"</h"+le+`>
|
|
|
`},et.hr=function(){return this.options.xhtml?`<hr/>
|
|
|
`:`<hr>
|
|
|
`},et.list=function(Ve,le,ae){var lt=le?"ol":"ul",Ze=le&&ae!==1?' start="'+ae+'"':"";return"<"+lt+Ze+`>
|
|
|
`+Ve+"</"+lt+`>
|
|
|
`},et.listitem=function(Ve){return"<li>"+Ve+`</li>
|
|
|
`},et.checkbox=function(Ve){return"<input "+(Ve?'checked="" ':"")+'disabled="" type="checkbox"'+(this.options.xhtml?" /":"")+"> "},et.paragraph=function(Ve){return"<p>"+Ve+`</p>
|
|
|
`},et.table=function(Ve,le){return le&&(le="<tbody>"+le+"</tbody>"),`<table>
|
|
|
<thead>
|
|
|
`+Ve+`</thead>
|
|
|
`+le+`</table>
|
|
|
`},et.tablerow=function(Ve){return`<tr>
|
|
|
`+Ve+`</tr>
|
|
|
`},et.tablecell=function(Ve,le){var ae=le.header?"th":"td",lt=le.align?"<"+ae+' align="'+le.align+'">':"<"+ae+">";return lt+Ve+"</"+ae+`>
|
|
|
`},et.strong=function(Ve){return"<strong>"+Ve+"</strong>"},et.em=function(Ve){return"<em>"+Ve+"</em>"},et.codespan=function(Ve){return"<code>"+Ve+"</code>"},et.br=function(){return this.options.xhtml?"<br/>":"<br>"},et.del=function(Ve){return"<del>"+Ve+"</del>"},et.link=function(Ve,le,ae){if(Ve=J(this.options.sanitize,this.options.baseUrl,Ve),Ve===null)return ae;var lt='<a href="'+fe(Ve)+'"';return le&&(lt+=' title="'+le+'"'),lt+=">"+ae+"</a>",lt},et.image=function(Ve,le,ae){if(Ve=J(this.options.sanitize,this.options.baseUrl,Ve),Ve===null)return ae;var lt='<img src="'+Ve+'" alt="'+ae+'"';return le&&(lt+=' title="'+le+'"'),lt+=this.options.xhtml?"/>":">",lt},et.text=function(Ve){return Ve},Je}(),Le=function(){function Je(){}var et=Je.prototype;return et.strong=function(Ve){return Ve},et.em=function(Ve){return Ve},et.codespan=function(Ve){return Ve},et.del=function(Ve){return Ve},et.html=function(Ve){return Ve},et.text=function(Ve){return Ve},et.link=function(Ve,le,ae){return""+ae},et.image=function(Ve,le,ae){return""+ae},et.br=function(){return""},Je}(),he=function(){function Je(){this.seen={}}var et=Je.prototype;return et.slug=function(Ve){var le=Ve.toLowerCase().trim().replace(/<[!\/a-z].*?>/ig,"").replace(/[\u2000-\u206F\u2E00-\u2E7F\\'!"#$%&()*+,./:;<=>?@[\]^`{|}~]/g,"").replace(/\s/g,"-");if(this.seen.hasOwnProperty(le)){var ae=le;do this.seen[ae]++,le=ae+"-"+this.seen[ae];while(this.seen.hasOwnProperty(le))}return this.seen[le]=0,le},Je}(),te=c.defaults,Z=B.unescape,ge=function(){function Je(at){this.options=at||te,this.options.renderer=this.options.renderer||new oe,this.renderer=this.options.renderer,this.renderer.options=this.options,this.textRenderer=new Le,this.slugger=new he}Je.parse=function(Ve,le){var ae=new Je(le);return ae.parse(Ve)};var et=Je.prototype;return et.parse=function(Ve,le){le===void 0&&(le=!0);var ae="",lt,Ze,Te,Jt,mt,ft,bt,It,or,Pt,_e,Ce,Ee,we,Fe,Ye,Ge,qe,Ke=Ve.length;for(lt=0;lt<Ke;lt++){Pt=Ve[lt];switch(Pt.type){case"space":continue;case"hr":{ae+=this.renderer.hr();continue}case"heading":{ae+=this.renderer.heading(this.parseInline(Pt.tokens),Pt.depth,Z(this.parseInline(Pt.tokens,this.textRenderer)),this.slugger);continue}case"code":{ae+=this.renderer.code(Pt.text,Pt.lang,Pt.escaped);continue}case"table":{for(It="",bt="",Jt=Pt.header.length,Ze=0;Ze<Jt;Ze++)bt+=this.renderer.tablecell(this.parseInline(Pt.tokens.header[Ze]),{header:!0,align:Pt.align[Ze]});for(It+=this.renderer.tablerow(bt),or="",Jt=Pt.cells.length,Ze=0;Ze<Jt;Ze++){for(ft=Pt.tokens.cells[Ze],bt="",mt=ft.length,Te=0;Te<mt;Te++)bt+=this.renderer.tablecell(this.parseInline(ft[Te]),{header:!1,align:Pt.align[Te]});or+=this.renderer.tablerow(bt)}ae+=this.renderer.table(It,or);continue}case"blockquote":{or=this.parse(Pt.tokens),ae+=this.renderer.blockquote(or);continue}case"list":{for(_e=Pt.ordered,Ce=Pt.start,Ee=Pt.loose,Jt=Pt.items.length,or="",Ze=0;Ze<Jt;Ze++)Fe=Pt.items[Ze],Ye=Fe.checked,Ge=Fe.task,we="",Fe.task&&(qe=this.renderer.checkbox(Ye),Ee?Fe.tokens.length>0&&Fe.tokens[0].type==="text"?(Fe.tokens[0].text=qe+" "+Fe.tokens[0].text,Fe.tokens[0].tokens&&Fe.tokens[0].tokens.length>0&&Fe.tokens[0].tokens[0].type==="text"&&(Fe.tokens[0].tokens[0].text=qe+" "+Fe.tokens[0].tokens[0].text)):Fe.tokens.unshift({type:"text",text:qe}):we+=qe),we+=this.parse(Fe.tokens,Ee),or+=this.renderer.listitem(we,Ge,Ye);ae+=this.renderer.list(or,_e,Ce);continue}case"html":{ae+=this.renderer.html(Pt.text);continue}case"paragraph":{ae+=this.renderer.paragraph(this.parseInline(Pt.tokens));continue}case"text":{for(or=Pt.tokens?this.parseInline(Pt.tokens):Pt.text;lt+1<Ke&&Ve[lt+1].type==="text";)Pt=Ve[++lt],or+=`
|
|
|
`+(Pt.tokens?this.parseInline(Pt.tokens):Pt.text);ae+=le?this.renderer.paragraph(or):or;continue}default:{var ct='Token with "'+Pt.type+'" type was not found.';if(this.options.silent){console.error(ct);return}else throw new Error(ct)}}}return ae},et.parseInline=function(Ve,le){le=le||this.renderer;var ae="",lt,Ze,Te=Ve.length;for(lt=0;lt<Te;lt++){Ze=Ve[lt];switch(Ze.type){case"escape":{ae+=le.text(Ze.text);break}case"html":{ae+=le.html(Ze.text);break}case"link":{ae+=le.link(Ze.href,Ze.title,this.parseInline(Ze.tokens,le));break}case"image":{ae+=le.image(Ze.href,Ze.title,Ze.text);break}case"strong":{ae+=le.strong(this.parseInline(Ze.tokens,le));break}case"em":{ae+=le.em(this.parseInline(Ze.tokens,le));break}case"codespan":{ae+=le.codespan(Ze.text);break}case"br":{ae+=le.br();break}case"del":{ae+=le.del(this.parseInline(Ze.tokens,le));break}case"text":{ae+=le.text(Ze.text);break}default:{var Jt='Token with "'+Ze.type+'" type was not found.';if(this.options.silent){console.error(Jt);return}else throw new Error(Jt)}}}return ae},Je}(),Re=B.merge,ze=B.checkSanitizeDeprecation,dt=B.escape,De=c.getDefaults,Tt=c.changeDefaults,je=c.defaults;function st(Je,et,at){if(typeof Je=="undefined"||Je===null)throw new Error("marked(): input parameter is undefined or null");if(typeof Je!="string")throw new Error("marked(): input parameter is of type "+Object.prototype.toString.call(Je)+", string expected");if(typeof et=="function"&&(at=et,et=null),et=Re({},st.defaults,et||{}),ze(et),at){var Ve=et.highlight,le;try{le=Q.lex(Je,et)}catch(Te){return at(Te)}var ae=function(Jt){var mt;if(!Jt)try{mt=ge.parse(le,et)}catch(ft){Jt=ft}return et.highlight=Ve,Jt?at(Jt):at(null,mt)};if(!Ve||Ve.length<3)return ae();if(delete et.highlight,!le.length)return ae();var lt=0;st.walkTokens(le,function(Te){Te.type==="code"&&(lt++,setTimeout(function(){Ve(Te.text,Te.lang,function(Jt,mt){if(Jt)return ae(Jt);mt!=null&&mt!==Te.text&&(Te.text=mt,Te.escaped=!0),lt--,lt===0&&ae()})},0))}),lt===0&&ae();return}try{var Ze=Q.lex(Je,et);return et.walkTokens&&st.walkTokens(Ze,et.walkTokens),ge.parse(Ze,et)}catch(Te){if(Te.message+=`
|
|
|
Please report this to https://github.com/markedjs/marked.`,et.silent)return"<p>An error occurred:</p><pre>"+dt(Te.message+"",!0)+"</pre>";throw Te}}st.options=st.setOptions=function(Je){return Re(st.defaults,Je),Tt(st.defaults),st},st.getDefaults=De,st.defaults=je,st.use=function(Je){var et=Re({},Je);if(Je.renderer&&function(){var Ve=st.defaults.renderer||new oe,le=function(Ze){var Te=Ve[Ze];Ve[Ze]=function(){for(var Jt=arguments.length,mt=new Array(Jt),ft=0;ft<Jt;ft++)mt[ft]=arguments[ft];var bt=Je.renderer[Ze].apply(Ve,mt);return bt===!1&&(bt=Te.apply(Ve,mt)),bt}};for(var ae in Je.renderer)le(ae);et.renderer=Ve}(),Je.tokenizer&&function(){var Ve=st.defaults.tokenizer||new me,le=function(Ze){var Te=Ve[Ze];Ve[Ze]=function(){for(var Jt=arguments.length,mt=new Array(Jt),ft=0;ft<Jt;ft++)mt[ft]=arguments[ft];var bt=Je.tokenizer[Ze].apply(Ve,mt);return bt===!1&&(bt=Te.apply(Ve,mt)),bt}};for(var ae in Je.tokenizer)le(ae);et.tokenizer=Ve}(),Je.walkTokens){var at=st.defaults.walkTokens;et.walkTokens=function(Ve){Je.walkTokens(Ve),at&&at(Ve)}}st.setOptions(et)},st.walkTokens=function(Je,et){for(var at=v(Je),Ve;!(Ve=at()).done;){var le=Ve.value;et(le);switch(le.type){case"table":{for(var ae=v(le.tokens.header),lt;!(lt=ae()).done;){var Ze=lt.value;st.walkTokens(Ze,et)}for(var Te=v(le.tokens.cells),Jt;!(Jt=Te()).done;)for(var mt=Jt.value,ft=v(mt),bt;!(bt=ft()).done;){var It=bt.value;st.walkTokens(It,et)}break}case"list":{st.walkTokens(le.items,et);break}default:le.tokens&&st.walkTokens(le.tokens,et)}}},st.Parser=ge,st.parser=ge.parse,st.Renderer=oe,st.TextRenderer=Le,st.Lexer=Q,st.lexer=Q.lex,st.Tokenizer=me,st.Slugger=he,st.parse=st;var Xe=st;return Xe})},"DlR+":function(R,D,e){var g=e("MFOe"),f=g.Global,A=g.trim;R.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(!A(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(R,D,e){var g=e("bYtY"),f=e("IwbS"),A=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,x=o.get("pageIconSize",!0);g.isArray(x)||(x=[x,x]),T("pagePrev",0);var S=o.getModel("pageTextStyle");p.add(new f.Text({name:"pageText",style:{textFill:S.getTextColor(),font:S.getFont(),textVerticalAlign:"middle",textAlign:"center"},silent:!0})),T("pageNext",1);function T(w,E){var C=w+"DataIndex",_=f.createIcon(o.get("pageIcons",!0)[o.getOrient().name][E],{onclick:g.bind(u._pageGo,u,C,o,n)},{x:-x[0]/2,y:-x[1]/2,width:x[0],height:x[1]});_.name=w,p.add(_)}},layoutInner:function(r,o,d,n,l,t){var s=this.getSelectorGroup(),u=r.getOrient().index,p=h[u],x=c[u],S=h[1-u],T=c[1-u];l&&A.box("horizontal",s,r.get("selectorItemGap",!0));var w=r.get("selectorButtonGap",!0),E=s.getBoundingRect(),C=[-E.x,-E.y],_=g.clone(d);l&&(_[p]=d[p]-E[p]-w);var y=this._layoutContentAndController(r,n,_,u,p,S,T);if(l){if(t==="end")C[u]+=y[p]+w;else{var b=E[p]+w;C[u]-=b,y[x]-=b}y[p]+=E[p]+w,C[1-u]+=y[T]+y[S]/2-E[S]/2,y[S]=Math.max(y[S],E[S]),y[T]=Math.min(y[T],E[T]+C[1-u]),s.attr("position",C)}return y},_layoutContentAndController:function(r,o,d,n,l,t,s){var u=this.getContentGroup(),p=this._containerGroup,x=this._controllerGroup;A.box(r.get("orient"),u,r.get("itemGap"),n?d.width:null,n?null:d.height),A.box("horizontal",x,r.get("pageButtonItemGap",!0));var S=u.getBoundingRect(),T=x.getBoundingRect(),w=this._showController=S[l]>d[l],E=[-S.x,-S.y];o||(E[n]=u.position[n]);var C=[0,0],_=[-T.x,-T.y],y=g.retrieve2(r.get("pageButtonGap",!0),r.get("itemGap",!0));if(w){var b=r.get("pageButtonPosition",!0);b==="end"?_[n]+=d[l]-T[l]:C[n]+=T[l]+y}_[1-n]+=S[t]/2-T[t]/2,u.attr("position",E),p.attr("position",C),x.attr("position",_);var O={x:0,y:0};if(O[l]=w?d[l]:S[l],O[t]=Math.max(S[t],T[t]),O[s]=Math.min(0,T[s]+_[1-n]),p.__rectSize=d[l],w){var I={x:0,y:0};I[l]=Math.max(d[l]-T[l]-y,0),I[t]=O[t],p.setClipPath(new f.Rect({shape:I})),p.__rectSize=I[l]}else x.eachChild(function(F){F.attr({invisible:!0,silent:!0})});var M=this._getPageInfo(r);return M.pageIndex!=null&&f.updateProps(u,{position:M.contentPosition},w?r:!1),this._updatePageInfoView(r,M),O},_pageGo:function(r,o,d){var n=this._getPageInfo(o)[r];n!=null&&d.dispatchAction({type:"legendScroll",scrollDataIndex:n,legendId:o.id})},_updatePageInfoView:function(r,o){var d=this._controllerGroup;g.each(["pagePrev","pageNext"],function(p){var x=o[p+"DataIndex"]!=null,S=d.childOfName(p);S&&(S.setStyle("fill",x?r.get("pageIconColor",!0):r.get("pageIconInactiveColor",!0)),S.cursor=x?"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(),x=p[u],S=p.length,T=S?1:0,w={contentPosition:d.position.slice(),pageCount:T,pageIndex:T-1,pagePrevDataIndex:null,pageNextDataIndex:null};if(!x)return w;var E=O(x);w.contentPosition[l]=-E.s;for(var C=u+1,_=E,y=E,b=null;C<=S;++C)b=O(p[C]),(!b&&y.e>_.s+n||b&&!I(b,_.s))&&(y.i>_.i?_=y:_=b,_&&(w.pageNextDataIndex==null&&(w.pageNextDataIndex=_.i),++w.pageCount)),y=b;for(var C=u-1,_=E,y=E,b=null;C>=-1;--C)b=O(p[C]),(!b||!I(y,b.s))&&_.i<y.i&&(y=_,w.pagePrevDataIndex==null&&(w.pagePrevDataIndex=_.i),++w.pageCount,++w.pageIndex),_=b;return w;function O(M){if(M){var F=M.getBoundingRect(),P=F[s]+M.position[l];return{s:P,e:P+F[t],i:M.__legendDataIndex}}}function I(M,F){return M.e>=F&&M.s<=F+n}},_findTargetItemIndex:function(r){if(!this._showController)return 0;var o,d=this.getContentGroup(),n;return d.eachChild(function(l,t){var s=l.__legendDataIndex;n==null&&s!=null&&(n=t),s===r&&(o=t)}),o!=null?o:n}}),i=a;R.exports=i},"E/ki":function(R,D,e){"use strict";Object.defineProperty(D,"__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"};D.default=g},E2g8:function(R,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(A,m){R.exports=m()})(this,function(){"use strict";function A(oe){var Le=typeof oe;return oe!==null&&(Le==="object"||Le==="function")}function m(oe){return typeof oe=="function"}var v=void 0;Array.isArray?v=Array.isArray:v=function(Le){return Object.prototype.toString.call(Le)==="[object Array]"};var h=v,c=0,a=void 0,i=void 0,r=function(Le,he){E[c]=Le,E[c+1]=he,c+=2,c===2&&(i?i(C):y())};function o(oe){i=oe}function d(oe){r=oe}var n=typeof window!="undefined"?window:void 0,l=n||{},t=l.MutationObserver||l.WebKitMutationObserver,s=typeof self=="undefined"&&typeof g!="undefined"&&{}.toString.call(g)==="[object process]",u=typeof Uint8ClampedArray!="undefined"&&typeof importScripts!="undefined"&&typeof MessageChannel!="undefined";function p(){return function(){return g.nextTick(C)}}function x(){return typeof a!="undefined"?function(){a(C)}:w()}function S(){var oe=0,Le=new t(C),he=document.createTextNode("");return Le.observe(he,{characterData:!0}),function(){he.data=oe=++oe%2}}function T(){var oe=new MessageChannel;return oe.port1.onmessage=C,function(){return oe.port2.postMessage(0)}}function w(){var oe=setTimeout;return function(){return oe(C,1)}}var E=new Array(1e3);function C(){for(var oe=0;oe<c;oe+=2){var Le=E[oe],he=E[oe+1];Le(he),E[oe]=void 0,E[oe+1]=void 0}c=0}function _(){try{var oe=Function("return this")().require("vertx");return a=oe.runOnLoop||oe.runOnContext,x()}catch(Le){return w()}}var y=void 0;s?y=p():t?y=S():u?y=T():n===void 0&&!0?y=_():y=w();function b(oe,Le){var he=this,te=new this.constructor(M);te[I]===void 0&&Me(te);var Z=he._state;if(Z){var ge=arguments[Z-1];r(function(){return ye(Z,te,ge,he._result)})}else me(he,te,oe,Le);return te}function O(oe){var Le=this;if(oe&&typeof oe=="object"&&oe.constructor===Le)return oe;var he=new Le(M);return X(he,oe),he}var I=Math.random().toString(36).substring(2);function M(){}var F=void 0,P=1,j=2;function K(){return new TypeError("You cannot resolve a promise with itself")}function N(){return new TypeError("A promises callback cannot return that same promise.")}function B(oe,Le,he,te){try{oe.call(Le,he,te)}catch(Z){return Z}}function U(oe,Le,he){r(function(te){var Z=!1,ge=B(he,Le,function(Re){if(Z)return;Z=!0,Le!==Re?X(te,Re):Y(te,Re)},function(Re){if(Z)return;Z=!0,q(te,Re)},"Settle: "+(te._label||" unknown promise"));!Z&&ge&&(Z=!0,q(te,ge))},oe)}function H(oe,Le){Le._state===P?Y(oe,Le._result):Le._state===j?q(oe,Le._result):me(Le,void 0,function(he){return X(oe,he)},function(he){return q(oe,he)})}function z(oe,Le,he){Le.constructor===oe.constructor&&he===b&&Le.constructor.resolve===O?H(oe,Le):he===void 0?Y(oe,Le):m(he)?U(oe,Le,he):Y(oe,Le)}function X(oe,Le){if(oe===Le)q(oe,K());else if(A(Le)){var he=void 0;try{he=Le.then}catch(te){q(oe,te);return}z(oe,Le,he)}else Y(oe,Le)}function W(oe){oe._onerror&&oe._onerror(oe._result),G(oe)}function Y(oe,Le){if(oe._state!==F)return;oe._result=Le,oe._state=P,oe._subscribers.length!==0&&r(G,oe)}function q(oe,Le){if(oe._state!==F)return;oe._state=j,oe._result=Le,r(W,oe)}function me(oe,Le,he,te){var Z=oe._subscribers,ge=Z.length;oe._onerror=null,Z[ge]=Le,Z[ge+P]=he,Z[ge+j]=te,ge===0&&oe._state&&r(G,oe)}function G(oe){var Le=oe._subscribers,he=oe._state;if(Le.length===0)return;for(var te=void 0,Z=void 0,ge=oe._result,Re=0;Re<Le.length;Re+=3)te=Le[Re],Z=Le[Re+he],te?ye(he,te,Z,ge):Z(ge);oe._subscribers.length=0}function ye(oe,Le,he,te){var Z=m(he),ge=void 0,Re=void 0,ze=!0;if(Z){try{ge=he(te)}catch(dt){ze=!1,Re=dt}if(Le===ge){q(Le,N());return}}else ge=te;Le._state!==F||(Z&&ze?X(Le,ge):ze===!1?q(Le,Re):oe===P?Y(Le,ge):oe===j&&q(Le,ge))}function Ae(oe,Le){try{Le(function(te){X(oe,te)},function(te){q(oe,te)})}catch(he){q(oe,he)}}var ve=0;function Ue(){return ve++}function Me(oe){oe[I]=ve++,oe._state=void 0,oe._result=void 0,oe._subscribers=[]}function nt(){return new Error("Array Methods must be provided an Array")}var ne=function(){function oe(Le,he){this._instanceConstructor=Le,this.promise=new Le(M),this.promise[I]||Me(this.promise),h(he)?(this.length=he.length,this._remaining=he.length,this._result=new Array(this.length),this.length===0?Y(this.promise,this._result):(this.length=this.length||0,this._enumerate(he),this._remaining===0&&Y(this.promise,this._result))):q(this.promise,nt())}return oe.prototype._enumerate=function(he){for(var te=0;this._state===F&&te<he.length;te++)this._eachEntry(he[te],te)},oe.prototype._eachEntry=function(he,te){var Z=this._instanceConstructor,ge=Z.resolve;if(ge===O){var Re=void 0,ze=void 0,dt=!1;try{Re=he.then}catch(Tt){dt=!0,ze=Tt}if(Re===b&&he._state!==F)this._settledAt(he._state,te,he._result);else if(typeof Re!="function")this._remaining--,this._result[te]=he;else if(Z===J){var De=new Z(M);dt?q(De,ze):z(De,he,Re),this._willSettleAt(De,te)}else this._willSettleAt(new Z(function(Tt){return Tt(he)}),te)}else this._willSettleAt(ge(he),te)},oe.prototype._settledAt=function(he,te,Z){var ge=this.promise;ge._state===F&&(this._remaining--,he===j?q(ge,Z):this._result[te]=Z),this._remaining===0&&Y(ge,this._result)},oe.prototype._willSettleAt=function(he,te){var Z=this;me(he,void 0,function(ge){return Z._settledAt(P,te,ge)},function(ge){return Z._settledAt(j,te,ge)})},oe}();function be(oe){return new ne(this,oe).promise}function ot(oe){var Le=this;return h(oe)?new Le(function(he,te){for(var Z=oe.length,ge=0;ge<Z;ge++)Le.resolve(oe[ge]).then(he,te)}):new Le(function(he,te){return te(new TypeError("You must pass an array to race."))})}function ue(oe){var Le=this,he=new Le(M);return q(he,oe),he}function Q(){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 J=function(){function oe(Le){this[I]=Ue(),this._result=this._state=void 0,this._subscribers=[],M!==Le&&(typeof Le!="function"&&Q(),this instanceof oe?Ae(this,Le):V())}return oe.prototype.catch=function(he){return this.then(null,he)},oe.prototype.finally=function(he){var te=this,Z=te.constructor;return m(he)?te.then(function(ge){return Z.resolve(he()).then(function(){return ge})},function(ge){return Z.resolve(he()).then(function(){throw ge})}):te.then(he,he)},oe}();J.prototype.then=b,J.all=be,J.race=ot,J.resolve=O,J.reject=ue,J._setScheduler=o,J._setAsap=d,J._asap=r;function fe(){var oe=void 0;if(typeof f!="undefined")oe=f;else if(typeof self!="undefined")oe=self;else try{oe=Function("return this")()}catch(te){throw new Error("polyfill failed because global object is unavailable in this environment")}var Le=oe.Promise;if(Le){var he=null;try{he=Object.prototype.toString.call(Le.resolve())}catch(te){}if(he==="[object Promise]"&&!Le.cast)return}oe.Promise=J}return J.polyfill=fe,J.Promise=J,J})}).call(this,e("Q2Ig"),e("yLpj"))},E2jh:function(R,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 A(m){return!!f&&f in m}R.exports=A},E9nw:function(R,D){R.exports=function(){var e=document.getSelection();if(!e.rangeCount)return function(){};for(var g=document.activeElement,f=[],A=0;A<e.rangeCount;A++)f.push(e.getRangeAt(A));switch(g.tagName.toUpperCase()){case"INPUT":case"TEXTAREA":g.blur();break;default:g=null;break}return e.removeAllRanges(),function(){e.type==="Caret"&&e.removeAllRanges(),e.rangeCount||f.forEach(function(m){e.addRange(m)}),g&&g.focus()}}},ELLl:function(R,D,e){(function(g){g(e("VrN/"))})(function(g){var f={pairs:`()[]{}''""`,closeBefore:`)]}'":;>`,triples:"",explode:"[]{}"},A=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(),x=0;x<p.length;x++){if(!p[x].empty())return g.Pass;var S=n(t,p[x].head);if(!S||u.indexOf(S)%2!=0)return g.Pass}for(var x=p.length-1;x>=0;x--){var T=p[x].head;t.replaceRange("",A(T.line,T.ch-1),A(T.line,T.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(),x=0;x<p.length;x++){if(!p[x].empty())return g.Pass;var S=n(t,p[x].head);if(!S||u.indexOf(S)%2!=0)return g.Pass}t.operation(function(){var T=t.lineSeparator()||`
|
|
|
`;t.replaceSelection(T+T,null),t.execCommand("goCharLeft"),p=t.listSelections();for(var w=0;w<p.length;w++){var E=p[w].head.line;t.indentLine(E,null,!0),t.indentLine(E+1,null,!0)}})}function o(t){var s=g.cmpPos(t.anchor,t.head)>0;return{anchor:new A(t.anchor.line,t.anchor.ch+(s?-1:1)),head:new A(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"),x=p.indexOf(s);if(x==-1)return g.Pass;for(var S=m(u,"closeBefore"),T=m(u,"triples"),w=p.charAt(x+1)==s,E=t.listSelections(),C=x%2==0,_,y=0;y<E.length;y++){var b=E[y],O=b.head,I,M=t.getRange(O,A(O.line,O.ch+1));if(C&&!b.empty())I="surround";else if((w||!C)&&M==s)w&&l(t,O)?I="both":T.indexOf(s)>=0&&t.getRange(O,A(O.line,O.ch+3))==s+s+s?I="skipThree":I="skip";else if(w&&O.ch>1&&T.indexOf(s)>=0&&t.getRange(A(O.line,O.ch-2),O)==s+s){if(O.ch>2&&/\bstring/.test(t.getTokenTypeAt(A(O.line,O.ch-2))))return g.Pass;I="addFour"}else if(w){var F=O.ch==0?" ":t.getRange(A(O.line,O.ch-1),O);if(!g.isWordChar(M)&&F!=s&&!g.isWordChar(F))I="both";else return g.Pass}else if(C&&(M.length===0||/\s/.test(M)||S.indexOf(M)>-1))I="both";else return g.Pass;if(!_)_=I;else if(_!=I)return g.Pass}var P=x%2?p.charAt(x-1):s,j=x%2?s:p.charAt(x+1);t.operation(function(){if(_=="skip")t.execCommand("goCharRight");else if(_=="skipThree")for(var K=0;K<3;K++)t.execCommand("goCharRight");else if(_=="surround"){for(var N=t.getSelections(),K=0;K<N.length;K++)N[K]=P+N[K]+j;t.replaceSelections(N,"around"),N=t.listSelections().slice();for(var K=0;K<N.length;K++)N[K]=o(N[K]);t.setSelections(N)}else _=="both"?(t.replaceSelection(P+j,null),t.triggerElectric(P+j),t.execCommand("goCharLeft")):_=="addFour"&&(t.replaceSelection(P+P+P+P,"before"),t.execCommand("goCharRight"))})}function n(t,s){var u=t.getRange(A(s.line,s.ch-1),A(s.line,s.ch+1));return u.length==2?u:null}function l(t,s){var u=t.getTokenAt(A(s.line,s.ch+1));return/\bstring/.test(u.type)&&u.start==s.ch&&(s.ch==0||!/\bstring/.test(t.getTokenTypeAt(s)))}})},EMyp:function(R,D,e){var g=e("ProS"),f=e("bYtY"),A=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(T,w,E){T.eachComponent({mainType:"brush"},function(C){E&&E.type==="takeGlobalCursor"&&C.setBrushOption(E.key==="brush"?E.brushOption:{brushType:!1})}),d(T)});function d(T){T.eachComponent({mainType:"brush"},function(w){var E=w.brushTargetManager=new c(w.option,T);E.setInputRanges(w.areas,T)})}g.registerVisual(o,function(T,w,E){var C=[],_,y;T.eachComponent({mainType:"brush"},function(b,O){var I={brushId:b.id,brushIndex:O,brushName:b.name,areas:f.clone(b.areas),selected:[]};C.push(I);var M=b.option,F=M.brushLink,P=[],j=[],K=[],N=0;O||(_=M.throttleType,y=M.throttleDelay);var B=f.map(b.areas,function(Y){return p(f.defaults({boundingRect:x[Y.brushType](Y)},Y))}),U=m.createVisualMappings(b.option,a,function(Y){Y.mappingMethod="fixed"});f.isArray(F)&&f.each(F,function(Y){P[Y]=1});function H(Y){return F==="all"||P[Y]}function z(Y){return!!Y.length}T.eachSeries(function(Y,q){var me=K[q]=[];Y.subType==="parallel"?X(Y,q,me):W(Y,q,me)});function X(Y,q){var me=Y.coordinateSystem;N|=me.hasAxisBrushed(),H(q)&&me.eachActiveState(Y.getData(),function(G,ye){G==="active"&&(j[ye]=1)})}function W(Y,q,me){var G=s(Y);if(!G||u(b,q))return;if(f.each(B,function(Ae){G[Ae.brushType]&&b.brushTargetManager.controlSeries(Ae,Y,T)&&me.push(Ae),N|=z(me)}),H(q)&&z(me)){var ye=Y.getData();ye.each(function(Ae){t(G,me,ye,Ae)&&(j[Ae]=1)})}}T.eachSeries(function(Y,q){var me={seriesId:Y.id,seriesIndex:q,seriesName:Y.name,dataIndex:[]};I.selected.push(me);var G=s(Y),ye=K[q],Ae=Y.getData(),ve=H(q)?function(Ue){return j[Ue]?(me.dataIndex.push(Ae.getRawIndex(Ue)),"inBrush"):"outOfBrush"}:function(Ue){return t(G,ye,Ae,Ue)?(me.dataIndex.push(Ae.getRawIndex(Ue)),"inBrush"):"outOfBrush"};(H(q)?N:z(ye))&&m.applyVisual(a,U,Ae,ve)})}),n(w,_,y,C,E)});function n(T,w,E,C,_){if(!_)return;var y=T.getZr();if(y[r])return;y[i]||(y[i]=l);var b=h.createOrUpdate(y,i,E,w);b(T,C)}function l(T,w){if(!T.isDisposed()){var E=T.getZr();E[r]=!0,T.dispatchAction({type:"brushSelect",batch:w}),E[r]=!1}}function t(T,w,E,C){for(var _=0,y=w.length;_<y;_++){var b=w[_];if(T[b.brushType](C,E,b.selectors,b))return!0}}function s(T){var w=T.brushSelector;if(f.isString(w)){var E=[];return f.each(v,function(_,y){E[y]=function(b,O,I,M){var F=O.getItemLayout(b);return _[w](F,I,M)}}),E}else if(f.isFunction(w)){var C={};return f.each(v,function(_,y){C[y]=w}),C}return w}function u(T,w){var E=T.option.seriesIndex;return E!=null&&E!=="all"&&(f.isArray(E)?f.indexOf(E,w)<0:w!==E)}function p(T){var w=T.selectors={};return f.each(v[T.brushType],function(E,C){w[C]=function(_){return E(_,w,T)}}),T}var x={lineX:f.noop,lineY:f.noop,rect:function(T){return S(T.range)},polygon:function(T){for(var w,E=T.range,C=0,_=E.length;C<_;C++){w=w||[[Infinity,-Infinity],[Infinity,-Infinity]];var y=E[C];y[0]<w[0][0]&&(w[0][0]=y[0]),y[0]>w[0][1]&&(w[0][1]=y[0]),y[1]<w[1][0]&&(w[1][0]=y[1]),y[1]>w[1][1]&&(w[1][1]=y[1])}return w&&S(w)}};function S(T){return new A(T[0][0],T[1][0],T[0][1]-T[0][0],T[1][1]-T[1][0])}D.layoutCovers=d},ERHi:function(R,D,e){var g=e("ProS");e("Z6js"),e("R4Th");var f=e("f5Yq"),A=e("h8O9");g.registerVisual(f("effectScatter","circle")),g.registerLayout(A("effectScatter"))},EXcs:function(R,D,e){"use strict";var g=function(){return{height:0,opacity:0}},f=function(c){return{height:c.scrollHeight,opacity:1}},A=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:A,onLeaveActive:g,onAppearEnd:m,onEnterEnd:m,onLeaveEnd:m,motionDeadline:500};D.a=v},Em2t:function(R,D,e){var g=e("bahg"),f=e("quyA"),A=e("0JQy");function m(v){return f(v)?A(v):g(v)}R.exports=m},EpBk:function(R,D){function e(g){var f=typeof g;return f=="string"||f=="number"||f=="symbol"||f=="boolean"?g!=="__proto__":g===null}R.exports=e},Ez2D:function(R,D,e){var g=e("bYtY"),f=e("4NO4");function A(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}}R.exports=A},F0hE:function(R,D,e){var g=e("ProS"),f=e("bYtY"),A=e("ca2m"),m=e("Qxkt"),v=e("ICMv"),h=A.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"),x=this.get("name.formatter"),S=this.get("nameGap"),T=this.get("triggerEvent"),w=f.map(this.get("indicator")||[],function(E){E.max!=null&&E.max>0&&!E.min?E.min=0:E.min!=null&&E.min<0&&!E.max&&(E.max=0);var C=u;if(E.color!=null&&(C=f.defaults({color:E.color},u)),E=f.merge(f.clone(E),{boundaryGap:r,splitNumber:o,scale:d,axisLine:n,axisTick:l,axisType:t,axisLabel:s,name:E.text,nameLocation:"end",nameGap:S,nameTextStyle:C,triggerEvent:T},!1),p||(E.name=""),typeof x=="string"){var _=E.name;E.name=x.replace("{value}",_!=null?_:"")}else typeof x=="function"&&(E.name=x(E.name,E));var y=f.extend(new m(E,null,this.ecModel),v);return y.mainType="radar",y.componentIndex=this.componentIndex,y},this);this.getIndicatorModels=function(){return w}},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;R.exports=i},F5Ls:function(R,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,A){if(f==="china"){var m=e[A.name];if(m){var v=A.center;v[0]+=m[0]/10.5,v[1]+=-m[1]/(10.5/.75)}}}R.exports=g},F7hV:function(R,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 A=this.get("progressiveThreshold"),m=this.get("largeThreshold");return m>A&&(A=m),A},defaultOption:{clip:!0,roundCap:!1,showBackground:!1,backgroundStyle:{color:"rgba(180, 180, 180, 0.2)",borderColor:null,borderWidth:0,borderType:"solid",borderRadius:0,shadowBlur:0,shadowColor:null,shadowOffsetX:0,shadowOffsetY:0,opacity:1}}});R.exports=f},F9bG:function(R,D,e){var g=e("bYtY"),f=e("ItGF"),A=e("4NO4"),m=A.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(x){var S=d(t);h(v(l).records,function(T){T&&p(T,x,S.dispatchAction)}),i(S.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)}D.register=c,D.unregister=n},FBjb:function(R,D,e){var g=e("bYtY"),f=e("oVpE"),A=f.createSymbol,m=e("IwbS"),v=e("OELB"),h=v.parsePercent,c=e("x3X8"),a=c.getDefaultLabel;function i(S,T,w){m.Group.call(this),this.updateData(S,T,w)}var r=i.prototype,o=i.getSymbolSize=function(S,T){var w=S.getItemVisual(T,"symbolSize");return w instanceof Array?w.slice():[+w,+w]};function d(S){return[S[0]/2,S[1]/2]}function n(S,T){this.parent.drift(S,T)}r._createSymbol=function(S,T,w,E,C){this.removeAll();var _=T.getItemVisual(w,"color"),y=A(S,-1,-1,2,2,_,C);y.attr({z2:100,culling:!0,scale:d(E)}),y.drift=n,this._symbolType=S,this.add(y)},r.stopSymbolAnimation=function(S){this.childAt(0).stopAnimation(S)},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(S,T){var w=this.childAt(0);w.zlevel=S,w.z=T},r.setDraggable=function(S){var T=this.childAt(0);T.draggable=S,T.cursor=S?"move":T.cursor},r.updateData=function(S,T,w){this.silent=!1;var E=S.getItemVisual(T,"symbol")||"circle",C=S.hostModel,_=o(S,T),y=E!==this._symbolType;if(y){var b=S.getItemVisual(T,"symbolKeepAspect");this._createSymbol(E,S,T,_,b)}else{var O=this.childAt(0);O.silent=!1,m.updateProps(O,{scale:d(_)},C,T)}if(this._updateCommon(S,T,_,w),y){var O=this.childAt(0),I=w&&w.fadeIn,M={scale:O.scale.slice()};I&&(M.style={opacity:O.style.opacity}),O.scale=[0,0],I&&(O.style.opacity=0),m.initProps(O,M,C,T)}this._seriesModel=C};var l=["itemStyle"],t=["emphasis","itemStyle"],s=["label"],u=["emphasis","label"];r._updateCommon=function(S,T,w,E){var C=this.childAt(0),_=S.hostModel,y=S.getItemVisual(T,"color");C.type!=="image"?C.useStyle({strokeNoScale:!0}):C.setStyle({opacity:null,shadowBlur:null,shadowOffsetX:null,shadowOffsetY:null,shadowColor:null});var b=E&&E.itemStyle,O=E&&E.hoverItemStyle,I=E&&E.symbolOffset,M=E&&E.labelModel,F=E&&E.hoverLabelModel,P=E&&E.hoverAnimation,j=E&&E.cursorStyle;if(!E||S.hasItemOption){var K=E&&E.itemModel?E.itemModel:S.getItemModel(T);b=K.getModel(l).getItemStyle(["color"]),O=K.getModel(t).getItemStyle(),I=K.getShallow("symbolOffset"),M=K.getModel(s),F=K.getModel(u),P=K.getShallow("hoverAnimation"),j=K.getShallow("cursor")}else O=g.extend({},O);var N=C.style,B=S.getItemVisual(T,"symbolRotate");C.attr("rotation",(B||0)*Math.PI/180||0),I&&C.attr("position",[h(I[0],w[0]),h(I[1],w[1])]),j&&C.attr("cursor",j),C.setColor(y,E&&E.symbolInnerColor),C.setStyle(b);var U=S.getItemVisual(T,"opacity");U!=null&&(N.opacity=U);var H=S.getItemVisual(T,"liftZ"),z=C.__z2Origin;H!=null?z==null&&(C.__z2Origin=C.z2,C.z2+=H):z!=null&&(C.z2=z,C.__z2Origin=null);var X=E&&E.useNameLabel;m.setLabelStyle(N,O,M,F,{labelFetcher:_,labelDataIndex:T,defaultText:W,isRectText:!0,autoColor:y});function W(Y,q){return X?S.getName(Y):a(S,Y)}C.__symbolOriginalScale=d(w),C.hoverStyle=O,C.highDownOnUpdate=P&&_.isAnimationEnabled()?p:null,m.setHoverStyle(C)};function p(S,T){if(this.incremental||this.useHoverLayer)return;if(T==="emphasis"){var w=this.__symbolOriginalScale,E=w[1]/w[0],C={scale:[Math.max(w[0]*1.1,w[0]+3),Math.max(w[1]*1.1,w[1]+3*E)]};this.animateTo(C,400,"elasticOut")}else T==="normal"&&this.animateTo({scale:this.__symbolOriginalScale},400,"elasticOut")}r.fadeOut=function(S,T){var w=this.childAt(0);this.silent=w.silent=!0,!(T&&T.keepLabel)&&(w.style.text=null),m.updateProps(w,{style:{opacity:0},scale:[0,0]},this._seriesModel,this.dataIndex,S)},g.inherits(i,m.Group);var x=i;R.exports=x},FGaS:function(R,D,e){var g=e("ProS"),f=e("IwbS"),A=e("bYtY"),m=e("oVpE");function v(c){return A.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 x=u.getItemVisual(p,"symbol")||"circle",S=u.getItemVisual(p,"color");if(x==="none")return;var T=v(u.getItemVisual(p,"symbolSize")),w=m.createSymbol(x,-1,-1,2,2,S);return w.attr({style:{strokeNoScale:!0},z2:100,scale:[T[0]/2,T[1]/2]}),w}function t(u,p,x,S,T,w){x.removeAll();for(var E=0;E<p.length-1;E++){var C=l(S,T);C&&(C.__dimIdx=E,u[E]?(C.attr("position",u[E]),f[w?"initProps":"updateProps"](C,{position:p[E]},c,T)):C.attr("position",p[E]),x.add(C))}}function s(u){return A.map(u,function(p){return[r.cx,r.cy]})}d.diff(n).add(function(u){var p=d.getItemLayout(u);if(!p)return;var x=new f.Polygon,S=new f.Polyline,T={shape:{points:p}};x.shape.points=s(p),S.shape.points=s(p),f.initProps(x,T,c,u),f.initProps(S,T,c,u);var w=new f.Group,E=new f.Group;w.add(S),w.add(x),w.add(E),t(S.shape.points,p,E,d,u,!0),d.setItemGraphicEl(u,w)}).update(function(u,p){var x=n.getItemGraphicEl(p),S=x.childAt(0),T=x.childAt(1),w=x.childAt(2),E={shape:{points:d.getItemLayout(u)}};if(!E.shape.points)return;t(S.shape.points,E.shape.points,w,d,u,!1),f.updateProps(S,E,c),f.updateProps(T,E,c),d.setItemGraphicEl(u,x)}).remove(function(u){o.remove(n.getItemGraphicEl(u))}).execute(),d.eachItemGraphicEl(function(u,p){var x=d.getItemModel(p),S=u.childAt(0),T=u.childAt(1),w=u.childAt(2),E=d.getItemVisual(p,"color");o.add(u),S.useStyle(A.defaults(x.getModel("lineStyle").getLineStyle(),{fill:"none",stroke:E})),S.hoverStyle=x.getModel("emphasis.lineStyle").getLineStyle();var C=x.getModel("areaStyle"),_=x.getModel("emphasis.areaStyle"),y=C.isEmpty()&&C.parentModel.isEmpty(),b=_.isEmpty()&&_.parentModel.isEmpty();b=b&&y,T.ignore=y,T.useStyle(A.defaults(C.getAreaStyle(),{fill:E,opacity:.7})),T.hoverStyle=_.getAreaStyle();var O=x.getModel("itemStyle").getItemStyle(["color"]),I=x.getModel("emphasis.itemStyle").getItemStyle(),M=x.getModel("label"),F=x.getModel("emphasis.label");w.eachChild(function(P){P.setStyle(O),P.hoverStyle=A.clone(I);var j=d.get(d.dimensions[P.__dimIdx],p);(j==null||isNaN(j))&&(j=""),f.setLabelStyle(P.style,P.hoverStyle,M,F,{labelFetcher:d.hostModel,labelDataIndex:p,labelDimIndex:P.__dimIdx,defaultText:j,autoColor:E,isRectText:!0})}),u.highDownOnUpdate=function(P,j){T.attr("ignore",j==="emphasis"?b:y)},f.setHoverStyle(u)}),this._data=d},remove:function(){this.group.removeAll(),this._data=null},dispose:function(){}});R.exports=h},FH2Y:function(R,D,e){"use strict";Object.defineProperty(D,"__esModule",{value:!0}),D.default=void 0;var g=f(e("ZMnZ"));function f(m){return m&&m.__esModule?m:{default:m}}var A=g;D.default=A,R.exports=A},FNN5:function(R,D,e){var g=e("bYtY"),f=e("IwbS"),A=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),x=new A(i,p);g.each(v,x.add,x),this.group.add(x.getGroup()),g.each(h,function(S){i.get(S+".show")&&!o.scale.isBlank()&&this["_"+S](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=[],x=0;x<n.length;x++){var S=u++%s.length;p[S]=p[S]||[],p[S].push(new f.Circle({shape:{cx:r.cx,cy:r.cy,r:n[x].coord}}))}for(var x=0;x<p.length;x++)this.group.add(f.mergePath(p[x],{style:g.defaults({stroke:s[x%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 x=0;x<l[p].length;x++)u.push(new f.Circle({shape:{cx:r.cx,cy:r.cy,r:l[p][x].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=[],x=n[0].coord,S=1;S<n.length;S++){var T=u++%s.length;p[T]=p[T]||[],p[T].push(new f.Sector({shape:{cx:r.cx,cy:r.cy,r0:x,r:n[S].coord,startAngle:0,endAngle:Math.PI*2},silent:!0})),x=n[S].coord}for(var S=0;S<p.length;S++)this.group.add(f.mergePath(p[S],{style:g.defaults({fill:s[S%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}}R.exports=c},FUi9:function(R,D,e){var g=e("bYtY"),f=e("MwEJ"),A=e("aX7z"),m=e("ICMv"),v=e("Qxkt"),h=e("+TT/"),c=h.getLayoutRect;D.getLayoutRect=h.getLayoutRect;var a=e("7hqr"),i=a.enableDataStack,r=a.isDimensionStacked,o=a.getStackedDimension,d=e("hi0g");D.completeDimensions=d;var n=e("sdST");D.createDimensions=n;var l=e("oVpE");D.createSymbol=l.createSymbol;function t(x){return f(x.getSource(),x)}var s={isDimensionStacked:r,enableDataStack:i,getStackedDimension:o};function u(x,S){var T=S;v.isInstance(S)||(T=new v(S),g.mixin(T,m));var w=A.createScaleByModel(T);return w.setExtent(x[0],x[1]),A.niceScaleExtent(w,T),w}function p(x){g.mixin(x,m)}D.createList=t,D.dataStack=s,D.createScale=u,D.mixinAxisModelCommonMethods=p},"Fa/5":function(R,D,e){var g=e("ProS");e("y2l5"),e("q/+u");var f=e("f5Yq"),A=e("h8O9");e("Ae16"),g.registerVisual(f("scatter","circle")),g.registerLayout(A("scatter"))},FhB9:function(R,D,e){"use strict";Object.defineProperty(D,"__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"};D.default=g},"Fm1+":function(R,D,e){"use strict";var g=e("TqRt"),f=e("284h");Object.defineProperty(D,"__esModule",{value:!0}),D.default=void 0;var A=f(e("q1tI")),m=g(e("a7Wl")),v=g(e("KQxl")),h=function(i,r){return A.createElement(v.default,Object.assign({},i,{ref:r,icon:m.default}))};h.displayName="CaretUpOutlined";var c=A.forwardRef(h);D.default=c},Fofx:function(R,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 A(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],x=Math.sin(d),S=Math.cos(d);return r[0]=n*S+s*x,r[1]=-n*x+s*S,r[2]=l*S+u*x,r[3]=-l*x+S*u,r[4]=S*t+x*p,r[5]=S*p-x*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 A(o,r),o}D.create=g,D.identity=f,D.copy=A,D.mul=m,D.translate=v,D.rotate=h,D.scale=c,D.invert=a,D.clone=i},Fv0C:function(R,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(D,"__esModule",{value:!0}),D.default=void 0;var f=i(e("Lo0S")),A=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 x=u?Object.getOwnPropertyDescriptor(l,p):null;x&&(x.get||x.set)?Object.defineProperty(s,p,x):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),x=String.fromCharCode(p).toUpperCase();return"Platform"+x.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,A.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,A.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,A.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,A.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 x=String.fromCharCode(s.keyCode);s.shiftKey?x=x.toUpperCase():x=x.toLowerCase(),u=x.charCodeAt()}else u=0;this._sendKeyEvent(u,p,!0)}},{key:"_handleKeyUp",value:function(s){(0,A.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(x){if(!(x in p))return;var S=new KeyboardEvent("keyup",{key:p[x],code:x});S.skipCheckAlt=!0,u.dispatchEvent(S)})}},{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}();D.default=n},FxDU:function(R,D,e){"use strict";Object.defineProperty(D,"__esModule",{value:!0}),D.createSensor=void 0;var g=e("QO+J"),f=e("j5sG"),A=typeof ResizeObserver!="undefined"?f.createSensor:g.createSensor;D.createSensor=A},GGyF:function(R,D,e){"use strict";var g=e("TqRt"),f=e("284h");Object.defineProperty(D,"__esModule",{value:!0}),D.default=void 0;var A=f(e("q1tI")),m=g(e("wgjA")),v=g(e("KQxl")),h=function(i,r){return A.createElement(v.default,Object.assign({},i,{ref:r,icon:m.default}))};h.displayName="LeftOutlined";var c=A.forwardRef(h);D.default=c},GIiI:function(R,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"},A=f,m=e("6VBw"),v=function(a,i){return g.createElement(m.a,Object.assign({},a,{ref:i,icon:A}))};v.displayName="PoweroffOutlined";var h=D.a=g.forwardRef(v)},GMDS:function(R,D,e){var g=e("bYtY"),f=e("4NgU"),A=e("jkPA"),m=f.prototype,v=f.extend({type:"ordinal",init:function(c,a){(!c||g.isArray(c))&&(c=new A({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;R.exports=h},GQ8N:function(R,D,e){"use strict";Object.defineProperty(D,"__esModule",{value:!0}),D.toUnsigned32bit=g,D.toSigned32bit=f;function g(A){return A>>>0}function f(A){return A|0}},GUcZ:function(R,D,e){"use strict";var g=e("fWQN"),f=e("mtLc"),A=function(){function de(){Object(g.a)(this,de)}return Object(f.a)(de,null,[{key:"install",value:function(){Object.setPrototypeOf=Object.setPrototypeOf||function($,se){return $.__proto__=se,$},Object.assign=Object.assign||function($){if($==null)throw new TypeError("Cannot convert undefined or null to object");for(var se=Object($),Oe=1;Oe<arguments.length;Oe++){var ke=arguments[Oe];if(ke!=null)for(var Pe in ke)ke.hasOwnProperty(Pe)&&(se[Pe]=ke[Pe])}return se},typeof self.Promise!="function"&&e("E2g8").polyfill()}}]),de}();A.install();var m=A,v=e("+qE3"),h=e.n(v),c=function(){function de(){Object(g.a)(this,de)}return Object(f.a)(de,null,[{key:"e",value:function($,se){(!$||de.FORCE_GLOBAL_TAG)&&($=de.GLOBAL_TAG);var Oe="[".concat($,"] > ").concat(se);if(de.ENABLE_CALLBACK&&de.emitter.emit("log","error",Oe),!de.ENABLE_ERROR)return;console.error?console.error(Oe):console.warn?console.warn(Oe):console.log(Oe)}},{key:"i",value:function($,se){(!$||de.FORCE_GLOBAL_TAG)&&($=de.GLOBAL_TAG);var Oe="[".concat($,"] > ").concat(se);if(de.ENABLE_CALLBACK&&de.emitter.emit("log","info",Oe),!de.ENABLE_INFO)return;console.info?console.info(Oe):console.log(Oe)}},{key:"w",value:function($,se){(!$||de.FORCE_GLOBAL_TAG)&&($=de.GLOBAL_TAG);var Oe="[".concat($,"] > ").concat(se);if(de.ENABLE_CALLBACK&&de.emitter.emit("log","warn",Oe),!de.ENABLE_WARN)return;console.warn?console.warn(Oe):console.log(Oe)}},{key:"d",value:function($,se){(!$||de.FORCE_GLOBAL_TAG)&&($=de.GLOBAL_TAG);var Oe="[".concat($,"] > ").concat(se);if(de.ENABLE_CALLBACK&&de.emitter.emit("log","debug",Oe),!de.ENABLE_DEBUG)return;console.debug?console.debug(Oe):console.log(Oe)}},{key:"v",value:function($,se){(!$||de.FORCE_GLOBAL_TAG)&&($=de.GLOBAL_TAG);var Oe="[".concat($,"] > ").concat(se);if(de.ENABLE_CALLBACK&&de.emitter.emit("log","verbose",Oe),!de.ENABLE_VERBOSE)return;console.log(Oe)}}]),de}();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 de(){Object(g.a)(this,de),this._firstCheckpoint=0,this._lastCheckpoint=0,this._intervalBytes=0,this._totalBytes=0,this._lastSecondBytes=0,self.performance&&self.performance.now?this._now=self.performance.now.bind(self.performance):this._now=Date.now}return Object(f.a)(de,[{key:"reset",value:function(){this._firstCheckpoint=this._lastCheckpoint=0,this._totalBytes=this._intervalBytes=0,this._lastSecondBytes=0}},{key:"addBytes",value:function($){this._firstCheckpoint===0?(this._firstCheckpoint=this._now(),this._lastCheckpoint=this._firstCheckpoint,this._intervalBytes+=$,this._totalBytes+=$):this._now()-this._lastCheckpoint<1e3?(this._intervalBytes+=$,this._totalBytes+=$):(this._lastSecondBytes=this._intervalBytes,this._intervalBytes=$,this._totalBytes+=$,this._lastCheckpoint=this._now())}},{key:"currentKBps",get:function(){this.addBytes(0);var $=(this._now()-this._lastCheckpoint)/1e3;return $==0&&($=1),this._intervalBytes/$/1024}},{key:"lastSecondKBps",get:function(){return this.addBytes(0),this._lastSecondBytes!==0?this._lastSecondBytes/1024:this._now()-this._lastCheckpoint>=500?this.currentKBps:0}},{key:"averageKBps",get:function(){var $=(this._now()-this._firstCheckpoint)/1e3;return this._totalBytes/$/1024}}]),de}(),r=i,o=e("yKVA"),d=e("879j"),n=function(){function de(xe){Object(g.a)(this,de),this._message=xe}return Object(f.a)(de,[{key:"toString",value:function(){return this.name+": "+this.message}},{key:"name",get:function(){return"RuntimeException"}},{key:"message",get:function(){return this._message}}]),de}(),l=function(de){Object(o.a)($,de);var xe=Object(d.a)($);function $(se){return Object(g.a)(this,$),xe.call(this,se)}return Object(f.a)($,[{key:"name",get:function(){return"IllegalStateException"}}]),$}(n),t=function(de){Object(o.a)($,de);var xe=Object(d.a)($);function $(se){return Object(g.a)(this,$),xe.call(this,se)}return Object(f.a)($,[{key:"name",get:function(){return"InvalidArgumentException"}}]),$}(n),s=function(de){Object(o.a)($,de);var xe=Object(d.a)($);function $(se){return Object(g.a)(this,$),xe.call(this,se)}return Object(f.a)($,[{key:"name",get:function(){return"NotImplementedException"}}]),$}(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"},x=function(){function de(xe){Object(g.a)(this,de),this._type=xe||"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)(de,[{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($,se){throw new s("Unimplemented abstract function!")}},{key:"abort",value:function(){throw new s("Unimplemented abstract function!")}},{key:"type",get:function(){return this._type}},{key:"status",get:function(){return this._status}},{key:"needStashBuffer",get:function(){return this._needStash}},{key:"onContentLengthKnown",get:function(){return this._onContentLengthKnown},set:function($){this._onContentLengthKnown=$}},{key:"onURLRedirect",get:function(){return this._onURLRedirect},set:function($){this._onURLRedirect=$}},{key:"onDataArrival",get:function(){return this._onDataArrival},set:function($){this._onDataArrival=$}},{key:"onError",get:function(){return this._onError},set:function($){this._onError=$}},{key:"onComplete",get:function(){return this._onComplete},set:function($){this._onComplete=$}}]),de}(),S=e("oZsa");function T(de,xe){for(;!Object.prototype.hasOwnProperty.call(de,xe)&&!(de=Object(S.a)(de),de===null););return de}function w(de,xe,$){return typeof Reflect!="undefined"&&Reflect.get?w=Reflect.get:w=function(Oe,ke,Pe){var rt=T(Oe,ke);if(!rt)return;var At=Object.getOwnPropertyDescriptor(rt,ke);return At.get?At.get.call(Pe):At.value},w(de,xe,$||de)}var E={};function C(){var de=self.navigator.userAgent.toLowerCase(),xe=/(edge)\/([\w.]+)/.exec(de)||/(opr)[\/]([\w.]+)/.exec(de)||/(chrome)[ \/]([\w.]+)/.exec(de)||/(iemobile)[\/]([\w.]+)/.exec(de)||/(version)(applewebkit)[ \/]([\w.]+).*(safari)[ \/]([\w.]+)/.exec(de)||/(webkit)[ \/]([\w.]+).*(version)[ \/]([\w.]+).*(safari)[ \/]([\w.]+)/.exec(de)||/(webkit)[ \/]([\w.]+)/.exec(de)||/(opera)(?:.*version|)[ \/]([\w.]+)/.exec(de)||/(msie) ([\w.]+)/.exec(de)||de.indexOf("trident")>=0&&/(rv)(?::| )([\w.]+)/.exec(de)||de.indexOf("compatible")<0&&/(firefox)[ \/]([\w.]+)/.exec(de)||[],$=/(ipad)/.exec(de)||/(ipod)/.exec(de)||/(windows phone)/.exec(de)||/(iphone)/.exec(de)||/(kindle)/.exec(de)||/(android)/.exec(de)||/(windows)/.exec(de)||/(mac)/.exec(de)||/(linux)/.exec(de)||/(cros)/.exec(de)||[],se={browser:xe[5]||xe[3]||xe[1]||"",version:xe[2]||xe[4]||"0",majorVersion:xe[4]||xe[2]||"0",platform:$[0]||""},Oe={};if(se.browser){Oe[se.browser]=!0;var ke=se.majorVersion.split(".");Oe.version={major:parseInt(se.majorVersion,10),string:se.version},ke.length>1&&(Oe.version.minor=parseInt(ke[1],10)),ke.length>2&&(Oe.version.build=parseInt(ke[2],10))}if(se.platform&&(Oe[se.platform]=!0),(Oe.chrome||Oe.opr||Oe.safari)&&(Oe.webkit=!0),Oe.rv||Oe.iemobile){Oe.rv&&delete Oe.rv;var Pe="msie";se.browser=Pe,Oe[Pe]=!0}if(Oe.edge){delete Oe.edge;var rt="msedge";se.browser=rt,Oe[rt]=!0}if(Oe.opr){var At="opera";se.browser=At,Oe[At]=!0}if(Oe.safari&&Oe.android){var Wt="android";se.browser=Wt,Oe[Wt]=!0}Oe.name=se.browser,Oe.platform=se.platform;for(var $t in E)E.hasOwnProperty($t)&&delete E[$t];Object.assign(E,Oe)}C();var _=E,y=function(de){Object(o.a)($,de);var xe=Object(d.a)($);Object(f.a)($,null,[{key:"isSupported",value:function(){try{var Oe=_.msedge&&_.version.minor>=15048,ke=_.msedge?Oe:!0;return self.fetch&&self.ReadableStream&&ke}catch(Pe){return!1}}}]);function $(se,Oe){var ke;return Object(g.a)(this,$),ke=xe.call(this,"fetch-stream-loader"),ke.TAG="FetchStreamLoader",ke._seekHandler=se,ke._config=Oe,ke._needStash=!0,ke._requestAbort=!1,ke._contentLength=null,ke._receivedLength=0,ke}return Object(f.a)($,[{key:"destroy",value:function(){this.isWorking()&&this.abort(),w(Object(S.a)($.prototype),"destroy",this).call(this)}},{key:"open",value:function(Oe,ke){var Pe=this;this._dataSource=Oe,this._range=ke;var rt=Oe.url;this._config.reuseRedirectedURL&&Oe.redirectedURL!=null&&(rt=Oe.redirectedURL);var At=this._seekHandler.getConfig(rt,ke),Wt=new self.Headers;if(typeof At.headers=="object"){var $t=At.headers;for(var Rt in $t)$t.hasOwnProperty(Rt)&&Wt.append(Rt,$t[Rt])}var zt={method:"GET",headers:Wt,mode:"cors",cache:"default",referrerPolicy:"no-referrer-when-downgrade"};if(typeof this._config.headers=="object")for(var Gt in this._config.headers)Wt.append(Gt,this._config.headers[Gt]);Oe.cors===!1&&(zt.mode="same-origin"),Oe.withCredentials&&(zt.credentials="include"),Oe.referrerPolicy&&(zt.referrerPolicy=Oe.referrerPolicy),this._status=u.kConnecting,self.fetch(At.url,zt).then(function(Qt){if(Pe._requestAbort){Pe._requestAbort=!1,Pe._status=u.kIdle;return}if(Qt.ok&&Qt.status>=200&&Qt.status<=299){if(Qt.url!==At.url&&Pe._onURLRedirect){var Mt=Pe._seekHandler.removeURLParameters(Qt.url);Pe._onURLRedirect(Mt)}var dr=Qt.headers.get("Content-Length");return dr!=null&&(Pe._contentLength=parseInt(dr),Pe._contentLength!==0&&(Pe._onContentLengthKnown&&Pe._onContentLengthKnown(Pe._contentLength))),Pe._pump.call(Pe,Qt.body.getReader())}else if(Pe._status=u.kError,Pe._onError)Pe._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(Pe._status=u.kError,Pe._onError)Pe._onError(p.EXCEPTION,{code:-1,msg:Qt.message});else throw Qt})}},{key:"abort",value:function(){this._requestAbort=!0}},{key:"_pump",value:function(Oe){var ke=this;return Oe.read().then(function(Pe){if(Pe.done)if(ke._contentLength!==null&&ke._receivedLength<ke._contentLength){ke._status=u.kError;var rt=p.EARLY_EOF,At={code:-1,msg:"Fetch stream meet Early-EOF"};if(ke._onError)ke._onError(rt,At);else throw new n(At.msg)}else ke._status=u.kComplete,ke._onComplete&&ke._onComplete(ke._range.from,ke._range.from+ke._receivedLength-1);else{if(ke._requestAbort===!0)return ke._requestAbort=!1,ke._status=u.kComplete,Oe.cancel();ke._status=u.kBuffering;var Wt=Pe.value.buffer,$t=ke._range.from+ke._receivedLength;ke._receivedLength+=Wt.byteLength,ke._onDataArrival&&ke._onDataArrival(Wt,$t,ke._receivedLength),ke._pump(Oe)}}).catch(function(Pe){if(Pe.code===11&&_.msedge)return;ke._status=u.kError;var rt=0,At=null;if((Pe.code===19||Pe.message==="network error")&&(ke._contentLength===null||ke._contentLength!==null&&ke._receivedLength<ke._contentLength)?(rt=p.EARLY_EOF,At={code:Pe.code,msg:"Fetch stream meet Early-EOF"}):(rt=p.EXCEPTION,At={code:Pe.code,msg:Pe.message}),ke._onError)ke._onError(rt,At);else throw new n(At.msg)})}}]),$}(x),b=y,O=function(de){Object(o.a)($,de);var xe=Object(d.a)($);Object(f.a)($,null,[{key:"isSupported",value:function(){try{var Oe=new XMLHttpRequest;return Oe.open("GET","https://example.com",!0),Oe.responseType="moz-chunked-arraybuffer",Oe.responseType==="moz-chunked-arraybuffer"}catch(ke){return a.w("MozChunkedLoader",ke.message),!1}}}]);function $(se,Oe){var ke;return Object(g.a)(this,$),ke=xe.call(this,"xhr-moz-chunked-loader"),ke.TAG="MozChunkedLoader",ke._seekHandler=se,ke._config=Oe,ke._needStash=!0,ke._xhr=null,ke._requestAbort=!1,ke._contentLength=null,ke._receivedLength=0,ke}return Object(f.a)($,[{key:"destroy",value:function(){this.isWorking()&&this.abort(),this._xhr&&(this._xhr.onreadystatechange=null,this._xhr.onprogress=null,this._xhr.onloadend=null,this._xhr.onerror=null,this._xhr=null),w(Object(S.a)($.prototype),"destroy",this).call(this)}},{key:"open",value:function(Oe,ke){this._dataSource=Oe,this._range=ke;var Pe=Oe.url;this._config.reuseRedirectedURL&&Oe.redirectedURL!=null&&(Pe=Oe.redirectedURL);var rt=this._seekHandler.getConfig(Pe,ke);this._requestURL=rt.url;var At=this._xhr=new XMLHttpRequest;if(At.open("GET",rt.url,!0),At.responseType="moz-chunked-arraybuffer",At.onreadystatechange=this._onReadyStateChange.bind(this),At.onprogress=this._onProgress.bind(this),At.onloadend=this._onLoadEnd.bind(this),At.onerror=this._onXhrError.bind(this),Oe.withCredentials&&(At.withCredentials=!0),typeof rt.headers=="object"){var Wt=rt.headers;for(var $t in Wt)Wt.hasOwnProperty($t)&&At.setRequestHeader($t,Wt[$t])}if(typeof this._config.headers=="object"){var Rt=this._config.headers;for(var zt in Rt)Rt.hasOwnProperty(zt)&&At.setRequestHeader(zt,Rt[zt])}this._status=u.kConnecting,At.send()}},{key:"abort",value:function(){this._requestAbort=!0,this._xhr&&this._xhr.abort(),this._status=u.kComplete}},{key:"_onReadyStateChange",value:function(Oe){var ke=Oe.target;if(ke.readyState===2){if(ke.responseURL!=null&&ke.responseURL!==this._requestURL&&this._onURLRedirect){var Pe=this._seekHandler.removeURLParameters(ke.responseURL);this._onURLRedirect(Pe)}if(ke.status!==0&&(ke.status<200||ke.status>299))if(this._status=u.kError,this._onError)this._onError(p.HTTP_STATUS_CODE_INVALID,{code:ke.status,msg:ke.statusText});else throw new n("MozChunkedLoader: Http code invalid, "+ke.status+" "+ke.statusText);else this._status=u.kBuffering}}},{key:"_onProgress",value:function(Oe){if(this._status===u.kError)return;this._contentLength===null&&(Oe.total!==null&&Oe.total!==0&&(this._contentLength=Oe.total,this._onContentLengthKnown&&this._onContentLengthKnown(this._contentLength)));var ke=Oe.target.response,Pe=this._range.from+this._receivedLength;this._receivedLength+=ke.byteLength,this._onDataArrival&&this._onDataArrival(ke,Pe,this._receivedLength)}},{key:"_onLoadEnd",value:function(Oe){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(Oe){this._status=u.kError;var ke=0,Pe=null;if(this._contentLength&&Oe.loaded<this._contentLength?(ke=p.EARLY_EOF,Pe={code:-1,msg:"Moz-Chunked stream meet Early-Eof"}):(ke=p.EXCEPTION,Pe={code:-1,msg:Oe.constructor.name+" "+Oe.type}),this._onError)this._onError(ke,Pe);else throw new n(Pe.msg)}}]),$}(x),I=O,M=function(de){Object(o.a)($,de);var xe=Object(d.a)($);Object(f.a)($,null,[{key:"isSupported",value:function(){try{if(typeof self.MSStream=="undefined"||typeof self.MSStreamReader=="undefined")return!1;var Oe=new XMLHttpRequest;return Oe.open("GET","https://example.com",!0),Oe.responseType="ms-stream",Oe.responseType==="ms-stream"}catch(ke){return a.w("MSStreamLoader",ke.message),!1}}}]);function $(se,Oe){var ke;return Object(g.a)(this,$),ke=xe.call(this,"xhr-msstream-loader"),ke.TAG="MSStreamLoader",ke._seekHandler=se,ke._config=Oe,ke._needStash=!0,ke._xhr=null,ke._reader=null,ke._totalRange=null,ke._currentRange=null,ke._currentRequestURL=null,ke._currentRedirectedURL=null,ke._contentLength=null,ke._receivedLength=0,ke._bufferLimit=16*1024*1024,ke._lastTimeBufferSize=0,ke._isReconnecting=!1,ke}return Object(f.a)($,[{key:"destroy",value:function(){this.isWorking()&&this.abort(),this._reader&&(this._reader.onprogress=null,this._reader.onload=null,this._reader.onerror=null,this._reader=null),this._xhr&&(this._xhr.onreadystatechange=null,this._xhr=null),w(Object(S.a)($.prototype),"destroy",this).call(this)}},{key:"open",value:function(Oe,ke){this._internalOpen(Oe,ke,!1)}},{key:"_internalOpen",value:function(Oe,ke,Pe){this._dataSource=Oe,Pe?this._currentRange=ke:this._totalRange=ke;var rt=Oe.url;this._config.reuseRedirectedURL&&(this._currentRedirectedURL!=null?rt=this._currentRedirectedURL:Oe.redirectedURL!=null&&(rt=Oe.redirectedURL));var At=this._seekHandler.getConfig(rt,ke);this._currentRequestURL=At.url;var Wt=this._reader=new self.MSStreamReader;Wt.onprogress=this._msrOnProgress.bind(this),Wt.onload=this._msrOnLoad.bind(this),Wt.onerror=this._msrOnError.bind(this);var $t=this._xhr=new XMLHttpRequest;if($t.open("GET",At.url,!0),$t.responseType="ms-stream",$t.onreadystatechange=this._xhrOnReadyStateChange.bind(this),$t.onerror=this._xhrOnError.bind(this),Oe.withCredentials&&($t.withCredentials=!0),typeof At.headers=="object"){var Rt=At.headers;for(var zt in Rt)Rt.hasOwnProperty(zt)&&$t.setRequestHeader(zt,Rt[zt])}if(typeof this._config.headers=="object"){var Gt=this._config.headers;for(var Qt in Gt)Gt.hasOwnProperty(Qt)&&$t.setRequestHeader(Qt,Gt[Qt])}this._isReconnecting?this._isReconnecting=!1:this._status=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(Oe){var ke=Oe.target;if(ke.readyState===2)if(ke.status>=200&&ke.status<=299){if(this._status=u.kBuffering,ke.responseURL!=null){var Pe=this._seekHandler.removeURLParameters(ke.responseURL);ke.responseURL!==this._currentRequestURL&&Pe!==this._currentRedirectedURL&&(this._currentRedirectedURL=Pe,this._onURLRedirect&&this._onURLRedirect(Pe))}var rt=ke.getResponseHeader("Content-Length");if(rt!=null&&this._contentLength==null){var At=parseInt(rt);At>0&&(this._contentLength=At,this._onContentLengthKnown&&this._onContentLengthKnown(this._contentLength))}}else if(this._status=u.kError,this._onError)this._onError(p.HTTP_STATUS_CODE_INVALID,{code:ke.status,msg:ke.statusText});else throw new n("MSStreamLoader: Http code invalid, "+ke.status+" "+ke.statusText);else if(ke.readyState===3&&(ke.status>=200&&ke.status<=299)){this._status=u.kBuffering;var Wt=ke.response;this._reader.readAsArrayBuffer(Wt)}}},{key:"_xhrOnError",value:function(Oe){this._status=u.kError;var ke=p.EXCEPTION,Pe={code:-1,msg:Oe.constructor.name+" "+Oe.type};if(this._onError)this._onError(ke,Pe);else throw new n(Pe.msg)}},{key:"_msrOnProgress",value:function(Oe){var ke=Oe.target,Pe=ke.result;if(Pe==null){this._doReconnectIfNeeded();return}var rt=Pe.slice(this._lastTimeBufferSize);this._lastTimeBufferSize=Pe.byteLength;var At=this._totalRange.from+this._receivedLength;this._receivedLength+=rt.byteLength,this._onDataArrival&&this._onDataArrival(rt,At,this._receivedLength),Pe.byteLength>=this._bufferLimit&&(a.v(this.TAG,"MSStream buffer exceeded max size near ".concat(At+rt.byteLength,", reconnecting...")),this._doReconnectIfNeeded())}},{key:"_doReconnectIfNeeded",value:function(){if(this._contentLength==null||this._receivedLength<this._contentLength){this._isReconnecting=!0,this._lastTimeBufferSize=0,this._internalAbort();var Oe={from:this._totalRange.from+this._receivedLength,to:-1};this._internalOpen(this._dataSource,Oe,!0)}}},{key:"_msrOnLoad",value:function(Oe){this._status=u.kComplete,this._onComplete&&this._onComplete(this._totalRange.from,this._totalRange.from+this._receivedLength-1)}},{key:"_msrOnError",value:function(Oe){this._status=u.kError;var ke=0,Pe=null;if(this._contentLength&&this._receivedLength<this._contentLength?(ke=p.EARLY_EOF,Pe={code:-1,msg:"MSStream meet Early-Eof"}):(ke=p.EARLY_EOF,Pe={code:-1,msg:Oe.constructor.name+" "+Oe.type}),this._onError)this._onError(ke,Pe);else throw new n(Pe.msg)}}]),$}(x),F=M,P=function(de){Object(o.a)($,de);var xe=Object(d.a)($);Object(f.a)($,null,[{key:"isSupported",value:function(){try{var Oe=new XMLHttpRequest;return Oe.open("GET","https://example.com",!0),Oe.responseType="arraybuffer",Oe.responseType==="arraybuffer"}catch(ke){return a.w("RangeLoader",ke.message),!1}}}]);function $(se,Oe){var ke;return Object(g.a)(this,$),ke=xe.call(this,"xhr-range-loader"),ke.TAG="RangeLoader",ke._seekHandler=se,ke._config=Oe,ke._needStash=!1,ke._chunkSizeKBList=[128,256,384,512,768,1024,1536,2048,3072,4096,5120,6144,7168,8192],ke._currentChunkSizeKB=384,ke._currentSpeedNormalized=0,ke._zeroSpeedChunkCount=0,ke._xhr=null,ke._speedSampler=new r,ke._requestAbort=!1,ke._waitForTotalLength=!1,ke._totalLengthReceived=!1,ke._currentRequestURL=null,ke._currentRedirectedURL=null,ke._currentRequestRange=null,ke._totalLength=null,ke._contentLength=null,ke._receivedLength=0,ke._lastTimeLoaded=0,ke}return Object(f.a)($,[{key:"destroy",value:function(){this.isWorking()&&this.abort(),this._xhr&&(this._xhr.onreadystatechange=null,this._xhr.onprogress=null,this._xhr.onload=null,this._xhr.onerror=null,this._xhr=null),w(Object(S.a)($.prototype),"destroy",this).call(this)}},{key:"open",value:function(Oe,ke){this._dataSource=Oe,this._range=ke,this._status=u.kConnecting;var Pe=!1;this._dataSource.filesize!=null&&this._dataSource.filesize!==0&&(Pe=!0,this._totalLength=this._dataSource.filesize),!this._totalLengthReceived&&!Pe?(this._waitForTotalLength=!0,this._internalOpen(this._dataSource,{from:0,to:-1})):this._openSubRange()}},{key:"_openSubRange",value:function(){var Oe=this._currentChunkSizeKB*1024,ke=this._range.from+this._receivedLength,Pe=ke+Oe;this._contentLength!=null&&(Pe-this._range.from>=this._contentLength&&(Pe=this._range.from+this._contentLength-1)),this._currentRequestRange={from:ke,to:Pe},this._internalOpen(this._dataSource,this._currentRequestRange)}},{key:"_internalOpen",value:function(Oe,ke){this._lastTimeLoaded=0;var Pe=Oe.url;this._config.reuseRedirectedURL&&(this._currentRedirectedURL!=null?Pe=this._currentRedirectedURL:Oe.redirectedURL!=null&&(Pe=Oe.redirectedURL));var rt=this._seekHandler.getConfig(Pe,ke);this._currentRequestURL=rt.url;var At=this._xhr=new XMLHttpRequest;if(At.open("GET",rt.url,!0),At.responseType="arraybuffer",At.onreadystatechange=this._onReadyStateChange.bind(this),At.onprogress=this._onProgress.bind(this),At.onload=this._onLoad.bind(this),At.onerror=this._onXhrError.bind(this),Oe.withCredentials&&(At.withCredentials=!0),typeof rt.headers=="object"){var Wt=rt.headers;for(var $t in Wt)Wt.hasOwnProperty($t)&&At.setRequestHeader($t,Wt[$t])}if(typeof this._config.headers=="object"){var Rt=this._config.headers;for(var zt in Rt)Rt.hasOwnProperty(zt)&&At.setRequestHeader(zt,Rt[zt])}At.send()}},{key:"abort",value:function(){this._requestAbort=!0,this._internalAbort(),this._status=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(Oe){var ke=Oe.target;if(ke.readyState===2){if(ke.responseURL!=null){var Pe=this._seekHandler.removeURLParameters(ke.responseURL);ke.responseURL!==this._currentRequestURL&&Pe!==this._currentRedirectedURL&&(this._currentRedirectedURL=Pe,this._onURLRedirect&&this._onURLRedirect(Pe))}if(ke.status>=200&&ke.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:ke.status,msg:ke.statusText});else throw new n("RangeLoader: Http code invalid, "+ke.status+" "+ke.statusText)}}},{key:"_onProgress",value:function(Oe){if(this._status===u.kError)return;if(this._contentLength===null){var ke=!1;if(this._waitForTotalLength){this._waitForTotalLength=!1,this._totalLengthReceived=!0,ke=!0;var Pe=Oe.total;this._internalAbort(),Pe!=null&Pe!==0&&(this._totalLength=Pe)}if(this._range.to===-1?this._contentLength=this._totalLength-this._range.from:this._contentLength=this._range.to-this._range.from+1,ke){this._openSubRange();return}this._onContentLengthKnown&&this._onContentLengthKnown(this._contentLength)}var rt=Oe.loaded-this._lastTimeLoaded;this._lastTimeLoaded=Oe.loaded,this._speedSampler.addBytes(rt)}},{key:"_normalizeSpeed",value:function(Oe){var ke=this._chunkSizeKBList,Pe=ke.length-1,rt=0,At=0,Wt=Pe;if(Oe<ke[0])return ke[0];for(;At<=Wt;){if(rt=At+Math.floor((Wt-At)/2),rt===Pe||Oe>=ke[rt]&&Oe<ke[rt+1])return ke[rt];ke[rt]<Oe?At=rt+1:Wt=rt-1}}},{key:"_onLoad",value:function(Oe){if(this._status===u.kError)return;if(this._waitForTotalLength){this._waitForTotalLength=!1;return}this._lastTimeLoaded=0;var ke=this._speedSampler.lastSecondKBps;if(ke===0&&(this._zeroSpeedChunkCount++,this._zeroSpeedChunkCount>=3&&(ke=this._speedSampler.currentKBps)),ke!==0){var Pe=this._normalizeSpeed(ke);this._currentSpeedNormalized!==Pe&&(this._currentSpeedNormalized=Pe,this._currentChunkSizeKB=Pe)}var rt=Oe.target.response,At=this._range.from+this._receivedLength;this._receivedLength+=rt.byteLength;var Wt=!1;this._contentLength!=null&&this._receivedLength<this._contentLength?this._openSubRange():Wt=!0,this._onDataArrival&&this._onDataArrival(rt,At,this._receivedLength),Wt&&(this._status=u.kComplete,this._onComplete&&this._onComplete(this._range.from,this._range.from+this._receivedLength-1))}},{key:"_onXhrError",value:function(Oe){this._status=u.kError;var ke=0,Pe=null;if(this._contentLength&&this._receivedLength>0&&this._receivedLength<this._contentLength?(ke=p.EARLY_EOF,Pe={code:-1,msg:"RangeLoader meet Early-Eof"}):(ke=p.EXCEPTION,Pe={code:-1,msg:Oe.constructor.name+" "+Oe.type}),this._onError)this._onError(ke,Pe);else throw new n(Pe.msg)}},{key:"currentSpeed",get:function(){return this._speedSampler.lastSecondKBps}}]),$}(x),j=P,K=function(de){Object(o.a)($,de);var xe=Object(d.a)($);Object(f.a)($,null,[{key:"isSupported",value:function(){try{return typeof self.WebSocket!="undefined"}catch(Oe){return!1}}}]);function $(){var se;return Object(g.a)(this,$),se=xe.call(this,"websocket-loader"),se.TAG="WebSocketLoader",se._needStash=!0,se._ws=null,se._requestAbort=!1,se._receivedLength=0,se}return Object(f.a)($,[{key:"destroy",value:function(){this._ws&&this.abort(),w(Object(S.a)($.prototype),"destroy",this).call(this)}},{key:"open",value:function(Oe){try{var ke=this._ws=new self.WebSocket(Oe.url);ke.binaryType="arraybuffer",ke.onopen=this._onWebSocketOpen.bind(this),ke.onclose=this._onWebSocketClose.bind(this),ke.onmessage=this._onWebSocketMessage.bind(this),ke.onerror=this._onWebSocketError.bind(this),this._status=u.kConnecting}catch(rt){this._status=u.kError;var Pe={code:rt.code,msg:rt.message};if(this._onError)this._onError(p.EXCEPTION,Pe);else throw new n(Pe.msg)}}},{key:"abort",value:function(){var Oe=this._ws;Oe&&(Oe.readyState===0||Oe.readyState===1)&&(this._requestAbort=!0,Oe.close()),this._ws=null,this._status=u.kComplete}},{key:"_onWebSocketOpen",value:function(Oe){this._status=u.kBuffering}},{key:"_onWebSocketClose",value:function(Oe){if(this._requestAbort===!0){this._requestAbort=!1;return}this._status=u.kComplete,this._onComplete&&this._onComplete(0,this._receivedLength-1)}},{key:"_onWebSocketMessage",value:function(Oe){var ke=this;if(Oe.data instanceof ArrayBuffer)this._dispatchArrayBuffer(Oe.data);else if(Oe.data instanceof Blob){var Pe=new FileReader;Pe.onload=function(){ke._dispatchArrayBuffer(Pe.result)},Pe.readAsArrayBuffer(Oe.data)}else{this._status=u.kError;var rt={code:-1,msg:"Unsupported WebSocket message type: "+Oe.data.constructor.name};if(this._onError)this._onError(p.EXCEPTION,rt);else throw new n(rt.msg)}}},{key:"_dispatchArrayBuffer",value:function(Oe){var ke=Oe,Pe=this._receivedLength;this._receivedLength+=ke.byteLength,this._onDataArrival&&this._onDataArrival(ke,Pe,this._receivedLength)}},{key:"_onWebSocketError",value:function(Oe){this._status=u.kError;var ke={code:Oe.code,msg:Oe.message};if(this._onError)this._onError(p.EXCEPTION,ke);else throw new n(ke.msg)}}]),$}(x),N=K,B=function(){function de(xe){Object(g.a)(this,de),this._zeroStart=xe||!1}return Object(f.a)(de,[{key:"getConfig",value:function($,se){var Oe={};if(se.from!==0||se.to!==-1){var ke;se.to!==-1?ke="bytes=".concat(se.from.toString(),"-").concat(se.to.toString()):ke="bytes=".concat(se.from.toString(),"-"),Oe.Range=ke}else this._zeroStart&&(Oe.Range="bytes=0-");return{url:$,headers:Oe}}},{key:"removeURLParameters",value:function($){return $}}]),de}(),U=B,H=function(){function de(xe,$){Object(g.a)(this,de),this._startName=xe,this._endName=$}return Object(f.a)(de,[{key:"getConfig",value:function($,se){var Oe=$;if(se.from!==0||se.to!==-1){var ke=!0;Oe.indexOf("?")===-1&&(Oe+="?",ke=!1),ke&&(Oe+="&"),Oe+="".concat(this._startName,"=").concat(se.from.toString()),se.to!==-1&&(Oe+="&".concat(this._endName,"=").concat(se.to.toString()))}return{url:Oe,headers:{}}}},{key:"removeURLParameters",value:function($){var se=$.split("?")[0],Oe=void 0,ke=$.indexOf("?");ke!==-1&&(Oe=$.substring(ke+1));var Pe="";if(Oe!=null&&Oe.length>0)for(var rt=Oe.split("&"),At=0;At<rt.length;At++){var Wt=rt[At].split("="),$t=At>0;Wt[0]!==this._startName&&Wt[0]!==this._endName&&($t&&(Pe+="&"),Pe+=rt[At])}return Pe.length===0?se:se+"?"+Pe}}]),de}(),z=H,X=function(){function de(xe,$,se){Object(g.a)(this,de),this.TAG="IOController",this._config=$,this._extraData=se,this._stashInitialSize=1024*384,$.stashInitialSize!=null&&$.stashInitialSize>0&&(this._stashInitialSize=$.stashInitialSize),this._stashUsed=0,this._stashSize=this._stashInitialSize,this._bufferSize=1024*1024*3,this._stashBuffer=new ArrayBuffer(this._bufferSize),this._stashByteStart=0,this._enableStash=!0,$.enableStashBuffer===!1&&(this._enableStash=!1),this._loader=null,this._loaderClass=null,this._seekHandler=null,this._dataSource=xe,this._isWebSocketURL=/wss?:\/\/(.+?)/.test(xe.url),this._refTotalLength=xe.filesize?xe.filesize:null,this._totalLength=this._refTotalLength,this._fullRequestFlag=!1,this._currentRange=null,this._redirectedURL=null,this._speedNormalized=0,this._speedSampler=new r,this._speedNormalizeList=[64,128,256,384,512,768,1024,1536,2048,3072,4096],this._isEarlyEofReconnecting=!1,this._paused=!1,this._resumeFrom=0,this._onDataArrival=null,this._onSeeked=null,this._onError=null,this._onComplete=null,this._onRedirect=null,this._onRecoveredEarlyEof=null,this._selectSeekHandler(),this._selectLoader(),this._createLoader()}return Object(f.a)(de,[{key:"destroy",value:function(){this._loader.isWorking()&&this._loader.abort(),this._loader.destroy(),this._loader=null,this._loaderClass=null,this._dataSource=null,this._stashBuffer=null,this._stashUsed=this._stashSize=this._bufferSize=this._stashByteStart=0,this._currentRange=null,this._speedSampler=null,this._isEarlyEofReconnecting=!1,this._onDataArrival=null,this._onSeeked=null,this._onError=null,this._onComplete=null,this._onRedirect=null,this._onRecoveredEarlyEof=null,this._extraData=null}},{key:"isWorking",value:function(){return this._loader&&this._loader.isWorking()&&!this._paused}},{key:"isPaused",value:function(){return this._paused}},{key:"_selectSeekHandler",value:function(){var $=this._config;if($.seekType==="range")this._seekHandler=new U(this._config.rangeLoadZeroStart);else if($.seekType==="param"){var se=$.seekParamStart||"bstart",Oe=$.seekParamEnd||"bend";this._seekHandler=new z(se,Oe)}else if($.seekType==="custom"){if(typeof $.customSeekHandler!="function")throw new t("Custom seekType specified in config but invalid customSeekHandler!");this._seekHandler=new $.customSeekHandler}else throw new t("Invalid seekType in config: ".concat($.seekType))}},{key:"_selectLoader",value:function(){if(this._config.customLoader!=null)this._loaderClass=this._config.customLoader;else if(this._isWebSocketURL)this._loaderClass=N;else if(b.isSupported())this._loaderClass=b;else if(I.isSupported())this._loaderClass=I;else if(j.isSupported())this._loaderClass=j;else throw new n("Your browser doesn't support xhr with arraybuffer responseType!")}},{key:"_createLoader",value:function(){this._loader=new this._loaderClass(this._seekHandler,this._config),this._loader.needStashBuffer===!1&&(this._enableStash=!1),this._loader.onContentLengthKnown=this._onContentLengthKnown.bind(this),this._loader.onURLRedirect=this._onURLRedirect.bind(this),this._loader.onDataArrival=this._onLoaderChunkArrival.bind(this),this._loader.onComplete=this._onLoaderComplete.bind(this),this._loader.onError=this._onLoaderError.bind(this)}},{key:"open",value:function($){this._currentRange={from:0,to:-1},$&&(this._currentRange.from=$),this._speedSampler.reset(),$||(this._fullRequestFlag=!0),this._loader.open(this._dataSource,Object.assign({},this._currentRange))}},{key:"abort",value:function(){this._loader.abort(),this._paused&&(this._paused=!1,this._resumeFrom=0)}},{key:"pause",value:function(){this.isWorking()&&(this._loader.abort(),this._stashUsed!==0?(this._resumeFrom=this._stashByteStart,this._currentRange.to=this._stashByteStart-1):this._resumeFrom=this._currentRange.to+1,this._stashUsed=0,this._stashByteStart=0,this._paused=!0)}},{key:"resume",value:function(){if(this._paused){this._paused=!1;var $=this._resumeFrom;this._resumeFrom=0,this._internalSeek($,!0)}}},{key:"seek",value:function($){this._paused=!1,this._stashUsed=0,this._stashByteStart=0,this._internalSeek($,!0)}},{key:"_internalSeek",value:function($,se){this._loader.isWorking()&&this._loader.abort(),this._flushStashBuffer(se),this._loader.destroy(),this._loader=null;var Oe={from:$,to:-1};this._currentRange={from:Oe.from,to:-1},this._speedSampler.reset(),this._stashSize=this._stashInitialSize,this._createLoader(),this._loader.open(this._dataSource,Oe),this._onSeeked&&this._onSeeked()}},{key:"updateUrl",value:function($){if(!$||typeof $!="string"||$.length===0)throw new t("Url must be a non-empty string!");this._dataSource.url=$}},{key:"_expandBuffer",value:function($){for(var se=this._stashSize;se+1024*1024*1<$;)se*=2;if(se+=1024*1024*1,se===this._bufferSize)return;var Oe=new ArrayBuffer(se);if(this._stashUsed>0){var ke=new Uint8Array(this._stashBuffer,0,this._stashUsed),Pe=new Uint8Array(Oe,0,se);Pe.set(ke,0)}this._stashBuffer=Oe,this._bufferSize=se}},{key:"_normalizeSpeed",value:function($){var se=this._speedNormalizeList,Oe=se.length-1,ke=0,Pe=0,rt=Oe;if($<se[0])return se[0];for(;Pe<=rt;){if(ke=Pe+Math.floor((rt-Pe)/2),ke===Oe||$>=se[ke]&&$<se[ke+1])return se[ke];se[ke]<$?Pe=ke+1:rt=ke-1}}},{key:"_adjustStashSize",value:function($){var se=0;this._config.isLive||$<512?se=$:$>=512&&$<=1024?se=Math.floor($*1.5):se=$*2,se>8192&&(se=8192);var Oe=se*1024+1024*1024*1;this._bufferSize<Oe&&this._expandBuffer(Oe),this._stashSize=se*1024}},{key:"_dispatchChunks",value:function($,se){return this._currentRange.to=se+$.byteLength-1,this._onDataArrival($,se)}},{key:"_onURLRedirect",value:function($){this._redirectedURL=$,this._onRedirect&&this._onRedirect($)}},{key:"_onContentLengthKnown",value:function($){$&&this._fullRequestFlag&&(this._totalLength=$,this._fullRequestFlag=!1)}},{key:"_onLoaderChunkArrival",value:function($,se,Oe){if(!this._onDataArrival)throw new l("IOController: No existing consumer (onDataArrival) callback!");if(this._paused)return;this._isEarlyEofReconnecting&&(this._isEarlyEofReconnecting=!1,this._onRecoveredEarlyEof&&this._onRecoveredEarlyEof()),this._speedSampler.addBytes($.byteLength);var ke=this._speedSampler.lastSecondKBps;if(ke!==0){var Pe=this._normalizeSpeed(ke);this._speedNormalized!==Pe&&(this._speedNormalized=Pe,this._adjustStashSize(Pe))}if(this._enableStash)if(this._stashUsed===0&&this._stashByteStart===0&&(this._stashByteStart=se),this._stashUsed+$.byteLength<=this._stashSize){var Gt=new Uint8Array(this._stashBuffer,0,this._stashSize);Gt.set(new Uint8Array($),this._stashUsed),this._stashUsed+=$.byteLength}else{var Qt=new Uint8Array(this._stashBuffer,0,this._bufferSize);if(this._stashUsed>0){var Mt=this._stashBuffer.slice(0,this._stashUsed),dr=this._dispatchChunks(Mt,this._stashByteStart);if(dr<Mt.byteLength){if(dr>0){var er=new Uint8Array(Mt,dr);Qt.set(er,0),this._stashUsed=er.byteLength,this._stashByteStart+=dr}}else this._stashUsed=0,this._stashByteStart+=dr;this._stashUsed+$.byteLength>this._bufferSize&&(this._expandBuffer(this._stashUsed+$.byteLength),Qt=new Uint8Array(this._stashBuffer,0,this._bufferSize)),Qt.set(new Uint8Array($),this._stashUsed),this._stashUsed+=$.byteLength}else{var ht=this._dispatchChunks($,se);if(ht<$.byteLength){var Et=$.byteLength-ht;Et>this._bufferSize&&(this._expandBuffer(Et),Qt=new Uint8Array(this._stashBuffer,0,this._bufferSize)),Qt.set(new Uint8Array($,ht),0),this._stashUsed+=Et,this._stashByteStart=se+ht}}}else if(this._stashUsed===0){var rt=this._dispatchChunks($,se);if(rt<$.byteLength){var At=$.byteLength-rt;At>this._bufferSize&&this._expandBuffer(At);var Wt=new Uint8Array(this._stashBuffer,0,this._bufferSize);Wt.set(new Uint8Array($,rt),0),this._stashUsed+=At,this._stashByteStart=se+rt}}else{this._stashUsed+$.byteLength>this._bufferSize&&this._expandBuffer(this._stashUsed+$.byteLength);var $t=new Uint8Array(this._stashBuffer,0,this._bufferSize);$t.set(new Uint8Array($),this._stashUsed),this._stashUsed+=$.byteLength;var Rt=this._dispatchChunks(this._stashBuffer.slice(0,this._stashUsed),this._stashByteStart);if(Rt<this._stashUsed&&Rt>0){var zt=new Uint8Array(this._stashBuffer,Rt);$t.set(zt,0)}this._stashUsed-=Rt,this._stashByteStart+=Rt}}},{key:"_flushStashBuffer",value:function($){if(this._stashUsed>0){var se=this._stashBuffer.slice(0,this._stashUsed),Oe=this._dispatchChunks(se,this._stashByteStart),ke=se.byteLength-Oe;if(Oe<se.byteLength)if($)a.w(this.TAG,"".concat(ke," bytes unconsumed data remain when flush buffer, dropped"));else{if(Oe>0){var Pe=new Uint8Array(this._stashBuffer,0,this._bufferSize),rt=new Uint8Array(se,Oe);Pe.set(rt,0),this._stashUsed=rt.byteLength,this._stashByteStart+=Oe}return 0}return this._stashUsed=0,this._stashByteStart=0,ke}return 0}},{key:"_onLoaderComplete",value:function($,se){this._flushStashBuffer(!0),this._onComplete&&this._onComplete(this._extraData)}},{key:"_onLoaderError",value:function($,se){a.e(this.TAG,"Loader error, code = ".concat(se.code,", msg = ").concat(se.msg)),this._flushStashBuffer(!1),this._isEarlyEofReconnecting&&(this._isEarlyEofReconnecting=!1,$=p.UNRECOVERABLE_EARLY_EOF);switch($){case p.EARLY_EOF:{if(!this._config.isLive&&this._totalLength){var Oe=this._currentRange.to+1;Oe<this._totalLength&&(a.w(this.TAG,"Connection lost, trying reconnect..."),this._isEarlyEofReconnecting=!0,this._internalSeek(Oe,!1));return}$=p.UNRECOVERABLE_EARLY_EOF;break}case p.UNRECOVERABLE_EARLY_EOF:case p.CONNECTING_TIMEOUT:case p.HTTP_STATUS_CODE_INVALID:case p.EXCEPTION:break}if(this._onError)this._onError($,se);else throw new n("IOException: "+se.msg)}},{key:"status",get:function(){return this._loader.status}},{key:"extraData",get:function(){return this._extraData},set:function($){this._extraData=$}},{key:"onDataArrival",get:function(){return this._onDataArrival},set:function($){this._onDataArrival=$}},{key:"onSeeked",get:function(){return this._onSeeked},set:function($){this._onSeeked=$}},{key:"onError",get:function(){return this._onError},set:function($){this._onError=$}},{key:"onComplete",get:function(){return this._onComplete},set:function($){this._onComplete=$}},{key:"onRedirect",get:function(){return this._onRedirect},set:function($){this._onRedirect=$}},{key:"onRecoveredEarlyEof",get:function(){return this._onRecoveredEarlyEof},set:function($){this._onRecoveredEarlyEof=$}},{key:"currentURL",get:function(){return this._dataSource.url}},{key:"hasRedirect",get:function(){return this._redirectedURL!=null||this._dataSource.redirectedURL!=null}},{key:"currentRedirectedURL",get:function(){return this._redirectedURL||this._dataSource.redirectedURL}},{key:"currentSpeed",get:function(){return this._loaderClass===j?this._loader.currentSpeed:this._speedSampler.lastSecondKBps}},{key:"loaderType",get:function(){return this._loader.type}}]),de}(),W=X,Y={enableWorker:!1,enableStashBuffer:!0,stashInitialSize:void 0,isLive:!1,lazyLoad:!0,lazyLoadMaxDuration:3*60,lazyLoadRecoverDuration:30,deferLoadAfterSourceOpen:!0,autoCleanupMaxBackwardDuration:3*60,autoCleanupMinBackwardDuration:2*60,statisticsInfoReportInterval:600,fixAudioTimestampGap:!0,accurateSeek:!1,seekType:"range",seekParamStart:"bstart",seekParamEnd:"bend",rangeLoadZeroStart:!1,customSeekHandler:void 0,reuseRedirectedURL:!1,headers:void 0,customLoader:void 0};function q(){return Object.assign({},Y)}var me=function(){function de(){Object(g.a)(this,de)}return Object(f.a)(de,null,[{key:"supportMSEH264Playback",value:function(){return window.MediaSource&&window.MediaSource.isTypeSupported('video/mp4; codecs="avc1.42E01E,mp4a.40.2"')}},{key:"supportNetworkStreamIO",value:function(){var $=new W({},q()),se=$.loaderType;return $.destroy(),se=="fetch-stream-loader"||se=="xhr-moz-chunked-loader"}},{key:"getNetworkLoaderTypeName",value:function(){var $=new W({},q()),se=$.loaderType;return $.destroy(),se}},{key:"supportNativeMediaPlayback",value:function($){de.videoElement==null&&(de.videoElement=window.document.createElement("video"));var se=de.videoElement.canPlayType($);return se==="probably"||se=="maybe"}},{key:"getFeatureList",value:function(){var $={mseFlvPlayback:!1,mseLiveFlvPlayback:!1,networkStreamIO:!1,networkLoaderName:"",nativeMP4H264Playback:!1,nativeWebmVP8Playback:!1,nativeWebmVP9Playback:!1};return $.mseFlvPlayback=de.supportMSEH264Playback(),$.networkStreamIO=de.supportNetworkStreamIO(),$.networkLoaderName=de.getNetworkLoaderTypeName(),$.mseLiveFlvPlayback=$.mseFlvPlayback&&$.networkStreamIO,$.nativeMP4H264Playback=de.supportNativeMediaPlayback('video/mp4; codecs="avc1.42001E, mp4a.40.2"'),$.nativeWebmVP8Playback=de.supportNativeMediaPlayback('video/webm; codecs="vp8.0, vorbis"'),$.nativeWebmVP9Playback=de.supportNativeMediaPlayback('video/webm; codecs="vp9"'),$}}]),de}(),G=me,ye={ERROR:"error",LOADING_COMPLETE:"loading_complete",RECOVERED_EARLY_EOF:"recovered_early_eof",MEDIA_INFO:"media_info",METADATA_ARRIVED:"metadata_arrived",SCRIPTDATA_ARRIVED:"scriptdata_arrived",STATISTICS_INFO:"statistics_info"},Ae=ye,ve=function(){function de(){Object(g.a)(this,de)}return Object(f.a)(de,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($){a.GLOBAL_TAG=$.globalTag,a.FORCE_GLOBAL_TAG=$.forceGlobalTag,a.ENABLE_VERBOSE=$.enableVerbose,a.ENABLE_DEBUG=$.enableDebug,a.ENABLE_INFO=$.enableInfo,a.ENABLE_WARN=$.enableWarn,a.ENABLE_ERROR=$.enableError,a.ENABLE_CALLBACK=$.enableCallback}},{key:"_notifyChange",value:function(){var $=de.emitter;if($.listenerCount("change")>0){var se=de.getConfig();$.emit("change",se)}}},{key:"registerListener",value:function($){de.emitter.addListener("change",$)}},{key:"removeListener",value:function($){de.emitter.removeListener("change",$)}},{key:"addLogListener",value:function($){a.emitter.addListener("log",$),a.emitter.listenerCount("log")>0&&(a.ENABLE_CALLBACK=!0,de._notifyChange())}},{key:"removeLogListener",value:function($){a.emitter.removeListener("log",$),a.emitter.listenerCount("log")===0&&(a.ENABLE_CALLBACK=!1,de._notifyChange())}},{key:"forceGlobalTag",get:function(){return a.FORCE_GLOBAL_TAG},set:function($){a.FORCE_GLOBAL_TAG=$,de._notifyChange()}},{key:"globalTag",get:function(){return a.GLOBAL_TAG},set:function($){a.GLOBAL_TAG=$,de._notifyChange()}},{key:"enableAll",get:function(){return a.ENABLE_VERBOSE&&a.ENABLE_DEBUG&&a.ENABLE_INFO&&a.ENABLE_WARN&&a.ENABLE_ERROR},set:function($){a.ENABLE_VERBOSE=$,a.ENABLE_DEBUG=$,a.ENABLE_INFO=$,a.ENABLE_WARN=$,a.ENABLE_ERROR=$,de._notifyChange()}},{key:"enableDebug",get:function(){return a.ENABLE_DEBUG},set:function($){a.ENABLE_DEBUG=$,de._notifyChange()}},{key:"enableVerbose",get:function(){return a.ENABLE_VERBOSE},set:function($){a.ENABLE_VERBOSE=$,de._notifyChange()}},{key:"enableInfo",get:function(){return a.ENABLE_INFO},set:function($){a.ENABLE_INFO=$,de._notifyChange()}},{key:"enableWarn",get:function(){return a.ENABLE_WARN},set:function($){a.ENABLE_WARN=$,de._notifyChange()}},{key:"enableError",get:function(){return a.ENABLE_ERROR},set:function($){a.ENABLE_ERROR=$,de._notifyChange()}}]),de}();ve.emitter=new h.a;var Ue=ve,Me=function(){function de(){Object(g.a)(this,de),this.mimeType=null,this.duration=null,this.hasAudio=null,this.hasVideo=null,this.audioCodec=null,this.videoCodec=null,this.audioDataRate=null,this.videoDataRate=null,this.audioSampleRate=null,this.audioChannelCount=null,this.width=null,this.height=null,this.fps=null,this.profile=null,this.level=null,this.refFrames=null,this.chromaFormat=null,this.sarNum=null,this.sarDen=null,this.metadata=null,this.segments=null,this.segmentCount=null,this.hasKeyframesIndex=null,this.keyframesIndex=null}return Object(f.a)(de,[{key:"isComplete",value:function(){var $=this.hasAudio===!1||this.hasAudio===!0&&this.audioCodec!=null&&this.audioSampleRate!=null&&this.audioChannelCount!=null,se=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&&$&&se}},{key:"isSeekable",value:function(){return this.hasKeyframesIndex===!0}},{key:"getNearestKeyframe",value:function($){if(this.keyframesIndex==null)return null;var se=this.keyframesIndex,Oe=this._search(se.times,$);return{index:Oe,milliseconds:se.times[Oe],fileposition:se.filepositions[Oe]}}},{key:"_search",value:function($,se){var Oe=0,ke=$.length-1,Pe=0,rt=0,At=ke;for(se<$[0]&&(Oe=0,rt=At+1);rt<=At;)if(Pe=rt+Math.floor((At-rt)/2),Pe===ke||se>=$[Pe]&&se<$[Pe+1]){Oe=Pe;break}else $[Pe]<se?rt=Pe+1:At=Pe-1;return Oe}}]),de}(),nt=Me;function ne(de,xe,$){var se=de;if(xe+$<se.length){for(;$--;)if((se[++xe]&192)!==128)return!1;return!0}else return!1}function be(de){for(var xe=[],$=de,se=0,Oe=de.length;se<Oe;){if($[se]<128){xe.push(String.fromCharCode($[se])),++se;continue}else if(!($[se]<192)){if($[se]<224){if(ne($,se,1)){var ke=($[se]&31)<<6|$[se+1]&63;if(ke>=128){xe.push(String.fromCharCode(ke&65535)),se+=2;continue}}}else if($[se]<240){if(ne($,se,2)){var Pe=($[se]&15)<<12|($[se+1]&63)<<6|$[se+2]&63;if(Pe>=2048&&(Pe&63488)!==55296){xe.push(String.fromCharCode(Pe&65535)),se+=3;continue}}}else if($[se]<248&&ne($,se,3)){var rt=($[se]&7)<<18|($[se+1]&63)<<12|($[se+2]&63)<<6|$[se+3]&63;if(rt>65536&&rt<1114112){rt-=65536,xe.push(String.fromCharCode(rt>>>10|55296)),xe.push(String.fromCharCode(rt&1023|56320)),se+=4;continue}}}xe.push(String.fromCharCode(65533)),++se}return xe.join("")}var ot=be,ue=function(){var de=new ArrayBuffer(2);return new DataView(de).setInt16(0,256,!0),new Int16Array(de)[0]===256}(),Q=function(){function de(){Object(g.a)(this,de)}return Object(f.a)(de,null,[{key:"parseScriptData",value:function($,se,Oe){var ke={};try{var Pe=de.parseValue($,se,Oe),rt=de.parseValue($,se+Pe.size,Oe-Pe.size);ke[Pe.data]=rt.data}catch(At){a.e("AMF",At.toString())}return ke}},{key:"parseObject",value:function($,se,Oe){if(Oe<3)throw new l("Data not enough when parse ScriptDataObject");var ke=de.parseString($,se,Oe),Pe=de.parseValue($,se+ke.size,Oe-ke.size),rt=Pe.objectEnd;return{data:{name:ke.data,value:Pe.data},size:ke.size+Pe.size,objectEnd:rt}}},{key:"parseVariable",value:function($,se,Oe){return de.parseObject($,se,Oe)}},{key:"parseString",value:function($,se,Oe){if(Oe<2)throw new l("Data not enough when parse String");var ke=new DataView($,se,Oe),Pe=ke.getUint16(0,!ue),rt;return Pe>0?rt=ot(new Uint8Array($,se+2,Pe)):rt="",{data:rt,size:2+Pe}}},{key:"parseLongString",value:function($,se,Oe){if(Oe<4)throw new l("Data not enough when parse LongString");var ke=new DataView($,se,Oe),Pe=ke.getUint32(0,!ue),rt;return Pe>0?rt=ot(new Uint8Array($,se+4,Pe)):rt="",{data:rt,size:4+Pe}}},{key:"parseDate",value:function($,se,Oe){if(Oe<10)throw new l("Data size invalid when parse Date");var ke=new DataView($,se,Oe),Pe=ke.getFloat64(0,!ue),rt=ke.getInt16(8,!ue);return Pe+=rt*60*1e3,{data:new Date(Pe),size:8+2}}},{key:"parseValue",value:function($,se,Oe){if(Oe<1)throw new l("Data not enough when parse Value");var ke=new DataView($,se,Oe),Pe=1,rt=ke.getUint8(0),At,Wt=!1;try{switch(rt){case 0:At=ke.getFloat64(1,!ue),Pe+=8;break;case 1:{var $t=ke.getUint8(1);At=!!$t,Pe+=1;break}case 2:{var Rt=de.parseString($,se+1,Oe-1);At=Rt.data,Pe+=Rt.size;break}case 3:{At={};var zt=0;for((ke.getUint32(Oe-4,!ue)&16777215)===9&&(zt=3);Pe<Oe-4;){var Gt=de.parseObject($,se+Pe,Oe-Pe-zt);if(Gt.objectEnd)break;At[Gt.data.name]=Gt.data.value,Pe+=Gt.size}if(Pe<=Oe-3){var Qt=ke.getUint32(Pe-1,!ue)&16777215;Qt===9&&(Pe+=3)}break}case 8:{At={},Pe+=4;var Mt=0;for((ke.getUint32(Oe-4,!ue)&16777215)===9&&(Mt=3);Pe<Oe-8;){var dr=de.parseVariable($,se+Pe,Oe-Pe-Mt);if(dr.objectEnd)break;At[dr.data.name]=dr.data.value,Pe+=dr.size}if(Pe<=Oe-3){var er=ke.getUint32(Pe-1,!ue)&16777215;er===9&&(Pe+=3)}break}case 9:At=void 0,Pe=1,Wt=!0;break;case 10:{At=[];var ht=ke.getUint32(1,!ue);Pe+=4;for(var Et=0;Et<ht;Et++){var pt=de.parseValue($,se+Pe,Oe-Pe);At.push(pt.data),Pe+=pt.size}break}case 11:{var vt=de.parseDate($,se+1,Oe-1);At=vt.data,Pe+=vt.size;break}case 12:{var Nt=de.parseString($,se+1,Oe-1);At=Nt.data,Pe+=Nt.size;break}default:Pe=Oe,a.w("AMF","Unsupported AMF value type "+rt)}}catch(_t){a.e("AMF",_t.toString())}return{data:At,size:Pe,objectEnd:Wt}}}]),de}(),V=Q,J=function(){function de(xe){Object(g.a)(this,de),this.TAG="ExpGolomb",this._buffer=xe,this._buffer_index=0,this._total_bytes=xe.byteLength,this._total_bits=xe.byteLength*8,this._current_word=0,this._current_word_bits_left=0}return Object(f.a)(de,[{key:"destroy",value:function(){this._buffer=null}},{key:"_fillCurrentWord",value:function(){var $=this._total_bytes-this._buffer_index;if($<=0)throw new l("ExpGolomb: _fillCurrentWord() but no bytes available");var se=Math.min(4,$),Oe=new Uint8Array(4);Oe.set(this._buffer.subarray(this._buffer_index,this._buffer_index+se)),this._current_word=new DataView(Oe.buffer).getUint32(0,!1),this._buffer_index+=se,this._current_word_bits_left=se*8}},{key:"readBits",value:function($){if($>32)throw new t("ExpGolomb: readBits() bits exceeded max 32bits!");if($<=this._current_word_bits_left){var se=this._current_word>>>32-$;return this._current_word<<=$,this._current_word_bits_left-=$,se}var Oe=this._current_word_bits_left?this._current_word:0;Oe=Oe>>>32-this._current_word_bits_left;var ke=$-this._current_word_bits_left;this._fillCurrentWord();var Pe=Math.min(ke,this._current_word_bits_left),rt=this._current_word>>>32-Pe;return this._current_word<<=Pe,this._current_word_bits_left-=Pe,Oe=Oe<<Pe|rt,Oe}},{key:"readBool",value:function(){return this.readBits(1)===1}},{key:"readByte",value:function(){return this.readBits(8)}},{key:"_skipLeadingZero",value:function(){var $;for($=0;$<this._current_word_bits_left;$++)if((this._current_word&2147483648>>>$)!==0)return this._current_word<<=$,this._current_word_bits_left-=$,$;return this._fillCurrentWord(),$+this._skipLeadingZero()}},{key:"readUEG",value:function(){var $=this._skipLeadingZero();return this.readBits($+1)-1}},{key:"readSEG",value:function(){var $=this.readUEG();return $&1?$+1>>>1:-1*($>>>1)}}]),de}(),fe=J,oe=function(){function de(){Object(g.a)(this,de)}return Object(f.a)(de,null,[{key:"_ebsp2rbsp",value:function($){for(var se=$,Oe=se.byteLength,ke=new Uint8Array(Oe),Pe=0,rt=0;rt<Oe;rt++){if(rt>=2&&(se[rt]===3&&se[rt-1]===0&&se[rt-2]===0))continue;ke[Pe]=se[rt],Pe++}return new Uint8Array(ke.buffer,0,Pe)}},{key:"parseSPS",value:function($){var se=de._ebsp2rbsp($),Oe=new fe(se);Oe.readByte();var ke=Oe.readByte();Oe.readByte();var Pe=Oe.readByte();Oe.readUEG();var rt=de.getProfileString(ke),At=de.getLevelString(Pe),Wt=1,$t=420,Rt=[0,420,422,444],zt=8;if((ke===100||ke===110||ke===122||ke===244||ke===44||ke===83||ke===86||ke===118||ke===128||ke===138||ke===144)&&(Wt=Oe.readUEG(),Wt===3&&Oe.readBits(1),Wt<=3&&($t=Rt[Wt]),zt=Oe.readUEG()+8,Oe.readUEG(),Oe.readBits(1),Oe.readBool()))for(var Gt=Wt!==3?8:12,Qt=0;Qt<Gt;Qt++)Oe.readBool()&&(Qt<6?de._skipScalingList(Oe,16):de._skipScalingList(Oe,64));Oe.readUEG();var Mt=Oe.readUEG();if(Mt===0)Oe.readUEG();else if(Mt===1){Oe.readBits(1),Oe.readSEG(),Oe.readSEG();for(var dr=Oe.readUEG(),er=0;er<dr;er++)Oe.readSEG()}var ht=Oe.readUEG();Oe.readBits(1);var Et=Oe.readUEG(),pt=Oe.readUEG(),vt=Oe.readBits(1);vt===0&&Oe.readBits(1),Oe.readBits(1);var Nt=0,_t=0,gt=0,Ht=0,kt=Oe.readBool();kt&&(Nt=Oe.readUEG(),_t=Oe.readUEG(),gt=Oe.readUEG(),Ht=Oe.readUEG());var ir=1,Xt=1,mr=0,Ar=!0,Nr=0,kr=0,tn=Oe.readBool();if(tn){if(Oe.readBool()){var qr=Oe.readByte(),_r=[1,12,10,16,40,24,20,32,80,18,15,64,160,4,3,2],Qr=[1,11,11,11,33,11,11,11,33,11,11,33,99,3,2,1];qr>0&&qr<16?(ir=_r[qr-1],Xt=Qr[qr-1]):qr===255&&(ir=Oe.readByte()<<8|Oe.readByte(),Xt=Oe.readByte()<<8|Oe.readByte())}if(Oe.readBool()&&Oe.readBool(),Oe.readBool()&&(Oe.readBits(4),Oe.readBool()&&Oe.readBits(24)),Oe.readBool()&&(Oe.readUEG(),Oe.readUEG()),Oe.readBool()){var Lr=Oe.readBits(32),ur=Oe.readBits(32);Ar=Oe.readBool(),Nr=ur,kr=Lr*2,mr=Nr/kr}}var pr=1;(ir!==1||Xt!==1)&&(pr=ir/Xt);var cr=0,fr=0;if(Wt===0)cr=1,fr=2-vt;else{var xr=Wt===3?1:2,Yr=Wt===1?2:1;cr=xr,fr=Yr*(2-vt)}var un=(Et+1)*16,Nn=(2-vt)*((pt+1)*16);un-=(Nt+_t)*cr,Nn-=(gt+Ht)*fr;var jr=Math.ceil(un*pr);return Oe.destroy(),Oe=null,{profile_string:rt,level_string:At,bit_depth:zt,ref_frames:ht,chroma_format:$t,chroma_format_string:de.getChromaFormatString($t),frame_rate:{fixed:Ar,fps:mr,fps_den:kr,fps_num:Nr},sar_ratio:{width:ir,height:Xt},codec_size:{width:un,height:Nn},present_size:{width:jr,height:Nn}}}},{key:"_skipScalingList",value:function($,se){for(var Oe=8,ke=8,Pe=0,rt=0;rt<se;rt++)ke!==0&&(Pe=$.readSEG(),ke=(Oe+Pe+256)%256),Oe=ke===0?Oe:ke}},{key:"getProfileString",value:function($){switch($){case 66:return"Baseline";case 77:return"Main";case 88:return"Extended";case 100:return"High";case 110:return"High10";case 122:return"High422";case 244:return"High444";default:return"Unknown"}}},{key:"getLevelString",value:function($){return($/10).toFixed(1)}},{key:"getChromaFormatString",value:function($){switch($){case 420:return"4:2:0";case 422:return"4:2:2";case 444:return"4:4:4";default:return"Unknown"}}}]),de}(),Le=oe,he={OK:"OK",FORMAT_ERROR:"FormatError",FORMAT_UNSUPPORTED:"FormatUnsupported",CODEC_UNSUPPORTED:"CodecUnsupported"},te=he;function Z(de){return de>>>8&255|(de&255)<<8}function ge(de){return(de&4278190080)>>>24|(de&16711680)>>>8|(de&65280)<<8|(de&255)<<24}function Re(de,xe){return de[xe]<<24|de[xe+1]<<16|de[xe+2]<<8|de[xe+3]}var ze=function(){function de(xe,$){Object(g.a)(this,de),this.TAG="FLVDemuxer",this._config=$,this._onError=null,this._onMediaInfo=null,this._onMetaDataArrived=null,this._onScriptDataArrived=null,this._onTrackMetadata=null,this._onDataAvailable=null,this._dataOffset=xe.dataOffset,this._firstParse=!0,this._dispatch=!1,this._hasAudio=xe.hasAudioTrack,this._hasVideo=xe.hasVideoTrack,this._hasAudioFlagOverrided=!1,this._hasVideoFlagOverrided=!1,this._audioInitialMetadataDispatched=!1,this._videoInitialMetadataDispatched=!1,this._mediaInfo=new nt,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 se=new ArrayBuffer(2);return new DataView(se).setInt16(0,256,!0),new Int16Array(se)[0]===256}()}return Object(f.a)(de,[{key:"destroy",value:function(){this._mediaInfo=null,this._metadata=null,this._audioMetadata=null,this._videoMetadata=null,this._videoTrack=null,this._audioTrack=null,this._onError=null,this._onMediaInfo=null,this._onMetaDataArrived=null,this._onScriptDataArrived=null,this._onTrackMetadata=null,this._onDataAvailable=null}},{key:"bindDataSource",value:function($){return $.onDataArrival=this.parseChunks.bind(this),this}},{key:"resetMediaInfo",value:function(){this._mediaInfo=new nt}},{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($,se){if(!this._onError||!this._onMediaInfo||!this._onTrackMetadata||!this._onDataAvailable)throw new l("Flv: onError & onMediaInfo & onTrackMetadata & onDataAvailable callback must be specified");var Oe=0,ke=this._littleEndian;if(se===0)if($.byteLength>13){var Pe=de.probe($);Oe=Pe.dataOffset}else return 0;if(this._firstParse){this._firstParse=!1,se+Oe!==this._dataOffset&&a.w(this.TAG,"First time parsing but chunk byteStart invalid!");var rt=new DataView($,Oe),At=rt.getUint32(0,!ke);At!==0&&a.w(this.TAG,"PrevTagSize0 !== 0 !!!"),Oe+=4}for(;Oe<$.byteLength;){this._dispatch=!0;var Wt=new DataView($,Oe);if(Oe+11+4>$.byteLength)break;var $t=Wt.getUint8(0),Rt=Wt.getUint32(0,!ke)&16777215;if(Oe+11+Rt+4>$.byteLength)break;if($t!==8&&$t!==9&&$t!==18){a.w(this.TAG,"Unsupported tag type ".concat($t,", skipped")),Oe+=11+Rt+4;continue}var zt=Wt.getUint8(4),Gt=Wt.getUint8(5),Qt=Wt.getUint8(6),Mt=Wt.getUint8(7),dr=Qt|Gt<<8|zt<<16|Mt<<24,er=Wt.getUint32(7,!ke)&16777215;er!==0&&a.w(this.TAG,"Meet tag which has StreamID != 0!");var ht=Oe+11;switch($t){case 8:this._parseAudioData($,ht,Rt,dr);break;case 9:this._parseVideoData($,ht,Rt,dr,se+Oe);break;case 18:this._parseScriptData($,ht,Rt);break}var Et=Wt.getUint32(11+Rt,!ke);Et!==11+Rt&&a.w(this.TAG,"Invalid PrevTagSize ".concat(Et)),Oe+=11+Rt+4}return this._isInitialMetadataDispatched()&&(this._dispatch&&(this._audioTrack.length||this._videoTrack.length)&&this._onDataAvailable(this._audioTrack,this._videoTrack)),Oe}},{key:"_parseScriptData",value:function($,se,Oe){var ke=V.parseScriptData($,se,Oe);if(ke.hasOwnProperty("onMetaData")){if(ke.onMetaData==null||typeof ke.onMetaData!="object"){a.w(this.TAG,"Invalid onMetaData structure!");return}this._metadata&&a.w(this.TAG,"Found another onMetaData tag!"),this._metadata=ke;var Pe=this._metadata.onMetaData;if(this._onMetaDataArrived&&this._onMetaDataArrived(Object.assign({},Pe)),typeof Pe.hasAudio=="boolean"&&(this._hasAudioFlagOverrided===!1&&(this._hasAudio=Pe.hasAudio,this._mediaInfo.hasAudio=this._hasAudio)),typeof Pe.hasVideo=="boolean"&&(this._hasVideoFlagOverrided===!1&&(this._hasVideo=Pe.hasVideo,this._mediaInfo.hasVideo=this._hasVideo)),typeof Pe.audiodatarate=="number"&&(this._mediaInfo.audioDataRate=Pe.audiodatarate),typeof Pe.videodatarate=="number"&&(this._mediaInfo.videoDataRate=Pe.videodatarate),typeof Pe.width=="number"&&(this._mediaInfo.width=Pe.width),typeof Pe.height=="number"&&(this._mediaInfo.height=Pe.height),typeof Pe.duration=="number"){if(!this._durationOverrided){var rt=Math.floor(Pe.duration*this._timescale);this._duration=rt,this._mediaInfo.duration=rt}}else this._mediaInfo.duration=0;if(typeof Pe.framerate=="number"){var At=Math.floor(Pe.framerate*1e3);if(At>0){var Wt=At/1e3;this._referenceFrameRate.fixed=!0,this._referenceFrameRate.fps=Wt,this._referenceFrameRate.fps_num=At,this._referenceFrameRate.fps_den=1e3,this._mediaInfo.fps=Wt}}if(typeof Pe.keyframes=="object"){this._mediaInfo.hasKeyframesIndex=!0;var $t=Pe.keyframes;this._mediaInfo.keyframesIndex=this._parseKeyframesIndex($t),Pe.keyframes=null}else this._mediaInfo.hasKeyframesIndex=!1;this._dispatch=!1,this._mediaInfo.metadata=Pe,a.v(this.TAG,"Parsed onMetaData"),this._mediaInfo.isComplete()&&this._onMediaInfo(this._mediaInfo)}Object.keys(ke).length>0&&(this._onScriptDataArrived&&this._onScriptDataArrived(Object.assign({},ke)))}},{key:"_parseKeyframesIndex",value:function($){for(var se=[],Oe=[],ke=1;ke<$.times.length;ke++){var Pe=this._timestampBase+Math.floor($.times[ke]*1e3);se.push(Pe),Oe.push($.filepositions[ke])}return{times:se,filepositions:Oe}}},{key:"_parseAudioData",value:function($,se,Oe,ke){if(Oe<=1){a.w(this.TAG,"Flv: Invalid audio packet, missing SoundData payload!");return}if(this._hasAudioFlagOverrided===!0&&this._hasAudio===!1)return;var Pe=this._littleEndian,rt=new DataView($,se,Oe),At=rt.getUint8(0),Wt=At>>>4;if(Wt!==2&&Wt!==10){this._onError(te.CODEC_UNSUPPORTED,"Flv: Unsupported audio codec idx: "+Wt);return}var $t=0,Rt=(At&12)>>>2;if(Rt>=0&&Rt<=4)$t=this._flvSoundRateTable[Rt];else{this._onError(te.FORMAT_ERROR,"Flv: Invalid audio sample rate idx: "+Rt);return}var zt=(At&2)>>>1,Gt=At&1,Qt=this._audioMetadata,Mt=this._audioTrack;if(Qt||(this._hasAudio===!1&&this._hasAudioFlagOverrided===!1&&(this._hasAudio=!0,this._mediaInfo.hasAudio=!0),Qt=this._audioMetadata={},Qt.type="audio",Qt.id=Mt.id,Qt.timescale=this._timescale,Qt.duration=this._duration,Qt.audioSampleRate=$t,Qt.channelCount=Gt===0?1:2),Wt===10){var dr=this._parseAACAudioData($,se+1,Oe-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 ht=this._mediaInfo;ht.audioCodec=Qt.originalCodec,ht.audioSampleRate=Qt.audioSampleRate,ht.audioChannelCount=Qt.channelCount,ht.hasVideo?ht.videoCodec!=null&&(ht.mimeType='video/x-flv; codecs="'+ht.videoCodec+","+ht.audioCodec+'"'):ht.mimeType='video/x-flv; codecs="'+ht.audioCodec+'"',ht.isComplete()&&this._onMediaInfo(ht)}else if(dr.packetType===1){var Et=this._timestampBase+ke,pt={unit:dr.data,length:dr.data.byteLength,dts:Et,pts:Et};Mt.samples.push(pt),Mt.length+=dr.data.length}else a.e(this.TAG,"Flv: Unsupported AAC data type ".concat(dr.packetType))}else if(Wt===2){if(!Qt.codec){var vt=this._parseMP3AudioData($,se+1,Oe-1,!0);if(vt==null)return;Qt.audioSampleRate=vt.samplingRate,Qt.channelCount=vt.channelCount,Qt.codec=vt.codec,Qt.originalCodec=vt.originalCodec,Qt.refSampleDuration=1152/Qt.audioSampleRate*Qt.timescale,a.v(this.TAG,"Parsed MPEG Audio Frame Header"),this._audioInitialMetadataDispatched=!0,this._onTrackMetadata("audio",Qt);var Nt=this._mediaInfo;Nt.audioCodec=Qt.codec,Nt.audioSampleRate=Qt.audioSampleRate,Nt.audioChannelCount=Qt.channelCount,Nt.audioDataRate=vt.bitRate,Nt.hasVideo?Nt.videoCodec!=null&&(Nt.mimeType='video/x-flv; codecs="'+Nt.videoCodec+","+Nt.audioCodec+'"'):Nt.mimeType='video/x-flv; codecs="'+Nt.audioCodec+'"',Nt.isComplete()&&this._onMediaInfo(Nt)}var _t=this._parseMP3AudioData($,se+1,Oe-1,!1);if(_t==null)return;var gt=this._timestampBase+ke,Ht={unit:_t,length:_t.byteLength,dts:gt,pts:gt};Mt.samples.push(Ht),Mt.length+=_t.length}}},{key:"_parseAACAudioData",value:function($,se,Oe){if(Oe<=1){a.w(this.TAG,"Flv: Invalid AAC packet, missing AACPacketType or/and Data!");return}var ke={},Pe=new Uint8Array($,se,Oe);return ke.packetType=Pe[0],Pe[0]===0?ke.data=this._parseAACAudioSpecificConfig($,se+1,Oe-1):ke.data=Pe.subarray(1),ke}},{key:"_parseAACAudioSpecificConfig",value:function($,se,Oe){var ke=new Uint8Array($,se,Oe),Pe=null,rt=0,At=0,Wt=null,$t=0,Rt=null;if(rt=At=ke[0]>>>3,$t=(ke[0]&7)<<1|ke[1]>>>7,$t<0||$t>=this._mpegSamplingRates.length){this._onError(te.FORMAT_ERROR,"Flv: AAC invalid sampling frequency index!");return}var zt=this._mpegSamplingRates[$t],Gt=(ke[1]&120)>>>3;if(Gt<0||Gt>=8){this._onError(te.FORMAT_ERROR,"Flv: AAC invalid channel configuration");return}rt===5&&(Rt=(ke[1]&7)<<1|ke[2]>>>7,Wt=(ke[2]&124)>>>2);var Qt=self.navigator.userAgent.toLowerCase();return Qt.indexOf("firefox")!==-1?$t>=6?(rt=5,Pe=new Array(4),Rt=$t-3):(rt=2,Pe=new Array(2),Rt=$t):Qt.indexOf("android")!==-1?(rt=2,Pe=new Array(2),Rt=$t):(rt=5,Rt=$t,Pe=new Array(4),$t>=6?Rt=$t-3:Gt===1&&(rt=2,Pe=new Array(2),Rt=$t)),Pe[0]=rt<<3,Pe[0]|=($t&15)>>>1,Pe[1]=($t&15)<<7,Pe[1]|=(Gt&15)<<3,rt===5&&(Pe[1]|=(Rt&15)>>>1,Pe[2]=(Rt&1)<<7,Pe[2]|=2<<2,Pe[3]=0),{config:Pe,samplingRate:zt,channelCount:Gt,codec:"mp4a.40."+rt,originalCodec:"mp4a.40."+At}}},{key:"_parseMP3AudioData",value:function($,se,Oe,ke){if(Oe<4){a.w(this.TAG,"Flv: Invalid MP3 packet, header missing!");return}var Pe=this._littleEndian,rt=new Uint8Array($,se,Oe),At=null;if(ke){if(rt[0]!==255)return;var Wt=rt[1]>>>3&3,$t=(rt[1]&6)>>1,Rt=(rt[2]&240)>>>4,zt=(rt[2]&12)>>>2,Gt=rt[3]>>>6&3,Qt=Gt!==3?2:1,Mt=0,dr=0,er=34,ht="mp3";switch(Wt){case 0:Mt=this._mpegAudioV25SampleRateTable[zt];break;case 2:Mt=this._mpegAudioV20SampleRateTable[zt];break;case 3:Mt=this._mpegAudioV10SampleRateTable[zt];break}switch($t){case 1:er=34,Rt<this._mpegAudioL3BitRateTable.length&&(dr=this._mpegAudioL3BitRateTable[Rt]);break;case 2:er=33,Rt<this._mpegAudioL2BitRateTable.length&&(dr=this._mpegAudioL2BitRateTable[Rt]);break;case 3:er=32,Rt<this._mpegAudioL1BitRateTable.length&&(dr=this._mpegAudioL1BitRateTable[Rt]);break}At={bitRate:dr,samplingRate:Mt,channelCount:Qt,codec:ht,originalCodec:ht}}else At=rt;return At}},{key:"_parseVideoData",value:function($,se,Oe,ke,Pe){if(Oe<=1){a.w(this.TAG,"Flv: Invalid video packet, missing VideoData payload!");return}if(this._hasVideoFlagOverrided===!0&&this._hasVideo===!1)return;var rt=new Uint8Array($,se,Oe)[0],At=(rt&240)>>>4,Wt=rt&15;if(Wt!==7){this._onError(te.CODEC_UNSUPPORTED,"Flv: Unsupported codec in video frame: ".concat(Wt));return}this._parseAVCVideoPacket($,se+1,Oe-1,ke,Pe,At)}},{key:"_parseAVCVideoPacket",value:function($,se,Oe,ke,Pe,rt){if(Oe<4){a.w(this.TAG,"Flv: Invalid AVC packet, missing AVCPacketType or/and CompositionTime");return}var At=this._littleEndian,Wt=new DataView($,se,Oe),$t=Wt.getUint8(0),Rt=Wt.getUint32(0,!At)&16777215,zt=Rt<<8>>8;if($t===0)this._parseAVCDecoderConfigurationRecord($,se+4,Oe-4);else if($t===1)this._parseAVCVideoData($,se+4,Oe-4,ke,Pe,rt,zt);else if(!($t===2)){this._onError(te.FORMAT_ERROR,"Flv: Invalid video packet type ".concat($t));return}}},{key:"_parseAVCDecoderConfigurationRecord",value:function($,se,Oe){if(Oe<7){a.w(this.TAG,"Flv: Invalid AVCDecoderConfigurationRecord, lack of data!");return}var ke=this._videoMetadata,Pe=this._videoTrack,rt=this._littleEndian,At=new DataView($,se,Oe);ke?typeof ke.avcc!="undefined"&&a.w(this.TAG,"Found another AVCDecoderConfigurationRecord!"):(this._hasVideo===!1&&this._hasVideoFlagOverrided===!1&&(this._hasVideo=!0,this._mediaInfo.hasVideo=!0),ke=this._videoMetadata={},ke.type="video",ke.id=Pe.id,ke.timescale=this._timescale,ke.duration=this._duration);var Wt=At.getUint8(0),$t=At.getUint8(1),Rt=At.getUint8(2),zt=At.getUint8(3);if(Wt!==1||$t===0){this._onError(te.FORMAT_ERROR,"Flv: Invalid AVCDecoderConfigurationRecord");return}if(this._naluLengthSize=(At.getUint8(4)&3)+1,this._naluLengthSize!==3&&this._naluLengthSize!==4){this._onError(te.FORMAT_ERROR,"Flv: Strange NaluLengthSizeMinusOne: ".concat(this._naluLengthSize-1));return}var Gt=At.getUint8(5)&31;if(Gt===0){this._onError(te.FORMAT_ERROR,"Flv: Invalid AVCDecoderConfigurationRecord: No SPS");return}else Gt>1&&a.w(this.TAG,"Flv: Strange AVCDecoderConfigurationRecord: SPS Count = ".concat(Gt));for(var Qt=6,Mt=0;Mt<Gt;Mt++){var dr=At.getUint16(Qt,!rt);if(Qt+=2,dr===0)continue;var er=new Uint8Array($,se+Qt,dr);Qt+=dr;var ht=Le.parseSPS(er);if(Mt!==0)continue;ke.codecWidth=ht.codec_size.width,ke.codecHeight=ht.codec_size.height,ke.presentWidth=ht.present_size.width,ke.presentHeight=ht.present_size.height,ke.profile=ht.profile_string,ke.level=ht.level_string,ke.bitDepth=ht.bit_depth,ke.chromaFormat=ht.chroma_format,ke.sarRatio=ht.sar_ratio,ke.frameRate=ht.frame_rate,(ht.frame_rate.fixed===!1||ht.frame_rate.fps_num===0||ht.frame_rate.fps_den===0)&&(ke.frameRate=this._referenceFrameRate);var Et=ke.frameRate.fps_den,pt=ke.frameRate.fps_num;ke.refSampleDuration=ke.timescale*(Et/pt);for(var vt=er.subarray(1,4),Nt="avc1.",_t=0;_t<3;_t++){var gt=vt[_t].toString(16);gt.length<2&&(gt="0"+gt),Nt+=gt}ke.codec=Nt;var Ht=this._mediaInfo;Ht.width=ke.codecWidth,Ht.height=ke.codecHeight,Ht.fps=ke.frameRate.fps,Ht.profile=ke.profile,Ht.level=ke.level,Ht.refFrames=ht.ref_frames,Ht.chromaFormat=ht.chroma_format_string,Ht.sarNum=ke.sarRatio.width,Ht.sarDen=ke.sarRatio.height,Ht.videoCodec=Nt,Ht.hasAudio?Ht.audioCodec!=null&&(Ht.mimeType='video/x-flv; codecs="'+Ht.videoCodec+","+Ht.audioCodec+'"'):Ht.mimeType='video/x-flv; codecs="'+Ht.videoCodec+'"',Ht.isComplete()&&this._onMediaInfo(Ht)}var kt=At.getUint8(Qt);if(kt===0){this._onError(te.FORMAT_ERROR,"Flv: Invalid AVCDecoderConfigurationRecord: No PPS");return}else kt>1&&a.w(this.TAG,"Flv: Strange AVCDecoderConfigurationRecord: PPS Count = ".concat(kt));Qt++;for(var ir=0;ir<kt;ir++){var Xt=At.getUint16(Qt,!rt);if(Qt+=2,Xt===0)continue;Qt+=Xt}ke.avcc=new Uint8Array(Oe),ke.avcc.set(new Uint8Array($,se,Oe),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",ke)}},{key:"_parseAVCVideoData",value:function($,se,Oe,ke,Pe,rt,At){for(var Wt=this._littleEndian,$t=new DataView($,se,Oe),Rt=[],zt=0,Gt=0,Qt=this._naluLengthSize,Mt=this._timestampBase+ke,dr=rt===1;Gt<Oe;){if(Gt+4>=Oe){a.w(this.TAG,"Malformed Nalu near timestamp ".concat(Mt,", offset = ").concat(Gt,", dataSize = ").concat(Oe));break}var er=$t.getUint32(Gt,!Wt);if(Qt===3&&(er>>>=8),er>Oe-Qt){a.w(this.TAG,"Malformed Nalus near timestamp ".concat(Mt,", NaluSize > DataSize!"));return}var ht=$t.getUint8(Gt+Qt)&31;ht===5&&(dr=!0);var Et=new Uint8Array($,se+Gt,Qt+er),pt={type:ht,data:Et};Rt.push(pt),zt+=Et.byteLength,Gt+=Qt+er}if(Rt.length){var vt=this._videoTrack,Nt={units:Rt,length:zt,isKeyframe:dr,dts:Mt,cts:At,pts:Mt+At};dr&&(Nt.fileposition=Pe),vt.samples.push(Nt),vt.length+=zt}}},{key:"onTrackMetadata",get:function(){return this._onTrackMetadata},set:function($){this._onTrackMetadata=$}},{key:"onMediaInfo",get:function(){return this._onMediaInfo},set:function($){this._onMediaInfo=$}},{key:"onMetaDataArrived",get:function(){return this._onMetaDataArrived},set:function($){this._onMetaDataArrived=$}},{key:"onScriptDataArrived",get:function(){return this._onScriptDataArrived},set:function($){this._onScriptDataArrived=$}},{key:"onError",get:function(){return this._onError},set:function($){this._onError=$}},{key:"onDataAvailable",get:function(){return this._onDataAvailable},set:function($){this._onDataAvailable=$}},{key:"timestampBase",get:function(){return this._timestampBase},set:function($){this._timestampBase=$}},{key:"overridedDuration",get:function(){return this._duration},set:function($){this._durationOverrided=!0,this._duration=$,this._mediaInfo.duration=$}},{key:"overridedHasAudio",set:function($){this._hasAudioFlagOverrided=!0,this._hasAudio=$,this._mediaInfo.hasAudio=$}},{key:"overridedHasVideo",set:function($){this._hasVideoFlagOverrided=!0,this._hasVideo=$,this._mediaInfo.hasVideo=$}}],[{key:"probe",value:function($){var se=new Uint8Array($),Oe={match:!1};if(se[0]!==70||se[1]!==76||se[2]!==86||se[3]!==1)return Oe;var ke=(se[4]&4)>>>2!==0,Pe=(se[4]&1)!==0,rt=Re(se,5);return rt<9?Oe:{match:!0,consumed:rt,dataOffset:rt,hasAudioTrack:ke,hasVideoTrack:Pe}}}]),de}(),dt=ze,De=function(){function de(){Object(g.a)(this,de)}return Object(f.a)(de,null,[{key:"init",value:function(){de.types={avc1:[],avcC:[],btrt:[],dinf:[],dref:[],esds:[],ftyp:[],hdlr:[],mdat:[],mdhd:[],mdia:[],mfhd:[],minf:[],moof:[],moov:[],mp4a:[],mvex:[],mvhd:[],sdtp:[],stbl:[],stco:[],stsc:[],stsd:[],stsz:[],stts:[],tfdt:[],tfhd:[],traf:[],trak:[],trun:[],trex:[],tkhd:[],vmhd:[],smhd:[],".mp3":[]};for(var $ in de.types)de.types.hasOwnProperty($)&&(de.types[$]=[$.charCodeAt(0),$.charCodeAt(1),$.charCodeAt(2),$.charCodeAt(3)]);var se=de.constants={};se.FTYP=new Uint8Array([105,115,111,109,0,0,0,1,105,115,111,109,97,118,99,49]),se.STSD_PREFIX=new Uint8Array([0,0,0,0,0,0,0,1]),se.STTS=new Uint8Array([0,0,0,0,0,0,0,0]),se.STSC=se.STCO=se.STTS,se.STSZ=new Uint8Array([0,0,0,0,0,0,0,0,0,0,0,0]),se.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]),se.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]),se.DREF=new Uint8Array([0,0,0,0,0,0,0,1,0,0,0,12,117,114,108,32,0,0,0,1]),se.SMHD=new Uint8Array([0,0,0,0,0,0,0,0]),se.VMHD=new Uint8Array([0,0,0,1,0,0,0,0,0,0,0,0])}},{key:"box",value:function($){for(var se=8,Oe=null,ke=Array.prototype.slice.call(arguments,1),Pe=ke.length,rt=0;rt<Pe;rt++)se+=ke[rt].byteLength;Oe=new Uint8Array(se),Oe[0]=se>>>24&255,Oe[1]=se>>>16&255,Oe[2]=se>>>8&255,Oe[3]=se&255,Oe.set($,4);for(var At=8,Wt=0;Wt<Pe;Wt++)Oe.set(ke[Wt],At),At+=ke[Wt].byteLength;return Oe}},{key:"generateInitSegment",value:function($){var se=de.box(de.types.ftyp,de.constants.FTYP),Oe=de.moov($),ke=new Uint8Array(se.byteLength+Oe.byteLength);return ke.set(se,0),ke.set(Oe,se.byteLength),ke}},{key:"moov",value:function($){var se=de.mvhd($.timescale,$.duration),Oe=de.trak($),ke=de.mvex($);return de.box(de.types.moov,se,Oe,ke)}},{key:"mvhd",value:function($,se){return de.box(de.types.mvhd,new Uint8Array([0,0,0,0,0,0,0,0,0,0,0,0,$>>>24&255,$>>>16&255,$>>>8&255,$&255,se>>>24&255,se>>>16&255,se>>>8&255,se&255,0,1,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,64,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,255,255,255,255]))}},{key:"trak",value:function($){return de.box(de.types.trak,de.tkhd($),de.mdia($))}},{key:"tkhd",value:function($){var se=$.id,Oe=$.duration,ke=$.presentWidth,Pe=$.presentHeight;return de.box(de.types.tkhd,new Uint8Array([0,0,0,7,0,0,0,0,0,0,0,0,se>>>24&255,se>>>16&255,se>>>8&255,se&255,0,0,0,0,Oe>>>24&255,Oe>>>16&255,Oe>>>8&255,Oe&255,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,64,0,0,0,ke>>>8&255,ke&255,0,0,Pe>>>8&255,Pe&255,0,0]))}},{key:"mdia",value:function($){return de.box(de.types.mdia,de.mdhd($),de.hdlr($),de.minf($))}},{key:"mdhd",value:function($){var se=$.timescale,Oe=$.duration;return de.box(de.types.mdhd,new Uint8Array([0,0,0,0,0,0,0,0,0,0,0,0,se>>>24&255,se>>>16&255,se>>>8&255,se&255,Oe>>>24&255,Oe>>>16&255,Oe>>>8&255,Oe&255,85,196,0,0]))}},{key:"hdlr",value:function($){var se=null;return $.type==="audio"?se=de.constants.HDLR_AUDIO:se=de.constants.HDLR_VIDEO,de.box(de.types.hdlr,se)}},{key:"minf",value:function($){var se=null;return $.type==="audio"?se=de.box(de.types.smhd,de.constants.SMHD):se=de.box(de.types.vmhd,de.constants.VMHD),de.box(de.types.minf,se,de.dinf(),de.stbl($))}},{key:"dinf",value:function(){var $=de.box(de.types.dinf,de.box(de.types.dref,de.constants.DREF));return $}},{key:"stbl",value:function($){var se=de.box(de.types.stbl,de.stsd($),de.box(de.types.stts,de.constants.STTS),de.box(de.types.stsc,de.constants.STSC),de.box(de.types.stsz,de.constants.STSZ),de.box(de.types.stco,de.constants.STCO));return se}},{key:"stsd",value:function($){return $.type==="audio"?$.codec==="mp3"?de.box(de.types.stsd,de.constants.STSD_PREFIX,de.mp3($)):de.box(de.types.stsd,de.constants.STSD_PREFIX,de.mp4a($)):de.box(de.types.stsd,de.constants.STSD_PREFIX,de.avc1($))}},{key:"mp3",value:function($){var se=$.channelCount,Oe=$.audioSampleRate,ke=new Uint8Array([0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,se,0,16,0,0,0,0,Oe>>>8&255,Oe&255,0,0]);return de.box(de.types[".mp3"],ke)}},{key:"mp4a",value:function($){var se=$.channelCount,Oe=$.audioSampleRate,ke=new Uint8Array([0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,se,0,16,0,0,0,0,Oe>>>8&255,Oe&255,0,0]);return de.box(de.types.mp4a,ke,de.esds($))}},{key:"esds",value:function($){var se=$.config||[],Oe=se.length,ke=new Uint8Array([0,0,0,0,3,23+Oe,0,1,0,4,15+Oe,64,21,0,0,0,0,0,0,0,0,0,0,0,5].concat([Oe]).concat(se).concat([6,1,2]));return de.box(de.types.esds,ke)}},{key:"avc1",value:function($){var se=$.avcc,Oe=$.codecWidth,ke=$.codecHeight,Pe=new Uint8Array([0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,Oe>>>8&255,Oe&255,ke>>>8&255,ke&255,0,72,0,0,0,72,0,0,0,0,0,0,0,1,10,120,113,113,47,102,108,118,46,106,115,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,24,255,255]);return de.box(de.types.avc1,Pe,de.box(de.types.avcC,se))}},{key:"mvex",value:function($){return de.box(de.types.mvex,de.trex($))}},{key:"trex",value:function($){var se=$.id,Oe=new Uint8Array([0,0,0,0,se>>>24&255,se>>>16&255,se>>>8&255,se&255,0,0,0,1,0,0,0,0,0,0,0,0,0,1,0,1]);return de.box(de.types.trex,Oe)}},{key:"moof",value:function($,se){return de.box(de.types.moof,de.mfhd($.sequenceNumber),de.traf($,se))}},{key:"mfhd",value:function($){var se=new Uint8Array([0,0,0,0,$>>>24&255,$>>>16&255,$>>>8&255,$&255]);return de.box(de.types.mfhd,se)}},{key:"traf",value:function($,se){var Oe=$.id,ke=de.box(de.types.tfhd,new Uint8Array([0,0,0,0,Oe>>>24&255,Oe>>>16&255,Oe>>>8&255,Oe&255])),Pe=de.box(de.types.tfdt,new Uint8Array([0,0,0,0,se>>>24&255,se>>>16&255,se>>>8&255,se&255])),rt=de.sdtp($),At=de.trun($,rt.byteLength+16+16+8+16+8+8);return de.box(de.types.traf,ke,Pe,At,rt)}},{key:"sdtp",value:function($){for(var se=$.samples||[],Oe=se.length,ke=new Uint8Array(4+Oe),Pe=0;Pe<Oe;Pe++){var rt=se[Pe].flags;ke[Pe+4]=rt.isLeading<<6|rt.dependsOn<<4|rt.isDependedOn<<2|rt.hasRedundancy}return de.box(de.types.sdtp,ke)}},{key:"trun",value:function($,se){var Oe=$.samples||[],ke=Oe.length,Pe=12+16*ke,rt=new Uint8Array(Pe);se+=8+Pe,rt.set([0,0,15,1,ke>>>24&255,ke>>>16&255,ke>>>8&255,ke&255,se>>>24&255,se>>>16&255,se>>>8&255,se&255],0);for(var At=0;At<ke;At++){var Wt=Oe[At].duration,$t=Oe[At].size,Rt=Oe[At].flags,zt=Oe[At].cts;rt.set([Wt>>>24&255,Wt>>>16&255,Wt>>>8&255,Wt&255,$t>>>24&255,$t>>>16&255,$t>>>8&255,$t&255,Rt.isLeading<<2|Rt.dependsOn,Rt.isDependedOn<<6|Rt.hasRedundancy<<4|Rt.isNonSync,0,0,zt>>>24&255,zt>>>16&255,zt>>>8&255,zt&255],12+16*At)}return de.box(de.types.trun,rt)}},{key:"mdat",value:function($){return de.box(de.types.mdat,$)}}]),de}();De.init();var Tt=De,je=function(){function de(){Object(g.a)(this,de)}return Object(f.a)(de,null,[{key:"getSilentFrame",value:function($,se){if($==="mp4a.40.2"){if(se===1)return new Uint8Array([0,200,0,128,35,128]);if(se===2)return new Uint8Array([33,0,73,144,2,25,0,35,128]);if(se===3)return new Uint8Array([0,200,0,128,32,132,1,38,64,8,100,0,142]);if(se===4)return new Uint8Array([0,200,0,128,32,132,1,38,64,8,100,0,128,44,128,8,2,56]);if(se===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(se===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(se===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(se===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(se===3)return new Uint8Array([1,64,34,128,163,94,230,128,186,8,0,0,0,0,149,0,6,241,161,10,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,94])}return null}}]),de}(),st=je,Xe=function de(xe,$,se,Oe,ke){Object(g.a)(this,de),this.dts=xe,this.pts=$,this.duration=se,this.originalDts=Oe,this.isSyncPoint=ke,this.fileposition=null},Je=function(){function de(){Object(g.a)(this,de),this.beginDts=0,this.endDts=0,this.beginPts=0,this.endPts=0,this.originalBeginDts=0,this.originalEndDts=0,this.syncPoints=[],this.firstSample=null,this.lastSample=null}return Object(f.a)(de,[{key:"appendSyncPoint",value:function($){$.isSyncPoint=!0,this.syncPoints.push($)}}]),de}(),et=function(){function de(){Object(g.a)(this,de),this._list=[]}return Object(f.a)(de,[{key:"clear",value:function(){this._list=[]}},{key:"appendArray",value:function($){var se=this._list;if($.length===0)return;se.length>0&&$[0].originalDts<se[se.length-1].originalDts&&this.clear(),Array.prototype.push.apply(se,$)}},{key:"getLastSyncPointBeforeDts",value:function($){if(this._list.length==0)return null;var se=this._list,Oe=0,ke=se.length-1,Pe=0,rt=0,At=ke;for($<se[0].dts&&(Oe=0,rt=At+1);rt<=At;)if(Pe=rt+Math.floor((At-rt)/2),Pe===ke||$>=se[Pe].dts&&$<se[Pe+1].dts){Oe=Pe;break}else se[Pe].dts<$?rt=Pe+1:At=Pe-1;return this._list[Oe]}}]),de}(),at=function(){function de(xe){Object(g.a)(this,de),this._type=xe,this._list=[],this._lastAppendLocation=-1}return Object(f.a)(de,[{key:"isEmpty",value:function(){return this._list.length===0}},{key:"clear",value:function(){this._list=[],this._lastAppendLocation=-1}},{key:"_searchNearestSegmentBefore",value:function($){var se=this._list;if(se.length===0)return-2;var Oe=se.length-1,ke=0,Pe=0,rt=Oe,At=0;if($<se[0].originalBeginDts)return At=-1,At;for(;Pe<=rt;)if(ke=Pe+Math.floor((rt-Pe)/2),ke===Oe||$>se[ke].lastSample.originalDts&&$<se[ke+1].originalBeginDts){At=ke;break}else se[ke].originalBeginDts<$?Pe=ke+1:rt=ke-1;return At}},{key:"_searchNearestSegmentAfter",value:function($){return this._searchNearestSegmentBefore($)+1}},{key:"append",value:function($){var se=this._list,Oe=$,ke=this._lastAppendLocation,Pe=0;ke!==-1&&ke<se.length&&Oe.originalBeginDts>=se[ke].lastSample.originalDts&&(ke===se.length-1||ke<se.length-1&&Oe.originalBeginDts<se[ke+1].originalBeginDts)?Pe=ke+1:se.length>0&&(Pe=this._searchNearestSegmentBefore(Oe.originalBeginDts)+1),this._lastAppendLocation=Pe,this._list.splice(Pe,0,Oe)}},{key:"getLastSegmentBefore",value:function($){var se=this._searchNearestSegmentBefore($);return se>=0?this._list[se]:null}},{key:"getLastSampleBefore",value:function($){var se=this.getLastSegmentBefore($);return se!=null?se.lastSample:null}},{key:"getLastSyncPointBefore",value:function($){for(var se=this._searchNearestSegmentBefore($),Oe=this._list[se].syncPoints;Oe.length===0&&se>0;)se--,Oe=this._list[se].syncPoints;return Oe.length>0?Oe[Oe.length-1]:null}},{key:"type",get:function(){return this._type}},{key:"length",get:function(){return this._list.length}}]),de}(),Ve=function(){function de(xe){Object(g.a)(this,de),this.TAG="MP4Remuxer",this._config=xe,this._isLive=xe.isLive===!0,this._dtsBase=-1,this._dtsBaseInited=!1,this._audioDtsBase=Infinity,this._videoDtsBase=Infinity,this._audioNextDts=void 0,this._videoNextDts=void 0,this._audioStashedLastSample=null,this._videoStashedLastSample=null,this._audioMeta=null,this._videoMeta=null,this._audioSegmentInfoList=new at("audio"),this._videoSegmentInfoList=new at("video"),this._onInitSegment=null,this._onMediaSegment=null,this._forceFirstIDR=!!(_.chrome&&(_.version.major<50||_.version.major===50&&_.version.build<2661)),this._fillSilentAfterSeek=_.msedge||_.msie,this._mp3UseMpegAudio=!_.firefox,this._fillAudioTimestampGap=this._config.fixAudioTimestampGap}return Object(f.a)(de,[{key:"destroy",value:function(){this._dtsBase=-1,this._dtsBaseInited=!1,this._audioMeta=null,this._videoMeta=null,this._audioSegmentInfoList.clear(),this._audioSegmentInfoList=null,this._videoSegmentInfoList.clear(),this._videoSegmentInfoList=null,this._onInitSegment=null,this._onMediaSegment=null}},{key:"bindDataSource",value:function($){return $.onDataAvailable=this.remux.bind(this),$.onTrackMetadata=this._onTrackMetadataReceived.bind(this),this}},{key:"insertDiscontinuity",value:function(){this._audioNextDts=this._videoNextDts=void 0}},{key:"seek",value:function($){this._audioStashedLastSample=null,this._videoStashedLastSample=null,this._videoSegmentInfoList.clear(),this._audioSegmentInfoList.clear()}},{key:"remux",value:function($,se){if(!this._onMediaSegment)throw new l("MP4Remuxer: onMediaSegment callback must be specificed!");this._dtsBaseInited||this._calculateDtsBase($,se),this._remuxVideo(se),this._remuxAudio($)}},{key:"_onTrackMetadataReceived",value:function($,se){var Oe=null,ke="mp4",Pe=se.codec;if($==="audio")this._audioMeta=se,se.codec==="mp3"&&this._mp3UseMpegAudio?(ke="mpeg",Pe="",Oe=new Uint8Array):Oe=Tt.generateInitSegment(se);else if($==="video")this._videoMeta=se,Oe=Tt.generateInitSegment(se);else return;if(!this._onInitSegment)throw new l("MP4Remuxer: onInitSegment callback must be specified!");this._onInitSegment($,{type:$,data:Oe.buffer,codec:Pe,container:"".concat($,"/").concat(ke),mediaDuration:se.duration})}},{key:"_calculateDtsBase",value:function($,se){if(this._dtsBaseInited)return;$.samples&&$.samples.length&&(this._audioDtsBase=$.samples[0].dts),se.samples&&se.samples.length&&(this._videoDtsBase=se.samples[0].dts),this._dtsBase=Math.min(this._audioDtsBase,this._videoDtsBase),this._dtsBaseInited=!0}},{key:"flushStashedSamples",value:function(){var $=this._videoStashedLastSample,se=this._audioStashedLastSample,Oe={type:"video",id:1,sequenceNumber:0,samples:[],length:0};$!=null&&(Oe.samples.push($),Oe.length=$.length);var ke={type:"audio",id:2,sequenceNumber:0,samples:[],length:0};se!=null&&(ke.samples.push(se),ke.length=se.length),this._videoStashedLastSample=null,this._audioStashedLastSample=null,this._remuxVideo(Oe,!0),this._remuxAudio(ke,!0)}},{key:"_remuxAudio",value:function($,se){if(this._audioMeta==null)return;var Oe=$,ke=Oe.samples,Pe=void 0,rt=-1,At=-1,Wt=-1,$t=this._audioMeta.refSampleDuration,Rt=this._audioMeta.codec==="mp3"&&this._mp3UseMpegAudio,zt=this._dtsBaseInited&&this._audioNextDts===void 0,Gt=!1;if(!ke||ke.length===0)return;if(ke.length===1&&!se)return;var Qt=0,Mt=null,dr=0;Rt?(Qt=0,dr=Oe.length):(Qt=8,dr=8+Oe.length);var er=null;if(ke.length>1&&(er=ke.pop(),dr-=er.length),this._audioStashedLastSample!=null){var ht=this._audioStashedLastSample;this._audioStashedLastSample=null,ke.unshift(ht),dr+=ht.length}er!=null&&(this._audioStashedLastSample=er);var Et=ke[0].dts-this._dtsBase;if(this._audioNextDts)Pe=Et-this._audioNextDts;else if(this._audioSegmentInfoList.isEmpty())Pe=0,this._fillSilentAfterSeek&&!this._videoSegmentInfoList.isEmpty()&&(this._audioMeta.originalCodec!=="mp3"&&(Gt=!0));else{var pt=this._audioSegmentInfoList.getLastSampleBefore(Et);if(pt!=null){var vt=Et-(pt.originalDts+pt.duration);vt<=3&&(vt=0);var Nt=pt.dts+pt.duration+vt;Pe=Et-Nt}else Pe=0}if(Gt){var _t=Et-Pe,gt=this._videoSegmentInfoList.getLastSegmentBefore(Et);if(gt!=null&>.beginDts<_t){var Ht=st.getSilentFrame(this._audioMeta.originalCodec,this._audioMeta.channelCount);if(Ht){var kt=gt.beginDts,ir=_t-gt.beginDts;a.v(this.TAG,"InsertPrefixSilentAudio: dts: ".concat(kt,", duration: ").concat(ir)),ke.unshift({unit:Ht,dts:kt,pts:kt}),dr+=Ht.byteLength}}else Gt=!1}for(var Xt=[],mr=0;mr<ke.length;mr++){var Ar=ke[mr],Nr=Ar.unit,kr=Ar.dts-this._dtsBase,tn=kr-Pe;rt===-1&&(rt=tn);var qr=0;if(mr!==ke.length-1){var _r=ke[mr+1].dts-this._dtsBase-Pe;qr=_r-tn}else if(er!=null){var Qr=er.dts-this._dtsBase-Pe;qr=Qr-tn}else Xt.length>=1?qr=Xt[Xt.length-1].duration:qr=Math.floor($t);var Lr=!1,ur=null;if(qr>$t*1.5&&this._audioMeta.codec!=="mp3"&&this._fillAudioTimestampGap&&!_.safari){Lr=!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=st.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:kr,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:kr,flags:{isLeading:0,dependsOn:1,isDependedOn:0,hasRedundancy:0}}),Lr&&Xt.push.apply(Xt,ur)}Rt?Mt=new Uint8Array(dr):(Mt=new Uint8Array(dr),Mt[0]=dr>>>24&255,Mt[1]=dr>>>16&255,Mt[2]=dr>>>8&255,Mt[3]=dr&255,Mt.set(Tt.types.mdat,4));for(var gn=0;gn<Xt.length;gn++){var Bn=Xt[gn].unit;Mt.set(Bn,Qt),Qt+=Bn.byteLength}var Kn=Xt[Xt.length-1];At=Kn.dts+Kn.duration,this._audioNextDts=At;var qn=new Je;qn.beginDts=rt,qn.endDts=At,qn.beginPts=rt,qn.endPts=At,qn.originalBeginDts=Xt[0].originalDts,qn.originalEndDts=Kn.originalDts+Kn.duration,qn.firstSample=new Xe(Xt[0].dts,Xt[0].pts,Xt[0].duration,Xt[0].originalDts,!1),qn.lastSample=new Xe(Kn.dts,Kn.pts,Kn.duration,Kn.originalDts,!1),this._isLive||this._audioSegmentInfoList.append(qn),Oe.samples=Xt,Oe.sequenceNumber++;var Yn=null;Rt?Yn=new Uint8Array:Yn=Tt.moof(Oe,rt),Oe.samples=[],Oe.length=0;var Vn={type:"audio",data:this._mergeBoxes(Yn,Mt).buffer,sampleCount:Xt.length,info:qn};Rt&&zt&&(Vn.timestampOffset=rt),this._onMediaSegment("audio",Vn)}},{key:"_remuxVideo",value:function($,se){if(this._videoMeta==null)return;var Oe=$,ke=Oe.samples,Pe=void 0,rt=-1,At=-1,Wt=-1,$t=-1;if(!ke||ke.length===0)return;if(ke.length===1&&!se)return;var Rt=8,zt=null,Gt=8+$.length,Qt=null;if(ke.length>1&&(Qt=ke.pop(),Gt-=Qt.length),this._videoStashedLastSample!=null){var Mt=this._videoStashedLastSample;this._videoStashedLastSample=null,ke.unshift(Mt),Gt+=Mt.length}Qt!=null&&(this._videoStashedLastSample=Qt);var dr=ke[0].dts-this._dtsBase;if(this._videoNextDts)Pe=dr-this._videoNextDts;else if(this._videoSegmentInfoList.isEmpty())Pe=0;else{var er=this._videoSegmentInfoList.getLastSampleBefore(dr);if(er!=null){var ht=dr-(er.originalDts+er.duration);ht<=3&&(ht=0);var Et=er.dts+er.duration+ht;Pe=dr-Et}else Pe=0}for(var pt=new Je,vt=[],Nt=0;Nt<ke.length;Nt++){var _t=ke[Nt],gt=_t.dts-this._dtsBase,Ht=_t.isKeyframe,kt=gt-Pe,ir=_t.cts,Xt=kt+ir;rt===-1&&(rt=kt,Wt=Xt);var mr=0;if(Nt!==ke.length-1){var Ar=ke[Nt+1].dts-this._dtsBase-Pe;mr=Ar-kt}else if(Qt!=null){var Nr=Qt.dts-this._dtsBase-Pe;mr=Nr-kt}else vt.length>=1?mr=vt[vt.length-1].duration:mr=Math.floor(this._videoMeta.refSampleDuration);if(Ht){var kr=new Xe(kt,Xt,mr,_t.dts,!0);kr.fileposition=_t.fileposition,pt.appendSyncPoint(kr)}vt.push({dts:kt,pts:Xt,cts:ir,units:_t.units,size:_t.length,isKeyframe:Ht,duration:mr,originalDts:gt,flags:{isLeading:0,dependsOn:Ht?2:1,isDependedOn:Ht?1:0,hasRedundancy:0,isNonSync:Ht?0:1}})}zt=new Uint8Array(Gt),zt[0]=Gt>>>24&255,zt[1]=Gt>>>16&255,zt[2]=Gt>>>8&255,zt[3]=Gt&255,zt.set(Tt.types.mdat,4);for(var tn=0;tn<vt.length;tn++)for(var qr=vt[tn].units;qr.length;){var _r=qr.shift(),Qr=_r.data;zt.set(Qr,Rt),Rt+=Qr.byteLength}var Lr=vt[vt.length-1];if(At=Lr.dts+Lr.duration,$t=Lr.pts+Lr.duration,this._videoNextDts=At,pt.beginDts=rt,pt.endDts=At,pt.beginPts=Wt,pt.endPts=$t,pt.originalBeginDts=vt[0].originalDts,pt.originalEndDts=Lr.originalDts+Lr.duration,pt.firstSample=new Xe(vt[0].dts,vt[0].pts,vt[0].duration,vt[0].originalDts,vt[0].isKeyframe),pt.lastSample=new Xe(Lr.dts,Lr.pts,Lr.duration,Lr.originalDts,Lr.isKeyframe),this._isLive||this._videoSegmentInfoList.append(pt),Oe.samples=vt,Oe.sequenceNumber++,this._forceFirstIDR){var ur=vt[0].flags;ur.dependsOn=2,ur.isNonSync=0}var pr=Tt.moof(Oe,rt);Oe.samples=[],Oe.length=0,this._onMediaSegment("video",{type:"video",data:this._mergeBoxes(pr,zt).buffer,sampleCount:vt.length,info:pt})}},{key:"_mergeBoxes",value:function($,se){var Oe=new Uint8Array($.byteLength+se.byteLength);return Oe.set($,0),Oe.set(se,$.byteLength),Oe}},{key:"onInitSegment",get:function(){return this._onInitSegment},set:function($){this._onInitSegment=$}},{key:"onMediaSegment",get:function(){return this._onMediaSegment},set:function($){this._onMediaSegment=$}}]),de}(),le=Ve,ae={IO_ERROR:"io_error",DEMUX_ERROR:"demux_error",INIT_SEGMENT:"init_segment",MEDIA_SEGMENT:"media_segment",LOADING_COMPLETE:"loading_complete",RECOVERED_EARLY_EOF:"recovered_early_eof",MEDIA_INFO:"media_info",METADATA_ARRIVED:"metadata_arrived",SCRIPTDATA_ARRIVED:"scriptdata_arrived",STATISTICS_INFO:"statistics_info",RECOMMEND_SEEKPOINT:"recommend_seekpoint"},lt=ae,Ze=function(){function de(xe,$){Object(g.a)(this,de),this.TAG="TransmuxingController",this._emitter=new h.a,this._config=$,xe.segments||(xe.segments=[{duration:xe.duration,filesize:xe.filesize,url:xe.url}]),typeof xe.cors!="boolean"&&(xe.cors=!0),typeof xe.withCredentials!="boolean"&&(xe.withCredentials=!1),this._mediaDataSource=xe,this._currentSegmentIndex=0;var se=0;this._mediaDataSource.segments.forEach(function(Oe){Oe.timestampBase=se,se+=Oe.duration,Oe.cors=xe.cors,Oe.withCredentials=xe.withCredentials,$.referrerPolicy&&(Oe.referrerPolicy=$.referrerPolicy)}),!isNaN(se)&&this._mediaDataSource.duration!==se&&(this._mediaDataSource.duration=se),this._mediaInfo=null,this._demuxer=null,this._remuxer=null,this._ioctl=null,this._pendingSeekTime=null,this._pendingResolveSeekPoint=null,this._statisticsReporter=null}return Object(f.a)(de,[{key:"destroy",value:function(){this._mediaInfo=null,this._mediaDataSource=null,this._statisticsReporter&&this._disableStatisticsReporter(),this._ioctl&&(this._ioctl.destroy(),this._ioctl=null),this._demuxer&&(this._demuxer.destroy(),this._demuxer=null),this._remuxer&&(this._remuxer.destroy(),this._remuxer=null),this._emitter.removeAllListeners(),this._emitter=null}},{key:"on",value:function($,se){this._emitter.addListener($,se)}},{key:"off",value:function($,se){this._emitter.removeListener($,se)}},{key:"start",value:function(){this._loadSegment(0),this._enableStatisticsReporter()}},{key:"_loadSegment",value:function($,se){this._currentSegmentIndex=$;var Oe=this._mediaDataSource.segments[$],ke=this._ioctl=new W(Oe,this._config,$);ke.onError=this._onIOException.bind(this),ke.onSeeked=this._onIOSeeked.bind(this),ke.onComplete=this._onIOComplete.bind(this),ke.onRedirect=this._onIORedirect.bind(this),ke.onRecoveredEarlyEof=this._onIORecoveredEarlyEof.bind(this),se?this._demuxer.bindDataSource(this._ioctl):ke.onDataArrival=this._onInitChunkArrival.bind(this),ke.open(se)}},{key:"stop",value:function(){this._internalAbort(),this._disableStatisticsReporter()}},{key:"_internalAbort",value:function(){this._ioctl&&(this._ioctl.destroy(),this._ioctl=null)}},{key:"pause",value:function(){this._ioctl&&this._ioctl.isWorking()&&(this._ioctl.pause(),this._disableStatisticsReporter())}},{key:"resume",value:function(){this._ioctl&&this._ioctl.isPaused()&&(this._ioctl.resume(),this._enableStatisticsReporter())}},{key:"seek",value:function($){if(this._mediaInfo==null||!this._mediaInfo.isSeekable())return;var se=this._searchSegmentIndexContains($);if(se===this._currentSegmentIndex){var Oe=this._mediaInfo.segments[se];if(Oe==null)this._pendingSeekTime=$;else{var ke=Oe.getNearestKeyframe($);this._remuxer.seek(ke.milliseconds),this._ioctl.seek(ke.fileposition),this._pendingResolveSeekPoint=ke.milliseconds}}else{var Pe=this._mediaInfo.segments[se];if(Pe==null)this._pendingSeekTime=$,this._internalAbort(),this._remuxer.seek(),this._remuxer.insertDiscontinuity(),this._loadSegment(se);else{var rt=Pe.getNearestKeyframe($);this._internalAbort(),this._remuxer.seek($),this._remuxer.insertDiscontinuity(),this._demuxer.resetMediaInfo(),this._demuxer.timestampBase=this._mediaDataSource.segments[se].timestampBase,this._loadSegment(se,rt.fileposition),this._pendingResolveSeekPoint=rt.milliseconds,this._reportSegmentMediaInfo(se)}}this._enableStatisticsReporter()}},{key:"_searchSegmentIndexContains",value:function($){for(var se=this._mediaDataSource.segments,Oe=se.length-1,ke=0;ke<se.length;ke++)if($<se[ke].timestampBase){Oe=ke-1;break}return Oe}},{key:"_onInitChunkArrival",value:function($,se){var Oe=this,ke=null,Pe=0;if(se>0)this._demuxer.bindDataSource(this._ioctl),this._demuxer.timestampBase=this._mediaDataSource.segments[this._currentSegmentIndex].timestampBase,Pe=this._demuxer.parseChunks($,se);else if((ke=dt.probe($)).match){this._demuxer=new dt(ke,this._config),this._remuxer||(this._remuxer=new le(this._config));var rt=this._mediaDataSource;rt.duration!=null&&!isNaN(rt.duration)&&(this._demuxer.overridedDuration=rt.duration),typeof rt.hasAudio=="boolean"&&(this._demuxer.overridedHasAudio=rt.hasAudio),typeof rt.hasVideo=="boolean"&&(this._demuxer.overridedHasVideo=rt.hasVideo),this._demuxer.timestampBase=rt.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),Pe=this._demuxer.parseChunks($,se)}else ke=null,a.e(this.TAG,"Non-FLV, Unsupported media type!"),Promise.resolve().then(function(){Oe._internalAbort()}),this._emitter.emit(lt.DEMUX_ERROR,te.FORMAT_UNSUPPORTED,"Non-FLV, Unsupported media type"),Pe=0;return Pe}},{key:"_onMediaInfo",value:function($){var se=this;this._mediaInfo==null&&(this._mediaInfo=Object.assign({},$),this._mediaInfo.keyframesIndex=null,this._mediaInfo.segments=[],this._mediaInfo.segmentCount=this._mediaDataSource.segments.length,Object.setPrototypeOf(this._mediaInfo,nt.prototype));var Oe=Object.assign({},$);Object.setPrototypeOf(Oe,nt.prototype),this._mediaInfo.segments[this._currentSegmentIndex]=Oe,this._reportSegmentMediaInfo(this._currentSegmentIndex),this._pendingSeekTime!=null&&Promise.resolve().then(function(){var ke=se._pendingSeekTime;se._pendingSeekTime=null,se.seek(ke)})}},{key:"_onMetaDataArrived",value:function($){this._emitter.emit(lt.METADATA_ARRIVED,$)}},{key:"_onScriptDataArrived",value:function($){this._emitter.emit(lt.SCRIPTDATA_ARRIVED,$)}},{key:"_onIOSeeked",value:function(){this._remuxer.insertDiscontinuity()}},{key:"_onIOComplete",value:function($){var se=$,Oe=se+1;Oe<this._mediaDataSource.segments.length?(this._internalAbort(),this._remuxer.flushStashedSamples(),this._loadSegment(Oe)):(this._remuxer.flushStashedSamples(),this._emitter.emit(lt.LOADING_COMPLETE),this._disableStatisticsReporter())}},{key:"_onIORedirect",value:function($){var se=this._ioctl.extraData;this._mediaDataSource.segments[se].redirectedURL=$}},{key:"_onIORecoveredEarlyEof",value:function(){this._emitter.emit(lt.RECOVERED_EARLY_EOF)}},{key:"_onIOException",value:function($,se){a.e(this.TAG,"IOException: type = ".concat($,", code = ").concat(se.code,", msg = ").concat(se.msg)),this._emitter.emit(lt.IO_ERROR,$,se),this._disableStatisticsReporter()}},{key:"_onDemuxException",value:function($,se){a.e(this.TAG,"DemuxException: type = ".concat($,", info = ").concat(se)),this._emitter.emit(lt.DEMUX_ERROR,$,se)}},{key:"_onRemuxerInitSegmentArrival",value:function($,se){this._emitter.emit(lt.INIT_SEGMENT,$,se)}},{key:"_onRemuxerMediaSegmentArrival",value:function($,se){if(this._pendingSeekTime!=null)return;if(this._emitter.emit(lt.MEDIA_SEGMENT,$,se),this._pendingResolveSeekPoint!=null&&$==="video"){var Oe=se.info.syncPoints,ke=this._pendingResolveSeekPoint;this._pendingResolveSeekPoint=null,_.safari&&Oe.length>0&&Oe[0].originalDts===ke&&(ke=Oe[0].pts),this._emitter.emit(lt.RECOMMEND_SEEKPOINT,ke)}}},{key:"_enableStatisticsReporter",value:function(){this._statisticsReporter==null&&(this._statisticsReporter=self.setInterval(this._reportStatisticsInfo.bind(this),this._config.statisticsInfoReportInterval))}},{key:"_disableStatisticsReporter",value:function(){this._statisticsReporter&&(self.clearInterval(this._statisticsReporter),this._statisticsReporter=null)}},{key:"_reportSegmentMediaInfo",value:function($){var se=this._mediaInfo.segments[$],Oe=Object.assign({},se);Oe.duration=this._mediaInfo.duration,Oe.segmentCount=this._mediaInfo.segmentCount,delete Oe.segments,delete Oe.keyframesIndex,this._emitter.emit(lt.MEDIA_INFO,Oe)}},{key:"_reportStatisticsInfo",value:function(){var $={};$.url=this._ioctl.currentURL,$.hasRedirect=this._ioctl.hasRedirect,$.hasRedirect&&($.redirectedURL=this._ioctl.currentRedirectedURL),$.speed=this._ioctl.currentSpeed,$.loaderType=this._ioctl.loaderType,$.currentSegmentIndex=this._currentSegmentIndex,$.totalSegmentCount=this._mediaDataSource.segments.length,this._emitter.emit(lt.STATISTICS_INFO,$)}}]),de}(),Te=Ze,Jt=function(xe){var $="TransmuxingWorker",se=null,Oe=dr.bind(this);m.install(),xe.addEventListener("message",function(er){switch(er.data.cmd){case"init":se=new Te(er.data.param[0],er.data.param[1]),se.on(lt.IO_ERROR,Gt.bind(this)),se.on(lt.DEMUX_ERROR,Qt.bind(this)),se.on(lt.INIT_SEGMENT,ke.bind(this)),se.on(lt.MEDIA_SEGMENT,Pe.bind(this)),se.on(lt.LOADING_COMPLETE,rt.bind(this)),se.on(lt.RECOVERED_EARLY_EOF,At.bind(this)),se.on(lt.MEDIA_INFO,Wt.bind(this)),se.on(lt.METADATA_ARRIVED,$t.bind(this)),se.on(lt.SCRIPTDATA_ARRIVED,Rt.bind(this)),se.on(lt.STATISTICS_INFO,zt.bind(this)),se.on(lt.RECOMMEND_SEEKPOINT,Mt.bind(this));break;case"destroy":se&&(se.destroy(),se=null),xe.postMessage({msg:"destroyed"});break;case"start":se.start();break;case"stop":se.stop();break;case"seek":se.seek(er.data.param);break;case"pause":se.pause();break;case"resume":se.resume();break;case"logging_config":{var ht=er.data.param;Ue.applyConfig(ht),ht.enableCallback===!0?Ue.addLogListener(Oe):Ue.removeLogListener(Oe);break}}});function ke(er,ht){var Et={msg:lt.INIT_SEGMENT,data:{type:er,data:ht}};xe.postMessage(Et,[ht.data])}function Pe(er,ht){var Et={msg:lt.MEDIA_SEGMENT,data:{type:er,data:ht}};xe.postMessage(Et,[ht.data])}function rt(){var er={msg:lt.LOADING_COMPLETE};xe.postMessage(er)}function At(){var er={msg:lt.RECOVERED_EARLY_EOF};xe.postMessage(er)}function Wt(er){var ht={msg:lt.MEDIA_INFO,data:er};xe.postMessage(ht)}function $t(er){var ht={msg:lt.METADATA_ARRIVED,data:er};xe.postMessage(ht)}function Rt(er){var ht={msg:lt.SCRIPTDATA_ARRIVED,data:er};xe.postMessage(ht)}function zt(er){var ht={msg:lt.STATISTICS_INFO,data:er};xe.postMessage(ht)}function Gt(er,ht){xe.postMessage({msg:lt.IO_ERROR,data:{type:er,info:ht}})}function Qt(er,ht){xe.postMessage({msg:lt.DEMUX_ERROR,data:{type:er,info:ht}})}function Mt(er){xe.postMessage({msg:lt.RECOMMEND_SEEKPOINT,data:er})}function dr(er,ht){xe.postMessage({msg:"logcat_callback",data:{type:er,logcat:ht}})}},mt=Jt,ft=function(){function de(xe,$){if(Object(g.a)(this,de),this.TAG="Transmuxer",this._emitter=new h.a,$.enableWorker&&typeof Worker!="undefined")try{var se=e("0r65");this._worker=se(mt),this._workerDestroying=!1,this._worker.addEventListener("message",this._onWorkerMessage.bind(this)),this._worker.postMessage({cmd:"init",param:[xe,$]}),this.e={onLoggingConfigChanged:this._onLoggingConfigChanged.bind(this)},Ue.registerListener(this.e.onLoggingConfigChanged),this._worker.postMessage({cmd:"logging_config",param:Ue.getConfig()})}catch(ke){a.e(this.TAG,"Error while initialize transmuxing worker, fallback to inline transmuxing"),this._worker=null,this._controller=new Te(xe,$)}else this._controller=new Te(xe,$);if(this._controller){var Oe=this._controller;Oe.on(lt.IO_ERROR,this._onIOError.bind(this)),Oe.on(lt.DEMUX_ERROR,this._onDemuxError.bind(this)),Oe.on(lt.INIT_SEGMENT,this._onInitSegment.bind(this)),Oe.on(lt.MEDIA_SEGMENT,this._onMediaSegment.bind(this)),Oe.on(lt.LOADING_COMPLETE,this._onLoadingComplete.bind(this)),Oe.on(lt.RECOVERED_EARLY_EOF,this._onRecoveredEarlyEof.bind(this)),Oe.on(lt.MEDIA_INFO,this._onMediaInfo.bind(this)),Oe.on(lt.METADATA_ARRIVED,this._onMetaDataArrived.bind(this)),Oe.on(lt.SCRIPTDATA_ARRIVED,this._onScriptDataArrived.bind(this)),Oe.on(lt.STATISTICS_INFO,this._onStatisticsInfo.bind(this)),Oe.on(lt.RECOMMEND_SEEKPOINT,this._onRecommendSeekpoint.bind(this))}}return Object(f.a)(de,[{key:"destroy",value:function(){this._worker?this._workerDestroying||(this._workerDestroying=!0,this._worker.postMessage({cmd:"destroy"}),Ue.removeListener(this.e.onLoggingConfigChanged),this.e=null):(this._controller.destroy(),this._controller=null),this._emitter.removeAllListeners(),this._emitter=null}},{key:"on",value:function($,se){this._emitter.addListener($,se)}},{key:"off",value:function($,se){this._emitter.removeListener($,se)}},{key:"hasWorker",value:function(){return this._worker!=null}},{key:"open",value:function(){this._worker?this._worker.postMessage({cmd:"start"}):this._controller.start()}},{key:"close",value:function(){this._worker?this._worker.postMessage({cmd:"stop"}):this._controller.stop()}},{key:"seek",value:function($){this._worker?this._worker.postMessage({cmd:"seek",param:$}):this._controller.seek($)}},{key:"pause",value:function(){this._worker?this._worker.postMessage({cmd:"pause"}):this._controller.pause()}},{key:"resume",value:function(){this._worker?this._worker.postMessage({cmd:"resume"}):this._controller.resume()}},{key:"_onInitSegment",value:function($,se){var Oe=this;Promise.resolve().then(function(){Oe._emitter.emit(lt.INIT_SEGMENT,$,se)})}},{key:"_onMediaSegment",value:function($,se){var Oe=this;Promise.resolve().then(function(){Oe._emitter.emit(lt.MEDIA_SEGMENT,$,se)})}},{key:"_onLoadingComplete",value:function(){var $=this;Promise.resolve().then(function(){$._emitter.emit(lt.LOADING_COMPLETE)})}},{key:"_onRecoveredEarlyEof",value:function(){var $=this;Promise.resolve().then(function(){$._emitter.emit(lt.RECOVERED_EARLY_EOF)})}},{key:"_onMediaInfo",value:function($){var se=this;Promise.resolve().then(function(){se._emitter.emit(lt.MEDIA_INFO,$)})}},{key:"_onMetaDataArrived",value:function($){var se=this;Promise.resolve().then(function(){se._emitter.emit(lt.METADATA_ARRIVED,$)})}},{key:"_onScriptDataArrived",value:function($){var se=this;Promise.resolve().then(function(){se._emitter.emit(lt.SCRIPTDATA_ARRIVED,$)})}},{key:"_onStatisticsInfo",value:function($){var se=this;Promise.resolve().then(function(){se._emitter.emit(lt.STATISTICS_INFO,$)})}},{key:"_onIOError",value:function($,se){var Oe=this;Promise.resolve().then(function(){Oe._emitter.emit(lt.IO_ERROR,$,se)})}},{key:"_onDemuxError",value:function($,se){var Oe=this;Promise.resolve().then(function(){Oe._emitter.emit(lt.DEMUX_ERROR,$,se)})}},{key:"_onRecommendSeekpoint",value:function($){var se=this;Promise.resolve().then(function(){se._emitter.emit(lt.RECOMMEND_SEEKPOINT,$)})}},{key:"_onLoggingConfigChanged",value:function($){this._worker&&this._worker.postMessage({cmd:"logging_config",param:$})}},{key:"_onWorkerMessage",value:function($){var se=$.data,Oe=se.data;if(se.msg==="destroyed"||this._workerDestroying){this._workerDestroying=!1,this._worker.terminate(),this._worker=null;return}switch(se.msg){case lt.INIT_SEGMENT:case lt.MEDIA_SEGMENT:this._emitter.emit(se.msg,Oe.type,Oe.data);break;case lt.LOADING_COMPLETE:case lt.RECOVERED_EARLY_EOF:this._emitter.emit(se.msg);break;case lt.MEDIA_INFO:Object.setPrototypeOf(Oe,nt.prototype),this._emitter.emit(se.msg,Oe);break;case lt.METADATA_ARRIVED:case lt.SCRIPTDATA_ARRIVED:case lt.STATISTICS_INFO:this._emitter.emit(se.msg,Oe);break;case lt.IO_ERROR:case lt.DEMUX_ERROR:this._emitter.emit(se.msg,Oe.type,Oe.info);break;case lt.RECOMMEND_SEEKPOINT:this._emitter.emit(se.msg,Oe);break;case"logcat_callback":a.emitter.emit("log",Oe.type,Oe.logcat);break;default:break}}}]),de}(),bt=ft,It={ERROR:"error",SOURCE_OPEN:"source_open",UPDATE_END:"update_end",BUFFER_FULL:"buffer_full"},or=It,Pt=function(){function de(xe){Object(g.a)(this,de),this.TAG="MSEController",this._config=xe,this._emitter=new h.a,this._config.isLive&&this._config.autoCleanupSourceBuffer==null&&(this._config.autoCleanupSourceBuffer=!0),this.e={onSourceOpen:this._onSourceOpen.bind(this),onSourceEnded:this._onSourceEnded.bind(this),onSourceClose:this._onSourceClose.bind(this),onSourceBufferError:this._onSourceBufferError.bind(this),onSourceBufferUpdateEnd:this._onSourceBufferUpdateEnd.bind(this)},this._mediaSource=null,this._mediaSourceObjectURL=null,this._mediaElement=null,this._isBufferFull=!1,this._hasPendingEos=!1,this._requireSetMediaDuration=!1,this._pendingMediaDuration=0,this._pendingSourceBufferInit=[],this._mimeTypes={video:null,audio:null},this._sourceBuffers={video:null,audio:null},this._lastInitSegments={video:null,audio:null},this._pendingSegments={video:[],audio:[]},this._pendingRemoveRanges={video:[],audio:[]},this._idrList=new et}return Object(f.a)(de,[{key:"destroy",value:function(){(this._mediaElement||this._mediaSource)&&this.detachMediaElement(),this.e=null,this._emitter.removeAllListeners(),this._emitter=null}},{key:"on",value:function($,se){this._emitter.addListener($,se)}},{key:"off",value:function($,se){this._emitter.removeListener($,se)}},{key:"attachMediaElement",value:function($){if(this._mediaSource)throw new l("MediaSource has been attached to an HTMLMediaElement!");var se=this._mediaSource=new window.MediaSource;se.addEventListener("sourceopen",this.e.onSourceOpen),se.addEventListener("sourceended",this.e.onSourceEnded),se.addEventListener("sourceclose",this.e.onSourceClose),this._mediaElement=$,this._mediaSourceObjectURL=window.URL.createObjectURL(this._mediaSource),$.src=this._mediaSourceObjectURL}},{key:"detachMediaElement",value:function(){if(this._mediaSource){var $=this._mediaSource;for(var se in this._sourceBuffers){var Oe=this._pendingSegments[se];Oe.splice(0,Oe.length),this._pendingSegments[se]=null,this._pendingRemoveRanges[se]=null,this._lastInitSegments[se]=null;var ke=this._sourceBuffers[se];if(ke){if($.readyState!=="closed"){try{$.removeSourceBuffer(ke)}catch(Pe){a.e(this.TAG,Pe.message)}ke.removeEventListener("error",this.e.onSourceBufferError),ke.removeEventListener("updateend",this.e.onSourceBufferUpdateEnd)}this._mimeTypes[se]=null,this._sourceBuffers[se]=null}}if($.readyState==="open")try{$.endOfStream()}catch(Pe){a.e(this.TAG,Pe.message)}$.removeEventListener("sourceopen",this.e.onSourceOpen),$.removeEventListener("sourceended",this.e.onSourceEnded),$.removeEventListener("sourceclose",this.e.onSourceClose),this._pendingSourceBufferInit=[],this._isBufferFull=!1,this._idrList.clear(),this._mediaSource=null}this._mediaElement&&(this._mediaElement.src="",this._mediaElement.removeAttribute("src"),this._mediaElement=null),this._mediaSourceObjectURL&&(window.URL.revokeObjectURL(this._mediaSourceObjectURL),this._mediaSourceObjectURL=null)}},{key:"appendInitSegment",value:function($,se){if(!this._mediaSource||this._mediaSource.readyState!=="open"){this._pendingSourceBufferInit.push($),this._pendingSegments[$.type].push($);return}var Oe=$,ke="".concat(Oe.container);Oe.codec&&Oe.codec.length>0&&(ke+=";codecs=".concat(Oe.codec));var Pe=!1;if(a.v(this.TAG,"Received Initialization Segment, mimeType: "+ke),this._lastInitSegments[Oe.type]=Oe,ke!==this._mimeTypes[Oe.type]){if(this._mimeTypes[Oe.type])a.v(this.TAG,"Notice: ".concat(Oe.type," mimeType changed, origin: ").concat(this._mimeTypes[Oe.type],", target: ").concat(ke));else{Pe=!0;try{var rt=this._sourceBuffers[Oe.type]=this._mediaSource.addSourceBuffer(ke);rt.addEventListener("error",this.e.onSourceBufferError),rt.addEventListener("updateend",this.e.onSourceBufferUpdateEnd)}catch(At){a.e(this.TAG,At.message),this._emitter.emit(or.ERROR,{code:At.code,msg:At.message});return}}this._mimeTypes[Oe.type]=ke}se||this._pendingSegments[Oe.type].push(Oe),Pe||this._sourceBuffers[Oe.type]&&!this._sourceBuffers[Oe.type].updating&&this._doAppendSegments(),_.safari&&Oe.container==="audio/mpeg"&&Oe.mediaDuration>0&&(this._requireSetMediaDuration=!0,this._pendingMediaDuration=Oe.mediaDuration/1e3,this._updateMediaSourceDuration())}},{key:"appendMediaSegment",value:function($){var se=$;this._pendingSegments[se.type].push(se),this._config.autoCleanupSourceBuffer&&this._needCleanupSourceBuffer()&&this._doCleanupSourceBuffer();var Oe=this._sourceBuffers[se.type];Oe&&!Oe.updating&&!this._hasPendingRemoveRanges()&&this._doAppendSegments()}},{key:"seek",value:function($){for(var se in this._sourceBuffers){if(!this._sourceBuffers[se])continue;var Oe=this._sourceBuffers[se];if(this._mediaSource.readyState==="open")try{Oe.abort()}catch($t){a.e(this.TAG,$t.message)}this._idrList.clear();var ke=this._pendingSegments[se];if(ke.splice(0,ke.length),this._mediaSource.readyState==="closed")continue;for(var Pe=0;Pe<Oe.buffered.length;Pe++){var rt=Oe.buffered.start(Pe),At=Oe.buffered.end(Pe);this._pendingRemoveRanges[se].push({start:rt,end:At})}if(Oe.updating||this._doRemoveRanges(),_.safari){var Wt=this._lastInitSegments[se];Wt&&(this._pendingSegments[se].push(Wt),Oe.updating||this._doAppendSegments())}}}},{key:"endOfStream",value:function(){var $=this._mediaSource,se=this._sourceBuffers;if(!$||$.readyState!=="open"){$&&$.readyState==="closed"&&this._hasPendingSegments()&&(this._hasPendingEos=!0);return}se.video&&se.video.updating||se.audio&&se.audio.updating?this._hasPendingEos=!0:(this._hasPendingEos=!1,$.endOfStream())}},{key:"getNearestKeyframe",value:function($){return this._idrList.getLastSyncPointBeforeDts($)}},{key:"_needCleanupSourceBuffer",value:function(){if(!this._config.autoCleanupSourceBuffer)return!1;var $=this._mediaElement.currentTime;for(var se in this._sourceBuffers){var Oe=this._sourceBuffers[se];if(Oe){var ke=Oe.buffered;if(ke.length>=1&&$-ke.start(0)>=this._config.autoCleanupMaxBackwardDuration)return!0}}return!1}},{key:"_doCleanupSourceBuffer",value:function(){var $=this._mediaElement.currentTime;for(var se in this._sourceBuffers){var Oe=this._sourceBuffers[se];if(Oe){for(var ke=Oe.buffered,Pe=!1,rt=0;rt<ke.length;rt++){var At=ke.start(rt),Wt=ke.end(rt);if(At<=$&&$<Wt+3){if($-At>=this._config.autoCleanupMaxBackwardDuration){Pe=!0;var $t=$-this._config.autoCleanupMinBackwardDuration;this._pendingRemoveRanges[se].push({start:At,end:$t})}}else Wt<$&&(Pe=!0,this._pendingRemoveRanges[se].push({start:At,end:Wt}))}Pe&&!Oe.updating&&this._doRemoveRanges()}}}},{key:"_updateMediaSourceDuration",value:function(){var $=this._sourceBuffers;if(this._mediaElement.readyState===0||this._mediaSource.readyState!=="open")return;if($.video&&$.video.updating||$.audio&&$.audio.updating)return;var se=this._mediaSource.duration,Oe=this._pendingMediaDuration;Oe>0&&(isNaN(se)||Oe>se)&&(a.v(this.TAG,"Update MediaSource duration from ".concat(se," to ").concat(Oe)),this._mediaSource.duration=Oe),this._requireSetMediaDuration=!1,this._pendingMediaDuration=0}},{key:"_doRemoveRanges",value:function(){for(var $ in this._pendingRemoveRanges){if(!this._sourceBuffers[$]||this._sourceBuffers[$].updating)continue;for(var se=this._sourceBuffers[$],Oe=this._pendingRemoveRanges[$];Oe.length&&!se.updating;){var ke=Oe.shift();se.remove(ke.start,ke.end)}}}},{key:"_doAppendSegments",value:function(){var $=this._pendingSegments;for(var se in $){if(!this._sourceBuffers[se]||this._sourceBuffers[se].updating)continue;if($[se].length>0){var Oe=$[se].shift();if(Oe.timestampOffset){var ke=this._sourceBuffers[se].timestampOffset,Pe=Oe.timestampOffset/1e3,rt=Math.abs(ke-Pe);rt>.1&&(a.v(this.TAG,"Update MPEG audio timestampOffset from ".concat(ke," to ").concat(Pe)),this._sourceBuffers[se].timestampOffset=Pe),delete Oe.timestampOffset}if(!Oe.data||Oe.data.byteLength===0)continue;try{this._sourceBuffers[se].appendBuffer(Oe.data),this._isBufferFull=!1,se==="video"&&Oe.hasOwnProperty("info")&&this._idrList.appendArray(Oe.info.syncPoints)}catch(At){this._pendingSegments[se].unshift(Oe),At.code===22?(this._isBufferFull||this._emitter.emit(or.BUFFER_FULL),this._isBufferFull=!0):(a.e(this.TAG,At.message),this._emitter.emit(or.ERROR,{code:At.code,msg:At.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 $=this._pendingSourceBufferInit;$.length;){var se=$.shift();this.appendInitSegment(se,!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 $=this._pendingSegments;return $.video.length>0||$.audio.length>0}},{key:"_hasPendingRemoveRanges",value:function(){var $=this._pendingRemoveRanges;return $.video.length>0||$.audio.length>0}},{key:"_onSourceBufferUpdateEnd",value:function(){this._requireSetMediaDuration?this._updateMediaSourceDuration():this._hasPendingRemoveRanges()?this._doRemoveRanges():this._hasPendingSegments()?this._doAppendSegments():this._hasPendingEos&&this.endOfStream(),this._emitter.emit(or.UPDATE_END)}},{key:"_onSourceBufferError",value:function($){a.e(this.TAG,"SourceBuffer Error: ".concat($))}}]),de}(),_e=Pt,Ce={NETWORK_ERROR:"NetworkError",MEDIA_ERROR:"MediaError",OTHER_ERROR:"OtherError"},Ee={NETWORK_EXCEPTION:p.EXCEPTION,NETWORK_STATUS_CODE_INVALID:p.HTTP_STATUS_CODE_INVALID,NETWORK_TIMEOUT:p.CONNECTING_TIMEOUT,NETWORK_UNRECOVERABLE_EARLY_EOF:p.UNRECOVERABLE_EARLY_EOF,MEDIA_MSE_ERROR:"MediaMSEError",MEDIA_FORMAT_ERROR:te.FORMAT_ERROR,MEDIA_FORMAT_UNSUPPORTED:te.FORMAT_UNSUPPORTED,MEDIA_CODEC_UNSUPPORTED:te.CODEC_UNSUPPORTED},we=function(){function de(xe,$){if(Object(g.a)(this,de),this.TAG="FlvPlayer",this._type="FlvPlayer",this._emitter=new h.a,this._config=q(),typeof $=="object"&&Object.assign(this._config,$),xe.type.toLowerCase()!=="flv")throw new t("FlvPlayer requires an flv MediaDataSource input!");xe.isLive===!0&&(this._config.isLive=!0),this.e={onvLoadedMetadata:this._onvLoadedMetadata.bind(this),onvSeeking:this._onvSeeking.bind(this),onvCanPlay:this._onvCanPlay.bind(this),onvStalled:this._onvStalled.bind(this),onvProgress:this._onvProgress.bind(this)},self.performance&&self.performance.now?this._now=self.performance.now.bind(self.performance):this._now=Date.now,this._pendingSeekTime=null,this._requestSetTime=!1,this._seekpointRecord=null,this._progressChecker=null,this._mediaDataSource=xe,this._mediaElement=null,this._msectl=null,this._transmuxer=null,this._mseSourceOpened=!1,this._hasPendingLoad=!1,this._receivedCanPlay=!1,this._mediaInfo=null,this._statisticsInfo=null;var se=_.chrome&&(_.version.major<50||_.version.major===50&&_.version.build<2661);this._alwaysSeekKeyframe=!!(se||_.msedge||_.msie),this._alwaysSeekKeyframe&&(this._config.accurateSeek=!1)}return Object(f.a)(de,[{key:"destroy",value:function(){this._progressChecker!=null&&(window.clearInterval(this._progressChecker),this._progressChecker=null),this._transmuxer&&this.unload(),this._mediaElement&&this.detachMediaElement(),this.e=null,this._mediaDataSource=null,this._emitter.removeAllListeners(),this._emitter=null}},{key:"on",value:function($,se){var Oe=this;$===Ae.MEDIA_INFO?this._mediaInfo!=null&&Promise.resolve().then(function(){Oe._emitter.emit(Ae.MEDIA_INFO,Oe.mediaInfo)}):$===Ae.STATISTICS_INFO&&(this._statisticsInfo!=null&&Promise.resolve().then(function(){Oe._emitter.emit(Ae.STATISTICS_INFO,Oe.statisticsInfo)})),this._emitter.addListener($,se)}},{key:"off",value:function($,se){this._emitter.removeListener($,se)}},{key:"attachMediaElement",value:function($){var se=this;if(this._mediaElement=$,$.addEventListener("loadedmetadata",this.e.onvLoadedMetadata),$.addEventListener("seeking",this.e.onvSeeking),$.addEventListener("canplay",this.e.onvCanPlay),$.addEventListener("stalled",this.e.onvStalled),$.addEventListener("progress",this.e.onvProgress),this._msectl=new _e(this._config),this._msectl.on(or.UPDATE_END,this._onmseUpdateEnd.bind(this)),this._msectl.on(or.BUFFER_FULL,this._onmseBufferFull.bind(this)),this._msectl.on(or.SOURCE_OPEN,function(){se._mseSourceOpened=!0,se._hasPendingLoad&&(se._hasPendingLoad=!1,se.load())}),this._msectl.on(or.ERROR,function(Oe){se._emitter.emit(Ae.ERROR,Ce.MEDIA_ERROR,Ee.MEDIA_MSE_ERROR,Oe)}),this._msectl.attachMediaElement($),this._pendingSeekTime!=null)try{$.currentTime=this._pendingSeekTime,this._pendingSeekTime=null}catch(Oe){}}},{key:"detachMediaElement",value:function(){this._mediaElement&&(this._msectl.detachMediaElement(),this._mediaElement.removeEventListener("loadedmetadata",this.e.onvLoadedMetadata),this._mediaElement.removeEventListener("seeking",this.e.onvSeeking),this._mediaElement.removeEventListener("canplay",this.e.onvCanPlay),this._mediaElement.removeEventListener("stalled",this.e.onvStalled),this._mediaElement.removeEventListener("progress",this.e.onvProgress),this._mediaElement=null),this._msectl&&(this._msectl.destroy(),this._msectl=null)}},{key:"load",value:function(){var $=this;if(!this._mediaElement)throw new l("HTMLMediaElement must be attached before load()!");if(this._transmuxer)throw new l("FlvPlayer.load() has been called, please call unload() first!");if(this._hasPendingLoad)return;if(this._config.deferLoadAfterSourceOpen&&this._mseSourceOpened===!1){this._hasPendingLoad=!0;return}this._mediaElement.readyState>0&&(this._requestSetTime=!0,this._mediaElement.currentTime=0),this._transmuxer=new bt(this._mediaDataSource,this._config),this._transmuxer.on(lt.INIT_SEGMENT,function(se,Oe){$._msectl.appendInitSegment(Oe)}),this._transmuxer.on(lt.MEDIA_SEGMENT,function(se,Oe){if($._msectl.appendMediaSegment(Oe),$._config.lazyLoad&&!$._config.isLive){var ke=$._mediaElement.currentTime;Oe.info.endDts>=(ke+$._config.lazyLoadMaxDuration)*1e3&&($._progressChecker==null&&(a.v($.TAG,"Maximum buffering duration exceeded, suspend transmuxing task"),$._suspendTransmuxer()))}}),this._transmuxer.on(lt.LOADING_COMPLETE,function(){$._msectl.endOfStream(),$._emitter.emit(Ae.LOADING_COMPLETE)}),this._transmuxer.on(lt.RECOVERED_EARLY_EOF,function(){$._emitter.emit(Ae.RECOVERED_EARLY_EOF)}),this._transmuxer.on(lt.IO_ERROR,function(se,Oe){$._emitter.emit(Ae.ERROR,Ce.NETWORK_ERROR,se,Oe)}),this._transmuxer.on(lt.DEMUX_ERROR,function(se,Oe){$._emitter.emit(Ae.ERROR,Ce.MEDIA_ERROR,se,{code:-1,msg:Oe})}),this._transmuxer.on(lt.MEDIA_INFO,function(se){$._mediaInfo=se,$._emitter.emit(Ae.MEDIA_INFO,Object.assign({},se))}),this._transmuxer.on(lt.METADATA_ARRIVED,function(se){$._emitter.emit(Ae.METADATA_ARRIVED,se)}),this._transmuxer.on(lt.SCRIPTDATA_ARRIVED,function(se){$._emitter.emit(Ae.SCRIPTDATA_ARRIVED,se)}),this._transmuxer.on(lt.STATISTICS_INFO,function(se){$._statisticsInfo=$._fillStatisticsInfo(se),$._emitter.emit(Ae.STATISTICS_INFO,Object.assign({},$._statisticsInfo))}),this._transmuxer.on(lt.RECOMMEND_SEEKPOINT,function(se){$._mediaElement&&!$._config.accurateSeek&&($._requestSetTime=!0,$._mediaElement.currentTime=se/1e3)}),this._transmuxer.open()}},{key:"unload",value:function(){this._mediaElement&&this._mediaElement.pause(),this._msectl&&this._msectl.seek(0),this._transmuxer&&(this._transmuxer.close(),this._transmuxer.destroy(),this._transmuxer=null)}},{key:"play",value:function(){return this._mediaElement.play()}},{key:"pause",value:function(){this._mediaElement.pause()}},{key:"_fillStatisticsInfo",value:function($){if($.playerType=this._type,!(this._mediaElement instanceof HTMLVideoElement))return $;var se=!0,Oe=0,ke=0;if(this._mediaElement.getVideoPlaybackQuality){var Pe=this._mediaElement.getVideoPlaybackQuality();Oe=Pe.totalVideoFrames,ke=Pe.droppedVideoFrames}else this._mediaElement.webkitDecodedFrameCount!=null?(Oe=this._mediaElement.webkitDecodedFrameCount,ke=this._mediaElement.webkitDroppedFrameCount):se=!1;return se&&($.decodedFrames=Oe,$.droppedFrames=ke),$}},{key:"_onmseUpdateEnd",value:function(){if(!this._config.lazyLoad||this._config.isLive)return;for(var $=this._mediaElement.buffered,se=this._mediaElement.currentTime,Oe=0,ke=0,Pe=0;Pe<$.length;Pe++){var rt=$.start(Pe),At=$.end(Pe);if(rt<=se&&se<At){Oe=rt,ke=At;break}}ke>=se+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 $=this._mediaElement.currentTime,se=this._mediaElement.buffered,Oe=!1,ke=0;ke<se.length;ke++){var Pe=se.start(ke),rt=se.end(ke);if($>=Pe&&$<rt){$>=rt-this._config.lazyLoadRecoverDuration&&(Oe=!0);break}}Oe&&(window.clearInterval(this._progressChecker),this._progressChecker=null,Oe&&(a.v(this.TAG,"Continue loading from paused position"),this._transmuxer.resume()))}},{key:"_isTimepointBuffered",value:function($){for(var se=this._mediaElement.buffered,Oe=0;Oe<se.length;Oe++){var ke=se.start(Oe),Pe=se.end(Oe);if($>=ke&&$<Pe)return!0}return!1}},{key:"_internalSeek",value:function($){var se=this._isTimepointBuffered($),Oe=!1,ke=0;if($<1&&this._mediaElement.buffered.length>0){var Pe=this._mediaElement.buffered.start(0);(Pe<1&&$<Pe||_.safari)&&(Oe=!0,ke=_.safari?.1:Pe)}if(Oe)this._requestSetTime=!0,this._mediaElement.currentTime=ke;else if(se){if(!this._alwaysSeekKeyframe)this._requestSetTime=!0,this._mediaElement.currentTime=$;else{var rt=this._msectl.getNearestKeyframe(Math.floor($*1e3));this._requestSetTime=!0,rt!=null?this._mediaElement.currentTime=rt.dts/1e3:this._mediaElement.currentTime=$}this._progressChecker!=null&&this._checkProgressAndResume()}else this._progressChecker!=null&&(window.clearInterval(this._progressChecker),this._progressChecker=null),this._msectl.seek($),this._transmuxer.seek(Math.floor($*1e3)),this._config.accurateSeek&&(this._requestSetTime=!0,this._mediaElement.currentTime=$)}},{key:"_checkAndApplyUnbufferedSeekpoint",value:function(){if(this._seekpointRecord)if(this._seekpointRecord.recordTime<=this._now()-100){var $=this._mediaElement.currentTime;this._seekpointRecord=null,this._isTimepointBuffered($)||(this._progressChecker!=null&&(window.clearTimeout(this._progressChecker),this._progressChecker=null),this._msectl.seek($),this._transmuxer.seek(Math.floor($*1e3)),this._config.accurateSeek&&(this._requestSetTime=!0,this._mediaElement.currentTime=$))}else window.setTimeout(this._checkAndApplyUnbufferedSeekpoint.bind(this),50)}},{key:"_checkAndResumeStuckPlayback",value:function($){var se=this._mediaElement;if($||!this._receivedCanPlay||se.readyState<2){var Oe=se.buffered;Oe.length>0&&se.currentTime<Oe.start(0)&&(a.w(this.TAG,"Playback seems stuck at ".concat(se.currentTime,", seek to ").concat(Oe.start(0))),this._requestSetTime=!0,this._mediaElement.currentTime=Oe.start(0),this._mediaElement.removeEventListener("progress",this.e.onvProgress))}else this._mediaElement.removeEventListener("progress",this.e.onvProgress)}},{key:"_onvLoadedMetadata",value:function($){this._pendingSeekTime!=null&&(this._mediaElement.currentTime=this._pendingSeekTime,this._pendingSeekTime=null)}},{key:"_onvSeeking",value:function($){var se=this._mediaElement.currentTime,Oe=this._mediaElement.buffered;if(this._requestSetTime){this._requestSetTime=!1;return}if(se<1&&Oe.length>0){var ke=Oe.start(0);if(ke<1&&se<ke||_.safari){this._requestSetTime=!0,this._mediaElement.currentTime=_.safari?.1:ke;return}}if(this._isTimepointBuffered(se)){if(this._alwaysSeekKeyframe){var Pe=this._msectl.getNearestKeyframe(Math.floor(se*1e3));Pe!=null&&(this._requestSetTime=!0,this._mediaElement.currentTime=Pe.dts/1e3)}this._progressChecker!=null&&this._checkProgressAndResume();return}this._seekpointRecord={seekPoint:se,recordTime:this._now()},window.setTimeout(this._checkAndApplyUnbufferedSeekpoint.bind(this),50)}},{key:"_onvCanPlay",value:function($){this._receivedCanPlay=!0,this._mediaElement.removeEventListener("canplay",this.e.onvCanPlay)}},{key:"_onvStalled",value:function($){this._checkAndResumeStuckPlayback(!0)}},{key:"_onvProgress",value:function($){this._checkAndResumeStuckPlayback()}},{key:"type",get:function(){return this._type}},{key:"buffered",get:function(){return this._mediaElement.buffered}},{key:"duration",get:function(){return this._mediaElement.duration}},{key:"volume",get:function(){return this._mediaElement.volume},set:function($){this._mediaElement.volume=$}},{key:"muted",get:function(){return this._mediaElement.muted},set:function($){this._mediaElement.muted=$}},{key:"currentTime",get:function(){return this._mediaElement?this._mediaElement.currentTime:0},set:function($){this._mediaElement?this._internalSeek($):this._pendingSeekTime=$}},{key:"mediaInfo",get:function(){return Object.assign({},this._mediaInfo)}},{key:"statisticsInfo",get:function(){return this._statisticsInfo==null&&(this._statisticsInfo={}),this._statisticsInfo=this._fillStatisticsInfo(this._statisticsInfo),Object.assign({},this._statisticsInfo)}}]),de}(),Fe=we,Ye=function(){function de(xe,$){if(Object(g.a)(this,de),this.TAG="NativePlayer",this._type="NativePlayer",this._emitter=new h.a,this._config=q(),typeof $=="object"&&Object.assign(this._config,$),xe.type.toLowerCase()==="flv")throw new t("NativePlayer does't support flv MediaDataSource input!");if(xe.hasOwnProperty("segments"))throw new t("NativePlayer(".concat(xe.type,") doesn't support multipart playback!"));this.e={onvLoadedMetadata:this._onvLoadedMetadata.bind(this)},this._pendingSeekTime=null,this._statisticsReporter=null,this._mediaDataSource=xe,this._mediaElement=null}return Object(f.a)(de,[{key:"destroy",value:function(){this._mediaElement&&(this.unload(),this.detachMediaElement()),this.e=null,this._mediaDataSource=null,this._emitter.removeAllListeners(),this._emitter=null}},{key:"on",value:function($,se){var Oe=this;$===Ae.MEDIA_INFO?this._mediaElement!=null&&this._mediaElement.readyState!==0&&Promise.resolve().then(function(){Oe._emitter.emit(Ae.MEDIA_INFO,Oe.mediaInfo)}):$===Ae.STATISTICS_INFO&&(this._mediaElement!=null&&this._mediaElement.readyState!==0&&Promise.resolve().then(function(){Oe._emitter.emit(Ae.STATISTICS_INFO,Oe.statisticsInfo)})),this._emitter.addListener($,se)}},{key:"off",value:function($,se){this._emitter.removeListener($,se)}},{key:"attachMediaElement",value:function($){if(this._mediaElement=$,$.addEventListener("loadedmetadata",this.e.onvLoadedMetadata),this._pendingSeekTime!=null)try{$.currentTime=this._pendingSeekTime,this._pendingSeekTime=null}catch(se){}}},{key:"detachMediaElement",value:function(){this._mediaElement&&(this._mediaElement.src="",this._mediaElement.removeAttribute("src"),this._mediaElement.removeEventListener("loadedmetadata",this.e.onvLoadedMetadata),this._mediaElement=null),this._statisticsReporter!=null&&(window.clearInterval(this._statisticsReporter),this._statisticsReporter=null)}},{key:"load",value:function(){if(!this._mediaElement)throw new l("HTMLMediaElement must be attached before load()!");this._mediaElement.src=this._mediaDataSource.url,this._mediaElement.readyState>0&&(this._mediaElement.currentTime=0),this._mediaElement.preload="auto",this._mediaElement.load(),this._statisticsReporter=window.setInterval(this._reportStatisticsInfo.bind(this),this._config.statisticsInfoReportInterval)}},{key:"unload",value:function(){this._mediaElement&&(this._mediaElement.src="",this._mediaElement.removeAttribute("src")),this._statisticsReporter!=null&&(window.clearInterval(this._statisticsReporter),this._statisticsReporter=null)}},{key:"play",value:function(){return this._mediaElement.play()}},{key:"pause",value:function(){this._mediaElement.pause()}},{key:"_onvLoadedMetadata",value:function($){this._pendingSeekTime!=null&&(this._mediaElement.currentTime=this._pendingSeekTime,this._pendingSeekTime=null),this._emitter.emit(Ae.MEDIA_INFO,this.mediaInfo)}},{key:"_reportStatisticsInfo",value:function(){this._emitter.emit(Ae.STATISTICS_INFO,this.statisticsInfo)}},{key:"type",get:function(){return this._type}},{key:"buffered",get:function(){return this._mediaElement.buffered}},{key:"duration",get:function(){return this._mediaElement.duration}},{key:"volume",get:function(){return this._mediaElement.volume},set:function($){this._mediaElement.volume=$}},{key:"muted",get:function(){return this._mediaElement.muted},set:function($){this._mediaElement.muted=$}},{key:"currentTime",get:function(){return this._mediaElement?this._mediaElement.currentTime:0},set:function($){this._mediaElement?this._mediaElement.currentTime=$:this._pendingSeekTime=$}},{key:"mediaInfo",get:function(){var $=this._mediaElement instanceof HTMLAudioElement?"audio/":"video/",se={mimeType:$+this._mediaDataSource.type};return this._mediaElement&&(se.duration=Math.floor(this._mediaElement.duration*1e3),this._mediaElement instanceof HTMLVideoElement&&(se.width=this._mediaElement.videoWidth,se.height=this._mediaElement.videoHeight)),se}},{key:"statisticsInfo",get:function(){var $={playerType:this._type,url:this._mediaDataSource.url};if(!(this._mediaElement instanceof HTMLVideoElement))return $;var se=!0,Oe=0,ke=0;if(this._mediaElement.getVideoPlaybackQuality){var Pe=this._mediaElement.getVideoPlaybackQuality();Oe=Pe.totalVideoFrames,ke=Pe.droppedVideoFrames}else this._mediaElement.webkitDecodedFrameCount!=null?(Oe=this._mediaElement.webkitDecodedFrameCount,ke=this._mediaElement.webkitDroppedFrameCount):se=!1;return se&&($.decodedFrames=Oe,$.droppedFrames=ke),$}}]),de}(),Ge=Ye;m.install();function qe(de,xe){var $=de;if($==null||typeof $!="object")throw new t("MediaDataSource must be an javascript object!");if(!$.hasOwnProperty("type"))throw new t("MediaDataSource must has type field to indicate video file type!");switch($.type){case"flv":return new Fe($,xe);default:return new Ge($,xe)}}function Ke(){return G.supportMSEH264Playback()}function ct(){return G.getFeatureList()}var wt={};wt.createPlayer=qe,wt.isSupported=Ke,wt.getFeatureList=ct,wt.BaseLoader=x,wt.LoaderStatus=u,wt.LoaderErrors=p,wt.Events=Ae,wt.ErrorTypes=Ce,wt.ErrorDetails=Ee,wt.FlvPlayer=Fe,wt.NativePlayer=Ge,wt.LoggingControl=Ue,Object.defineProperty(wt,"version",{enumerable:!0,get:function(){return"__VERSION__"}});var Lt=D.a=wt},GVMX:function(R,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"}});R.exports=f},GdRQ:function(R,D,e){"use strict";function g(C){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?g=function(y){return typeof y}:g=function(y){return y&&typeof Symbol=="function"&&y.constructor===Symbol&&y!==Symbol.prototype?"symbol":typeof y},g(C)}Object.defineProperty(D,"__esModule",{value:!0}),D.isMac=u,D.isWindows=p,D.isIOS=x,D.isSafari=S,D.isIE=T,D.isEdge=w,D.isFirefox=E,D.hasScrollbarGutter=D.supportsImageMetadata=D.supportsCursorURIs=D.dragThreshold=D.isTouchDevice=void 0;var f=m(e("Lo0S"));function A(){if(typeof WeakMap!="function")return null;var C=new WeakMap;return A=function(){return C},C}function m(C){if(C&&C.__esModule)return C;if(C===null||g(C)!=="object"&&typeof C!="function")return{default:C};var _=A();if(_&&_.has(C))return _.get(C);var y={},b=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var O in C)if(Object.prototype.hasOwnProperty.call(C,O)){var I=b?Object.getOwnPropertyDescriptor(C,O):null;I&&(I.get||I.set)?Object.defineProperty(y,O,I):y[O]=C[O]}return y.default=C,_&&_.set(C,y),y}var v="ontouchstart"in document.documentElement||document.ontouchstart!==void 0||navigator.maxTouchPoints>0||navigator.msMaxTouchPoints>0;D.isTouchDevice=v,window.addEventListener("touchstart",function C(){D.isTouchDevice=v=!0,window.removeEventListener("touchstart",C,!1)},!1);var h=10*(window.devicePixelRatio||1);D.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(C){f.Error("Data URI scheme cursor test exception: "+C)}var i=c;D.supportsCursorURIs=i;var r=!1;try{new ImageData(new Uint8ClampedArray(4),1,1),r=!0}catch(C){}var o=r;D.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(C){f.Error("Scrollbar test exception: "+C)}var s=d;D.hasScrollbarGutter=s;function u(){return navigator&&!!/mac/i.exec(navigator.platform)}function p(){return navigator&&!!/win/i.exec(navigator.platform)}function x(){return navigator&&(!!/ipad/i.exec(navigator.platform)||!!/iphone/i.exec(navigator.platform)||!!/ipod/i.exec(navigator.platform))}function S(){return navigator&&navigator.userAgent.indexOf("Safari")!==-1&&navigator.userAgent.indexOf("Chrome")===-1}function T(){return navigator&&!!/trident/i.exec(navigator.userAgent)}function w(){return navigator&&!!/edge/i.exec(navigator.userAgent)}function E(){return navigator&&!!/firefox/i.exec(navigator.userAgent)}},GeKi:function(R,D,e){var g=e("bYtY"),f=e("6Ic6"),A=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(S,T,w){this.group.removeClipPath(),this._updateDrawMode(S),this._isLargeDraw?this._renderLarge(S):this._renderNormal(S)},incrementalPrepareRender:function(S,T,w){this._clear(),this._updateDrawMode(S)},incrementalRender:function(S,T,w,E){this._isLargeDraw?this._incrementalRenderLarge(S,T):this._incrementalRenderNormal(S,T)},_updateDrawMode:function(S){var T=S.pipelineContext.large;(this._isLargeDraw==null||T^this._isLargeDraw)&&(this._isLargeDraw=T,this._clear())},_renderNormal:function(S){var T=S.getData(),w=this._data,E=this.group,C=T.getLayout("isSimpleBox"),_=S.get("clip",!0),y=S.coordinateSystem,b=y.getArea&&y.getArea();this._data||E.removeAll(),T.diff(w).add(function(O){if(T.hasValue(O)){var I,M=T.getItemLayout(O);if(_&&n(b,M))return;I=d(M,O,!0),A.initProps(I,{shape:{points:M.ends}},S,O),l(I,T,O,C),E.add(I),T.setItemGraphicEl(O,I)}}).update(function(O,I){var M=w.getItemGraphicEl(I);if(!T.hasValue(O)){E.remove(M);return}var F=T.getItemLayout(O);if(_&&n(b,F)){E.remove(M);return}M?A.updateProps(M,{shape:{points:F.ends}},S,O):M=d(F,O),l(M,T,O,C),E.add(M),T.setItemGraphicEl(O,M)}).remove(function(O){var I=w.getItemGraphicEl(O);I&&E.remove(I)}).execute(),this._data=T},_renderLarge:function(S){this._clear(),u(S,this.group);var T=S.get("clip",!0)?h(S.coordinateSystem,!1,S):null;T?this.group.setClipPath(T):this.group.removeClipPath()},_incrementalRenderNormal:function(S,T){for(var w=T.getData(),E=w.getLayout("isSimpleBox"),C;(C=S.next())!=null;){var _,y=w.getItemLayout(C);_=d(y,C),l(_,w,C,E),_.incremental=!0,this.group.add(_)}},_incrementalRenderLarge:function(S,T){u(T,this.group,!0)},remove:function(S){this._clear()},_clear:function(){this.group.removeAll(),this._data=null},dispose:g.noop}),o=m.extend({type:"normalCandlestickBox",shape:{},buildPath:function(S,T){var w=T.points;this.__simpleBox?(S.moveTo(w[4][0],w[4][1]),S.lineTo(w[6][0],w[6][1])):(S.moveTo(w[0][0],w[0][1]),S.lineTo(w[1][0],w[1][1]),S.lineTo(w[2][0],w[2][1]),S.lineTo(w[3][0],w[3][1]),S.closePath(),S.moveTo(w[4][0],w[4][1]),S.lineTo(w[5][0],w[5][1]),S.moveTo(w[6][0],w[6][1]),S.lineTo(w[7][0],w[7][1]))}});function d(S,T,w){var E=S.ends;return new o({shape:{points:w?t(E,S):E},z2:100})}function n(S,T){for(var w=!0,E=0;E<T.ends.length;E++)if(S.contain(T.ends[E][0],T.ends[E][1])){w=!1;break}return w}function l(S,T,w,E){var C=T.getItemModel(w),_=C.getModel(c),y=T.getItemVisual(w,"color"),b=T.getItemVisual(w,"borderColor")||y,O=_.getItemStyle(i);S.useStyle(O),S.style.strokeNoScale=!0,S.style.fill=y,S.style.stroke=b,S.__simpleBox=E;var I=C.getModel(a).getItemStyle();A.setHoverStyle(S,I)}function t(S,T){return g.map(S,function(w){return w=w.slice(),w[1]=T.initBaseline,w})}var s=m.extend({type:"largeCandlestickBox",shape:{},buildPath:function(S,T){for(var w=T.points,E=0;E<w.length;)if(this.__sign===w[E++]){var C=w[E++];S.moveTo(C,w[E++]),S.lineTo(C,w[E++])}else E+=3}});function u(S,T,w){var E=S.getData(),C=E.getLayout("largePoints"),_=new s({shape:{points:C},__sign:1});T.add(_);var y=new s({shape:{points:C},__sign:-1});T.add(y),p(1,_,S,E),p(-1,y,S,E),w&&(_.incremental=!0,y.incremental=!0)}function p(S,T,w,E){var C=S>0?"P":"N",_=E.getVisual("borderColor"+C)||E.getVisual("color"+C),y=w.getModel(c).getItemStyle(i);T.useStyle(y),T.style.fill=null,T.style.stroke=_}var x=r;R.exports=x},Gev7:function(R,D,e){var g=e("bYtY"),f=e("K2GJ"),A=e("1bdT"),m=e("ni6a");function v(c){c=c||{},A.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"?A.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,A),g.mixin(v,m);var h=v;R.exports=h},GrNh:function(R,D,e){var g=e("bYtY"),f=e("IwbS"),A=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,x=[s*p,u*p];l?r.animate().when(200,{position:x}).start("bounceOut"):r.attr("position",x)}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),x=g.extend({},p);x.label=null;var S=s.getShallow("animationTypeUpdate");if(d){n.setShape(x);var T=s.getShallow("animationType");T==="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 S==="expansion"?n.setShape(x):f.updateProps(n,{shape:x},s,o);var w=r.getItemVisual(o,"color");n.useStyle(g.defaults({lineJoin:"bevel",fill:w},u.getModel("itemStyle").getItemStyle())),n.hoverStyle=u.getModel("emphasis.itemStyle").getItemStyle();var E=u.getShallow("cursor");E&&n.attr("cursor",E),v(this,r.getItemLayout(o),s.isSelected(r.getName(o)),s.get("selectedOffset"),s.get("animation"));var C=!d&&S==="transition";this._updateLabel(r,o,C),this.highDownOnUpdate=s.get("silent")?null:function(_,y){var b=s.isAnimationEnabled()&&u.get("hoverAnimation");y==="emphasis"?(l.ignore=l.hoverIgnore,t.ignore=t.hoverIgnore,b&&(n.stopAnimation(!0),n.animateTo({shape:{r:p.r+s.get("hoverOffset")}},300,"elasticOut"))):(l.ignore=l.normalIgnore,t.ignore=t.normalIgnore,b&&(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,x=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 S={points:p.linePoints||[[p.x,p.y],[p.x,p.y],[p.x,p.y]]},T={x:p.x,y:p.y};d?(f.updateProps(n,{shape:S},t,o),f.updateProps(l,{style:T},t,o)):(n.attr({shape:S}),l.attr({style:T})),l.attr({rotation:p.rotation,origin:[p.x,p.y],z2:10});var w=s.getModel("label"),E=s.getModel("emphasis.label"),C=s.getModel("labelLine"),_=s.getModel("emphasis.labelLine"),x=r.getItemVisual(o,"color");f.setLabelStyle(l.style,l.hoverStyle={},w,E,{labelFetcher:r.hostModel,labelDataIndex:o,defaultText:p.text,autoColor:x,useInsideStyle:!!p.inside},{textAlign:p.textAlign,textVerticalAlign:p.verticalAlign,opacity:r.getItemVisual(o,"opacity")}),l.ignore=l.normalIgnore=!w.get("show"),l.hoverIgnore=!E.get("show"),n.ignore=n.normalIgnore=!C.get("show"),n.hoverIgnore=!_.get("show"),n.setStyle({stroke:x,opacity:r.getItemVisual(o,"opacity")}),n.setStyle(C.getModel("lineStyle").getLineStyle()),n.hoverStyle=_.getModel("lineStyle").getLineStyle();var y=C.get("smooth");y&&y===!0&&(y=.4),n.setShape({smooth:y})},g.inherits(h,f.Group);var a=A.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,x=r.get("animationType"),S=r.get("animationTypeUpdate"),T=g.curry(m,this.uid,r,u,d),w=r.get("selectedMode");if(l.diff(t).add(function(b){var O=new h(l,b);p&&x!=="scale"&&O.eachChild(function(I){I.stopAnimation(!0)}),w&&O.on("click",T),l.setItemGraphicEl(b,O),s.add(O)}).update(function(b,O){var I=t.getItemGraphicEl(O);!p&&S!=="transition"&&I.eachChild(function(M){M.stopAnimation(!0)}),I.updateData(l,b),I.off("click"),w&&I.on("click",T),s.add(I),l.setItemGraphicEl(b,I)}).remove(function(b){var O=t.getItemGraphicEl(b);s.remove(O)}).execute(),u&&l.count()>0&&(p?x!=="scale":S!=="transition")){for(var E=l.getItemLayout(0),C=1;isNaN(E.startAngle)&&C<l.count();++C)E=l.getItemLayout(C);var _=Math.max(d.getWidth(),d.getHeight())/2,y=g.bind(s.removeClipPath,s);s.setClipPath(this._createClipPath(E.cx,E.cy,_,E.startAngle,E.clockwise,y,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}}),x=u?f.initProps:f.updateProps;return x(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;R.exports=i},Gytx:function(R,D){R.exports=function(g,f,A,m){var v=A?A.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=A?A.call(m,o,d,r):void 0,v===!1||v===void 0&&o!==d)return!1}return!0}},GzdX:function(R,D,e){"use strict";var g=e("pVnL"),f=e.n(g),A=e("q1tI"),m=e.n(A),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(B){var U=B.pageXOffset,H="scrollLeft";if(typeof U!="number"){var z=B.document;U=z.documentElement[H],typeof U!="number"&&(U=z.body[H])}return U}function s(B){var U,H,z=B.ownerDocument,X=z.body,W=z&&z.documentElement,Y=B.getBoundingClientRect();return U=Y.left,H=Y.top,U-=W.clientLeft||X.clientLeft||0,H-=W.clientTop||X.clientTop||0,{left:U,top:H}}function u(B){var U=s(B),H=B.ownerDocument,z=H.defaultView||H.parentWindow;return U.left+=t(z),U.left}function p(B){var U=x();return function(){var z=Object(r.a)(B),X;if(U){var W=Object(r.a)(this).constructor;X=Reflect.construct(z,arguments,W)}else X=z.apply(this,arguments);return Object(i.a)(this,X)}}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(B){return!1}}var S=function(B){Object(a.a)(H,B);var U=p(H);function H(){var z;return Object(h.a)(this,H),z=U.apply(this,arguments),z.onHover=function(X){var W=z.props,Y=W.onHover,q=W.index;Y(X,q)},z.onClick=function(X){var W=z.props,Y=W.onClick,q=W.index;Y(X,q)},z.onKeyDown=function(X){var W=z.props,Y=W.onClick,q=W.index;X.keyCode===13&&Y(X,q)},z}return Object(c.a)(H,[{key:"getClassName",value:function(){var X=this.props,W=X.prefixCls,Y=X.index,q=X.value,me=X.allowHalf,G=X.focused,ye=Y+1,Ae=W;return q===0&&Y===0&&G?Ae+=" ".concat(W,"-focused"):me&&q+.5>=ye&&q<ye?(Ae+=" ".concat(W,"-half ").concat(W,"-active"),G&&(Ae+=" ".concat(W,"-focused"))):(Ae+=ye<=q?" ".concat(W,"-full"):" ".concat(W,"-zero"),ye===q&&G&&(Ae+=" ".concat(W,"-focused"))),Ae}},{key:"render",value:function(){var X=this.onHover,W=this.onClick,Y=this.onKeyDown,q=this.props,me=q.disabled,G=q.prefixCls,ye=q.character,Ae=q.characterRender,ve=q.index,Ue=q.count,Me=q.value,nt=typeof ye=="function"?ye(this.props):ye,ne=m.a.createElement("li",{className:this.getClassName()},m.a.createElement("div",{onClick:me?null:W,onKeyDown:me?null:Y,onMouseMove:me?null:X,role:"radio","aria-checked":Me>ve?"true":"false","aria-posinset":ve+1,"aria-setsize":Ue,tabIndex:me?-1:0},m.a.createElement("div",{className:"".concat(G,"-first")},nt),m.a.createElement("div",{className:"".concat(G,"-second")},nt)));return Ae&&(ne=Ae(ne,this.props)),ne}}]),H}(m.a.Component);function T(B,U){var H=Object.keys(B);if(Object.getOwnPropertySymbols){var z=Object.getOwnPropertySymbols(B);U&&(z=z.filter(function(X){return Object.getOwnPropertyDescriptor(B,X).enumerable})),H.push.apply(H,z)}return H}function w(B){for(var U=1;U<arguments.length;U++){var H=arguments[U]!=null?arguments[U]:{};U%2?T(Object(H),!0).forEach(function(z){Object(v.a)(B,z,H[z])}):Object.getOwnPropertyDescriptors?Object.defineProperties(B,Object.getOwnPropertyDescriptors(H)):T(Object(H)).forEach(function(z){Object.defineProperty(B,z,Object.getOwnPropertyDescriptor(H,z))})}return B}function E(B){var U=C();return function(){var z=Object(r.a)(B),X;if(U){var W=Object(r.a)(this).constructor;X=Reflect.construct(z,arguments,W)}else X=z.apply(this,arguments);return Object(i.a)(this,X)}}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(B){return!1}}function _(){}var y=function(B){Object(a.a)(H,B);var U=E(H);function H(z){var X;Object(h.a)(this,H),X=U.call(this,z),X.onHover=function(Y,q){var me=X.props.onHoverChange,G=X.getStarValue(q,Y.pageX),ye=X.state.cleanedValue;G!==ye&&X.setState({hoverValue:G,cleanedValue:null}),me(G)},X.onMouseLeave=function(){var Y=X.props.onHoverChange;X.setState({hoverValue:void 0,cleanedValue:null}),Y(void 0)},X.onClick=function(Y,q){var me=X.props.allowClear,G=X.state.value,ye=X.getStarValue(q,Y.pageX),Ae=!1;me&&(Ae=ye===G),X.onMouseLeave(),X.changeValue(Ae?0:ye),X.setState({cleanedValue:Ae?ye:null})},X.onFocus=function(){var Y=X.props.onFocus;X.setState({focused:!0}),Y&&Y()},X.onBlur=function(){var Y=X.props.onBlur;X.setState({focused:!1}),Y&&Y()},X.onKeyDown=function(Y){var q=Y.keyCode,me=X.props,G=me.count,ye=me.allowHalf,Ae=me.onKeyDown,ve=me.direction,Ue=ve==="rtl",Me=X.state.value;q===l.a.RIGHT&&Me<G&&!Ue?(ye?Me+=.5:Me+=1,X.changeValue(Me),Y.preventDefault()):q===l.a.LEFT&&Me>0&&!Ue||q===l.a.RIGHT&&Me>0&&Ue?(ye?Me-=.5:Me-=1,X.changeValue(Me),Y.preventDefault()):q===l.a.LEFT&&Me<G&&Ue&&(ye?Me+=.5:Me+=1,X.changeValue(Me),Y.preventDefault()),Ae&&Ae(Y)},X.saveRef=function(Y){return function(q){X.stars[Y]=q}},X.saveRate=function(Y){X.rate=Y};var W=z.value;return W===void 0&&(W=z.defaultValue),X.stars={},X.state={value:W,focused:!1,cleanedValue:null},X}return Object(c.a)(H,[{key:"componentDidMount",value:function(){var X=this.props,W=X.autoFocus,Y=X.disabled;W&&!Y&&this.focus()}},{key:"getStarDOM",value:function(X){return Object(o.a)(this.stars[X])}},{key:"getStarValue",value:function(X,W){var Y=this.props,q=Y.allowHalf,me=Y.direction,G=me==="rtl",ye=X+1;if(q){var Ae=this.getStarDOM(X),ve=u(Ae),Ue=Ae.clientWidth;(G&&W-ve>Ue/2||!G&&W-ve<Ue/2)&&(ye-=.5)}return ye}},{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 W=this.props.onChange;"value"in this.props||this.setState({value:X}),W(X)}},{key:"render",value:function(){for(var X=this.props,W=X.count,Y=X.allowHalf,q=X.style,me=X.prefixCls,G=X.disabled,ye=X.className,Ae=X.character,ve=X.characterRender,Ue=X.tabIndex,Me=X.direction,nt=this.state,ne=nt.value,be=nt.hoverValue,ot=nt.focused,ue=[],Q=G?"".concat(me,"-disabled"):"",V=0;V<W;V+=1)ue.push(m.a.createElement(S,{ref:this.saveRef(V),index:V,count:W,disabled:G,prefixCls:"".concat(me,"-star"),allowHalf:Y,value:be===void 0?ne:be,onClick:this.onClick,onHover:this.onHover,key:V,character:Ae,characterRender:ve,focused:ot}));var J=n()(me,Q,ye,Object(v.a)({},"".concat(me,"-rtl"),Me==="rtl"));return m.a.createElement("ul",{className:J,style:q,onMouseLeave:G?null:this.onMouseLeave,tabIndex:G?-1:Ue,onFocus:G?null:this.onFocus,onBlur:G?null:this.onBlur,onKeyDown:G?null:this.onKeyDown,ref:this.saveRate,role:"radiogroup"},ue)}}],[{key:"getDerivedStateFromProps",value:function(X,W){return"value"in X&&X.value!==void 0?w(w({},W),{},{value:X.value}):W}}]),H}(m.a.Component);y.defaultProps={defaultValue:0,count:5,allowHalf:!1,allowClear:!0,style:{},prefixCls:"rc-rate",onChange:_,character:"\u2605",onHoverChange:_,tabIndex:0,direction:"ltr"};var b=y,O=b,I=e("Lerx"),M=e.n(I),F=e("3S7+"),P=e("H84U"),j=function(B,U){var H={};for(var z in B)Object.prototype.hasOwnProperty.call(B,z)&&U.indexOf(z)<0&&(H[z]=B[z]);if(B!=null&&typeof Object.getOwnPropertySymbols=="function")for(var X=0,z=Object.getOwnPropertySymbols(B);X<z.length;X++)U.indexOf(z[X])<0&&Object.prototype.propertyIsEnumerable.call(B,z[X])&&(H[z[X]]=B[z[X]]);return H},K=A.forwardRef(function(B,U){var H=B.prefixCls,z=B.tooltips,X=j(B,["prefixCls","tooltips"]),W=function(Ae,ve){var Ue=ve.index;return z?A.createElement(F.a,{title:z[Ue]},Ae):Ae},Y=A.useContext(P.b),q=Y.getPrefixCls,me=Y.direction,G=q("rate",H);return A.createElement(O,f()({ref:U,characterRender:W},X,{prefixCls:G,direction:me}))});K.displayName="Rate",K.defaultProps={character:A.createElement(M.a,null)};var N=D.a=K},H6uX:function(R,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 A(this,h,c,a,i,!0)},on:function(h,c,a,i){return A(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 A(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;R.exports=m},H7XF:function(R,D,e){"use strict";D.byteLength=a,D.toByteArray=r,D.fromByteArray=n;for(var g=[],f=[],A=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],x=new A(i(l,u,p)),S=0,T=p>0?u-4:u,w;for(w=0;w<T;w+=4)t=f[l.charCodeAt(w)]<<18|f[l.charCodeAt(w+1)]<<12|f[l.charCodeAt(w+2)]<<6|f[l.charCodeAt(w+3)],x[S++]=t>>16&255,x[S++]=t>>8&255,x[S++]=t&255;return p===2&&(t=f[l.charCodeAt(w)]<<2|f[l.charCodeAt(w+1)]>>4,x[S++]=t&255),p===1&&(t=f[l.charCodeAt(w)]<<10|f[l.charCodeAt(w+1)]<<4|f[l.charCodeAt(w+2)]>>2,x[S++]=t>>8&255,x[S++]=t&255),x}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=[],x=t;x<s;x+=3)u=(l[x]<<16&16711680)+(l[x+1]<<8&65280)+(l[x+2]&255),p.push(o(u));return p.join("")}function n(l){for(var t,s=l.length,u=s%3,p=[],x=16383,S=0,T=s-u;S<T;S+=x)p.push(d(l,S,S+x>T?T:S+x));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(R,D,e){var g=e("QkVE");function f(A,m){var v=g(this,A),h=v.size;return v.set(A,m),this.size+=v.size==h?0:1,this}R.exports=f},HBhm:function(R,D,e){"use strict";Object.defineProperty(D,"__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"};D.default=g},HDXh:function(R,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"),A=e("kVK+"),m=e("49sm");D.Buffer=a,D.SlowBuffer=p,D.INSPECT_MAX_BYTES=50,a.TYPED_ARRAY_SUPPORT=g.TYPED_ARRAY_SUPPORT!==void 0?g.TYPED_ARRAY_SUPPORT:v(),D.kMaxLength=h();function v(){try{var ue=new Uint8Array(1);return ue.__proto__={__proto__:Uint8Array.prototype,foo:function(){return 42}},ue.foo()===42&&typeof ue.subarray=="function"&&ue.subarray(1,1).byteLength===0}catch(Q){return!1}}function h(){return a.TYPED_ARRAY_SUPPORT?2147483647:1073741823}function c(ue,Q){if(h()<Q)throw new RangeError("Invalid typed array length");return a.TYPED_ARRAY_SUPPORT?(ue=new Uint8Array(Q),ue.__proto__=a.prototype):(ue===null&&(ue=new a(Q)),ue.length=Q),ue}function a(ue,Q,V){if(!a.TYPED_ARRAY_SUPPORT&&!(this instanceof a))return new a(ue,Q,V);if(typeof ue=="number"){if(typeof Q=="string")throw new Error("If encoding is specified then the first argument must be a string");return d(this,ue)}return i(this,ue,Q,V)}a.poolSize=8192,a._augment=function(ue){return ue.__proto__=a.prototype,ue};function i(ue,Q,V,J){if(typeof Q=="number")throw new TypeError('"value" argument must not be a number');return typeof ArrayBuffer!="undefined"&&Q instanceof ArrayBuffer?t(ue,Q,V,J):typeof Q=="string"?n(ue,Q,V):s(ue,Q)}a.from=function(ue,Q,V){return i(null,ue,Q,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(ue){if(typeof ue!="number")throw new TypeError('"size" argument must be a number');if(ue<0)throw new RangeError('"size" argument must not be negative')}function o(ue,Q,V,J){return r(Q),Q<=0?c(ue,Q):V!==void 0?typeof J=="string"?c(ue,Q).fill(V,J):c(ue,Q).fill(V):c(ue,Q)}a.alloc=function(ue,Q,V){return o(null,ue,Q,V)};function d(ue,Q){if(r(Q),ue=c(ue,Q<0?0:u(Q)|0),!a.TYPED_ARRAY_SUPPORT)for(var V=0;V<Q;++V)ue[V]=0;return ue}a.allocUnsafe=function(ue){return d(null,ue)},a.allocUnsafeSlow=function(ue){return d(null,ue)};function n(ue,Q,V){if((typeof V!="string"||V==="")&&(V="utf8"),!a.isEncoding(V))throw new TypeError('"encoding" must be a valid string encoding');var J=x(Q,V)|0;ue=c(ue,J);var fe=ue.write(Q,V);return fe!==J&&(ue=ue.slice(0,fe)),ue}function l(ue,Q){var V=Q.length<0?0:u(Q.length)|0;ue=c(ue,V);for(var J=0;J<V;J+=1)ue[J]=Q[J]&255;return ue}function t(ue,Q,V,J){if(Q.byteLength,V<0||Q.byteLength<V)throw new RangeError("'offset' is out of bounds");if(Q.byteLength<V+(J||0))throw new RangeError("'length' is out of bounds");return V===void 0&&J===void 0?Q=new Uint8Array(Q):J===void 0?Q=new Uint8Array(Q,V):Q=new Uint8Array(Q,V,J),a.TYPED_ARRAY_SUPPORT?(ue=Q,ue.__proto__=a.prototype):ue=l(ue,Q),ue}function s(ue,Q){if(a.isBuffer(Q)){var V=u(Q.length)|0;return ue=c(ue,V),ue.length===0||Q.copy(ue,0,0,V),ue}if(Q){if(typeof ArrayBuffer!="undefined"&&Q.buffer instanceof ArrayBuffer||"length"in Q)return typeof Q.length!="number"||ot(Q.length)?c(ue,0):l(ue,Q);if(Q.type==="Buffer"&&m(Q.data))return l(ue,Q.data)}throw new TypeError("First argument must be a string, Buffer, ArrayBuffer, Array, or array-like object.")}function u(ue){if(ue>=h())throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+h().toString(16)+" bytes");return ue|0}function p(ue){return+ue!=ue&&(ue=0),a.alloc(+ue)}a.isBuffer=function(Q){return!!(Q!=null&&Q._isBuffer)},a.compare=function(Q,V){if(!a.isBuffer(Q)||!a.isBuffer(V))throw new TypeError("Arguments must be Buffers");if(Q===V)return 0;for(var J=Q.length,fe=V.length,oe=0,Le=Math.min(J,fe);oe<Le;++oe)if(Q[oe]!==V[oe]){J=Q[oe],fe=V[oe];break}return J<fe?-1:fe<J?1:0},a.isEncoding=function(Q){switch(String(Q).toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"latin1":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return!0;default:return!1}},a.concat=function(Q,V){if(!m(Q))throw new TypeError('"list" argument must be an Array of Buffers');if(Q.length===0)return a.alloc(0);var J;if(V===void 0)for(V=0,J=0;J<Q.length;++J)V+=Q[J].length;var fe=a.allocUnsafe(V),oe=0;for(J=0;J<Q.length;++J){var Le=Q[J];if(!a.isBuffer(Le))throw new TypeError('"list" argument must be an Array of Buffers');Le.copy(fe,oe),oe+=Le.length}return fe};function x(ue,Q){if(a.isBuffer(ue))return ue.length;if(typeof ArrayBuffer!="undefined"&&typeof ArrayBuffer.isView=="function"&&(ArrayBuffer.isView(ue)||ue instanceof ArrayBuffer))return ue.byteLength;typeof ue!="string"&&(ue=""+ue);var V=ue.length;if(V===0)return 0;for(var J=!1;;)switch(Q){case"ascii":case"latin1":case"binary":return V;case"utf8":case"utf-8":case void 0:return Ue(ue).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return V*2;case"hex":return V>>>1;case"base64":return ne(ue).length;default:if(J)return Ue(ue).length;Q=(""+Q).toLowerCase(),J=!0}}a.byteLength=x;function S(ue,Q,V){var J=!1;if((Q===void 0||Q<0)&&(Q=0),Q>this.length)return"";if((V===void 0||V>this.length)&&(V=this.length),V<=0)return"";if(V>>>=0,Q>>>=0,V<=Q)return"";for(ue||(ue="utf8");;)switch(ue){case"hex":return B(this,Q,V);case"utf8":case"utf-8":return F(this,Q,V);case"ascii":return K(this,Q,V);case"latin1":case"binary":return N(this,Q,V);case"base64":return M(this,Q,V);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return U(this,Q,V);default:if(J)throw new TypeError("Unknown encoding: "+ue);ue=(ue+"").toLowerCase(),J=!0}}a.prototype._isBuffer=!0;function T(ue,Q,V){var J=ue[Q];ue[Q]=ue[V],ue[V]=J}a.prototype.swap16=function(){var Q=this.length;if(Q%2!==0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(var V=0;V<Q;V+=2)T(this,V,V+1);return this},a.prototype.swap32=function(){var Q=this.length;if(Q%4!==0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(var V=0;V<Q;V+=4)T(this,V,V+3),T(this,V+1,V+2);return this},a.prototype.swap64=function(){var Q=this.length;if(Q%8!==0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(var V=0;V<Q;V+=8)T(this,V,V+7),T(this,V+1,V+6),T(this,V+2,V+5),T(this,V+3,V+4);return this},a.prototype.toString=function(){var Q=this.length|0;return Q===0?"":arguments.length===0?F(this,0,Q):S.apply(this,arguments)},a.prototype.equals=function(Q){if(!a.isBuffer(Q))throw new TypeError("Argument must be a Buffer");return this===Q?!0:a.compare(this,Q)===0},a.prototype.inspect=function(){var Q="",V=D.INSPECT_MAX_BYTES;return this.length>0&&(Q=this.toString("hex",0,V).match(/.{2}/g).join(" "),this.length>V&&(Q+=" ... ")),"<Buffer "+Q+">"},a.prototype.compare=function(Q,V,J,fe,oe){if(!a.isBuffer(Q))throw new TypeError("Argument must be a Buffer");if(V===void 0&&(V=0),J===void 0&&(J=Q?Q.length:0),fe===void 0&&(fe=0),oe===void 0&&(oe=this.length),V<0||J>Q.length||fe<0||oe>this.length)throw new RangeError("out of range index");if(fe>=oe&&V>=J)return 0;if(fe>=oe)return-1;if(V>=J)return 1;if(V>>>=0,J>>>=0,fe>>>=0,oe>>>=0,this===Q)return 0;for(var Le=oe-fe,he=J-V,te=Math.min(Le,he),Z=this.slice(fe,oe),ge=Q.slice(V,J),Re=0;Re<te;++Re)if(Z[Re]!==ge[Re]){Le=Z[Re],he=ge[Re];break}return Le<he?-1:he<Le?1:0};function w(ue,Q,V,J,fe){if(ue.length===0)return-1;if(typeof V=="string"?(J=V,V=0):V>2147483647?V=2147483647:V<-2147483648&&(V=-2147483648),V=+V,isNaN(V)&&(V=fe?0:ue.length-1),V<0&&(V=ue.length+V),V>=ue.length){if(fe)return-1;V=ue.length-1}else if(V<0)if(fe)V=0;else return-1;if(typeof Q=="string"&&(Q=a.from(Q,J)),a.isBuffer(Q))return Q.length===0?-1:E(ue,Q,V,J,fe);if(typeof Q=="number")return Q=Q&255,a.TYPED_ARRAY_SUPPORT&&typeof Uint8Array.prototype.indexOf=="function"?fe?Uint8Array.prototype.indexOf.call(ue,Q,V):Uint8Array.prototype.lastIndexOf.call(ue,Q,V):E(ue,[Q],V,J,fe);throw new TypeError("val must be string, number or Buffer")}function E(ue,Q,V,J,fe){var oe=1,Le=ue.length,he=Q.length;if(J!==void 0&&(J=String(J).toLowerCase(),J==="ucs2"||J==="ucs-2"||J==="utf16le"||J==="utf-16le")){if(ue.length<2||Q.length<2)return-1;oe=2,Le/=2,he/=2,V/=2}function te(dt,De){return oe===1?dt[De]:dt.readUInt16BE(De*oe)}var Z;if(fe){var ge=-1;for(Z=V;Z<Le;Z++)if(te(ue,Z)===te(Q,ge===-1?0:Z-ge)){if(ge===-1&&(ge=Z),Z-ge+1===he)return ge*oe}else ge!==-1&&(Z-=Z-ge),ge=-1}else for(V+he>Le&&(V=Le-he),Z=V;Z>=0;Z--){for(var Re=!0,ze=0;ze<he;ze++)if(te(ue,Z+ze)!==te(Q,ze)){Re=!1;break}if(Re)return Z}return-1}a.prototype.includes=function(Q,V,J){return this.indexOf(Q,V,J)!==-1},a.prototype.indexOf=function(Q,V,J){return w(this,Q,V,J,!0)},a.prototype.lastIndexOf=function(Q,V,J){return w(this,Q,V,J,!1)};function C(ue,Q,V,J){V=Number(V)||0;var fe=ue.length-V;J?(J=Number(J),J>fe&&(J=fe)):J=fe;var oe=Q.length;if(oe%2!==0)throw new TypeError("Invalid hex string");J>oe/2&&(J=oe/2);for(var Le=0;Le<J;++Le){var he=parseInt(Q.substr(Le*2,2),16);if(isNaN(he))return Le;ue[V+Le]=he}return Le}function _(ue,Q,V,J){return be(Ue(Q,ue.length-V),ue,V,J)}function y(ue,Q,V,J){return be(Me(Q),ue,V,J)}function b(ue,Q,V,J){return y(ue,Q,V,J)}function O(ue,Q,V,J){return be(ne(Q),ue,V,J)}function I(ue,Q,V,J){return be(nt(Q,ue.length-V),ue,V,J)}a.prototype.write=function(Q,V,J,fe){if(V===void 0)fe="utf8",J=this.length,V=0;else if(J===void 0&&typeof V=="string")fe=V,J=this.length,V=0;else if(isFinite(V))V=V|0,isFinite(J)?(J=J|0,fe===void 0&&(fe="utf8")):(fe=J,J=void 0);else throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");var oe=this.length-V;if((J===void 0||J>oe)&&(J=oe),Q.length>0&&(J<0||V<0)||V>this.length)throw new RangeError("Attempt to write outside buffer bounds");fe||(fe="utf8");for(var Le=!1;;)switch(fe){case"hex":return C(this,Q,V,J);case"utf8":case"utf-8":return _(this,Q,V,J);case"ascii":return y(this,Q,V,J);case"latin1":case"binary":return b(this,Q,V,J);case"base64":return O(this,Q,V,J);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return I(this,Q,V,J);default:if(Le)throw new TypeError("Unknown encoding: "+fe);fe=(""+fe).toLowerCase(),Le=!0}},a.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};function M(ue,Q,V){return Q===0&&V===ue.length?f.fromByteArray(ue):f.fromByteArray(ue.slice(Q,V))}function F(ue,Q,V){V=Math.min(ue.length,V);for(var J=[],fe=Q;fe<V;){var oe=ue[fe],Le=null,he=oe>239?4:oe>223?3:oe>191?2:1;if(fe+he<=V){var te,Z,ge,Re;switch(he){case 1:oe<128&&(Le=oe);break;case 2:te=ue[fe+1],(te&192)===128&&(Re=(oe&31)<<6|te&63,Re>127&&(Le=Re));break;case 3:te=ue[fe+1],Z=ue[fe+2],(te&192)===128&&(Z&192)===128&&(Re=(oe&15)<<12|(te&63)<<6|Z&63,Re>2047&&(Re<55296||Re>57343)&&(Le=Re));break;case 4:te=ue[fe+1],Z=ue[fe+2],ge=ue[fe+3],(te&192)===128&&(Z&192)===128&&(ge&192)===128&&(Re=(oe&15)<<18|(te&63)<<12|(Z&63)<<6|ge&63,Re>65535&&Re<1114112&&(Le=Re))}}Le===null?(Le=65533,he=1):Le>65535&&(Le-=65536,J.push(Le>>>10&1023|55296),Le=56320|Le&1023),J.push(Le),fe+=he}return j(J)}var P=4096;function j(ue){var Q=ue.length;if(Q<=P)return String.fromCharCode.apply(String,ue);for(var V="",J=0;J<Q;)V+=String.fromCharCode.apply(String,ue.slice(J,J+=P));return V}function K(ue,Q,V){var J="";V=Math.min(ue.length,V);for(var fe=Q;fe<V;++fe)J+=String.fromCharCode(ue[fe]&127);return J}function N(ue,Q,V){var J="";V=Math.min(ue.length,V);for(var fe=Q;fe<V;++fe)J+=String.fromCharCode(ue[fe]);return J}function B(ue,Q,V){var J=ue.length;(!Q||Q<0)&&(Q=0),(!V||V<0||V>J)&&(V=J);for(var fe="",oe=Q;oe<V;++oe)fe+=ve(ue[oe]);return fe}function U(ue,Q,V){for(var J=ue.slice(Q,V),fe="",oe=0;oe<J.length;oe+=2)fe+=String.fromCharCode(J[oe]+J[oe+1]*256);return fe}a.prototype.slice=function(Q,V){var J=this.length;Q=~~Q,V=V===void 0?J:~~V,Q<0?(Q+=J,Q<0&&(Q=0)):Q>J&&(Q=J),V<0?(V+=J,V<0&&(V=0)):V>J&&(V=J),V<Q&&(V=Q);var fe;if(a.TYPED_ARRAY_SUPPORT)fe=this.subarray(Q,V),fe.__proto__=a.prototype;else{var oe=V-Q;fe=new a(oe,void 0);for(var Le=0;Le<oe;++Le)fe[Le]=this[Le+Q]}return fe};function H(ue,Q,V){if(ue%1!==0||ue<0)throw new RangeError("offset is not uint");if(ue+Q>V)throw new RangeError("Trying to access beyond buffer length")}a.prototype.readUIntLE=function(Q,V,J){Q=Q|0,V=V|0,J||H(Q,V,this.length);for(var fe=this[Q],oe=1,Le=0;++Le<V&&(oe*=256);)fe+=this[Q+Le]*oe;return fe},a.prototype.readUIntBE=function(Q,V,J){Q=Q|0,V=V|0,J||H(Q,V,this.length);for(var fe=this[Q+--V],oe=1;V>0&&(oe*=256);)fe+=this[Q+--V]*oe;return fe},a.prototype.readUInt8=function(Q,V){return V||H(Q,1,this.length),this[Q]},a.prototype.readUInt16LE=function(Q,V){return V||H(Q,2,this.length),this[Q]|this[Q+1]<<8},a.prototype.readUInt16BE=function(Q,V){return V||H(Q,2,this.length),this[Q]<<8|this[Q+1]},a.prototype.readUInt32LE=function(Q,V){return V||H(Q,4,this.length),(this[Q]|this[Q+1]<<8|this[Q+2]<<16)+this[Q+3]*16777216},a.prototype.readUInt32BE=function(Q,V){return V||H(Q,4,this.length),this[Q]*16777216+(this[Q+1]<<16|this[Q+2]<<8|this[Q+3])},a.prototype.readIntLE=function(Q,V,J){Q=Q|0,V=V|0,J||H(Q,V,this.length);for(var fe=this[Q],oe=1,Le=0;++Le<V&&(oe*=256);)fe+=this[Q+Le]*oe;return oe*=128,fe>=oe&&(fe-=Math.pow(2,8*V)),fe},a.prototype.readIntBE=function(Q,V,J){Q=Q|0,V=V|0,J||H(Q,V,this.length);for(var fe=V,oe=1,Le=this[Q+--fe];fe>0&&(oe*=256);)Le+=this[Q+--fe]*oe;return oe*=128,Le>=oe&&(Le-=Math.pow(2,8*V)),Le},a.prototype.readInt8=function(Q,V){return V||H(Q,1,this.length),this[Q]&128?(255-this[Q]+1)*-1:this[Q]},a.prototype.readInt16LE=function(Q,V){V||H(Q,2,this.length);var J=this[Q]|this[Q+1]<<8;return J&32768?J|4294901760:J},a.prototype.readInt16BE=function(Q,V){V||H(Q,2,this.length);var J=this[Q+1]|this[Q]<<8;return J&32768?J|4294901760:J},a.prototype.readInt32LE=function(Q,V){return V||H(Q,4,this.length),this[Q]|this[Q+1]<<8|this[Q+2]<<16|this[Q+3]<<24},a.prototype.readInt32BE=function(Q,V){return V||H(Q,4,this.length),this[Q]<<24|this[Q+1]<<16|this[Q+2]<<8|this[Q+3]},a.prototype.readFloatLE=function(Q,V){return V||H(Q,4,this.length),A.read(this,Q,!0,23,4)},a.prototype.readFloatBE=function(Q,V){return V||H(Q,4,this.length),A.read(this,Q,!1,23,4)},a.prototype.readDoubleLE=function(Q,V){return V||H(Q,8,this.length),A.read(this,Q,!0,52,8)},a.prototype.readDoubleBE=function(Q,V){return V||H(Q,8,this.length),A.read(this,Q,!1,52,8)};function z(ue,Q,V,J,fe,oe){if(!a.isBuffer(ue))throw new TypeError('"buffer" argument must be a Buffer instance');if(Q>fe||Q<oe)throw new RangeError('"value" argument is out of bounds');if(V+J>ue.length)throw new RangeError("Index out of range")}a.prototype.writeUIntLE=function(Q,V,J,fe){if(Q=+Q,V=V|0,J=J|0,!fe){var oe=Math.pow(2,8*J)-1;z(this,Q,V,J,oe,0)}var Le=1,he=0;for(this[V]=Q&255;++he<J&&(Le*=256);)this[V+he]=Q/Le&255;return V+J},a.prototype.writeUIntBE=function(Q,V,J,fe){if(Q=+Q,V=V|0,J=J|0,!fe){var oe=Math.pow(2,8*J)-1;z(this,Q,V,J,oe,0)}var Le=J-1,he=1;for(this[V+Le]=Q&255;--Le>=0&&(he*=256);)this[V+Le]=Q/he&255;return V+J},a.prototype.writeUInt8=function(Q,V,J){return Q=+Q,V=V|0,J||z(this,Q,V,1,255,0),a.TYPED_ARRAY_SUPPORT||(Q=Math.floor(Q)),this[V]=Q&255,V+1};function X(ue,Q,V,J){Q<0&&(Q=65535+Q+1);for(var fe=0,oe=Math.min(ue.length-V,2);fe<oe;++fe)ue[V+fe]=(Q&255<<8*(J?fe:1-fe))>>>(J?fe:1-fe)*8}a.prototype.writeUInt16LE=function(Q,V,J){return Q=+Q,V=V|0,J||z(this,Q,V,2,65535,0),a.TYPED_ARRAY_SUPPORT?(this[V]=Q&255,this[V+1]=Q>>>8):X(this,Q,V,!0),V+2},a.prototype.writeUInt16BE=function(Q,V,J){return Q=+Q,V=V|0,J||z(this,Q,V,2,65535,0),a.TYPED_ARRAY_SUPPORT?(this[V]=Q>>>8,this[V+1]=Q&255):X(this,Q,V,!1),V+2};function W(ue,Q,V,J){Q<0&&(Q=4294967295+Q+1);for(var fe=0,oe=Math.min(ue.length-V,4);fe<oe;++fe)ue[V+fe]=Q>>>(J?fe:3-fe)*8&255}a.prototype.writeUInt32LE=function(Q,V,J){return Q=+Q,V=V|0,J||z(this,Q,V,4,4294967295,0),a.TYPED_ARRAY_SUPPORT?(this[V+3]=Q>>>24,this[V+2]=Q>>>16,this[V+1]=Q>>>8,this[V]=Q&255):W(this,Q,V,!0),V+4},a.prototype.writeUInt32BE=function(Q,V,J){return Q=+Q,V=V|0,J||z(this,Q,V,4,4294967295,0),a.TYPED_ARRAY_SUPPORT?(this[V]=Q>>>24,this[V+1]=Q>>>16,this[V+2]=Q>>>8,this[V+3]=Q&255):W(this,Q,V,!1),V+4},a.prototype.writeIntLE=function(Q,V,J,fe){if(Q=+Q,V=V|0,!fe){var oe=Math.pow(2,8*J-1);z(this,Q,V,J,oe-1,-oe)}var Le=0,he=1,te=0;for(this[V]=Q&255;++Le<J&&(he*=256);)Q<0&&te===0&&this[V+Le-1]!==0&&(te=1),this[V+Le]=(Q/he>>0)-te&255;return V+J},a.prototype.writeIntBE=function(Q,V,J,fe){if(Q=+Q,V=V|0,!fe){var oe=Math.pow(2,8*J-1);z(this,Q,V,J,oe-1,-oe)}var Le=J-1,he=1,te=0;for(this[V+Le]=Q&255;--Le>=0&&(he*=256);)Q<0&&te===0&&this[V+Le+1]!==0&&(te=1),this[V+Le]=(Q/he>>0)-te&255;return V+J},a.prototype.writeInt8=function(Q,V,J){return Q=+Q,V=V|0,J||z(this,Q,V,1,127,-128),a.TYPED_ARRAY_SUPPORT||(Q=Math.floor(Q)),Q<0&&(Q=255+Q+1),this[V]=Q&255,V+1},a.prototype.writeInt16LE=function(Q,V,J){return Q=+Q,V=V|0,J||z(this,Q,V,2,32767,-32768),a.TYPED_ARRAY_SUPPORT?(this[V]=Q&255,this[V+1]=Q>>>8):X(this,Q,V,!0),V+2},a.prototype.writeInt16BE=function(Q,V,J){return Q=+Q,V=V|0,J||z(this,Q,V,2,32767,-32768),a.TYPED_ARRAY_SUPPORT?(this[V]=Q>>>8,this[V+1]=Q&255):X(this,Q,V,!1),V+2},a.prototype.writeInt32LE=function(Q,V,J){return Q=+Q,V=V|0,J||z(this,Q,V,4,2147483647,-2147483648),a.TYPED_ARRAY_SUPPORT?(this[V]=Q&255,this[V+1]=Q>>>8,this[V+2]=Q>>>16,this[V+3]=Q>>>24):W(this,Q,V,!0),V+4},a.prototype.writeInt32BE=function(Q,V,J){return Q=+Q,V=V|0,J||z(this,Q,V,4,2147483647,-2147483648),Q<0&&(Q=4294967295+Q+1),a.TYPED_ARRAY_SUPPORT?(this[V]=Q>>>24,this[V+1]=Q>>>16,this[V+2]=Q>>>8,this[V+3]=Q&255):W(this,Q,V,!1),V+4};function Y(ue,Q,V,J,fe,oe){if(V+J>ue.length)throw new RangeError("Index out of range");if(V<0)throw new RangeError("Index out of range")}function q(ue,Q,V,J,fe){return fe||Y(ue,Q,V,4,34028234663852886e22,-34028234663852886e22),A.write(ue,Q,V,J,23,4),V+4}a.prototype.writeFloatLE=function(Q,V,J){return q(this,Q,V,!0,J)},a.prototype.writeFloatBE=function(Q,V,J){return q(this,Q,V,!1,J)};function me(ue,Q,V,J,fe){return fe||Y(ue,Q,V,8,17976931348623157e292,-17976931348623157e292),A.write(ue,Q,V,J,52,8),V+8}a.prototype.writeDoubleLE=function(Q,V,J){return me(this,Q,V,!0,J)},a.prototype.writeDoubleBE=function(Q,V,J){return me(this,Q,V,!1,J)},a.prototype.copy=function(Q,V,J,fe){if(J||(J=0),!fe&&fe!==0&&(fe=this.length),V>=Q.length&&(V=Q.length),V||(V=0),fe>0&&fe<J&&(fe=J),fe===J)return 0;if(Q.length===0||this.length===0)return 0;if(V<0)throw new RangeError("targetStart out of bounds");if(J<0||J>=this.length)throw new RangeError("sourceStart out of bounds");if(fe<0)throw new RangeError("sourceEnd out of bounds");fe>this.length&&(fe=this.length),Q.length-V<fe-J&&(fe=Q.length-V+J);var oe=fe-J,Le;if(this===Q&&J<V&&V<fe)for(Le=oe-1;Le>=0;--Le)Q[Le+V]=this[Le+J];else if(oe<1e3||!a.TYPED_ARRAY_SUPPORT)for(Le=0;Le<oe;++Le)Q[Le+V]=this[Le+J];else Uint8Array.prototype.set.call(Q,this.subarray(J,J+oe),V);return oe},a.prototype.fill=function(Q,V,J,fe){if(typeof Q=="string"){if(typeof V=="string"?(fe=V,V=0,J=this.length):typeof J=="string"&&(fe=J,J=this.length),Q.length===1){var oe=Q.charCodeAt(0);oe<256&&(Q=oe)}if(fe!==void 0&&typeof fe!="string")throw new TypeError("encoding must be a string");if(typeof fe=="string"&&!a.isEncoding(fe))throw new TypeError("Unknown encoding: "+fe)}else typeof Q=="number"&&(Q=Q&255);if(V<0||this.length<V||this.length<J)throw new RangeError("Out of range index");if(J<=V)return this;V=V>>>0,J=J===void 0?this.length:J>>>0,Q||(Q=0);var Le;if(typeof Q=="number")for(Le=V;Le<J;++Le)this[Le]=Q;else{var he=a.isBuffer(Q)?Q:Ue(new a(Q,fe).toString()),te=he.length;for(Le=0;Le<J-V;++Le)this[Le+V]=he[Le%te]}return this};var G=/[^+\/0-9A-Za-z-_]/g;function ye(ue){if(ue=Ae(ue).replace(G,""),ue.length<2)return"";for(;ue.length%4!==0;)ue=ue+"=";return ue}function Ae(ue){return ue.trim?ue.trim():ue.replace(/^\s+|\s+$/g,"")}function ve(ue){return ue<16?"0"+ue.toString(16):ue.toString(16)}function Ue(ue,Q){Q=Q||Infinity;for(var V,J=ue.length,fe=null,oe=[],Le=0;Le<J;++Le){if(V=ue.charCodeAt(Le),V>55295&&V<57344){if(!fe){if(V>56319){(Q-=3)>-1&&oe.push(239,191,189);continue}else if(Le+1===J){(Q-=3)>-1&&oe.push(239,191,189);continue}fe=V;continue}if(V<56320){(Q-=3)>-1&&oe.push(239,191,189),fe=V;continue}V=(fe-55296<<10|V-56320)+65536}else fe&&((Q-=3)>-1&&oe.push(239,191,189));if(fe=null,V<128){if((Q-=1)<0)break;oe.push(V)}else if(V<2048){if((Q-=2)<0)break;oe.push(V>>6|192,V&63|128)}else if(V<65536){if((Q-=3)<0)break;oe.push(V>>12|224,V>>6&63|128,V&63|128)}else if(V<1114112){if((Q-=4)<0)break;oe.push(V>>18|240,V>>12&63|128,V>>6&63|128,V&63|128)}else throw new Error("Invalid code point")}return oe}function Me(ue){for(var Q=[],V=0;V<ue.length;++V)Q.push(ue.charCodeAt(V)&255);return Q}function nt(ue,Q){for(var V,J,fe,oe=[],Le=0;Le<ue.length&&!((Q-=2)<0);++Le)V=ue.charCodeAt(Le),J=V>>8,fe=V%256,oe.push(fe),oe.push(J);return oe}function ne(ue){return f.toByteArray(ye(ue))}function be(ue,Q,V,J){for(var fe=0;fe<J&&!(fe+V>=Q.length||fe>=ue.length);++fe)Q[fe+V]=ue[fe];return fe}function ot(ue){return ue!==ue}}).call(this,e("yLpj"))},HDyB:function(R,D,e){var g=e("nmnc"),f=e("JHRd"),A=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]",x="[object DataView]",S=g?g.prototype:void 0,T=S?S.valueOf:void 0;function w(E,C,_,y,b,O,I){switch(_){case x:if(E.byteLength!=C.byteLength||E.byteOffset!=C.byteOffset)return!1;E=E.buffer,C=C.buffer;case p:return!(E.byteLength!=C.byteLength||!O(new f(E),new f(C)));case i:case r:case n:return A(+E,+C);case o:return E.name==C.name&&E.message==C.message;case l:case s:return E==C+"";case d:var M=v;case t:var F=y&c;if(M||(M=h),E.size!=C.size&&!F)return!1;var P=I.get(E);if(P)return P==C;y|=a,I.set(E,C);var j=m(M(E),M(C),y,b,O,I);return I.delete(E),j;case u:if(T)return T.call(E)==T.call(C)}return!1}R.exports=w},"HF/U":function(R,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")])}),A(h)}function A(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)})}D.simpleLayout=f,D.simpleLayoutEdge=A},"HM/N":function(R,D,e){var g=e("Tghj"),f=g.__DEV__,A=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,x){var S=p.get("center"),T=x.getWidth(),w=x.getHeight();u.cx=h(S[0],T),u.cy=h(S[1],w);var E=u.getRadiusAxis(),C=Math.min(T,w)/2,_=p.get("radius");_==null?_=[0,"100%"]:A.isArray(_)||(_=[0,_]),_=[h(_[0],C),h(_[1],C)],E.inverse?E.setExtent(_[1],_[0]):E.setExtent(_[0],_[1])}function l(u,p){var x=this,S=x.getAngleAxis(),T=x.getRadiusAxis();if(S.scale.setExtent(Infinity,-Infinity),T.scale.setExtent(Infinity,-Infinity),u.eachSeries(function(C){if(C.coordinateSystem===x){var _=C.getData();A.each(_.mapDimension("radius",!0),function(y){T.scale.unionExtentFromData(_,d(_,y))}),A.each(_.mapDimension("angle",!0),function(y){S.scale.unionExtentFromData(_,d(_,y))})}}),i(S.scale,S.model),i(T.scale,T.model),S.type==="category"&&!S.onBand){var w=S.getExtent(),E=360/S.scale.count();S.inverse?w[1]+=E:w[1]-=E,S.setExtent(w[0],w[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 x=p.get("startAngle");u.setExtent(x,x+(u.inverse?-360:360))}p.axis=u,u.model=p}var s={dimensions:m.prototype.dimensions,create:function(u,p){var x=[];return u.eachComponent("polar",function(S,T){var w=new m(T);w.update=l;var E=w.getRadiusAxis(),C=w.getAngleAxis(),_=S.findAxisModel("radiusAxis"),y=S.findAxisModel("angleAxis");t(E,_),t(C,y),n(w,S,p),x.push(w),S.coordinateSystem=w,w.model=S}),u.eachSeries(function(S){if(S.get("coordinateSystem")==="polar"){var T=u.queryComponents({mainType:"polar",index:S.get("polarIndex"),id:S.get("polarId")})[0];S.coordinateSystem=T.coordinateSystem}}),x}};r.register("polar",s)},HOxn:function(R,D,e){var g=e("Cwc5"),f=e("Kz5y"),A=g(f,"Promise");R.exports=A},HQEm:function(R,D,e){"use strict";Object.defineProperty(D,"__esModule",{value:!0}),D.default=void 0;var g=f(e("Sj0X"));function f(m){return m&&m.__esModule?m:{default:m}}var A=g;D.default=A,R.exports=A},HjIi:function(R,D,e){var g=e("bYtY"),f=e("OELB"),A=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,x=p.getBaseAxis(),S=c(p,x),T=h(s),w=t[S][T],E=w.offset,C=w.width,_=p.getOtherAxis(x),y=s.coordinateSystem.cx,b=s.coordinateSystem.cy,O=s.get("barMinHeight")||0,I=s.get("barMinAngle")||0;l[T]=l[T]||[];for(var M=u.mapDimension(_.dim),F=u.mapDimension(x.dim),P=v(u,M),j=x.dim!=="radius"||!s.get("roundCap",!0),K=_.getExtent()[0],N=0,B=u.count();N<B;N++){var U=u.get(M,N),H=u.get(F,N),z=U>=0?"p":"n",X=K;P&&(l[T][H]||(l[T][H]={p:K,n:K}),X=l[T][H][z]);var W,Y,q,me;if(_.dim==="radius"){var G=_.dataToRadius(U)-K,ye=x.dataToAngle(H);Math.abs(G)<O&&(G=(G<0?-1:1)*O),W=X,Y=X+G,q=ye-E,me=q-C,P&&(l[T][H][z]=Y)}else{var Ae=_.dataToAngle(U,j)-K,ve=x.dataToRadius(H);Math.abs(Ae)<I&&(Ae=(Ae<0?-1:1)*I),W=ve+E,Y=W+C,q=X,me=X+Ae,P&&(l[T][H][z]=me)}u.setItemLayout(N,{cx:y,cy:b,r0:W,r:Y,startAngle:-q*Math.PI/180,endAngle:-me*Math.PI/180})}},this)}function i(o,d){var n={};g.each(o,function(t,s){var u=t.getData(),p=t.coordinateSystem,x=p.getBaseAxis(),S=c(p,x),T=x.getExtent(),w=x.type==="category"?x.getBandWidth():Math.abs(T[1]-T[0])/u.count(),E=n[S]||{bandWidth:w,remainedWidth:w,autoWidthCount:0,categoryGap:"20%",gap:"30%",stacks:{}},C=E.stacks;n[S]=E;var _=h(t);C[_]||E.autoWidthCount++,C[_]=C[_]||{width:0,maxWidth:0};var y=A(t.get("barWidth"),w),b=A(t.get("barMaxWidth"),w),O=t.get("barGap"),I=t.get("barCategoryGap");y&&!C[_].width&&(y=Math.min(E.remainedWidth,y),C[_].width=y,E.remainedWidth-=y),b&&(C[_].maxWidth=b),O!=null&&(E.gap=O),I!=null&&(E.categoryGap=I)});var l={};return g.each(n,function(t,s){l[s]={};var u=t.stacks,p=t.bandWidth,x=A(t.categoryGap,p),S=A(t.gap,1),T=t.remainedWidth,w=t.autoWidthCount,E=(T-x)/(w+(w-1)*S);E=Math.max(E,0),g.each(u,function(b,O){var I=b.maxWidth;I&&I<E&&(I=Math.min(I,T),b.width&&(I=Math.min(I,b.width)),T-=I,b.width=I,w--)}),E=(T-x)/(w+(w-1)*S),E=Math.max(E,0);var C=0,_;g.each(u,function(b,O){b.width||(b.width=E),_=b,C+=b.width*(1+S)}),_&&(C-=_.width*S);var y=-C/2;g.each(u,function(b,O){l[s][O]=l[s][O]||{offset:y,width:b.width},y+=b.width*(1+S)})}),l}var r=a;R.exports=r},HjOm:function(R,D,e){"use strict";Object.defineProperty(D,"__esModule",{value:!0}),D.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;D.default=f},Hvzi:function(R,D){function e(g){var f=this.has(g)&&delete this.__data__[g];return this.size-=f?1:0,f}R.exports=e},Hw7h:function(R,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(A,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,A.moveTo(r,o),A.lineTo(m.x+v(i)*a,m.y+h(i)*a),A.lineTo(m.x+v(m.angle)*c,m.y+h(m.angle)*c),A.lineTo(m.x-v(i)*a,m.y-h(i)*a),A.lineTo(r,o);return}});R.exports=f},Hxpc:function(R,D,e){var g=e("bYtY"),f=e("4NO4"),A=e("bLfw"),m=e("Qxkt"),v=e("cCMj"),h=e("7uqq"),c=A.extend({type:"geo",coordinateSystem:null,layoutMode:"box",init:function(i){A.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;R.exports=a},"I+77":function(R,D,e){var g=e("ProS");e("h54F"),e("lwQL"),e("10cm");var f=e("Z1r0"),A=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(A("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(R,D,e){var g=e("bYtY"),f=e("eIcI"),A=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 A);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,x=-1,S=0;S<this._indicatorAxes.length;S++){var T=this._indicatorAxes[S],w=Math.abs(s-T.angle);w<u&&(p=T,x=S,u=w)}return[x,+(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(x,S){x.setExtent(this.r0,this.r);var T=this.startAngle+S*Math.PI*2/this._indicatorAxes.length;T=Math.atan2(Math.sin(T),Math.cos(T)),x.angle=T},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,x){if(p.get("coordinateSystem")!=="radar"||d.getComponent("radar",p.get("radarIndex"))!==t)return;var S=p.getData();g.each(l,function(T){T.scale.unionExtentFromData(S,S.mapDimension(T.dim))})},this);var s=t.get("splitNumber");function u(p){var x=Math.pow(10,Math.floor(Math.log(p)/Math.LN10)),S=p/x;return S===2?S=5:S*=2,S*x}g.each(l,function(p,x){var S=h(p.scale,p.model).extent;c(p.scale,p.model);var T=p.model,w=p.scale,E=T.getMin(),C=T.getMax(),_=w.getInterval();if(E!=null&&C!=null)w.setExtent(+E,+C),w.setInterval((C-E)/s);else if(E!=null){var y;do y=E+_*s,w.setExtent(+E,y),w.setInterval(_),_=u(_);while(y<S[1]&&isFinite(y)&&isFinite(S[1]))}else if(C!=null){var b;do b=C-_*s,w.setExtent(b,+C),w.setInterval(_),_=u(_);while(b>S[0]&&isFinite(b)&&isFinite(S[0]))}else{var O=w.getTicks().length-1;O>s&&(_=u(_));var y=Math.ceil(S[1]/_)*_,b=m.round(y-_*s);w.setExtent(b,y),w.setInterval(_)}})},r.dimensions=[],r.create=function(d,n){var l=[];return d.eachComponent("radar",function(t){var s=new r(t,d,n);l.push(s),t.coordinateSystem=s}),d.eachSeriesByType("radar",function(t){t.get("coordinateSystem")==="radar"&&(t.coordinateSystem=l[t.get("radarIndex")||0])}),l},a.register("radar",r);var o=r;R.exports=o},"I3/A":function(R,D,e){var g=e("bYtY"),f=e("YXkt"),A=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 A(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 x=r[t],S=x.source,T=x.target;l.addEdge(S,T,p)&&(u.push(x),s.push(g.retrieve(x.id,S+" > "+T)),p++)}var w=o.get("coordinateSystem"),E;if(w==="cartesian2d"||w==="polar")E=c(i,o);else{var C=h.get(w),_=C&&C.type!=="view"?C.dimensions||[]:[];g.indexOf(_,"value")<0&&_.concat(["value"]);var y=v(i,{coordDimensions:_});E=new f(y,o),E.initData(i)}var b=new f(["value"],o);return b.initData(u,s),n&&n(E,b),m({mainData:E,struct:l,structAttr:"graph",datas:{node:E,edge:b},datasAttr:{node:"data",edge:"edgeData"}}),l.update(),l}R.exports=a},"I9Y+":function(R,D,e){"use strict";var g=e("TqRt"),f=e("284h");Object.defineProperty(D,"__esModule",{value:!0}),D.default=void 0;var A=f(e("q1tI")),m=g(e("4xFK")),v=g(e("KQxl")),h=function(i,r){return A.createElement(v.default,Object.assign({},i,{ref:r,icon:m.default}))};h.displayName="DoubleRightOutlined";var c=A.forwardRef(h);D.default=c},ICMv:function(R,D,e){var g=e("bYtY"),f={getMin:function(A){var m=this.option,v=!A&&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(A){var m=this.option,v=!A&&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 A=this.option;return A.rangeStart!=null||A.rangeEnd!=null?!1:!A.scale},getCoordSysModel:g.noop,setRange:function(A,m){this.option.rangeStart=A,this.option.rangeEnd=m},resetRange:function(){this.option.rangeStart=this.option.rangeEnd=null}};R.exports=f},IDmD:function(R,D,e){var g=e("bYtY"),f={};function A(){this._coordinateSystems=[]}A.prototype={constructor:A,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()}},A.register=function(v,h){f[v]=h},A.get=function(v){return f[v]};var m=A;R.exports=m},IMiH:function(R,D,e){var g=e("Sj9i"),f=e("QBsz"),A=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",x=function(w){this._saveData=!(w||!1),this._saveData&&(this.data=[]),this._ctx=null};x.prototype={constructor:x,_xi:0,_yi:0,_x0:0,_y0:0,_ux:0,_uy:0,_len:0,_lineDash:null,_dashOffset:0,_dashIdx:0,_dashSum:0,setScale:function(w,E,C){C=C||0,this._ux=u(C/h/w)||0,this._uy=u(C/h/E)||0},getContext:function(){return this._ctx},beginPath:function(w){return this._ctx=w,w&&w.beginPath(),w&&(this.dpr=w.dpr),this._saveData&&(this._len=0),this._lineDash&&(this._lineDash=null,this._dashOffset=0),this},moveTo:function(w,E){return this.addData(c.M,w,E),this._ctx&&this._ctx.moveTo(w,E),this._x0=w,this._y0=E,this._xi=w,this._yi=E,this},lineTo:function(w,E){var C=u(w-this._xi)>this._ux||u(E-this._yi)>this._uy||this._len<5;return this.addData(c.L,w,E),this._ctx&&C&&(this._needsDash()?this._dashedLineTo(w,E):this._ctx.lineTo(w,E)),C&&(this._xi=w,this._yi=E),this},bezierCurveTo:function(w,E,C,_,y,b){return this.addData(c.C,w,E,C,_,y,b),this._ctx&&(this._needsDash()?this._dashedBezierTo(w,E,C,_,y,b):this._ctx.bezierCurveTo(w,E,C,_,y,b)),this._xi=y,this._yi=b,this},quadraticCurveTo:function(w,E,C,_){return this.addData(c.Q,w,E,C,_),this._ctx&&(this._needsDash()?this._dashedQuadraticTo(w,E,C,_):this._ctx.quadraticCurveTo(w,E,C,_)),this._xi=C,this._yi=_,this},arc:function(w,E,C,_,y,b){return this.addData(c.A,w,E,C,C,_,y-_,0,b?0:1),this._ctx&&this._ctx.arc(w,E,C,_,y,b),this._xi=l(y)*C+w,this._yi=t(y)*C+E,this},arcTo:function(w,E,C,_,y){return this._ctx&&this._ctx.arcTo(w,E,C,_,y),this},rect:function(w,E,C,_){return this._ctx&&this._ctx.rect(w,E,C,_),this.addData(c.R,w,E,C,_),this},closePath:function(){this.addData(c.Z);var w=this._ctx,E=this._x0,C=this._y0;return w&&(this._needsDash()&&this._dashedLineTo(E,C),w.closePath()),this._xi=E,this._yi=C,this},fill:function(w){w&&w.fill(),this.toStatic()},stroke:function(w){w&&w.stroke(),this.toStatic()},setLineDash:function(w){if(w instanceof Array){this._lineDash=w,this._dashIdx=0;for(var E=0,C=0;C<w.length;C++)E+=w[C];this._dashSum=E}return this},setLineDashOffset:function(w){return this._dashOffset=w,this},len:function(){return this._len},setData:function(w){var E=w.length;!(this.data&&this.data.length===E)&&p&&(this.data=new Float32Array(E));for(var C=0;C<E;C++)this.data[C]=w[C];this._len=E},appendPath:function(w){w instanceof Array||(w=[w]);for(var E=w.length,C=0,_=this._len,y=0;y<E;y++)C+=w[y].len();p&&this.data instanceof Float32Array&&(this.data=new Float32Array(_+C));for(var y=0;y<E;y++)for(var b=w[y].data,O=0;O<b.length;O++)this.data[_++]=b[O];this._len=_},addData:function(w){if(!this._saveData)return;var E=this.data;this._len+arguments.length>E.length&&(this._expandData(),E=this.data);for(var C=0;C<arguments.length;C++)E[this._len++]=arguments[C];this._prevCmd=w},_expandData:function(){if(!(this.data instanceof Array)){for(var w=[],E=0;E<this._len;E++)w[E]=this.data[E];this.data=w}},_needsDash:function(){return this._lineDash},_dashedLineTo:function(w,E){var C=this._dashSum,_=this._dashOffset,y=this._lineDash,b=this._ctx,O=this._xi,I=this._yi,M=w-O,F=E-I,P=s(M*M+F*F),j=O,K=I,N,B=y.length,U;for(M/=P,F/=P,_<0&&(_=C+_),_%=C,j-=_*M,K-=_*F;M>0&&j<=w||M<0&&j>=w||M===0&&(F>0&&K<=E||F<0&&K>=E);){if(U=this._dashIdx,N=y[U],j+=M*N,K+=F*N,this._dashIdx=(U+1)%B,M>0&&j<O||M<0&&j>O||F>0&&K<I||F<0&&K>I)continue;b[U%2?"moveTo":"lineTo"](M>=0?d(j,w):n(j,w),F>=0?d(K,E):n(K,E))}M=j-w,F=K-E,this._dashOffset=-s(M*M+F*F)},_dashedBezierTo:function(w,E,C,_,y,b){var O=this._dashSum,I=this._dashOffset,M=this._lineDash,F=this._ctx,P=this._xi,j=this._yi,K,N,B,U=g.cubicAt,H=0,z=this._dashIdx,X=M.length,W,Y,q=0;for(I<0&&(I=O+I),I%=O,K=0;K<1;K+=.1)N=U(P,w,C,y,K+.1)-U(P,w,C,y,K),B=U(j,E,_,b,K+.1)-U(j,E,_,b,K),H+=s(N*N+B*B);for(;z<X&&!(q+=M[z],q>I);z++);for(K=(q-I)/H;K<=1;)W=U(P,w,C,y,K),Y=U(j,E,_,b,K),z%2?F.moveTo(W,Y):F.lineTo(W,Y),K+=M[z]/H,z=(z+1)%X;z%2!==0&&F.lineTo(y,b),N=y-W,B=b-Y,this._dashOffset=-s(N*N+B*B)},_dashedQuadraticTo:function(w,E,C,_){var y=C,b=_;C=(C+2*w)/3,_=(_+2*E)/3,w=(this._xi+2*w)/3,E=(this._yi+2*E)/3,this._dashedBezierTo(w,E,C,_,y,b)},toStatic:function(){var w=this.data;w instanceof Array&&(w.length=this._len,p&&(this.data=new Float32Array(w)))},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 w=this.data,E=0,C=0,_=0,y=0,b=0;b<w.length;){var O=w[b++];b===1&&(E=w[b],C=w[b+1],_=E,y=C);switch(O){case c.M:_=w[b++],y=w[b++],E=_,C=y,r[0]=_,r[1]=y,o[0]=_,o[1]=y;break;case c.L:A.fromLine(E,C,w[b],w[b+1],r,o),E=w[b++],C=w[b++];break;case c.C:A.fromCubic(E,C,w[b++],w[b++],w[b++],w[b++],w[b],w[b+1],r,o),E=w[b++],C=w[b++];break;case c.Q:A.fromQuadratic(E,C,w[b++],w[b++],w[b],w[b+1],r,o),E=w[b++],C=w[b++];break;case c.A:var I=w[b++],M=w[b++],F=w[b++],P=w[b++],j=w[b++],K=w[b++]+j;b+=1;var N=1-w[b++];b===1&&(_=l(j)*F+I,y=t(j)*P+M),A.fromArc(I,M,F,P,j,K,N,r,o),E=l(K)*F+I,C=t(K)*P+M;break;case c.R:_=E=w[b++],y=C=w[b++];var B=w[b++],U=w[b++];A.fromLine(_,y,_+B,y+U,r,o);break;case c.Z:E=_,C=y;break}f.min(a,a,r),f.max(i,i,o)}return b===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(w){for(var E=this.data,C,_,y,b,O,I,M=this._ux,F=this._uy,P=this._len,j=0;j<P;){var K=E[j++];j===1&&(y=E[j],b=E[j+1],C=y,_=b);switch(K){case c.M:C=y=E[j++],_=b=E[j++],w.moveTo(y,b);break;case c.L:O=E[j++],I=E[j++],(u(O-y)>M||u(I-b)>F||j===P-1)&&(w.lineTo(O,I),y=O,b=I);break;case c.C:w.bezierCurveTo(E[j++],E[j++],E[j++],E[j++],E[j++],E[j++]),y=E[j-2],b=E[j-1];break;case c.Q:w.quadraticCurveTo(E[j++],E[j++],E[j++],E[j++]),y=E[j-2],b=E[j-1];break;case c.A:var N=E[j++],B=E[j++],U=E[j++],H=E[j++],z=E[j++],X=E[j++],W=E[j++],Y=E[j++],q=U>H?U:H,me=U>H?1:U/H,G=U>H?H/U:1,ye=Math.abs(U-H)>.001,Ae=z+X;ye?(w.translate(N,B),w.rotate(W),w.scale(me,G),w.arc(0,0,q,z,Ae,1-Y),w.scale(1/me,1/G),w.rotate(-W),w.translate(-N,-B)):w.arc(N,B,q,z,Ae,1-Y),j===1&&(C=l(z)*U+N,_=t(z)*H+B),y=l(Ae)*U+N,b=t(Ae)*H+B;break;case c.R:C=y=E[j],_=b=E[j+1],w.rect(E[j++],E[j++],E[j++],E[j++]);break;case c.Z:w.closePath(),y=C,b=_}}}},x.CMD=c;var S=x;R.exports=S},IUWy:function(R,D){var e={};function g(A,m){e[A]=m}function f(A){return e[A]}D.register=g,D.get=f},IWNH:function(R,D,e){var g=e("T4UG"),f=e("Bsck"),A=e("7aKB"),m=A.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 x=o.getNodeByDataIndex(p);return(!x.children.length||!x.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}});R.exports=h},IWp7:function(R,D,e){var g=e("bYtY"),f=e("OELB"),A=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,x,S){for(;x<S;){var T=x+S>>>1;u[T][1]<p?x=T+1:S=T}return x},l=v.extend({type:"time",getLabel:function(u){var p=this._stepLvl,x=new Date(u);return A.formatTime(p[0],x,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 x=new Date;p[1]=+new Date(x.getFullYear(),x.getMonth(),x.getDate()),p[0]=p[1]-d}this.niceTicks(u.splitNumber,u.minInterval,u.maxInterval);var S=this._interval;u.fixMin||(p[0]=f.round(a(p[0]/S)*S)),u.fixMax||(p[1]=f.round(c(p[1]/S)*S))},niceTicks:function(u,p,x){u=u||10;var S=this._extent,T=S[1]-S[0],w=T/u;p!=null&&w<p&&(w=p),x!=null&&w>x&&(w=x);var E=t.length,C=n(t,w,0,E),_=t[Math.min(C,E-1)],y=_[1];if(_[0]==="year"){var b=T/y,O=f.nice(b/u,!0);y*=O}var I=this.getSetting("useUTC")?0:new Date(+S[0]||+S[1]).getTimezoneOffset()*60*1e3,M=[Math.round(c((S[0]-I)/y)*y+I),Math.round(a((S[1]-I)/y)*y+I)];m.fixExtent(M,S),this._stepLvl=_,this._interval=y,this._niceExtent=M},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;R.exports=s},IXuL:function(R,D,e){var g=e("Tghj"),f=g.__DEV__,A=e("MwEJ"),m=e("T4UG"),v=m.extend({type:"series.line",dependencies:["grid","polar"],getInitialData:function(h,c){return A(this.getSource(),this,{useEncodeDefaulter:!0})},defaultOption:{zlevel:0,z:2,coordinateSystem:"cartesian2d",legendHoverLink:!0,hoverAnimation:!0,clip:!0,label:{position:"top"},lineStyle:{width:2,type:"solid"},step:!1,smooth:!1,smoothMonotone:null,symbol:"emptyCircle",symbolSize:4,symbolRotate:null,showSymbol:!0,showAllSymbol:"auto",connectNulls:!1,sampling:"none",animationEasing:"linear",progressive:0,hoverLayerThreshold:Infinity}});R.exports=v},IXyC:function(R,D,e){var g=e("bYtY"),f=e("bLfw");e("3zoK");var A=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)})}});R.exports=A},ItGF:function(R,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(A){var m={},v={},h=A.match(/Firefox\/([\d.]+)/),c=A.match(/MSIE\s([\d.]+)/)||A.match(/Trident\/.+?rv:(([\d.]+))/),a=A.match(/Edge\/([\d.]+)/),i=/micromessenger/i.test(A);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"}}R.exports=g},ItS6:function(R,D,e){"use strict";Object.defineProperty(D,"__esModule",{value:!0}),D.default=void 0;var g=e("eP3c"),f=A(e("1q3G"));function A(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}();D.default=c},Itpr:function(R,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 x=p.length,S=x-1;S>=0;S--){var T=p[S];T.hierNode={defaultAncestor:null,ancestor:T,prelim:0,modifier:0,change:0,shift:0,i:S,thread:null},s.push(T)}}function A(t,s){var u=t.isExpand?t.children:[],p=t.parentNode.children,x=t.hierNode.i?p[t.hierNode.i-1]:null;if(u.length){a(t);var S=(u[0].hierNode.prelim+u[u.length-1].hierNode.prelim)/2;x?(t.hierNode.prelim=x.hierNode.prelim+s(t,x),t.hierNode.modifier=t.hierNode.prelim-S):t.hierNode.prelim=S}else x&&(t.hierNode.prelim=x.hierNode.prelim+s(t,x));t.parentNode.hierNode.defaultAncestor=i(t,x,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,x=0;--u>=0;){var S=s[u];S.hierNode.prelim+=p,S.hierNode.modifier+=p,x+=S.hierNode.change,p+=S.hierNode.shift+x}}function i(t,s,u,p){if(s){for(var x=t,S=t,T=S.parentNode.children[0],w=s,E=x.hierNode.modifier,C=S.hierNode.modifier,_=T.hierNode.modifier,y=w.hierNode.modifier;w=r(w),S=o(S),w&&S;){x=r(x),T=o(T),x.hierNode.ancestor=t;var b=w.hierNode.prelim+y-S.hierNode.prelim-C+p(w,S);b>0&&(n(d(w,t,u),t,b),C+=b,E+=b),y+=w.hierNode.modifier,C+=S.hierNode.modifier,E+=x.hierNode.modifier,_+=T.hierNode.modifier}w&&!r(x)&&(x.hierNode.thread=w,x.hierNode.modifier+=y-E),S&&!o(T)&&(T.hierNode.thread=S,T.hierNode.modifier+=C-_,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}D.init=f,D.firstWalk=A,D.secondWalk=m,D.separation=v,D.radialCoordinate=h,D.getViewRect=c},IwbS:function(R,D,e){var g=e("bYtY"),f=e("NC18"),A=e("Qe9p"),m=e("Fofx"),v=e("QBsz"),h=e("y+Vt"),c=e("DN4a"),a=e("Dagg");D.Image=a;var i=e("4fz+");D.Group=i;var r=e("dqUG");D.Text=r;var o=e("2fw6");D.Circle=o;var d=e("SqI9");D.Sector=d;var n=e("RXMa");D.Ring=n;var l=e("h7HQ");D.Polygon=l;var t=e("1Jh7");D.Polyline=t;var s=e("x6Kt");D.Rect=s;var u=e("yxFR");D.Line=u;var p=e("rA99");D.BezierCurve=p;var x=e("jTL6");D.Arc=x;var S=e("1MYJ");D.CompoundPath=S;var T=e("SKnc");D.LinearGradient=T;var w=e("3e3G");D.RadialGradient=w;var E=e("mFDi");D.BoundingRect=E;var C=e("OS9S");D.IncrementalDisplayable=C;var _=e("nPnh"),y=Math.max,b=Math.min,O={},I=1,M={color:"textFill",textBorderColor:"textStroke",textBorderWidth:"textStrokeWidth"},F="emphasis",P="normal",j=1,K={},N={};function B(Ee){return h.extend(Ee)}function U(Ee,we){return f.extendFromString(Ee,we)}function H(Ee,we){N[Ee]=we}function z(Ee){if(N.hasOwnProperty(Ee))return N[Ee]}function X(Ee,we,Fe,Ye){var Ge=f.createFromString(Ee,we);return Fe&&(Ye==="center"&&(Fe=Y(Fe,Ge.getBoundingRect())),me(Ge,Fe)),Ge}function W(Ee,we,Fe){var Ye=new a({style:{image:Ee,x:we.x,y:we.y,width:we.width,height:we.height},onload:function(Ge){if(Fe==="center"){var qe={width:Ge.width,height:Ge.height};Ye.setStyle(Y(we,qe))}}});return Ye}function Y(Ee,we){var Fe=we.width/we.height,Ye=Ee.height*Fe,Ge;Ye<=Ee.width?Ge=Ee.height:(Ye=Ee.width,Ge=Ye/Fe);var qe=Ee.x+Ee.width/2,Ke=Ee.y+Ee.height/2;return{x:qe-Ye/2,y:Ke-Ge/2,width:Ye,height:Ge}}var q=f.mergePath;function me(Ee,we){if(!Ee.applyTransform)return;var Fe=Ee.getBoundingRect(),Ye=Fe.calculateTransform(we);Ee.applyTransform(Ye)}function G(Ee){return _.subPixelOptimizeLine(Ee.shape,Ee.shape,Ee.style),Ee}function ye(Ee){return _.subPixelOptimizeRect(Ee.shape,Ee.shape,Ee.style),Ee}var Ae=_.subPixelOptimize;function ve(Ee){return Ee!=null&&Ee!=="none"}var Ue=g.createHashMap(),Me=0;function nt(Ee){if(typeof Ee!="string")return Ee;var we=Ue.get(Ee);return we||(we=A.lift(Ee,-.1),Me<1e4&&(Ue.set(Ee,we),Me++)),we}function ne(Ee){if(!Ee.__hoverStlDirty)return;Ee.__hoverStlDirty=!1;var we=Ee.__hoverStl;if(!we){Ee.__cachedNormalStl=Ee.__cachedNormalZ2=null;return}var Fe=Ee.__cachedNormalStl={};Ee.__cachedNormalZ2=Ee.z2;var Ye=Ee.style;for(var Ge in we)we[Ge]!=null&&(Fe[Ge]=Ye[Ge]);Fe.fill=Ye.fill,Fe.stroke=Ye.stroke}function be(Ee){var we=Ee.__hoverStl;if(!we||Ee.__highlighted)return;var Fe=Ee.__zr,Ye=Ee.useHoverLayer&&Fe&&Fe.painter.type==="canvas";if(Ee.__highlighted=Ye?"layer":"plain",Ee.isGroup||!Fe&&Ee.useHoverLayer)return;var Ge=Ee,qe=Ee.style;Ye&&(Ge=Fe.addHover(Ee),qe=Ge.style),at(qe),Ye||ne(Ge),qe.extendFrom(we),ot(qe,we,"fill"),ot(qe,we,"stroke"),et(qe),Ye||(Ee.dirty(!1),Ee.z2+=I)}function ot(Ee,we,Fe){!ve(we[Fe])&&ve(Ee[Fe])&&(Ee[Fe]=nt(Ee[Fe]))}function ue(Ee){var we=Ee.__highlighted;if(!we)return;if(Ee.__highlighted=!1,Ee.isGroup)return;if(we==="layer")Ee.__zr&&Ee.__zr.removeHover(Ee);else{var Fe=Ee.style,Ye=Ee.__cachedNormalStl;Ye&&(at(Fe),Ee.setStyle(Ye),et(Fe));var Ge=Ee.__cachedNormalZ2;Ge!=null&&Ee.z2-Ge===I&&(Ee.z2=Ge)}}function Q(Ee,we,Fe){var Ye=P,Ge=P,qe;Ee.__highlighted&&(Ye=F,qe=!0),we(Ee,Fe),Ee.__highlighted&&(Ge=F,qe=!0),Ee.isGroup&&Ee.traverse(function(Ke){!Ke.isGroup&&we(Ke,Fe)}),qe&&Ee.__highDownOnUpdate&&Ee.__highDownOnUpdate(Ye,Ge)}function V(Ee,we){we=Ee.__hoverStl=we!==!1&&(Ee.hoverStyle||we||{}),Ee.__hoverStlDirty=!0,Ee.__highlighted&&(Ee.__cachedNormalStl=null,ue(Ee),be(Ee))}function J(Ee){!he(this,Ee)&&!this.__highByOuter&&Q(this,be)}function fe(Ee){!he(this,Ee)&&!this.__highByOuter&&Q(this,ue)}function oe(Ee){this.__highByOuter|=1<<(Ee||0),Q(this,be)}function Le(Ee){!(this.__highByOuter&=~(1<<(Ee||0)))&&Q(this,ue)}function he(Ee,we){return Ee.__highDownSilentOnTouch&&we.zrByTouch}function te(Ee,we){Z(Ee,!0),Q(Ee,V,we)}function Z(Ee,we){var Fe=we===!1;if(Ee.__highDownSilentOnTouch=Ee.highDownSilentOnTouch,Ee.__highDownOnUpdate=Ee.highDownOnUpdate,!Fe||Ee.__highDownDispatcher){var Ye=Fe?"off":"on";Ee[Ye]("mouseover",J)[Ye]("mouseout",fe),Ee[Ye]("emphasis",oe)[Ye]("normal",Le),Ee.__highByOuter=Ee.__highByOuter||0,Ee.__highDownDispatcher=!Fe}}function ge(Ee){return!!(Ee&&Ee.__highDownDispatcher)}function Re(Ee){var we=K[Ee];return we==null&&j<=32&&(we=K[Ee]=j++),we}function ze(Ee,we,Fe,Ye,Ge,qe,Ke){Ge=Ge||O;var ct=Ge.labelFetcher,wt=Ge.labelDataIndex,Lt=Ge.labelDimIndex,de=Ge.labelProp,xe=Fe.getShallow("show"),$=Ye.getShallow("show"),se;(xe||$)&&(ct&&(se=ct.getFormattedLabel(wt,"normal",null,Lt,de)),se==null&&(se=g.isFunction(Ge.defaultText)?Ge.defaultText(wt,Ge):Ge.defaultText));var Oe=xe?se:null,ke=$?g.retrieve2(ct?ct.getFormattedLabel(wt,"emphasis",null,Lt,de):null,se):null;(Oe!=null||ke!=null)&&(De(Ee,Fe,qe,Ge),De(we,Ye,Ke,Ge,!0)),Ee.text=Oe,we.text=ke}function dt(Ee,we,Fe){var Ye=Ee.style;we&&(at(Ye),Ee.setStyle(we),et(Ye)),Ye=Ee.__hoverStl,Fe&&Ye&&(at(Ye),g.extend(Ye,Fe),et(Ye))}function De(Ee,we,Fe,Ye,Ge){return je(Ee,we,Ye,Ge),Fe&&g.extend(Ee,Fe),Ee}function Tt(Ee,we,Fe){var Ye={isRectText:!0},Ge;Fe===!1?Ge=!0:Ye.autoColor=Fe,je(Ee,we,Ye,Ge)}function je(Ee,we,Fe,Ye){if(Fe=Fe||O,Fe.isRectText){var Ge;Fe.getTextPosition?Ge=Fe.getTextPosition(we,Ye):(Ge=we.getShallow("position")||(Ye?null:"inside"),Ge==="outside"&&(Ge="top")),Ee.textPosition=Ge,Ee.textOffset=we.getShallow("offset");var qe=we.getShallow("rotate");qe!=null&&(qe*=Math.PI/180),Ee.textRotation=qe,Ee.textDistance=g.retrieve2(we.getShallow("distance"),Ye?null:5)}var Ke=we.ecModel,ct=Ke&&Ke.option.textStyle,wt=st(we),Lt;if(wt){Lt={};for(var de in wt)if(wt.hasOwnProperty(de)){var xe=we.getModel(["rich",de]);Xe(Lt[de]={},xe,ct,Fe,Ye)}}return Ee.rich=Lt,Xe(Ee,we,ct,Fe,Ye,!0),Fe.forceRich&&!Fe.textStyle&&(Fe.textStyle={}),Ee}function st(Ee){for(var we;Ee&&Ee!==Ee.ecModel;){var Fe=(Ee.option||O).rich;if(Fe){we=we||{};for(var Ye in Fe)Fe.hasOwnProperty(Ye)&&(we[Ye]=1)}Ee=Ee.parentModel}return we}function Xe(Ee,we,Fe,Ye,Ge,qe){Fe=!Ge&&Fe||O,Ee.textFill=Je(we.getShallow("color"),Ye)||Fe.color,Ee.textStroke=Je(we.getShallow("textBorderColor"),Ye)||Fe.textBorderColor,Ee.textStrokeWidth=g.retrieve2(we.getShallow("textBorderWidth"),Fe.textBorderWidth),Ge||(qe&&(Ee.insideRollbackOpt=Ye,et(Ee)),Ee.textFill==null&&(Ee.textFill=Ye.autoColor)),Ee.fontStyle=we.getShallow("fontStyle")||Fe.fontStyle,Ee.fontWeight=we.getShallow("fontWeight")||Fe.fontWeight,Ee.fontSize=we.getShallow("fontSize")||Fe.fontSize,Ee.fontFamily=we.getShallow("fontFamily")||Fe.fontFamily,Ee.textAlign=we.getShallow("align"),Ee.textVerticalAlign=we.getShallow("verticalAlign")||we.getShallow("baseline"),Ee.textLineHeight=we.getShallow("lineHeight"),Ee.textWidth=we.getShallow("width"),Ee.textHeight=we.getShallow("height"),Ee.textTag=we.getShallow("tag"),(!qe||!Ye.disableBox)&&(Ee.textBackgroundColor=Je(we.getShallow("backgroundColor"),Ye),Ee.textPadding=we.getShallow("padding"),Ee.textBorderColor=Je(we.getShallow("borderColor"),Ye),Ee.textBorderWidth=we.getShallow("borderWidth"),Ee.textBorderRadius=we.getShallow("borderRadius"),Ee.textBoxShadowColor=we.getShallow("shadowColor"),Ee.textBoxShadowBlur=we.getShallow("shadowBlur"),Ee.textBoxShadowOffsetX=we.getShallow("shadowOffsetX"),Ee.textBoxShadowOffsetY=we.getShallow("shadowOffsetY")),Ee.textShadowColor=we.getShallow("textShadowColor")||Fe.textShadowColor,Ee.textShadowBlur=we.getShallow("textShadowBlur")||Fe.textShadowBlur,Ee.textShadowOffsetX=we.getShallow("textShadowOffsetX")||Fe.textShadowOffsetX,Ee.textShadowOffsetY=we.getShallow("textShadowOffsetY")||Fe.textShadowOffsetY}function Je(Ee,we){return Ee!=="auto"?Ee:we&&we.autoColor?we.autoColor:null}function et(Ee){var we=Ee.textPosition,Fe=Ee.insideRollbackOpt,Ye;if(Fe&&Ee.textFill==null){var Ge=Fe.autoColor,qe=Fe.isRectText,Ke=Fe.useInsideStyle,ct=Ke!==!1&&(Ke===!0||qe&&we&&typeof we=="string"&&we.indexOf("inside")>=0),wt=!ct&&Ge!=null;(ct||wt)&&(Ye={textFill:Ee.textFill,textStroke:Ee.textStroke,textStrokeWidth:Ee.textStrokeWidth}),ct&&(Ee.textFill="#fff",Ee.textStroke==null&&(Ee.textStroke=Ge,Ee.textStrokeWidth==null&&(Ee.textStrokeWidth=2))),wt&&(Ee.textFill=Ge)}Ee.insideRollback=Ye}function at(Ee){var we=Ee.insideRollback;we&&(Ee.textFill=we.textFill,Ee.textStroke=we.textStroke,Ee.textStrokeWidth=we.textStrokeWidth,Ee.insideRollback=null)}function Ve(Ee,we){var Fe=we&&we.getModel("textStyle");return g.trim([Ee.fontStyle||Fe&&Fe.getShallow("fontStyle")||"",Ee.fontWeight||Fe&&Fe.getShallow("fontWeight")||"",(Ee.fontSize||Fe&&Fe.getShallow("fontSize")||12)+"px",Ee.fontFamily||Fe&&Fe.getShallow("fontFamily")||"sans-serif"].join(" "))}function le(Ee,we,Fe,Ye,Ge,qe){typeof Ge=="function"&&(qe=Ge,Ge=null);var Ke=Ye&&Ye.isAnimationEnabled();if(Ke){var ct=Ee?"Update":"",wt=Ye.getShallow("animationDuration"+ct),Lt=Ye.getShallow("animationEasing"+ct),de=Ye.getShallow("animationDelay"+ct);typeof de=="function"&&(de=de(Ge,Ye.getAnimationDelayParams?Ye.getAnimationDelayParams(we,Ge):null)),typeof wt=="function"&&(wt=wt(Ge)),wt>0?we.animateTo(Fe,wt,de||0,Lt,qe,!!qe):(we.stopAnimation(),we.attr(Fe),qe&&qe())}else we.stopAnimation(),we.attr(Fe),qe&&qe()}function ae(Ee,we,Fe,Ye,Ge){le(!0,Ee,we,Fe,Ye,Ge)}function lt(Ee,we,Fe,Ye,Ge){le(!1,Ee,we,Fe,Ye,Ge)}function Ze(Ee,we){for(var Fe=m.identity([]);Ee&&Ee!==we;)m.mul(Fe,Ee.getLocalTransform(),Fe),Ee=Ee.parent;return Fe}function Te(Ee,we,Fe){return we&&!g.isArrayLike(we)&&(we=c.getLocalTransform(we)),Fe&&(we=m.invert([],we)),v.applyTransform([],Ee,we)}function Jt(Ee,we,Fe){var Ye=we[4]===0||we[5]===0||we[0]===0?1:Math.abs(2*we[4]/we[0]),Ge=we[4]===0||we[5]===0||we[2]===0?1:Math.abs(2*we[4]/we[2]),qe=[Ee==="left"?-Ye:Ee==="right"?Ye:0,Ee==="top"?-Ge:Ee==="bottom"?Ge:0];return qe=Te(qe,we,Fe),Math.abs(qe[0])>Math.abs(qe[1])?qe[0]>0?"right":"left":qe[1]>0?"bottom":"top"}function mt(Ee,we,Fe,Ye){if(!Ee||!we)return;function Ge(ct){var wt={};return ct.traverse(function(Lt){!Lt.isGroup&&Lt.anid&&(wt[Lt.anid]=Lt)}),wt}function qe(ct){var wt={position:v.clone(ct.position),rotation:ct.rotation};return ct.shape&&(wt.shape=g.extend({},ct.shape)),wt}var Ke=Ge(Ee);we.traverse(function(ct){if(!ct.isGroup&&ct.anid){var wt=Ke[ct.anid];if(wt){var Lt=qe(ct);ct.attr(qe(wt)),ae(ct,Lt,Fe,ct.dataIndex)}}})}function ft(Ee,we){return g.map(Ee,function(Fe){var Ye=Fe[0];Ye=y(Ye,we.x),Ye=b(Ye,we.x+we.width);var Ge=Fe[1];return Ge=y(Ge,we.y),Ge=b(Ge,we.y+we.height),[Ye,Ge]})}function bt(Ee,we){var Fe=y(Ee.x,we.x),Ye=b(Ee.x+Ee.width,we.x+we.width),Ge=y(Ee.y,we.y),qe=b(Ee.y+Ee.height,we.y+we.height);if(Ye>=Fe&&qe>=Ge)return{x:Fe,y:Ge,width:Ye-Fe,height:qe-Ge}}function It(Ee,we,Fe){we=g.extend({rectHover:!0},we);var Ye=we.style={strokeNoScale:!0};if(Fe=Fe||{x:-1,y:-1,width:2,height:2},Ee)return Ee.indexOf("image://")===0?(Ye.image=Ee.slice(8),g.defaults(Ye,Fe),new a(we)):X(Ee.replace("path://",""),we,Fe,"center")}function or(Ee,we,Fe,Ye,Ge){for(var qe=0,Ke=Ge[Ge.length-1];qe<Ge.length;qe++){var ct=Ge[qe];if(Pt(Ee,we,Fe,Ye,ct[0],ct[1],Ke[0],Ke[1]))return!0;Ke=ct}}function Pt(Ee,we,Fe,Ye,Ge,qe,Ke,ct){var wt=Fe-Ee,Lt=Ye-we,de=Ke-Ge,xe=ct-qe,$=_e(de,xe,wt,Lt);if(Ce($))return!1;var se=Ee-Ge,Oe=we-qe,ke=_e(se,Oe,wt,Lt)/$;if(ke<0||ke>1)return!1;var Pe=_e(se,Oe,de,xe)/$;return!(Pe<0||Pe>1)}function _e(Ee,we,Fe,Ye){return Ee*Ye-Fe*we}function Ce(Ee){return Ee<=1e-6&&Ee>=-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",x),D.Z2_EMPHASIS_LIFT=I,D.CACHED_LABEL_STYLE_PROPERTIES=M,D.extendShape=B,D.extendPath=U,D.registerShape=H,D.getShapeClass=z,D.makePath=X,D.makeImage=W,D.mergePath=q,D.resizePath=me,D.subPixelOptimizeLine=G,D.subPixelOptimizeRect=ye,D.subPixelOptimize=Ae,D.setElementHoverStyle=V,D.setHoverStyle=te,D.setAsHighDownDispatcher=Z,D.isHighDownDispatcher=ge,D.getHighlightDigit=Re,D.setLabelStyle=ze,D.modifyLabelStyle=dt,D.setTextStyle=De,D.setText=Tt,D.getFont=Ve,D.updateProps=ae,D.initProps=lt,D.getTransform=Ze,D.applyTransform=Te,D.transformDirection=Jt,D.groupTransition=mt,D.clipPointsByRect=ft,D.clipRectByRect=bt,D.createIcon=It,D.linePolygonIntersect=or,D.lineLineIntersect=Pt},IyUQ:function(R,D,e){var g=e("bYtY"),f=e("YH21"),A=e("IwbS"),m=e("iLNv"),v=e("fc+c"),h=e("OELB"),c=e("+TT/"),a=e("72pK"),i=A.Rect,r=h.linearMap,o=h.asc,d=g.bind,n=g.each,l=7,t=1,s=30,u="horizontal",p="vertical",x=5,S=["line","bar","candlestick","scatter"],T=v.extend({type:"dataZoom.slider",init:function(_,y){this._displayables={},this._orient,this._range,this._handleEnds,this._size,this._handleWidth,this._handleHeight,this._location,this._dragging,this._dataShadowInfo,this.api=y},render:function(_,y,b,O){if(T.superApply(this,"render",arguments),m.createOrUpdate(this,"_dispatchZoomAction",this.dataZoomModel.get("throttle"),"fixRate"),this._orient=_.get("orient"),this.dataZoomModel.get("show")===!1){this.group.removeAll();return}(!O||O.type!=="dataZoom"||O.from!==this.uid)&&this._buildView(),this._updateView()},remove:function(){T.superApply(this,"remove",arguments),m.clear(this,"_dispatchZoomAction")},dispose:function(){T.superApply(this,"dispose",arguments),m.clear(this,"_dispatchZoomAction")},_buildView:function(){var _=this.group;_.removeAll(),this._resetLocation(),this._resetInterval();var y=this._displayables.barGroup=new A.Group;this._renderBackground(),this._renderHandle(),this._renderDataShadow(),_.add(y),this._positionGroup()},_resetLocation:function(){var _=this.dataZoomModel,y=this.api,b=this._findCoordRect(),O={width:y.getWidth(),height:y.getHeight()},I=this._orient===u?{right:O.width-b.x-b.width,top:O.height-s-l,width:b.width,height:s}:{right:l,top:b.y,width:s,height:b.height},M=c.getLayoutParams(_.option);g.each(["right","top","width","height"],function(P){M[P]==="ph"&&(M[P]=I[P])});var F=c.getLayoutRect(M,O,_.padding);this._location={x:F.x,y:F.y},this._size=[F.width,F.height],this._orient===p&&this._size.reverse()},_positionGroup:function(){var _=this.group,y=this._location,b=this._orient,O=this.dataZoomModel.getFirstTargetAxisModel(),I=O&&O.get("inverse"),M=this._displayables.barGroup,F=(this._dataShadowInfo||{}).otherAxisInverse;M.attr(b===u&&!I?{scale:F?[1,1]:[1,-1]}:b===u&&I?{scale:F?[-1,1]:[-1,-1]}:b===p&&!I?{scale:F?[1,-1]:[1,1],rotation:Math.PI/2}:{scale:F?[-1,-1]:[-1,1],rotation:Math.PI/2});var P=_.getBoundingRect([M]);_.attr("position",[y.x-P.x,y.y-P.y])},_getViewExtent:function(){return[0,this._size[0]]},_renderBackground:function(){var _=this.dataZoomModel,y=this._size,b=this._displayables.barGroup;b.add(new i({silent:!0,shape:{x:0,y:0,width:y[0],height:y[1]},style:{fill:_.get("backgroundColor")},z2:-40})),b.add(new i({shape:{x:0,y:0,width:y[0],height:y[1]},style:{fill:"transparent"},z2:0,onclick:g.bind(this._onClickPanelClick,this)}))},_renderDataShadow:function(){var _=this._dataShadowInfo=this._prepareDataShadowInfo();if(!_)return;var y=this._size,b=_.series,O=b.getRawData(),I=b.getShadowDim?b.getShadowDim():_.otherDim;if(I==null)return;var M=O.getDataExtent(I),F=(M[1]-M[0])*.3;M=[M[0]-F,M[1]+F];var P=[0,y[1]],j=[0,y[0]],K=[[y[0],0],[0,0]],N=[],B=j[1]/(O.count()-1),U=0,H=Math.round(O.count()/y[0]),z;O.each([I],function(W,Y){if(H>0&&Y%H){U+=B;return}var q=W==null||isNaN(W)||W==="",me=q?0:r(W,M,P,!0);q&&!z&&Y?(K.push([K[K.length-1][0],0]),N.push([N[N.length-1][0],0])):!q&&z&&(K.push([U,0]),N.push([U,0])),K.push([U,me]),N.push([U,me]),U+=B,z=q});var X=this.dataZoomModel;this._displayables.barGroup.add(new A.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 A.Polyline({shape:{points:N},style:X.getModel("dataBackground.lineStyle").getLineStyle(),silent:!0,z2:-19}))},_prepareDataShadowInfo:function(){var _=this.dataZoomModel,y=_.get("showDataShadow");if(y===!1)return;var b,O=this.ecModel;return _.eachTargetAxis(function(I,M){var F=_.getAxisProxy(I.name,M).getTargetSeriesModels();g.each(F,function(P){if(b)return;if(y!==!0&&g.indexOf(S,P.get("type"))<0)return;var j=O.getComponent(I.axis,M).axis,K=w(I.name),N,B=P.coordinateSystem;K!=null&&B.getOtherAxis&&(N=B.getOtherAxis(j).inverse),K=P.getData().mapDimension(K),b={thisAxis:j,series:P,thisDim:I.name,otherDim:K,otherAxisInverse:N}},this)},this),b},_renderHandle:function(){var _=this._displayables,y=_.handles=[],b=_.handleLabels=[],O=this._displayables.barGroup,I=this._size,M=this.dataZoomModel;O.add(_.filler=new i({draggable:!0,cursor:E(this._orient),drift:d(this._onDragMove,this,"all"),ondragstart:d(this._showDataInfo,this,!0),ondragend:d(this._onDragEnd,this),onmouseover:d(this._showDataInfo,this,!0),onmouseout:d(this._showDataInfo,this,!1),style:{fill:M.get("fillerColor"),textPosition:"inside"}})),O.add(new i({silent:!0,subPixelOptimize:!0,shape:{x:0,y:0,width:I[0],height:I[1]},style:{stroke:M.get("dataBackgroundColor")||M.get("borderColor"),lineWidth:t,fill:"rgba(0,0,0,0)"}})),n([0,1],function(F){var P=A.createIcon(M.get("handleIcon"),{cursor:E(this._orient),draggable:!0,drift:d(this._onDragMove,this,F),ondragend:d(this._onDragEnd,this),onmouseover:d(this._showDataInfo,this,!0),onmouseout:d(this._showDataInfo,this,!1)},{x:-1,y:0,width:2,height:2}),j=P.getBoundingRect();this._handleHeight=h.parsePercent(M.get("handleSize"),this._size[1]),this._handleWidth=j.width/j.height*this._handleHeight,P.setStyle(M.getModel("handleStyle").getItemStyle());var K=M.get("handleColor");K!=null&&(P.style.fill=K),O.add(y[F]=P);var N=M.textStyleModel;this.group.add(b[F]=new A.Text({silent:!0,invisible:!0,style:{x:0,y:0,text:"",textVerticalAlign:"middle",textAlign:"center",textFill:N.getTextColor(),textFont:N.getFont()},z2:10}))},this)},_resetInterval:function(){var _=this._range=this.dataZoomModel.getPercentRange(),y=this._getViewExtent();this._handleEnds=[r(_[0],[0,100],y,!0),r(_[1],[0,100],y,!0)]},_updateInterval:function(_,y){var b=this.dataZoomModel,O=this._handleEnds,I=this._getViewExtent(),M=b.findRepresentativeAxisProxy().getMinMaxSpan(),F=[0,100];a(y,O,I,b.get("zoomLock")?"all":_,M.minSpan!=null?r(M.minSpan,F,I,!0):null,M.maxSpan!=null?r(M.maxSpan,F,I,!0):null);var P=this._range,j=this._range=o([r(O[0],I,F,!0),r(O[1],I,F,!0)]);return!P||P[0]!==j[0]||P[1]!==j[1]},_updateView:function(_){var y=this._displayables,b=this._handleEnds,O=o(b.slice()),I=this._size;n([0,1],function(M){var F=y.handles[M],P=this._handleHeight;F.attr({scale:[P/2,P/2],position:[b[M],I[1]/2-P/2]})},this),y.filler.setShape({x:O[0],y:0,width:O[1]-O[0],height:I[1]}),this._updateDataInfo(_)},_updateDataInfo:function(_){var y=this.dataZoomModel,b=this._displayables,O=b.handleLabels,I=this._orient,M=["",""];if(y.get("showDetail")){var F=y.findRepresentativeAxisProxy();if(F){var P=F.getAxisModel().axis,j=this._range,K=_?F.calculateDataWindow({start:j[0],end:j[1]}).valueWindow:F.getDataValueWindow();M=[this._formatLabel(K[0],P),this._formatLabel(K[1],P)]}}var N=o(this._handleEnds.slice());B.call(this,0),B.call(this,1);function B(U){var H=A.getTransform(b.handles[U].parent,this.group),z=A.transformDirection(U===0?"right":"left",H),X=this._handleWidth/2+x,W=A.applyTransform([N[U]+(U===0?-X:X),this._size[1]/2],H);O[U].setStyle({x:W[0],y:W[1],textVerticalAlign:I===u?"middle":z,textAlign:I===u?z:"center",text:M[U]})}},_formatLabel:function(_,y){var b=this.dataZoomModel,O=b.get("labelFormatter"),I=b.get("labelPrecision");(I==null||I==="auto")&&(I=y.getPixelPrecision());var M=_==null||isNaN(_)?"":y.type==="category"||y.type==="time"?y.scale.getLabel(Math.round(_)):_.toFixed(Math.min(I,20));return g.isFunction(O)?O(_,M):g.isString(O)?O.replace("{value}",M):M},_showDataInfo:function(_){_=this._dragging||_;var y=this._displayables.handleLabels;y[0].attr("invisible",!_),y[1].attr("invisible",!_)},_onDragMove:function(_,y,b,O){this._dragging=!0,f.stop(O.event);var I=this._displayables.barGroup.getLocalTransform(),M=A.applyTransform([y,b],I,!0),F=this._updateInterval(_,M[0]),P=this.dataZoomModel.get("realtime");this._updateView(!P),F&&P&&this._dispatchZoomAction()},_onDragEnd:function(){this._dragging=!1,this._showDataInfo(!1);var _=this.dataZoomModel.get("realtime");!_&&this._dispatchZoomAction()},_onClickPanelClick:function(_){var y=this._size,b=this._displayables.barGroup.transformCoordToLocal(_.offsetX,_.offsetY);if(b[0]<0||b[0]>y[0]||b[1]<0||b[1]>y[1])return;var O=this._handleEnds,I=(O[0]+O[1])/2,M=this._updateInterval("all",b[0]-I);this._updateView(),M&&this._dispatchZoomAction()},_dispatchZoomAction:function(){var _=this._range;this.api.dispatchAction({type:"dataZoom",from:this.uid,dataZoomId:this.dataZoomModel.id,start:_[0],end:_[1]})},_findCoordRect:function(){var _;if(n(this.getTargetCoordInfo(),function(O){if(!_&&O.length){var I=O[0].model.coordinateSystem;_=I.getRect&&I.getRect()}}),!_){var y=this.api.getWidth(),b=this.api.getHeight();_={x:y*.2,y:b*.2,width:y*.6,height:b*.6}}return _}});function w(_){var y={x:"y",y:"x",radius:"angle",angle:"radius"};return y[_]}function E(_){return _==="vertical"?"ns-resize":"ew-resize"}var C=T;R.exports=C},IzEo:function(R,D,e){"use strict";var g=e("cIOH"),f=e.n(g),A=e("lnY3"),m=e.n(A),v=e("Znn+"),h=e("14J3"),c=e("jCWc")},J66h:function(R,D,e){(function(g){var f,A;(function(m,v){R.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(P){for(var j={},K=0,N=P.length;K<N;K++)j[P.charAt(K)]=K;return j}(c),i=String.fromCharCode,r=function(j){if(j.length<2){var K=j.charCodeAt(0);return K<128?j: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+(j.charCodeAt(0)-55296)*1024+(j.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(j){return j.replace(o,r)},n=function(j){var K=[0,2,1][j.length%3],N=j.charCodeAt(0)<<16|(j.length>1?j.charCodeAt(1):0)<<8|(j.length>2?j.charCodeAt(2):0),B=[c.charAt(N>>>18),c.charAt(N>>>12&63),K>=2?"=":c.charAt(N>>>6&63),K>=1?"=":c.charAt(N&63)];return B.join("")},l=m.btoa&&typeof m.btoa=="function"?function(P){return m.btoa(P)}:function(P){if(P.match(/[^\x00-\xFF]/))throw new RangeError("The string contains invalid characters.");return P.replace(/[\s\S]{1,3}/g,n)},t=function(j){return l(d(String(j)))},s=function(j){return j.replace(/[+\/]/g,function(K){return K=="+"?"-":"_"}).replace(/=/g,"")},u=function(j,K){return K?s(t(j)):t(j)},p=function(j){return u(j,!0)},x;m.Uint8Array&&(x=function(j,K){for(var N="",B=0,U=j.length;B<U;B+=3){var H=j[B],z=j[B+1],X=j[B+2],W=H<<16|z<<8|X;N+=c.charAt(W>>>18)+c.charAt(W>>>12&63)+(typeof z!="undefined"?c.charAt(W>>>6&63):"=")+(typeof X!="undefined"?c.charAt(W&63):"=")}return K?s(N):N});var S=/[\xC0-\xDF][\x80-\xBF]|[\xE0-\xEF][\x80-\xBF]{2}|[\xF0-\xF7][\x80-\xBF]{3}/g,T=function(j){switch(j.length){case 4:var K=(7&j.charCodeAt(0))<<18|(63&j.charCodeAt(1))<<12|(63&j.charCodeAt(2))<<6|63&j.charCodeAt(3),N=K-65536;return i((N>>>10)+55296)+i((N&1023)+56320);case 3:return i((15&j.charCodeAt(0))<<12|(63&j.charCodeAt(1))<<6|63&j.charCodeAt(2));default:return i((31&j.charCodeAt(0))<<6|63&j.charCodeAt(1))}},w=function(j){return j.replace(S,T)},E=function(j){var K=j.length,N=K%4,B=(K>0?a[j.charAt(0)]<<18:0)|(K>1?a[j.charAt(1)]<<12:0)|(K>2?a[j.charAt(2)]<<6:0)|(K>3?a[j.charAt(3)]:0),U=[i(B>>>16),i(B>>>8&255),i(B&255)];return U.length-=[0,0,2,1][N],U.join("")},C=m.atob&&typeof m.atob=="function"?function(P){return m.atob(P)}:function(P){return P.replace(/\S{1,4}/g,E)},_=function(j){return C(String(j).replace(/[^A-Za-z0-9\+\/]/g,""))},y=function(j){return w(C(j))},b=function(j){return String(j).replace(/[-_]/g,function(K){return K=="-"?"+":"/"}).replace(/[^A-Za-z0-9\+\/]/g,"")},O=function(j){return y(b(j))},I;m.Uint8Array&&(I=function(j){return Uint8Array.from(_(b(j)),function(K){return K.charCodeAt(0)})});var M=function(){var j=m.Base64;return m.Base64=v,j};if(m.Base64={VERSION:h,atob:_,btoa:l,fromBase64:O,toBase64:u,utob:d,encode:u,encodeURI:p,btou:w,decode:O,noConflict:M,fromUint8Array:x,toUint8Array:I},typeof Object.defineProperty=="function"){var F=function(j){return{value:j,enumerable:!1,writable:!0,configurable:!0}};m.Base64.extendString=function(){Object.defineProperty(String.prototype,"fromBase64",F(function(){return O(this)})),Object.defineProperty(String.prototype,"toBase64",F(function(P){return u(this,P)})),Object.defineProperty(String.prototype,"toBase64URI",F(function(){return u(this,!0)}))}}return m.Meteor&&(Base64=m.Base64),R.exports?R.exports.Base64=m.Base64:!(f=[],A=function(){return m.Base64}.apply(D,f),A!==void 0&&(R.exports=A)),{Base64:m.Base64}})}).call(this,e("yLpj"))},JEkh:function(R,D,e){var g=e("Tghj"),f=g.__DEV__,A=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=A.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,x=this.mainType+"Model";s||t.eachSeries(function(S){var T=S.get(this.mainType,!0),w=S[x];if(!T||!T.data){S[x]=null;return}w?w._mergeOption(T,t,!0):(u&&o(T),m.each(T.data,function(E){E instanceof Array?(o(E[0]),o(E[1])):o(E)}),w=new p(T,this,t),m.extend(w,{mainType:this.mainType,seriesIndex:S.seriesIndex,name:S.name,createdBySelf:!0}),w.__hostSeries=S),S[x]=w},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),x=r(this.name);return(s!=null||p)&&(x+="<br />"),p&&(x+=r(p),s!=null&&(x+=" : ")),s!=null&&(x+=r(u)),x},getData:function(){return this._data},setData:function(l){this._data=l}});m.mixin(d,a);var n=d;R.exports=n},JGo8:function(R,D,e){},JHRd:function(R,D,e){var g=e("Kz5y"),f=g.Uint8Array;R.exports=f},JHgL:function(R,D,e){var g=e("QkVE");function f(A){return g(this,A).get(A)}R.exports=f},JLnu:function(R,D,e){var g=e("+TT/"),f=e("OELB"),A=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,x,S,T;if(u)n==="insideLeft"?(x=(s[0][0]+s[3][0])/2+5,S=(s[0][1]+s[3][1])/2,p="left"):n==="insideRight"?(x=(s[1][0]+s[2][0])/2-5,S=(s[1][1]+s[2][1])/2,p="right"):(x=(s[0][0]+s[1][0]+s[2][0]+s[3][0])/4,S=(s[0][1]+s[1][1]+s[2][1]+s[3][1])/4,p="center"),T=[[x,S],[x,S]];else{var w,E,C,_=l.get("length");n==="left"?(w=(s[3][0]+s[0][0])/2,E=(s[3][1]+s[0][1])/2,C=w-_,x=C-5,p="right"):n==="right"?(w=(s[1][0]+s[2][0])/2,E=(s[1][1]+s[2][1])/2,C=w+_,x=C+5,p="left"):n==="rightTop"?(w=s[1][0],E=s[1][1],C=w+_,x=C+5,p="top"):n==="rightBottom"?(w=s[2][0],E=s[2][1],C=w+_,x=C+5,p="bottom"):n==="leftTop"?(w=s[0][0],E=s[1][1],C=w-_,x=C-5,p="right"):n==="leftBottom"?(w=s[3][0],E=s[2][1],C=w-_,x=C-5,p="right"):(w=(s[1][0]+s[2][0])/2,E=(s[1][1]+s[2][1])/2,C=w+_,x=C+5,p="left");var y=E;T=[[w,E],[C,y]],S=y}t.label={linePoints:T,x,y:S,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=[A(d.get("minSize"),s.width),A(d.get("maxSize"),s.width)],x=n.getDataExtent(l),S=d.get("min"),T=d.get("max");S==null&&(S=Math.min(x[0],0)),T==null&&(T=x[1]);var w=d.get("funnelAlign"),E=d.get("gap"),C=(s.height-E*(n.count()-1))/n.count(),_=s.y,y=function(K,N){var B=n.get(l,K)||0,U=m(B,[S,T],p,!0),H;switch(w){case"left":H=s.x;break;case"center":H=s.x+(s.width-U)/2;break;case"right":H=s.x+s.width-U;break}return[[H,N],[H+U,N]]};t==="ascending"&&(C=-C,E=-E,_+=s.height,u=u.reverse());for(var b=0;b<u.length;b++){var O=u[b],I=u[b+1],M=n.getItemModel(O),F=M.get("itemStyle.height");F==null?F=C:(F=A(F,s.height),t==="ascending"&&(F=-F));var P=y(O,_),j=y(I,_+F);_+=F+E,n.setItemLayout(O,{points:P.concat(j.slice().reverse())})}c(n)})}R.exports=a},JSQU:function(R,D,e){var g=e("YESw"),f="__lodash_hash_undefined__";function A(m,v){var h=this.__data__;return this.size+=this.has(m)?0:1,h[m]=g&&v===void 0?f:v,this}R.exports=A},JSwD:function(R,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(D,"__esModule",{value:!0}),D.default=t;var f=m(e("6BzB"));function A(){if(typeof WeakMap!="function")return null;var s=new WeakMap;return A=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=A();if(u&&u.has(s))return u.get(s);var p={},x=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var S in s)if(Object.prototype.hasOwnProperty.call(s,S)){var T=x?Object.getOwnPropertyDescriptor(s,S):null;T&&(T.get||T.set)?Object.defineProperty(p,S,T):p[S]=s[S]}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,x,S,T,w,E){var C=E.bits,_=0,y=0,b=0,O=0,I=0,M=0,F=0,P=0,j=0,K=0,N,B,U,H,z,X=null,W=0,Y,q=new f.Buf16(v+1),me=new f.Buf16(v+1),G=null,ye=0,Ae,ve,Ue;for(_=0;_<=v;_++)q[_]=0;for(y=0;y<x;y++)q[u[p+y]]++;for(I=C,O=v;O>=1&&!(q[O]!==0);O--);if(I>O&&(I=O),O===0)return S[T++]=1<<24|64<<16|0,S[T++]=1<<24|64<<16|0,E.bits=1,0;for(b=1;b<O&&!(q[b]!==0);b++);for(I<b&&(I=b),P=1,_=1;_<=v;_++)if(P<<=1,P-=q[_],P<0)return-1;if(P>0&&(s===a||O!==1))return-1;for(me[1]=0,_=1;_<v;_++)me[_+1]=me[_]+q[_];for(y=0;y<x;y++)u[p+y]!==0&&(w[me[u[p+y]]++]=y);if(s===a?(X=G=w,Y=19):s===i?(X=o,W-=257,G=d,ye-=257,Y=256):(X=n,G=l,Y=-1),K=0,y=0,_=b,z=T,M=I,F=0,U=-1,j=1<<I,H=j-1,s===i&&j>h||s===r&&j>c)return 1;for(;;){Ae=_-F,w[y]<Y?(ve=0,Ue=w[y]):w[y]>Y?(ve=G[ye+w[y]],Ue=X[W+w[y]]):(ve=32+64,Ue=0),N=1<<_-F,B=1<<M,b=B;do B-=N,S[z+(K>>F)+B]=Ae<<24|ve<<16|Ue|0;while(B!==0);for(N=1<<_-1;K&N;)N>>=1;if(N!==0?(K&=N-1,K+=N):K=0,y++,--q[_]===0){if(_===O)break;_=u[p+w[y]]}if(_>I&&(K&H)!==U){for(F===0&&(F=I),z+=b,M=_-F,P=1<<M;M+F<O&&!(P-=q[M+F],P<=0);)M++,P<<=1;if(j+=1<<M,s===i&&j>h||s===r&&j>c)return 1;U=K&H,S[U]=I<<24|M<<16|z-T|0}}return K!==0&&(S[z+K]=_-F<<24|64<<16|0),E.bits=I,0}},JTzB:function(R,D,e){var g=e("NykK"),f=e("ExA7"),A="[object Arguments]";function m(v){return f(v)&&g(v)==A}R.exports=m},JVwQ:function(R,D,e){var g=e("ProS"),f=e("1NG9"),A=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,x=u.boundaryGap;t.attr("position",[0,p.y+x[0]]);function S(C){return C.name}var T=new a(this._layersSeries||[],s,S,S),w={};T.add(h(E,this,"add")).update(h(E,this,"update")).remove(h(E,this,"remove")).execute();function E(C,_,y){var b=this._layers;if(C==="remove"){t.remove(b[_]);return}for(var O=[],I=[],M,F=s[_].indices,P=0;P<F.length;P++){var j=l.getItemLayout(F[P]),K=j.x,N=j.y0,B=j.y;O.push([K,N]),I.push([K,N+B]),M=l.getItemVisual(F[P],"color")}var U,H,z=l.getItemLayout(F[0]),X=l.getItemModel(F[P-1]),W=X.getModel("label"),Y=W.get("margin");if(C==="add"){var q=w[_]=new m.Group;U=new A({shape:{points:O,stackedOnPoints:I,smooth:.4,stackedOnSmooth:.4,smoothConstraint:!1},z2:0}),H=new m.Text({style:{x:z.x-Y,y:z.y0+z.y/2}}),q.add(U),q.add(H),t.add(q),U.setClipPath(r(U.getBoundingRect(),o,function(){U.removeClipPath()}))}else{var q=b[y];U=q.childAt(0),H=q.childAt(1),t.add(q),w[_]=q,m.updateProps(U,{shape:{points:O,stackedOnPoints:I}},o),m.updateProps(H,{style:{x:z.x-Y,y:z.y0+z.y/2}},o)}var me=X.getModel("emphasis.itemStyle"),G=X.getModel("itemStyle");m.setTextStyle(H.style,W,{text:W.get("show")?o.getFormattedLabel(F[P-1],"normal")||l.getName(F[P-1]):null,textVerticalAlign:"middle"}),U.setStyle(c({fill:M},G.getItemStyle(["color"]))),m.setHoverStyle(U,me.getItemStyle())}this._layersSeries=s,this._layers=w},dispose:function(){}});function r(o,d,n){var l=new m.Rect({shape:{x:o.x-10,y:o.y-10,width:0,height:o.height+20}});return m.initProps(l,{shape:{width:o.width+20,height:o.height+20}},d,n),l}R.exports=i},JgUQ:function(R,D,e){"use strict";Object.defineProperty(D,"__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"};D.default=g},JsLm:function(R,D,e){"use strict";var g=e("pVnL"),f=e.n(g),A=e("lSNA"),m=e.n(A),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),x=e("zT1h"),S=e("cDf5"),T=e.n(S),w=e("BGR+"),E=e("t23M"),C=e("H84U"),_=e("PEeC");function y(Me){return Me!==window?Me.getBoundingClientRect():{top:0,bottom:window.innerHeight}}function b(Me,nt,ne){return ne!==void 0&&nt.top>Me.top-ne?ne+nt.top:void 0}function O(Me,nt,ne){if(ne!==void 0&&nt.bottom<Me.bottom+ne){var be=window.innerHeight-nt.bottom;return ne+be}return}var I=["resize","scroll","touchstart","touchmove","touchend","pageshow","load"],M=[];function F(){return M}function P(Me,nt){if(!Me)return;var ne=M.find(function(be){return be.target===Me});ne?ne.affixList.push(nt):(ne={target:Me,affixList:[nt],eventHandlers:{}},M.push(ne),I.forEach(function(be){ne.eventHandlers[be]=Object(x.a)(Me,be,function(){ne.affixList.forEach(function(ot){ot.lazyUpdatePosition()})})}))}function j(Me){var nt=M.find(function(ne){var be=ne.affixList.some(function(ot){return ot===Me});return be&&(ne.affixList=ne.affixList.filter(function(ot){return ot!==Me})),be});nt&&nt.affixList.length===0&&(M=M.filter(function(ne){return ne!==nt}),I.forEach(function(ne){var be=nt.eventHandlers[ne];be&&be.remove&&be.remove()}))}var K=function(Me,nt,ne,be){var ot=arguments.length,ue=ot<3?nt:be===null?be=Object.getOwnPropertyDescriptor(nt,ne):be,Q;if((typeof Reflect=="undefined"?"undefined":T()(Reflect))==="object"&&typeof Reflect.decorate=="function")ue=Reflect.decorate(Me,nt,ne,be);else for(var V=Me.length-1;V>=0;V--)(Q=Me[V])&&(ue=(ot<3?Q(ue):ot>3?Q(nt,ne,ue):Q(nt,ne))||ue);return ot>3&&ue&&Object.defineProperty(nt,ne,ue),ue};function N(){return typeof window!="undefined"?window:null}var B;(function(Me){Me[Me.None=0]="None",Me[Me.Prepare=1]="Prepare"})(B||(B={}));var U=function(Me){d()(ne,Me);var nt=l()(ne);function ne(){var be;return h()(this,ne),be=nt.apply(this,arguments),be.state={status:B.None,lastAffix:!1,prevTarget:null},be.getOffsetTop=function(){var ot=be.props.offsetBottom,ue=be.props.offsetTop;return ot===void 0&&ue===void 0&&(ue=0),ue},be.getOffsetBottom=function(){return be.props.offsetBottom},be.savePlaceholderNode=function(ot){be.placeholderNode=ot},be.saveFixedNode=function(ot){be.fixedNode=ot},be.measure=function(){var ot=be.state,ue=ot.status,Q=ot.lastAffix,V=be.props.onChange,J=be.getTargetFunc();if(ue!==B.Prepare||!be.fixedNode||!be.placeholderNode||!J)return;var fe=be.getOffsetTop(),oe=be.getOffsetBottom(),Le=J();if(!Le)return;var he={status:B.None},te=y(Le),Z=y(be.placeholderNode),ge=b(Z,te,fe),Re=O(Z,te,oe);ge!==void 0?(he.affixStyle={position:"fixed",top:ge,width:Z.width,height:Z.height},he.placeholderStyle={width:Z.width,height:Z.height}):Re!==void 0&&(he.affixStyle={position:"fixed",bottom:Re,width:Z.width,height:Z.height},he.placeholderStyle={width:Z.width,height:Z.height}),he.lastAffix=!!he.affixStyle,V&&Q!==he.lastAffix&&V(he.lastAffix),be.setState(he)},be.prepareMeasure=function(){if(be.setState({status:B.Prepare,affixStyle:void 0,placeholderStyle:void 0}),!1)var ot},be.render=function(){var ot=be.context.getPrefixCls,ue=be.state,Q=ue.affixStyle,V=ue.placeholderStyle,J=be.props,fe=J.prefixCls,oe=J.children,Le=p()(m()({},ot("affix",fe),Q)),he=Object(w.default)(be.props,["prefixCls","offsetTop","offsetBottom","target","onChange"]);return t.createElement(E.a,{onResize:function(){be.updatePosition()}},t.createElement("div",f()({},he,{ref:be.savePlaceholderNode}),Q&&t.createElement("div",{style:V,"aria-hidden":"true"}),t.createElement("div",{className:Le,ref:be.saveFixedNode,style:Q},t.createElement(E.a,{onResize:function(){be.updatePosition()}},oe))))},be}return a()(ne,[{key:"getTargetFunc",value:function(){var ot=this.context.getTargetContainer,ue=this.props.target;return ue!==void 0?ue:ot||N}},{key:"componentDidMount",value:function(){var ot=this,ue=this.getTargetFunc();ue&&(this.timeout=setTimeout(function(){P(ue(),ot),ot.updatePosition()}))}},{key:"componentDidUpdate",value:function(ot){var ue=this.state.prevTarget,Q=this.getTargetFunc(),V=null;Q&&(V=Q()||null),ue!==V&&(j(this),V&&(P(V,this),this.updatePosition()),this.setState({prevTarget:V})),(ot.offsetTop!==this.props.offsetTop||ot.offsetBottom!==this.props.offsetBottom)&&this.updatePosition(),this.measure()}},{key:"componentWillUnmount",value:function(){clearTimeout(this.timeout),j(this),this.updatePosition.cancel(),this.lazyUpdatePosition.cancel()}},{key:"updatePosition",value:function(){this.prepareMeasure()}},{key:"lazyUpdatePosition",value:function(){var ot=this.getTargetFunc(),ue=this.state.affixStyle;if(ot&&ue){var Q=this.getOffsetTop(),V=this.getOffsetBottom(),J=ot();if(J&&this.placeholderNode){var fe=y(J),oe=y(this.placeholderNode),Le=b(oe,fe,Q),he=O(oe,fe,V);if(Le!==void 0&&ue.top===Le||he!==void 0&&ue.bottom===he)return}}this.prepareMeasure()}}]),ne}(t.Component);U.contextType=C.b,K([Object(_.b)()],U.prototype,"updatePosition",null),K([Object(_.b)()],U.prototype,"lazyUpdatePosition",null);var H=U,z=e("zAh6"),X=e("i6bk"),W=t.createContext(null),Y=W;function q(){return window}function me(Me,nt){if(!Me.getClientRects().length)return 0;var ne=Me.getBoundingClientRect();return ne.width||ne.height?nt===window?(nt=Me.ownerDocument.documentElement,ne.top-nt.clientTop):ne.top-nt.getBoundingClientRect().top:ne.top}var G=/#(\S+)$/,ye=function(Me){d()(ne,Me);var nt=l()(ne);function ne(){var be;return h()(this,ne),be=nt.apply(this,arguments),be.state={activeLink:null},be.links=[],be.registerLink=function(ot){be.links.includes(ot)||be.links.push(ot)},be.unregisterLink=function(ot){var ue=be.links.indexOf(ot);ue!==-1&&be.links.splice(ue,1)},be.getContainer=function(){var ot=be.context.getTargetContainer,ue=be.props.getContainer,Q=ue||ot||q;return Q()},be.handleScrollTo=function(ot){var ue=be.props,Q=ue.offsetTop,V=ue.targetOffset;be.setCurrentActiveLink(ot);var J=be.getContainer(),fe=Object(X.a)(J,!0),oe=G.exec(ot);if(!oe)return;var Le=document.getElementById(oe[1]);if(!Le)return;var he=me(Le,J),te=fe+he;te-=V!==void 0?V:Q||0,be.animating=!0,Object(z.a)(te,{callback:function(){be.animating=!1},getContainer:be.getContainer})},be.saveInkNode=function(ot){be.inkNode=ot},be.setCurrentActiveLink=function(ot){var ue=be.state.activeLink,Q=be.props.onChange;ue!==ot&&(be.setState({activeLink:ot}),Q&&Q(ot))},be.handleScroll=function(){if(be.animating)return;var ot=be.props,ue=ot.offsetTop,Q=ot.bounds,V=ot.targetOffset,J=be.getCurrentAnchor(V!==void 0?V:ue||0,Q);be.setCurrentActiveLink(J)},be.updateInk=function(){var ot=r()(be),ue=ot.prefixCls,Q=s.findDOMNode(r()(be)),V=Q.getElementsByClassName("".concat(ue,"-link-title-active"))[0];V&&(be.inkNode.style.top="".concat(V.offsetTop+V.clientHeight/2-4.5,"px"))},be.render=function(){var ot=be.context,ue=ot.getPrefixCls,Q=ot.direction,V=be.props,J=V.prefixCls,fe=V.className,oe=fe===void 0?"":fe,Le=V.style,he=V.offsetTop,te=V.affix,Z=V.showInkInFixed,ge=V.children,Re=be.state.activeLink,ze=ue("anchor",J);be.prefixCls=ze;var dt=p()("".concat(ze,"-ink-ball"),{visible:Re}),De=p()(oe,"".concat(ze,"-wrapper"),m()({},"".concat(ze,"-rtl"),Q==="rtl")),Tt=p()(ze,{fixed:!te&&!Z}),je=f()({maxHeight:he?"calc(100vh - ".concat(he,"px)"):"100vh"},Le),st=t.createElement("div",{className:De,style:je},t.createElement("div",{className:Tt},t.createElement("div",{className:"".concat(ze,"-ink")},t.createElement("span",{className:dt,ref:be.saveInkNode})),ge));return t.createElement(Y.Provider,{value:{registerLink:be.registerLink,unregisterLink:be.unregisterLink,activeLink:be.state.activeLink,scrollTo:be.handleScrollTo,onClick:be.props.onClick}},te?t.createElement(H,{offsetTop:he,target:be.getContainer},st):st)},be}return a()(ne,[{key:"componentDidMount",value:function(){this.scrollContainer=this.getContainer(),this.scrollEvent=Object(x.a)(this.scrollContainer,"scroll",this.handleScroll),this.handleScroll()}},{key:"componentDidUpdate",value:function(){if(this.scrollEvent){var ot=this.getContainer();this.scrollContainer!==ot&&(this.scrollContainer=ot,this.scrollEvent.remove(),this.scrollEvent=Object(x.a)(this.scrollContainer,"scroll",this.handleScroll),this.handleScroll())}this.updateInk()}},{key:"componentWillUnmount",value:function(){this.scrollEvent&&this.scrollEvent.remove()}},{key:"getCurrentAnchor",value:function(){var ot=arguments.length>0&&arguments[0]!==void 0?arguments[0]:0,ue=arguments.length>1&&arguments[1]!==void 0?arguments[1]:5,Q=this.props.getCurrentAnchor;if(typeof Q=="function")return Q();var V=[],J=this.getContainer();if(this.links.forEach(function(oe){var Le=G.exec(oe.toString());if(!Le)return;var he=document.getElementById(Le[1]);if(he){var te=me(he,J);te<ot+ue&&V.push({link:oe,top:te})}}),V.length){var fe=V.reduce(function(oe,Le){return Le.top>oe.top?Le:oe});return fe.link}return""}}]),ne}(t.Component);ye.defaultProps={affix:!0,showInkInFixed:!1},ye.contextType=C.b;var Ae=function(Me){d()(ne,Me);var nt=l()(ne);function ne(){var be;return h()(this,ne),be=nt.apply(this,arguments),be.handleClick=function(ot){var ue=be.context,Q=ue.scrollTo,V=ue.onClick,J=be.props,fe=J.href,oe=J.title;V&&V(ot,{title:oe,href:fe}),Q(fe)},be.renderAnchorLink=function(ot){var ue=ot.getPrefixCls,Q=be.props,V=Q.prefixCls,J=Q.href,fe=Q.title,oe=Q.children,Le=Q.className,he=Q.target,te=ue("anchor",V),Z=be.context.activeLink===J,ge=p()(Le,"".concat(te,"-link"),m()({},"".concat(te,"-link-active"),Z)),Re=p()("".concat(te,"-link-title"),m()({},"".concat(te,"-link-title-active"),Z));return t.createElement("div",{className:ge},t.createElement("a",{className:Re,href:J,title:typeof fe=="string"?fe:"",target:he,onClick:be.handleClick},fe),oe)},be}return a()(ne,[{key:"componentDidMount",value:function(){this.context.registerLink(this.props.href)}},{key:"componentDidUpdate",value:function(ot){var ue=ot.href,Q=this.props.href;ue!==Q&&(this.context.unregisterLink(ue),this.context.registerLink(Q))}},{key:"componentWillUnmount",value:function(){this.context.unregisterLink(this.props.href)}},{key:"render",value:function(){return t.createElement(C.a,null,this.renderAnchorLink)}}]),ne}(t.Component);Ae.defaultProps={href:"#"},Ae.contextType=Y;var ve=Ae;ye.Link=ve;var Ue=D.a=ye},JuEJ:function(R,D,e){var g=e("bYtY"),f=e("4NO4"),A=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 x=v[u],S=s.normal,T=s.emphasis;S&&S[x]&&(t[x]=t[x]||{},t[x].normal?g.merge(t[x].normal,S[x]):t[x].normal=S[x],S[x]=null),T&&T[x]&&(t[x]=t[x]||{},t[x].emphasis?g.merge(t[x].emphasis,T[x]):t[x].emphasis=T[x],T[x]=null)}}function c(t,s,u){if(t&&t[s]&&(t[s].normal||t[s].emphasis)){var p=t[s].normal,x=t[s].emphasis;p&&(u?(t[s].normal=t[s].emphasis=null,g.defaults(t[s],p)):t[s]=p),x&&(t.emphasis=t.emphasis||{},t.emphasis[s]=x)}}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 x=0,S=f.TEXT_STYLE_OPTIONS.length;x<S;x++){var s=f.TEXT_STYLE_OPTIONS[x];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 x=t.data;if(t.type==="graph"){x=x||t.nodes;var S=t.links||t.edges;if(S&&!g.isTypedArray(S))for(var T=0;T<S.length;T++)r(S[T]);g.each(t.categories,function(C){a(C)})}if(x&&!g.isTypedArray(x))for(var T=0;T<x.length;T++)r(x[T]);var s=t.markPoint;if(s&&s.data)for(var w=s.data,T=0;T<w.length;T++)r(w[T]);var u=t.markLine;if(u&&u.data)for(var E=u.data,T=0;T<E.length;T++)g.isArray(E[T])?(r(E[T][0]),r(E[T][1])):r(E[T]);t.type==="gauge"?(i(t,"axisLabel"),i(t,"title"),i(t,"detail")):t.type==="treemap"?(c(t.breadcrumb,"itemStyle"),g.each(t.levels,function(C){a(C)})):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){A(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"),A(u,function(p){A(d(t[p]),function(x){x&&(i(x,"axisLabel"),i(x.axisPointer,"label"))})}),A(d(t.parallel),function(p){var x=p&&p.parallelAxisDefault;i(x,"axisLabel"),i(x&&x.axisPointer,"label")}),A(d(t.calendar),function(p){c(p,"itemStyle"),i(p,"dayLabel"),i(p,"monthLabel"),i(p,"yearLabel")}),A(d(t.radar),function(p){i(p,"name")}),A(d(t.geo),function(p){m(p)&&(r(p),A(d(p.regions),function(x){r(x)}))}),A(d(t.timeline),function(p){r(p),c(p,"label"),c(p,"itemStyle"),c(p,"controlStyle",!0);var x=p.data;g.isArray(x)&&g.each(x,function(S){g.isObject(S)&&(c(S,"label"),c(S,"itemStyle"))})}),A(d(t.toolbox),function(p){c(p,"iconStyle"),A(p.feature,function(x){c(x,"iconStyle")})}),i(n(t.axisPointer),"label"),i(n(t.tooltip).axisPointer,"label")}R.exports=l},K2GJ:function(R,D,e){var g=e("fW2E"),f=e("gut8"),A=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 x=d.createLinearGradient(t,u,s,p);return x}function c(d,n,l){var t=l.width,s=l.height,u=Math.min(t,s),p=n.x==null?.5:n.x,x=n.y==null?.5:n.y,S=n.r==null?.5:n.r;n.global||(p=p*t+l.x,x=x*s+l.y,S=S*u);var T=d.createRadialGradient(p,x,0,p,x,S);return T}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!==A.STYLE_BIND;n.__attrCachedBy=A.STYLE_BIND;for(var x=0;x<m.length;x++){var S=m[x],T=S[0];(p||s[T]!==u[T])&&(n[T]=g(n,T,s[T]||S[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 w=s.lineWidth;n.lineWidth=w/(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,x=0;x<p.length;x++)u.addColorStop(p[x].offset,p[x].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;R.exports=o},K4ya:function(R,D,e){var g=e("bYtY"),f=e("XxSj"),A=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 A(r,function(l){var t=d[l]=n();A(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(S){var T=f.prepareVisualTypes(r[S]);t[S]=T});var s;function u(S){return o.getItemVisual(s,S)}function p(S,T){o.setItemVisual(s,S,T)}l==null?o.each(x):o.each([l],x);function x(S,T){s=l==null?S:T;var w=o.getRawDataItem(s);if(w&&w.visualMap===!1)return;for(var E=d.call(n,S),C=r[E],_=t[E],y=0,b=_.length;y<b;y++){var O=_[y];C[O]&&C[O].applyVisual(S,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(O){return s.getItemVisual(x,O)}function p(O,I){s.setItemVisual(x,O,I)}for(var x;(x=t.next())!=null;){var S=s.getRawDataItem(x);if(S&&S.visualMap===!1)continue;for(var T=d!=null?s.get(d,x,!0):x,w=o(T),E=r[w],C=n[w],_=0,y=C.length;_<y;_++){var b=C[_];E[b]&&E[b].applyVisual(T,u,p)}}}return{progress:l}}D.createVisualMappings=v,D.replaceVisualOption=h,D.applyVisual=c,D.incrementalApplyVisual=a},KCsZ:function(R,D,e){var g=e("bYtY");function f(A){for(var m=0;m<A.length;m++)A[m][1]||(A[m][1]=A[m][0]);return function(v,h,c){for(var a={},i=0;i<A.length;i++){var r=A[i][1];if(h&&g.indexOf(h,r)>=0||c&&g.indexOf(c,r)<0)continue;var o=v.getShallow(r);o!=null&&(a[A[i][0]]=o)}return a}}R.exports=f},KMkd:function(R,D){function e(){this.__data__=[],this.size=0}R.exports=e},KPFz:function(R,D,e){},KQeH:function(R,D,e){"use strict";Object.defineProperty(D,"__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"};D.default=g},KS52:function(R,D,e){var g=e("OELB"),f=g.parsePercent,A=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),x=t.get("center"),S=t.get("radius");h.isArray(S)||(S=[0,S]),h.isArray(x)||(x=[x,x]);var T=f(p.width,n.getWidth()),w=f(p.height,n.getHeight()),E=Math.min(T,w),C=f(x[0],T)+p.x,_=f(x[1],w)+p.y,y=f(S[0],E/2),b=f(S[1],E/2),O=-t.get("startAngle")*a,I=t.get("minAngle")*a,M=0;s.each(u,function(Y){!isNaN(Y)&&M++});var F=s.getSum(u),P=Math.PI/(F||M)*2,j=t.get("clockwise"),K=t.get("roseType"),N=t.get("stillShowZeroSum"),B=s.getDataExtent(u);B[0]=0;var U=c,H=0,z=O,X=j?1:-1;if(s.each(u,function(Y,q){var me;if(isNaN(Y)){s.setItemLayout(q,{angle:NaN,startAngle:NaN,endAngle:NaN,clockwise:j,cx:C,cy:_,r0:y,r:K?NaN:b,viewRect:p});return}K!=="area"?me=F===0&&N?P:Y*P:me=c/M,me<I?(me=I,U-=I):H+=Y;var G=z+X*me;s.setItemLayout(q,{angle:me,startAngle:z,endAngle:G,clockwise:j,cx:C,cy:_,r0:y,r:K?A(Y,B,[y,b]):b,viewRect:p}),z=G}),U<c&&M)if(U<=.001){var W=c/M;s.each(u,function(Y,q){if(!isNaN(Y)){var me=s.getItemLayout(q);me.angle=W,me.startAngle=O+X*q*W,me.endAngle=O+X*(q+1)*W}})}else P=U/H,z=O,s.each(u,function(Y,q){if(!isNaN(Y)){var me=s.getItemLayout(q),G=me.angle===I?I:Y*P;me.startAngle=z,me.endAngle=z+X*G,z+=X*G}});v(t,b,p.width,p.height,p.x,p.y)})}R.exports=r},KUOm:function(R,D){function e(g){var f={};g.eachSeriesByType("graph",function(A){var m=A.getCategoriesData(),v=A.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")||A.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]))}})})}R.exports=e},Kagy:function(R,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:""}}}};R.exports=e},KamJ:function(R,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(R,D,e){"use strict";var g=e("TqRt"),f=e("284h");Object.defineProperty(D,"__esModule",{value:!0}),D.default=void 0;var A=f(e("q1tI")),m=g(e("CP8R")),v=g(e("KQxl")),h=function(i,r){return A.createElement(v.default,Object.assign({},i,{ref:r,icon:m.default}))};h.displayName="FilterFilled";var c=A.forwardRef(h);D.default=c},"KpQ+":function(R,D,e){"use strict";var g=e("TqRt"),f=e("284h");Object.defineProperty(D,"__esModule",{value:!0}),D.default=void 0;var A=f(e("q1tI")),m=g(e("E/ki")),v=g(e("KQxl")),h=function(i,r){return A.createElement(v.default,Object.assign({},i,{ref:r,icon:m.default}))};h.displayName="ClockCircleOutlined";var c=A.forwardRef(h);D.default=c},KrTs:function(R,D,e){"use strict";var g=e("lSNA"),f=e.n(g),A=e("cDf5"),m=e.n(A),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(b,O){var I={};for(var M in b)Object.prototype.hasOwnProperty.call(b,M)&&O.indexOf(M)<0&&(I[M]=b[M]);if(b!=null&&typeof Object.getOwnPropertySymbols=="function")for(var F=0,M=Object.getOwnPropertySymbols(b);F<M.length;F++)O.indexOf(M[F])<0&&Object.prototype.propertyIsEnumerable.call(b,M[F])&&(I[M[F]]=b[M[F]]);return I};function s(b){return b?b.toString().split("").reverse().map(function(O){var I=Number(O);return isNaN(I)?O:I}):[]}function u(b,O){for(var I=[],M=0;M<30;M++)I.push(c.createElement("p",{key:M.toString(),className:r()(O,{current:b===M})},M%10));return I}var p=function(O){var I=O.prefixCls,M=O.count,F=O.className,P=O.style,j=O.title,K=O.component,N=K===void 0?"sup":K,B=O.displayComponent,U=O.onAnimated,H=U===void 0?function(){}:U,z=t(O,["prefixCls","count","className","style","title","component","displayComponent","onAnimated"]),X=c.useState(!0),W=d()(X,2),Y=W[0],q=W[1],me=c.useState(M),G=d()(me,2),ye=G[0],Ae=G[1],ve=c.useState(M),Ue=d()(ve,2),Me=Ue[0],nt=Ue[1],ne=c.useState(M),be=d()(ne,2),ot=be[0],ue=be[1],Q=c.useContext(n.b),V=Q.getPrefixCls,J=V("scroll-number",I);Me!==M&&(q(!0),nt(M)),c.useEffect(function(){ue(ye);var te;return Y&&(te=setTimeout(function(){q(!1),Ae(M),H()})),function(){te&&clearTimeout(te)}},[Y,M,H]);var fe=function(Z,ge){var Re=Math.abs(Number(ye)),ze=Math.abs(Number(ot)),dt=Math.abs(s(ye)[ge]),De=Math.abs(s(ze)[ge]);return Y?10+Z:Re>ze?dt>=De?10+Z:20+Z:dt<=De?10+Z:Z},oe=function(Z,ge){if(typeof Z=="number"){var Re=fe(Z,ge),ze=Y||s(ot)[ge]===void 0;return c.createElement("span",{className:"".concat(J,"-only"),style:{transition:ze?"none":void 0,msTransform:"translateY(".concat(-Re*100,"%)"),WebkitTransform:"translateY(".concat(-Re*100,"%)"),transform:"translateY(".concat(-Re*100,"%)")},key:ge},u(Re,"".concat(J,"-only-unit")))}return c.createElement("span",{key:"symbol",className:"".concat(J,"-symbol")},Z)},Le=function(){return ye&&Number(ye)%1===0?s(ye).map(function(Z,ge){return oe(Z,ge)}).reverse():ye},he=h()(h()({},z),{style:P,className:r()(J,F),title:j});return P&&P.borderColor&&(he.style=h()(h()({},P),{boxShadow:"0 0 0 1px ".concat(P.borderColor," inset")})),B?Object(l.a)(B,{className:r()("".concat(J,"-custom-component"),B.props&&B.props.className)}):c.createElement(N,he,Le())},x=p,S=e("09Wf");function T(b){return S.a.indexOf(b)!==-1}var w=function(O){var I,M=O.className,F=O.prefixCls,P=O.style,j=O.color,K=O.children,N=O.text,B=O.placement,U=B===void 0?"end":B,H=c.useContext(n.b),z=H.getPrefixCls,X=H.direction,W=z("ribbon",F),Y=T(j),q=r()(W,M,"".concat(W,"-placement-").concat(U),(I={},f()(I,"".concat(W,"-rtl"),X==="rtl"),f()(I,"".concat(W,"-color-").concat(j),Y),I)),me={},G={};return j&&!Y&&(me.background=j,G.color=j),c.createElement("div",{className:"".concat(W,"-wrapper")},K,c.createElement("div",{className:q,style:h()(h()({},me),P)},N,c.createElement("div",{className:"".concat(W,"-corner"),style:G})))},E=w,C=function(b,O){var I={};for(var M in b)Object.prototype.hasOwnProperty.call(b,M)&&O.indexOf(M)<0&&(I[M]=b[M]);if(b!=null&&typeof Object.getOwnPropertySymbols=="function")for(var F=0,M=Object.getOwnPropertySymbols(b);F<M.length;F++)O.indexOf(M[F])<0&&Object.prototype.propertyIsEnumerable.call(b,M[F])&&(I[M[F]]=b[M[F]]);return I},_=function(O){var I,M,F=O.prefixCls,P=O.scrollNumberPrefixCls,j=O.children,K=O.status,N=O.text,B=O.color,U=O.count,H=U===void 0?null:U,z=O.overflowCount,X=z===void 0?99:z,W=O.dot,Y=W===void 0?!1:W,q=O.size,me=q===void 0?"default":q,G=O.title,ye=O.offset,Ae=O.style,ve=O.className,Ue=O.showZero,Me=Ue===void 0?!1:Ue,nt=C(O,["prefixCls","scrollNumberPrefixCls","children","status","text","color","count","overflowCount","dot","size","title","offset","style","className","showZero"]),ne=c.useContext(n.b),be=ne.getPrefixCls,ot=ne.direction,ue=be("badge",F),Q=function(){var Xe=H>X?"".concat(X,"+"):H;return Xe},V=function(){return!!K||!!B},J=function(){var Xe=Q();return Xe==="0"||Xe===0},fe=function(){return Y&&!J()||V()},oe=function(){return fe()?"":Q()},Le=function(){return G||(typeof H=="string"||typeof H=="number"?H:void 0)},he=function(){return ot==="rtl"?ye?h()({left:parseInt(ye[0],10),marginTop:ye[1]},Ae):Ae:ye?h()({right:-parseInt(ye[0],10),marginTop:ye[1]},Ae):Ae},te=function(){var Xe=oe(),Je=Xe==null||Xe==="";return(Je||J()&&!Me)&&!fe()},Z=function(){var Xe=te();return Xe||!N?null:c.createElement("span",{className:"".concat(ue,"-status-text")},N)},ge=function(){var Xe=H;return!Xe||m()(Xe)!=="object"?void 0:Object(l.a)(Xe,{style:h()(h()({},he()),Xe.props&&Xe.props.style)})},Re=function(){var Xe,Je=be("scroll-number",P),et=oe(),at=fe(),Ve=te(),le=r()((Xe={},f()(Xe,"".concat(ue,"-dot"),at),f()(Xe,"".concat(ue,"-count"),!at),f()(Xe,"".concat(ue,"-count-sm"),me==="small"),f()(Xe,"".concat(ue,"-multiple-words"),!at&&H&&H.toString&&H.toString().length>1),f()(Xe,"".concat(ue,"-status-").concat(K),!!K),f()(Xe,"".concat(ue,"-status-").concat(B),T(B)),Xe)),ae=he();return B&&!T(B)&&(ae=ae||{},ae.background=B),Ve?null:c.createElement(x,{prefixCls:Je,"data-show":!Ve,className:le,count:et,displayComponent:ge(),title:Le(),style:ae,key:"scrollNumber"})},ze=r()((I={},f()(I,"".concat(ue,"-status-dot"),V()),f()(I,"".concat(ue,"-status-").concat(K),!!K),f()(I,"".concat(ue,"-status-").concat(B),T(B)),I)),dt={};B&&!T(B)&&(dt.background=B);var De=r()(ve,ue,(M={},f()(M,"".concat(ue,"-status"),V()),f()(M,"".concat(ue,"-not-a-wrapper"),!j),f()(M,"".concat(ue,"-rtl"),ot==="rtl"),M));if(!j&&V()){var Tt=he(),je=Tt&&Tt.color;return c.createElement("span",h()({},nt,{className:De,style:Tt}),c.createElement("span",{className:ze,style:dt}),c.createElement("span",{style:{color:je},className:"".concat(ue,"-status-text")},N))}return c.createElement("span",h()({},nt,{className:De}),j,c.createElement(a.a,{component:"",showProp:"data-show",transitionName:j?"".concat(ue,"-zoom"):"",transitionAppear:!0},Re()),Z())};_.Ribbon=E;var y=D.a=_},Kvyg:function(R,D,e){},KxBF:function(R,D){function e(g,f,A){var m=-1,v=g.length;f<0&&(f=-f>v?0:v+f),A=A>v?v:A,A<0&&(A+=v),v=f>A?0:A-f>>>0,f>>>=0;for(var h=Array(v);++m<v;)h[m]=g[m+f];return h}R.exports=e},KxFI:function(R,D,e){},KxfA:function(R,D,e){var g=e("Tghj"),f=g.__DEV__,A=e("bYtY"),m=A.isTypedArray,v=A.extend,h=A.assert,c=A.each,a=A.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,x=t.SOURCE_FORMAT_OBJECT_ROWS;function S(j,K){l.isInstance(j)||(j=l.seriesDataToSource(j)),this._source=j;var N=this._data=j.data,B=j.sourceFormat;B===s&&(this._offset=0,this._dimSize=K,this._data=N);var U=w[B===u?B+"_"+j.seriesLayoutBy:B];v(this,U)}var T=S.prototype;T.pure=!1,T.persistent=!0,T.getSource=function(){return this._source};var w={arrayRows_column:{pure:!0,count:function(){return Math.max(0,this._data.length-this._source.startIndex)},getItem:function(j){return this._data[j+this._source.startIndex]},appendData:_},arrayRows_row:{pure:!0,count:function(){var j=this._data[0];return j?Math.max(0,j.length-this._source.startIndex):0},getItem:function(j){j+=this._source.startIndex;for(var K=[],N=this._data,B=0;B<N.length;B++){var U=N[B];K.push(U?U[j]:null)}return K},appendData:function(){throw new Error('Do not support appendData when set seriesLayoutBy: "row".')}},objectRows:{pure:!0,count:E,getItem:C,appendData:_},keyedColumns:{pure:!0,count:function(){var j=this._source.dimensionsDefine[0].name,K=this._data[j];return K?K.length:0},getItem:function(j){for(var K=[],N=this._source.dimensionsDefine,B=0;B<N.length;B++){var U=this._data[N[B].name];K.push(U?U[j]:null)}return K},appendData:function(j){var K=this._data;c(j,function(N,B){for(var U=K[B]||(K[B]=[]),H=0;H<(N||[]).length;H++)U.push(N[H])})}},original:{count:E,getItem:C,appendData:_},typedArray:{persistent:!1,pure:!0,count:function(){return this._data?this._data.length/this._dimSize:0},getItem:function(j,K){j=j-this._offset,K=K||[];for(var N=this._dimSize*j,B=0;B<this._dimSize;B++)K[B]=this._data[N+B];return K},appendData:function(j){this._data=j},clean:function(){this._offset+=this.count(),this._data=null}}};function E(){return this._data.length}function C(j){return this._data[j]}function _(j){for(var K=0;K<j.length;K++)this._data.push(j[K])}var y={arrayRows:b,objectRows:function(j,K,N,B){return N!=null?j[B]:j},keyedColumns:b,original:function(j,K,N,B){var U=r(j);return N==null||!(U instanceof Array)?U:U[N]},typedArray:b};function b(j,K,N,B){return N!=null?j[N]:j}var O={arrayRows:I,objectRows:function(j,K,N,B){return M(j[K],this._dimensionInfos[K])},keyedColumns:I,original:function(j,K,N,B){var U=j&&(j.value==null?j:j.value);return!this._rawData.pure&&o(j)&&(this.hasItemOption=!0),M(U instanceof Array?U[B]:U,this._dimensionInfos[K])},typedArray:function(j,K,N,B){return j[B]}};function I(j,K,N,B){return M(j[B],this._dimensionInfos[K])}function M(j,K){var N=K&&K.type;if(N==="ordinal"){var B=K&&K.ordinalMeta;return B?B.parseAndCollect(j):j}return N==="time"&&typeof j!="number"&&j!=null&&j!=="-"&&(j=+n(j)),j==null||j===""?NaN:+j}function F(j,K,N){if(!j)return;var B=j.getRawDataItem(K);if(B==null)return;var U=j.getProvider().getSource().sourceFormat,H,z,X=j.getDimensionInfo(N);return X&&(H=X.name,z=X.index),y[U](B,K,z,H)}function P(j,K,N){if(!j)return;var B=j.getProvider().getSource().sourceFormat;if(B!==p&&B!==x)return;var U=j.getRawDataItem(K);if(B===p&&!a(U)&&(U=null),U)return U[N]}D.DefaultDataProvider=S,D.defaultDimValueGetters=O,D.retrieveRawValue=F,D.retrieveRawAttr=P},L0Ub:function(R,D,e){var g=e("bYtY"),f=g.each,A=g.createHashMap,m=g.assert,v=e("Tghj"),h=v.__DEV__,c=A(["tooltip","label","itemName","itemId","seriesName"]);function a(d){var n={},l=n.encode={},t=A(),s=[],u=[],p=n.userOutput={dimensionNames:d.dimensions.slice(),encode:{}};f(d.dimensions,function(E){var C=d.getDimensionInfo(E),_=C.coordDim;if(_){var y=C.coordDimIndex;i(l,_)[y]=E,C.isExtraCoord||(t.set(_,1),o(C.type)&&(s[0]=E),i(p.encode,_)[y]=C.index),C.defaultTooltip&&u.push(E)}c.each(function(b,O){var I=i(l,O),M=C.otherDims[O];M!=null&&M!==!1&&(I[M]=C.name)})});var x=[],S={};t.each(function(E,C){var _=l[C];S[C]=_[0],x=x.concat(_)}),n.dataDimsOnCoord=x,n.encodeFirstDimNotExtra=S;var T=l.label;T&&T.length&&(s=T.slice());var w=l.tooltip;return w&&w.length?u=w.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")}D.OTHER_DIMENSIONS=c,D.summarizeDimensions=a,D.getDimensionTypeByAxis=r},L3Oj:function(R,D,e){var g=e("ProS"),f=e("bYtY"),A=e("HjIi");e("HM/N"),e("9eas"),e("eS4l"),e("y4/Y"),e("as94"),g.registerLayout(f.curry(A,"bar")),g.extendComponentView({type:"polar"})},L5E0:function(R,D){var e=["itemStyle","borderColor"];function g(f,A){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)})})})}R.exports=g},L8xA:function(R,D){function e(g){var f=this.__data__,A=f.delete(g);return this.size=f.size,A}R.exports=e},LBfv:function(R,D,e){var g=e("ProS"),f=e("bYtY"),A=f.createHashMap,m=f.each;g.registerProcessor({getTargetSeries:function(v){var h=A();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(R,D,e){"use strict";Object.defineProperty(D,"__esModule",{value:!0}),D.default=void 0;function g(S,T){if(!(S instanceof T))throw new TypeError("Cannot call a class as a function")}function f(S,T){for(var w=0;w<T.length;w++){var E=T[w];E.enumerable=E.enumerable||!1,E.configurable=!0,"value"in E&&(E.writable=!0),Object.defineProperty(S,E.key,E)}}function A(S,T,w){return T&&f(S.prototype,T),w&&f(S,w),S}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,x=function(){function S(){g(this,S),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 A(S,[{key:"attach",value:function(w){this.detach(),this._target=w,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(w){var E;w.stopPropagation(),w.preventDefault();switch(w.type){case"touchstart":E=this._touchStart;break;case"touchmove":E=this._touchMove;break;case"touchend":case"touchcancel":E=this._touchEnd;break}for(var C=0;C<w.changedTouches.length;C++){var _=w.changedTouches[C];E.call(this,_.identifier,_.clientX,_.clientY)}}},{key:"_touchStart",value:function(w,E,C){if(this._hasDetectedGesture()||this._state===m){this._ignored.push(w);return}if(this._tracked.length>0&&Date.now()-this._tracked[0].started>t){this._state=m,this._ignored.push(w);return}if(this._waitingRelease){this._state=m,this._ignored.push(w);return}this._tracked.push({id:w,started:Date.now(),active:!0,firstX:E,firstY:C,lastX:E,lastY:C,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(w,E,C){var _=this._tracked.find(function(F){return F.id===w});if(_===void 0)return;_.lastX=E,_.lastY=C;var y=E-_.firstX,b=C-_.firstY;if((_.firstX!==_.lastX||_.firstY!==_.lastY)&&(_.angle=Math.atan2(b,y)*180/Math.PI),!this._hasDetectedGesture()){if(Math.hypot(y,b)<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 O=this._tracked.find(function(F){return F.id!==w}),I=Math.hypot(O.firstX-O.lastX,O.firstY-O.lastY);if(I>n){var M=Math.abs(_.angle-O.angle);M=Math.abs((M+180)%360-180),M>l?this._state&=~r:this._state&=~o,this._isTwoTouchTimeoutRunning()&&this._stopTwoTouchTimeout()}else this._isTwoTouchTimeoutRunning()||this._startTwoTouchTimeout()}if(!this._hasDetectedGesture())return;this._pushEvent("gesturestart")}this._pushEvent("gesturemove")}},{key:"_touchEnd",value:function(w,E,C){if(this._ignored.indexOf(w)!==-1){this._ignored.splice(this._ignored.indexOf(w),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(b){return Date.now()-b.started>s})&&(this._state=m);var _=this._tracked.find(function(b){return b.id===w});if(_.active=!1,this._hasDetectedGesture())this._pushEvent("gesturestart");else if(this._state!==m)return}this._hasDetectedGesture()&&this._pushEvent("gestureend");for(var y=0;y<this._tracked.length;y++)this._tracked[y].active&&this._ignored.push(this._tracked[y].id);this._tracked=[],this._state=m,this._ignored.indexOf(w)!==-1&&this._ignored.splice(this._ignored.indexOf(w),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(w){return w.active}))}},{key:"_startLongpressTimeout",value:function(){var w=this;this._stopLongpressTimeout(),this._longpressTimeoutId=setTimeout(function(){return w._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 w=this;this._stopTwoTouchTimeout(),this._twoTouchTimeoutId=setTimeout(function(){return w._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 w=this._getAverageMovement(),E=Math.abs(w.x),C=Math.abs(w.y),_=this._getAverageDistance(),y=Math.abs(Math.hypot(_.first.x,_.first.y)-Math.hypot(_.last.x,_.last.y));C<y&&E<y?this._state=o:this._state=r,this._pushEvent("gesturestart"),this._pushEvent("gesturemove")}},{key:"_pushEvent",value:function(w){var E={type:this._stateToGesture(this._state)},C=this._getPosition(),_=C.last;w==="gesturestart"&&(_=C.first);switch(this._state){case r:case o:_=C.first;break}if(E.clientX=_.x,E.clientY=_.y,this._state===o){var y=this._getAverageDistance();w==="gesturestart"?(E.magnitudeX=y.first.x,E.magnitudeY=y.first.y):(E.magnitudeX=y.last.x,E.magnitudeY=y.last.y)}else if(this._state===r)if(w==="gesturestart")E.magnitudeX=0,E.magnitudeY=0;else{var b=this._getAverageMovement();E.magnitudeX=b.x,E.magnitudeY=b.y}var O=new CustomEvent(w,{detail:E});this._target.dispatchEvent(O)}},{key:"_stateToGesture",value:function(w){switch(w){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: "+w)}},{key:"_getPosition",value:function(){if(this._tracked.length===0)throw new Error("Failed to get gesture position, no tracked touches");for(var w=this._tracked.length,E=0,C=0,_=0,y=0,b=0;b<this._tracked.length;b++)E+=this._tracked[b].firstX,C+=this._tracked[b].firstY,_+=this._tracked[b].lastX,y+=this._tracked[b].lastY;return{first:{x:E/w,y:C/w},last:{x:_/w,y:y/w}}}},{key:"_getAverageMovement",value:function(){if(this._tracked.length===0)throw new Error("Failed to get gesture movement, no tracked touches");var w,E;w=E=0;for(var C=this._tracked.length,_=0;_<this._tracked.length;_++)w+=this._tracked[_].lastX-this._tracked[_].firstX,E+=this._tracked[_].lastY-this._tracked[_].firstY;return{x:w/C,y:E/C}}},{key:"_getAverageDistance",value:function(){if(this._tracked.length===0)throw new Error("Failed to get gesture distance, no tracked touches");var w=this._tracked[0],E=this._tracked[this._tracked.length-1],C=Math.abs(E.firstX-w.firstX),_=Math.abs(E.firstY-w.firstY),y=Math.abs(E.lastX-w.lastX),b=Math.abs(E.lastY-w.lastY);return{first:{x:C,y:_},last:{x:y,y:b}}}}]),S}();D.default=x},LPTA:function(R,D){var e=1;typeof window!="undefined"&&(e=Math.max(window.devicePixelRatio||1,1));var g=0,f=e;D.debugMode=g,D.devicePixelRatio=f},LPzL:function(R,D,e){var g=e("ProS");e("QzjZ"),e("vL6D"),e("xiyX"),e("y4/Y"),e("8Th4"),g.extendComponentView({type:"single"})},LSTS:function(R,D,e){"use strict";Object.defineProperty(D,"__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"),A=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 x=document.documentElement||document.body.parentNode||document.body,S=s.pageYOffset!==void 0?s.pageYOffset:x.scrollTop;this.props.isReverse?p=S:p=this.calculateOffset(t,S)}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,x=s.hasMore,S=s.initialLoad,T=s.isReverse,w=s.loader,E=s.loadMore,C=s.pageStart,_=s.ref,y=s.threshold,b=s.useCapture,O=s.useWindow,I=s.getScrollParent,M=c(s,["children","element","hasMore","initialLoad","isReverse","loader","loadMore","pageStart","ref","threshold","useCapture","useWindow","getScrollParent"]);M.ref=function(P){t.scrollComponent=P,_&&_(P)};var F=[u];return x&&(w?T?F.unshift(w):F.push(w):this.defaultLoader&&(T?F.unshift(this.defaultLoader):F.push(this.defaultLoader))),A.default.createElement(p,M,F)}}]),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},D.default=o,R.exports=D.default},LXxW:function(R,D){function e(g,f){for(var A=-1,m=g==null?0:g.length,v=0,h=[];++A<m;){var c=g[A];f(c,A,g)&&(h[v++]=c)}return h}R.exports=e},Lerx:function(R,D,e){"use strict";Object.defineProperty(D,"__esModule",{value:!0}),D.default=void 0;var g=f(e("Mds0"));function f(m){return m&&m.__esModule?m:{default:m}}var A=g;D.default=A,R.exports=A},Llu2:function(R,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"},A=f,m=e("6VBw"),v=function(a,i){return g.createElement(m.a,Object.assign({},a,{ref:i,icon:A}))};v.displayName="DeliveredProcedureOutlined";var h=D.a=g.forwardRef(v)},Lo0S:function(R,D,e){"use strict";Object.defineProperty(D,"__esModule",{value:!0}),D.initLogging=h,D.getLogging=c,D.Error=D.Warn=D.Info=D.Debug=void 0;var g="warn",f=function(){};D.Debug=f;var A=function(){};D.Info=A;var m=function(){};D.Warn=m;var v=function(){};D.Error=v;function h(a){if(typeof a=="undefined"?a=g:g=a,D.Debug=f=D.Info=A=D.Warn=m=D.Error=v=function(){},typeof window.console!="undefined")switch(a){case"debug":D.Debug=f=console.debug.bind(window.console);case"info":D.Info=A=console.info.bind(window.console);case"warn":D.Warn=m=console.warn.bind(window.console);case"error":D.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(R,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"},A=f,m=e("6VBw"),v=function(a,i){return g.createElement(m.a,Object.assign({},a,{ref:i,icon:A}))};v.displayName="InboxOutlined";var h=D.a=g.forwardRef(v)},Lyp1:function(R,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"},A=f,m=e("6VBw"),v=function(a,i){return g.createElement(m.a,Object.assign({},a,{ref:i,icon:A}))};v.displayName="QuestionCircleOutlined";var h=D.a=g.forwardRef(v)},LzGr:function(R,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(R,D,e){var g=e("T4UG"),f=e("MwEJ"),A=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:{}}});R.exports=A},MEGo:function(R,D,e){var g=e("4fz+"),f=e("Dagg"),A=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,x=s.defaults,S=s.trim,T=s.each,w=/[\s,]+/;function E(X){if(u(X)){var W=new DOMParser;X=W.parseFromString(X,"text/xml")}for(X.nodeType===9&&(X=X.firstChild);X.nodeName.toLowerCase()!=="svg"||X.nodeType!==1;)X=X.nextSibling;return X}function C(){this._defs={},this._root=null,this._isDefine=!1,this._isText=!1}C.prototype.parse=function(X,W){W=W||{};var Y=E(X);if(!Y)throw new Error("Illegal svg");var q=new g;this._root=q;var me=Y.getAttribute("viewBox")||"",G=parseFloat(Y.getAttribute("width")||W.width),ye=parseFloat(Y.getAttribute("height")||W.height);isNaN(G)&&(G=null),isNaN(ye)&&(ye=null),F(Y,q,null,!0);for(var Ae=Y.firstChild;Ae;)this._parseNode(Ae,q),Ae=Ae.nextSibling;var ve,Ue;if(me){var Me=S(me).split(w);Me.length>=4&&(ve={x:parseFloat(Me[0]||0),y:parseFloat(Me[1]||0),width:parseFloat(Me[2]),height:parseFloat(Me[3])})}if(ve&&G!=null&&ye!=null&&(Ue=H(ve,G,ye),!W.ignoreViewBox)){var nt=q;q=new g,q.add(nt),nt.scale=Ue.scale.slice(),nt.position=Ue.position.slice()}return!W.ignoreRootClip&&G!=null&&ye!=null&&q.setClipPath(new v({shape:{x:0,y:0,width:G,height:ye}})),{root:q,width:G,height:ye,viewBoxRect:ve,viewBoxTransform:Ue}},C.prototype._parseNode=function(X,W){var Y=X.nodeName.toLowerCase();Y==="defs"?this._isDefine=!0:Y==="text"&&(this._isText=!0);var q;if(this._isDefine){var me=y[Y];if(me){var G=me.call(this,X),ye=X.getAttribute("id");ye&&(this._defs[ye]=G)}}else{var me=_[Y];me&&(q=me.call(this,X,W),W.add(q))}for(var Ae=X.firstChild;Ae;)Ae.nodeType===1&&this._parseNode(Ae,q),Ae.nodeType===3&&this._isText&&this._parseText(Ae,q),Ae=Ae.nextSibling;Y==="defs"?this._isDefine=!1:Y==="text"&&(this._isText=!1)},C.prototype._parseText=function(X,W){if(X.nodeType===1){var Y=X.getAttribute("dx")||0,q=X.getAttribute("dy")||0;this._textX+=parseFloat(Y),this._textY+=parseFloat(q)}var me=new A({style:{text:X.textContent,transformText:!0},position:[this._textX||0,this._textY||0]});O(W,me),F(X,me,this._defs);var G=me.style.fontSize;G&&G<9&&(me.style.fontSize=9,me.scale=me.scale||[1,1],me.scale[0]*=G/9,me.scale[1]*=G/9);var ye=me.getBoundingRect();return this._textX+=ye.width,W.add(me),me};var _={g:function(W,Y){var q=new g;return O(Y,q),F(W,q,this._defs),q},rect:function(W,Y){var q=new v;return O(Y,q),F(W,q,this._defs),q.setShape({x:parseFloat(W.getAttribute("x")||0),y:parseFloat(W.getAttribute("y")||0),width:parseFloat(W.getAttribute("width")||0),height:parseFloat(W.getAttribute("height")||0)}),q},circle:function(W,Y){var q=new m;return O(Y,q),F(W,q,this._defs),q.setShape({cx:parseFloat(W.getAttribute("cx")||0),cy:parseFloat(W.getAttribute("cy")||0),r:parseFloat(W.getAttribute("r")||0)}),q},line:function(W,Y){var q=new c;return O(Y,q),F(W,q,this._defs),q.setShape({x1:parseFloat(W.getAttribute("x1")||0),y1:parseFloat(W.getAttribute("y1")||0),x2:parseFloat(W.getAttribute("x2")||0),y2:parseFloat(W.getAttribute("y2")||0)}),q},ellipse:function(W,Y){var q=new h;return O(Y,q),F(W,q,this._defs),q.setShape({cx:parseFloat(W.getAttribute("cx")||0),cy:parseFloat(W.getAttribute("cy")||0),rx:parseFloat(W.getAttribute("rx")||0),ry:parseFloat(W.getAttribute("ry")||0)}),q},polygon:function(W,Y){var q=W.getAttribute("points");q&&(q=I(q));var me=new i({shape:{points:q||[]}});return O(Y,me),F(W,me,this._defs),me},polyline:function(W,Y){var q=new a;O(Y,q),F(W,q,this._defs);var me=W.getAttribute("points");me&&(me=I(me));var G=new r({shape:{points:me||[]}});return G},image:function(W,Y){var q=new f;return O(Y,q),F(W,q,this._defs),q.setStyle({image:W.getAttribute("xlink:href"),x:W.getAttribute("x"),y:W.getAttribute("y"),width:W.getAttribute("width"),height:W.getAttribute("height")}),q},text:function(W,Y){var q=W.getAttribute("x")||0,me=W.getAttribute("y")||0,G=W.getAttribute("dx")||0,ye=W.getAttribute("dy")||0;this._textX=parseFloat(q)+parseFloat(G),this._textY=parseFloat(me)+parseFloat(ye);var Ae=new g;return O(Y,Ae),F(W,Ae,this._defs),Ae},tspan:function(W,Y){var q=W.getAttribute("x"),me=W.getAttribute("y");q!=null&&(this._textX=parseFloat(q)),me!=null&&(this._textY=parseFloat(me));var G=W.getAttribute("dx")||0,ye=W.getAttribute("dy")||0,Ae=new g;return O(Y,Ae),F(W,Ae,this._defs),this._textX+=G,this._textY+=ye,Ae},path:function(W,Y){var q=W.getAttribute("d")||"",me=t(q);return O(Y,me),F(W,me,this._defs),me}},y={lineargradient:function(W){var Y=parseInt(W.getAttribute("x1")||0,10),q=parseInt(W.getAttribute("y1")||0,10),me=parseInt(W.getAttribute("x2")||10,10),G=parseInt(W.getAttribute("y2")||0,10),ye=new o(Y,q,me,G);return b(W,ye),ye},radialgradient:function(W){}};function b(X,W){for(var Y=X.firstChild;Y;){if(Y.nodeType===1){var q=Y.getAttribute("offset");q.indexOf("%")>0?q=parseInt(q,10)/100:q?q=parseFloat(q):q=0;var me=Y.getAttribute("stop-color")||"#000000";W.addColorStop(q,me)}Y=Y.nextSibling}}function O(X,W){X&&X.__inheritedStyle&&(W.__inheritedStyle||(W.__inheritedStyle={}),x(W.__inheritedStyle,X.__inheritedStyle))}function I(X){for(var W=S(X).split(w),Y=[],q=0;q<W.length;q+=2){var me=parseFloat(W[q]),G=parseFloat(W[q+1]);Y.push([me,G])}return Y}var M={fill:"fill",stroke:"stroke","stroke-width":"lineWidth",opacity:"opacity","fill-opacity":"fillOpacity","stroke-opacity":"strokeOpacity","stroke-dasharray":"lineDash","stroke-dashoffset":"lineDashOffset","stroke-linecap":"lineCap","stroke-linejoin":"lineJoin","stroke-miterlimit":"miterLimit","font-family":"fontFamily","font-size":"fontSize","font-style":"fontStyle","font-weight":"fontWeight","text-align":"textAlign","alignment-baseline":"textBaseline"};function F(X,W,Y,q){var me=W.__inheritedStyle||{},G=W.type==="text";if(X.nodeType===1&&(N(X,W),p(me,U(X)),!q)){for(var ye in M)if(M.hasOwnProperty(ye)){var Ae=X.getAttribute(ye);Ae!=null&&(me[M[ye]]=Ae)}}var ve=G?"textFill":"fill",Ue=G?"textStroke":"stroke";W.style=W.style||new d;var Me=W.style;me.fill!=null&&Me.set(ve,j(me.fill,Y)),me.stroke!=null&&Me.set(Ue,j(me.stroke,Y)),T(["lineWidth","opacity","fillOpacity","strokeOpacity","miterLimit","fontSize"],function(nt){var ne=nt==="lineWidth"&&G?"textStrokeWidth":nt;me[nt]!=null&&Me.set(ne,parseFloat(me[nt]))}),(!me.textBaseline||me.textBaseline==="auto")&&(me.textBaseline="alphabetic"),me.textBaseline==="alphabetic"&&(me.textBaseline="bottom"),me.textAlign==="start"&&(me.textAlign="left"),me.textAlign==="end"&&(me.textAlign="right"),T(["lineDashOffset","lineCap","lineJoin","fontWeight","fontFamily","fontStyle","textAlign","textBaseline"],function(nt){me[nt]!=null&&Me.set(nt,me[nt])}),me.lineDash&&(W.style.lineDash=S(me.lineDash).split(w)),Me[Ue]&&Me[Ue]!=="none"&&(W[Ue]=!0),W.__inheritedStyle=me}var P=/url\(\s*#(.*?)\)/;function j(X,W){var Y=W&&X&&X.match(P);if(Y){var q=S(Y[1]),me=W[q];return me}return X}var K=/(translate|scale|rotate|skewX|skewY|matrix)\(([\-\s0-9\.e,]*)\)/g;function N(X,W){var Y=X.getAttribute("transform");if(Y){Y=Y.replace(/,/g," ");var q=null,me=[];Y.replace(K,function(ve,Ue,Me){me.push(Ue,Me)});for(var G=me.length-1;G>0;G-=2){var ye=me[G],Ae=me[G-1];q=q||n.create();switch(Ae){case"translate":ye=S(ye).split(w),n.translate(q,q,[parseFloat(ye[0]),parseFloat(ye[1]||0)]);break;case"scale":ye=S(ye).split(w),n.scale(q,q,[parseFloat(ye[0]),parseFloat(ye[1]||ye[0])]);break;case"rotate":ye=S(ye).split(w),n.rotate(q,q,parseFloat(ye[0]));break;case"skew":ye=S(ye).split(w),console.warn("Skew transform is not supported yet");break;case"matrix":var ye=S(ye).split(w);q[0]=parseFloat(ye[0]),q[1]=parseFloat(ye[1]),q[2]=parseFloat(ye[2]),q[3]=parseFloat(ye[3]),q[4]=parseFloat(ye[4]),q[5]=parseFloat(ye[5]);break}}W.setLocalTransform(q)}}var B=/([^\s:;]+)\s*:\s*([^:;]+)/g;function U(X){var W=X.getAttribute("style"),Y={};if(!W)return Y;var q={};B.lastIndex=0;for(var me;(me=B.exec(W))!=null;)q[me[1]]=me[2];for(var G in M)M.hasOwnProperty(G)&&q[G]!=null&&(Y[M[G]]=q[G]);return Y}function H(X,W,Y){var q=W/X.width,me=Y/X.height,G=Math.min(q,me),ye=[G,G],Ae=[-(X.x+X.width/2)*G+W/2,-(X.y+X.height/2)*G+Y/2];return{scale:ye,position:Ae}}function z(X,W){var Y=new C;return Y.parse(X,W)}D.parseXML=E,D.makeViewBoxTransform=H,D.parseSVG=z},MFOe:function(R,D,e){(function(g){var f=h(),A=c(),m=a(),v=typeof window!="undefined"?window:g;R.exports={assign:f,create:A,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,x,S,T){for(var w=1;w<arguments.length;w++)o(Object(arguments[w]),function(E,C){p[C]=E});return p}}function c(){if(Object.create)return function(x,S,T,w){var E=r(arguments,1);return f.apply(this,[Object.create(x)].concat(E))};var u=function(){};return function(x,S,T,w){var E=r(arguments,1);return u.prototype=x,f.apply(this,[new u].concat(E))}}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(x,S){return p(x,S),!1})}function d(u,p){var x=l(u)?[]:{};return n(u,function(S,T){return x[T]=p(S,T),!1}),x}function n(u,p){if(l(u)){for(var x=0;x<u.length;x++)if(p(u[x],x))return u[x]}else for(var S in u)if(u.hasOwnProperty(S)&&p(u[S],S))return u[S]}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(R,D,e){var g=e("bYtY"),f=e("YXkt"),A=e("OELB"),m=e("kj2x"),v=e("c8qY"),h=e("iPDy"),c=e("7hqr"),a=c.getStackedDimension,i=function(s,u,p,x){var S=s.getData(),T=x.type;if(!g.isArray(x)&&(T==="min"||T==="max"||T==="average"||T==="median"||x.xAxis!=null||x.yAxis!=null)){var w,E;if(x.yAxis!=null||x.xAxis!=null)w=u.getAxis(x.yAxis!=null?"y":"x"),E=g.retrieve(x.yAxis,x.xAxis);else{var C=m.getAxisInfo(x,S,u,s);w=C.valueAxis;var _=a(S,C.valueDataDim);E=m.numCalculate(S,_,T)}var y=w.dim==="x"?0:1,b=1-y,O=g.clone(x),I={};O.type=null,O.coord=[],I.coord=[],O.coord[b]=-Infinity,I.coord[b]=Infinity;var M=p.get("precision");M>=0&&typeof E=="number"&&(E=+E.toFixed(Math.min(M,20))),O.coord[y]=I.coord[y]=E,x=[O,I,{type:T,valueIndex:x.valueIndex,value:E}]}return x=[m.dataTransform(s,x[0]),m.dataTransform(s,x[1]),g.extend({},x[2])],x[2].type=x[2].type||"",g.merge(x[2],x[0]),g.merge(x[2],x[1]),x};function r(s){return!isNaN(s)&&!isFinite(s)}function o(s,u,p,x){var S=1-s,T=x.dimensions[s];return r(u[S])&&r(p[S])&&u[s]===p[s]&&x.getAxis(T).containData(u[s])}function d(s,u){if(s.type==="cartesian2d"){var p=u[0].coord,x=u[1].coord;if(p&&x&&(o(1,p,x,s)||o(0,p,x,s)))return!0}return m.dataFilter(s,u[0])&&m.dataFilter(s,u[1])}function n(s,u,p,x,S){var T=x.coordinateSystem,w=s.getItemModel(u),E,C=A.parsePercent(w.get("x"),S.getWidth()),_=A.parsePercent(w.get("y"),S.getHeight());if(!isNaN(C)&&!isNaN(_))E=[C,_];else{if(x.getMarkerPosition)E=x.getMarkerPosition(s.getValues(s.dimensions,u));else{var y=T.dimensions,b=s.get(y[0],u),O=s.get(y[1],u);E=T.dataToPoint([b,O])}if(T.type==="cartesian2d"){var I=T.getAxis("x"),M=T.getAxis("y"),y=T.dimensions;r(s.get(y[0],u))?E[0]=I.toGlobalCoord(I.getExtent()[p?0:1]):r(s.get(y[1],u))&&(E[1]=M.toGlobalCoord(M.getExtent()[p?0:1]))}isNaN(C)||(E[0]=C),isNaN(_)||(E[1]=_)}s.setItemLayout(u,E)}var l=h.extend({type:"markLine",updateTransform:function(s,u,p){u.eachSeries(function(x){var S=x.markLineModel;if(S){var T=S.getData(),w=S.__from,E=S.__to;w.each(function(C){n(w,C,!0,x,p),n(E,C,!1,x,p)}),T.each(function(C){T.setItemLayout(C,[w.getItemLayout(C),E.getItemLayout(C)])}),this.markerGroupMap.get(x.id).updateLayout()}},this)},renderSeries:function(s,u,p,x){var S=s.coordinateSystem,T=s.id,w=s.getData(),E=this.markerGroupMap,C=E.get(T)||E.set(T,new v);this.group.add(C.group);var _=t(S,s,u),y=_.from,b=_.to,O=_.line;u.__from=y,u.__to=b,u.setData(O);var I=u.get("symbol"),M=u.get("symbolSize");g.isArray(I)||(I=[I,I]),typeof M=="number"&&(M=[M,M]),_.from.each(function(P){F(y,P,!0),F(b,P,!1)}),O.each(function(P){var j=O.getItemModel(P).get("lineStyle.color");O.setItemVisual(P,{color:j||y.getItemVisual(P,"color")}),O.setItemLayout(P,[y.getItemLayout(P),b.getItemLayout(P)]),O.setItemVisual(P,{fromSymbolSize:y.getItemVisual(P,"symbolSize"),fromSymbol:y.getItemVisual(P,"symbol"),toSymbolSize:b.getItemVisual(P,"symbolSize"),toSymbol:b.getItemVisual(P,"symbol")})}),C.updateData(O),_.line.eachItemGraphicEl(function(P,j){P.traverse(function(K){K.dataModel=u})});function F(P,j,K){var N=P.getItemModel(j);n(P,j,K,s,x),P.setItemVisual(j,{symbolSize:N.get("symbolSize")||M[K?0:1],symbol:N.get("symbol",!0)||I[K?0:1],color:N.get("itemStyle.color")||w.getVisual("color")})}C.__keep=!0,C.group.silent=u.get("silent")||s.get("silent")}});function t(s,u,p){var x;s?x=g.map(s&&s.dimensions,function(_){var y=u.getData().getDimensionInfo(u.getData().mapDimension(_))||{};return g.defaults({name:_},y)}):x=[{name:"value",type:"float"}];var S=new f(x,p),T=new f(x,p),w=new f([],p),E=g.map(p.get("data"),g.curry(i,u,s,p));s&&(E=g.filter(E,g.curry(d,s)));var C=s?m.dimValueGetter:function(_){return _.value};return S.initData(g.map(E,function(_){return _[0]}),null,C),T.initData(g.map(E,function(_){return _[1]}),null,C),w.initData(g.map(E,function(_){return _[2]})),w.hasItemOption=!0,{from:S,to:T,line:w}}R.exports=l},MHoB:function(R,D,e){var g=e("bYtY"),f=e("6uqw"),A=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=A.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(x,S){o.push({value:x,color:a(x,S)})}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;R.exports=c},MHtr:function(R,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 A(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)}}}R.exports=A},MJZm:function(R,D,e){"use strict";var g=e("lSNA"),f=e.n(g),A=e("pVnL"),m=e.n(A),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),x=e("Vy0f"),S=e.n(x),T=e("kGiB"),w=e.n(T),E=e("H84U"),C;(function(z){z[z.None=0]="None",z[z.Start=1]="Start",z[z.End=2]="End"})(C||(C={}));function _(z,X){function W(Y){var q=Y.key,me=Y.children;X(q,Y)!==!1&&_(me||[],X)}z.forEach(W)}function y(z){var X=z.treeData,W=z.expandedKeys,Y=z.startKey,q=z.endKey,me=[],G=C.None;if(Y&&Y===q)return[Y];if(!Y||!q)return[];function ye(Ae){return Ae===Y||Ae===q}return _(X,function(Ae){if(G===C.End)return!1;if(ye(Ae)){if(me.push(Ae),G===C.None)G=C.Start;else if(G===C.Start)return G=C.End,!1}else G===C.Start&&me.push(Ae);return!(W.indexOf(Ae)===-1)}),me}function b(z,X){var W=r()(X),Y=[];return _(z,function(q,me){var G=W.indexOf(q);return G!==-1&&(Y.push(me),W.splice(G,1)),!!W.length}),Y}var O=function(z,X){var W={};for(var Y in z)Object.prototype.hasOwnProperty.call(z,Y)&&X.indexOf(Y)<0&&(W[Y]=z[Y]);if(z!=null&&typeof Object.getOwnPropertySymbols=="function")for(var q=0,Y=Object.getOwnPropertySymbols(z);q<Y.length;q++)X.indexOf(Y[q])<0&&Object.prototype.propertyIsEnumerable.call(z,Y[q])&&(W[Y[q]]=z[Y[q]]);return W};function I(z){var X=z.isLeaf,W=z.expanded;return X?v.createElement(p.a,null):W?v.createElement(S.a,null):v.createElement(w.a,null)}function M(z){var X=z.treeData,W=z.children;return X||Object(s.c)(W)}var F=function(X,W){var Y=X.defaultExpandAll,q=X.defaultExpandParent,me=X.defaultExpandedKeys,G=O(X,["defaultExpandAll","defaultExpandParent","defaultExpandedKeys"]),ye=v.useRef(),Ae=v.useRef(),ve=v.createRef();v.useImperativeHandle(W,function(){return ve.current});var Ue=function(){var Xe=Object(s.a)(M(G)),Je=Xe.keyEntities,et;return Y?et=Object.keys(Je):q?et=Object(t.e)(G.expandedKeys||me,Je):et=G.expandedKeys||me,et},Me=v.useState(G.selectedKeys||G.defaultSelectedKeys||[]),nt=d()(Me,2),ne=nt[0],be=nt[1],ot=v.useState(Ue()),ue=d()(ot,2),Q=ue[0],V=ue[1];v.useEffect(function(){"selectedKeys"in G&&be(G.selectedKeys)},[G.selectedKeys]),v.useEffect(function(){"expandedKeys"in G&&V(G.expandedKeys)},[G.expandedKeys]);var J=function(Xe,Je){var et=Je.isLeaf;if(et||Xe.shiftKey||Xe.metaKey||Xe.ctrlKey)return;ve.current.onNodeExpand(Xe,Je)},fe=l()(J,200,{leading:!0}),oe=function(Xe,Je){return"expandedKeys"in G||V(Xe),G.onExpand?G.onExpand(Xe,Je):void 0},Le=function(Xe,Je){var et=G.expandAction;et==="click"&&fe(Xe,Je),G.onClick&&G.onClick(Xe,Je)},he=function(Xe,Je){var et=G.expandAction;et==="doubleClick"&&fe(Xe,Je),G.onDoubleClick&&G.onDoubleClick(Xe,Je)},te=function(Xe,Je){var et=G.multiple,at=Je.node,Ve=Je.nativeEvent,le=at.key,ae=le===void 0?"":le,lt=M(G),Ze=m()(m()({},Je),{selected:!0}),Te=Ve.ctrlKey||Ve.metaKey,Jt=Ve.shiftKey,mt;et&&Te?(mt=Xe,ye.current=ae,Ae.current=mt,Ze.selectedNodes=b(lt,mt)):et&&Jt?(mt=Array.from(new Set([].concat(r()(Ae.current||[]),r()(y({treeData:lt,expandedKeys:Q,startKey:ae,endKey:ye.current}))))),Ze.selectedNodes=b(lt,mt)):(mt=[ae],ye.current=ae,Ae.current=mt,Ze.selectedNodes=b(lt,mt)),G.onSelect&&G.onSelect(mt,Ze),"selectedKeys"in G||be(mt)},Z=v.useContext(E.b),ge=Z.getPrefixCls,Re=Z.direction,ze=G.prefixCls,dt=G.className,De=O(G,["prefixCls","className"]),Tt=ge("tree",ze),je=a()("".concat(Tt,"-directory"),dt,f()({},"".concat(Tt,"-directory-rtl"),Re==="rtl"));return v.createElement(U,m()({icon:I,ref:ve,blockNode:!0},De,{prefixCls:Tt,className:je,expandedKeys:Q,selectedKeys:ne,onSelect:te,onClick:Le,onDoubleClick:he,onExpand:oe}))},P=v.forwardRef(F);P.displayName="DirectoryTree",P.defaultProps={showIcon:!0,expandAction:"click"};var j=P,K=e("EXcs"),N=e("2jpz"),B=v.forwardRef(function(z,X){var W,Y=v.useContext(E.b),q=Y.getPrefixCls,me=Y.direction,G=Y.virtual,ye=z.prefixCls,Ae=z.className,ve=z.showIcon,Ue=z.showLine,Me=z.switcherIcon,nt=z.blockNode,ne=z.children,be=z.checkable,ot=m()(m()({},z),{showLine:Boolean(Ue)}),ue=q("tree",ye);return v.createElement(h.b,m()({itemHeight:20,ref:X,virtual:G},ot,{prefixCls:ue,className:a()(Ae,(W={},f()(W,"".concat(ue,"-icon-hide"),!ve),f()(W,"".concat(ue,"-block-node"),nt),f()(W,"".concat(ue,"-rtl"),me==="rtl"),W)),checkable:be&&v.createElement("span",{className:"".concat(ue,"-checkbox-inner")}),switcherIcon:function(V){return Object(N.a)(ue,Me,Ue,V)}}),ne)});B.TreeNode=h.a,B.DirectoryTree=j,B.defaultProps={checkable:!1,showIcon:!1,motion:m()(m()({},K.a),{motionAppear:!1}),blockNode:!1};var U=B,H=D.a=U},MKOG:function(R,D,e){var g=e("bYtY"),f=e("YH21"),A=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,A.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,A);var c=h;R.exports=c},MMmD:function(R,D,e){var g=e("lSCD"),f=e("shjB");function A(m){return m!=null&&f(m.length)&&!g(m)}R.exports=A},MRoa:function(R,D,e){var g=e("ProS");e("0Bwj"),e("W2nI"),e("vcCh");var f=e("gawk"),A=e("Dg8C");g.registerLayout(f),g.registerVisual(A)},MT78:function(R,D,e){var g=e("ProS");(function(){for(var A in g){if(g==null||!g.hasOwnProperty(A)||A==="default"||A==="__esModule")return;D[A]=g[A]}})();var f=e("txkQ");(function(){for(var A in f){if(f==null||!f.hasOwnProperty(A)||A==="default"||A==="__esModule")return;D[A]=f[A]}})(),e("A1Ka"),e("75ce"),e("lLGD"),e("wDdD"),e("Fa/5"),e("jett"),e("Z1wy"),e("75ev"),e("2uGb"),e("I+77"),e("B+YJ"),e("pLH3"),e("CBdT"),e("MRoa"),e("+lIL"),e("CF2D"),e("ERHi"),e("p+If"),e("XOKv"),e("qt/9"),e("bBL8"),e("1xaR"),e("4Feb"),e("zRKj"),e("L3Oj"),e("0HBW"),e("LPzL"),e("8waO"),e("k5C7"),e("f1nB"),e("sRwP"),e("AH3D"),e("y4/Y"),e("LzGr"),e("Ynxi"),e("7pVf"),e("2w7y"),e("laiN"),e("fjKi"),e("C0tN"),e("0o9m"),e("Cm0C"),e("f3JH"),e("5NHt"),e("VFCP"),e("dBmv"),e("KamJ"),e("8XDt"),e("juDX")},MXD1:function(R,D,e){"use strict";var g=e("cIOH"),f=e.n(g),A=e("Kvyg"),m=e.n(A)},MZdM:function(R,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(D,"__esModule",{value:!0}),D.default=void 0;var f=a(e("Lo0S")),A=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,x=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),x+s>=this._fbHeight&&(s-=x+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 x=this._viewportLoc;this.viewportChangeSize(x.w,x.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,x=this._damageBounds.bottom-u,S=s-this._viewportLoc.x,T=u-this._viewportLoc.y;S<0&&(p+=S,s-=S,S=0),T<0&&(x+=T,u-=T,T=0),S+p>this._viewportLoc.w&&(p=this._viewportLoc.w-S),T+x>this._viewportLoc.h&&(x=this._viewportLoc.h-T),p>0&&x>0&&this._targetCtx.drawImage(this._backbuffer,s,u,p,x,S,T,p,x),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,x,S){this._renderQ.length!==0&&!S?this._renderQPush({type:"fill",x:t,y:s,width:u,height:p,color:x}):(this._setFillColor(x),this._drawCtx.fillRect(t,s,u,p),this._damage(t,s,u,p))}},{key:"copyImage",value:function(t,s,u,p,x,S,T){this._renderQ.length!==0&&!T?this._renderQPush({type:"copy",oldX:t,oldY:s,x:u,y:p,width:x,height:S}):(this._drawCtx.mozImageSmoothingEnabled=!1,this._drawCtx.webkitImageSmoothingEnabled=!1,this._drawCtx.msImageSmoothingEnabled=!1,this._drawCtx.imageSmoothingEnabled=!1,this._drawCtx.drawImage(this._backbuffer,t,s,x,S,u,p,x,S),this._damage(u,p,x,S))}},{key:"imageRect",value:function(t,s,u,p,x,S){if(u===0||p===0)return;var T=new Image;T.src="data: "+x+";base64,"+A.default.encode(S),this._renderQPush({type:"img",img:T,x:t,y:s,width:u,height:p})}},{key:"startTile",value:function(t,s,u,p,x){this._tileX=t,this._tileY=s,u===16&&p===16?this._tile=this._tile16x16:this._tile=this._drawCtx.createImageData(u,p);for(var S=x[2],T=x[1],w=x[0],E=this._tile.data,C=0;C<u*p*4;C+=4)E[C]=S,E[C+1]=T,E[C+2]=w,E[C+3]=255}},{key:"subTile",value:function(t,s,u,p,x){for(var S=x[2],T=x[1],w=x[0],E=t+u,C=s+p,_=this._tile.data,y=this._tile.width,b=s;b<C;b++)for(var O=t;O<E;O++){var I=(O+b*y)*4;_[I]=S,_[I+1]=T,_[I+2]=w,_[I+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,x,S,T){if(this._renderQ.length!==0&&!T){var w=new Uint8Array(u*p*4);w.set(new Uint8Array(x.buffer,0,w.length)),this._renderQPush({type:"blit",data:w,x:t,y:s,width:u,height:p})}else this._bgrxImageData(t,s,u,p,x,S)}},{key:"blitRgbImage",value:function(t,s,u,p,x,S,T){if(this._renderQ.length!==0&&!T){var w=new Uint8Array(u*p*3);w.set(new Uint8Array(x.buffer,0,w.length)),this._renderQPush({type:"blitRgb",data:w,x:t,y:s,width:u,height:p})}else this._rgbImageData(t,s,u,p,x,S)}},{key:"blitRgbxImage",value:function(t,s,u,p,x,S,T){if(this._renderQ.length!==0&&!T){var w=new Uint8Array(u*p*4);w.set(new Uint8Array(x.buffer,0,w.length)),this._renderQPush({type:"blitRgbx",data:w,x:t,y:s,width:u,height:p})}else this._rgbxImageData(t,s,u,p,x,S)}},{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,x=t/s,S=p.w/p.h;S>=x?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,x,S){for(var T=this._drawCtx.createImageData(u,p),w=T.data,E=0,C=S;E<u*p*4;E+=4,C+=3)w[E]=x[C],w[E+1]=x[C+1],w[E+2]=x[C+2],w[E+3]=255;this._drawCtx.putImageData(T,t,s),this._damage(t,s,T.width,T.height)}},{key:"_bgrxImageData",value:function(t,s,u,p,x,S){for(var T=this._drawCtx.createImageData(u,p),w=T.data,E=0,C=S;E<u*p*4;E+=4,C+=4)w[E]=x[C+2],w[E+1]=x[C+1],w[E+2]=x[C],w[E+3]=255;this._drawCtx.putImageData(T,t,s),this._damage(t,s,T.width,T.height)}},{key:"_rgbxImageData",value:function(t,s,u,p,x,S){var T;m.supportsImageMetadata?T=new ImageData(new Uint8ClampedArray(x.buffer,x.byteOffset,u*p*4),u,p):(T=this._drawCtx.createImageData(u,p),T.data.set(new Uint8ClampedArray(x.buffer,x.byteOffset,u*p*4))),this._drawCtx.putImageData(T,t,s),this._damage(t,s,T.width,T.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}();D.default=d},Mdki:function(R,D,e){var g=e("bYtY"),f=g.each,A="\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[A]);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[A],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[A][l]}function r(l){return l[m]===l}function o(l,t,s){l[A]={},f(t,function(u,p){d(u,p,l,s)})}function d(l,t,s,u){s[A][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;R.exports=n},Mds0:function(R,D,e){"use strict";var g=e("TqRt"),f=e("284h");Object.defineProperty(D,"__esModule",{value:!0}),D.default=void 0;var A=f(e("q1tI")),m=g(e("8IMR")),v=g(e("KQxl")),h=function(i,r){return A.createElement(v.default,Object.assign({},i,{ref:r,icon:m.default}))};h.displayName="StarFilled";var c=A.forwardRef(h);D.default=c},Mgri:function(R,D,e){for(var g=e("bYtY"),f=e("8nly"),A=[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]+=A[0],m[v][h][1]+=A[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}}),A))}R.exports=c},Mmt2:function(R,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(D,"__esModule",{value:!0}),D.default=void 0;var f=m(e("Lo0S"));function A(){if(typeof WeakMap!="function")return null;var o=new WeakMap;return A=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=A();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}();D.default=r},MqEG:function(R,D,e){var g=e("bYtY"),f=e("fc+c"),A=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 x=p.model,S={};g.each(["pan","zoom","scrollMove"],function(T){S[T]=v(c[T],this,p,s)},this),m.register(n,{coordId:m.generateCoordId(x),allCoordIds:u,containsPoint:function(T,w,E){return x.coordinateSystem.containPoint([w,E])},dataZoomId:o.id,dataZoomModel:o,getRange:S})},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),x=(p.signal>0?p.pixelStart+p.pixelLength-p.pixel:p.pixel-p.pixelStart)/p.pixelLength*(s[1]-s[0])+s[0],S=Math.max(1/l.scale,0);s[0]=(s[0]-x)*S+x,s[1]=(s[1]-x)*S+x;var T=this.dataZoomModel.findRepresentativeAxisProxy().getMinMaxSpan();if(A(0,s,[0,100],0,T.minSpan,T.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 x=o(u,p,d,n,l,t);if(A(x,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,x=p.getRadiusAxis().getExtent(),S=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=x[1]-x[0],u.pixelStart=x[0],u.signal=s.inverse?1:-1):(u.pixel=d[1]-o[1],u.pixelLength=S[1]-S[0],u.pixelStart=S[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;R.exports=r},MvSz:function(R,D,e){var g=e("LXxW"),f=e("0ycA"),A=Object.prototype,m=A.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;R.exports=h},MwEJ:function(R,D,e){var g=e("bYtY"),f=e("YXkt"),A=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(w,E,C){C=C||{},n.isInstance(w)||(w=n.seriesDataToSource(w));var _=E.get("coordinateSystem"),y=r.get(_),b=d(E),O;b&&(O=g.map(b.coordSysDims,function(N){var B={name:N},U=b.axisMap.get(N);if(U){var H=U.get("type");B.type=c(H)}return B})),O||(O=y&&(y.getDimensionsInfo?y.getDimensionsInfo():y.dimensions.slice())||["x","y"]);var I=A(w,{coordDimensions:O,generateCoord:C.generateCoord,encodeDefaulter:C.useEncodeDefaulter?g.curry(u,O,E):null}),M,F;b&&g.each(I,function(N,B){var U=N.coordDim,H=b.categoryAxisMap.get(U);H&&(M==null&&(M=B),N.ordinalMeta=H.getOrdinalMeta()),N.otherDims.itemName!=null&&(F=!0)}),!F&&M!=null&&(I[M].otherDims.itemName=0);var P=t(E,I),j=new f(I,E);j.setCalculationInfo(P);var K=M!=null&&x(w)?function(N,B,U,H){return H===M?U:this.defaultDimValueGetter(N,B,U,H)}:null;return j.hasItemOption=!1,j.initData(w,null,K),j}function x(w){if(w.sourceFormat===v){var E=S(w.data||[]);return E!=null&&!g.isArray(i(E))}}function S(w){for(var E=0;E<w.length&&w[E]==null;)E++;return w[E]}var T=p;R.exports=T},Mylv:function(R,D,e){var g=e("ProS"),f=e("bYtY"),A=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 A.Circle,l=g.extendChartView({type:"pictorialBar",render:function(z,X,W){var Y=this.group,q=z.getData(),me=this._data,G=z.coordinateSystem,ye=G.getBaseAxis(),Ae=!!ye.isHorizontal(),ve=G.grid.getRect(),Ue={ecSize:{width:W.getWidth(),height:W.getHeight()},seriesModel:z,coordSys:G,coordSysExtent:[[ve.x,ve.x+ve.width],[ve.y,ve.y+ve.height]],isHorizontal:Ae,valueDim:d[+Ae],categoryDim:d[1-Ae]};return q.diff(me).add(function(Me){if(!q.hasValue(Me))return;var nt=y(q,Me),ne=t(q,Me,nt,Ue),be=M(q,Ue,ne);q.setItemGraphicEl(Me,be),Y.add(be),B(be,Ue,ne)}).update(function(Me,nt){var ne=me.getItemGraphicEl(nt);if(!q.hasValue(Me)){Y.remove(ne);return}var be=y(q,Me),ot=t(q,Me,be,Ue),ue=j(q,ot);ne&&ue!==ne.__pictorialShapeStr&&(Y.remove(ne),q.setItemGraphicEl(Me,null),ne=null),ne?F(ne,Ue,ot):ne=M(q,Ue,ot,!0),q.setItemGraphicEl(Me,ne),ne.__pictorialSymbolMeta=ot,Y.add(ne),B(ne,Ue,ot)}).remove(function(Me){var nt=me.getItemGraphicEl(Me);nt&&P(me,Me,nt.__pictorialSymbolMeta.animationModel,nt)}).execute(),this._data=q,this.group},dispose:f.noop,remove:function(z,X){var W=this.group,Y=this._data;z.get("animation")?Y&&Y.eachItemGraphicEl(function(q){P(Y,q.dataIndex,z,q)}):W.removeAll()}});function t(z,X,W,Y){var q=z.getItemLayout(X),me=W.get("symbolRepeat"),G=W.get("symbolClip"),ye=W.get("symbolPosition")||"start",Ae=W.get("symbolRotate"),ve=(Ae||0)*Math.PI/180||0,Ue=W.get("symbolPatternSize")||2,Me=W.isAnimationEnabled(),nt={dataIndex:X,layout:q,itemModel:W,symbolType:z.getItemVisual(X,"symbol")||"circle",color:z.getItemVisual(X,"color"),symbolClip:G,symbolRepeat:me,symbolRepeatDirection:W.get("symbolRepeatDirection"),symbolPatternSize:Ue,rotation:ve,animationModel:Me?W:null,hoverAnimation:Me&&W.get("hoverAnimation"),z2:W.getShallow("z",!0)||0};s(W,me,q,Y,nt),p(z,X,q,me,G,nt.boundingLength,nt.pxSign,Ue,Y,nt),x(W,nt.symbolScale,ve,Y,nt);var ne=nt.symbolSize,be=W.get("symbolOffset");return f.isArray(be)&&(be=[c(be[0],ne[0]),c(be[1],ne[1])]),S(W,ne,q,me,G,be,ye,nt.valueLineWidth,nt.boundingLength,nt.repeatCutLength,Y,nt),nt}function s(z,X,W,Y,q){var me=Y.valueDim,G=z.get("symbolBoundingData"),ye=Y.coordSys.getOtherAxis(Y.coordSys.getBaseAxis()),Ae=ye.toGlobalCoord(ye.dataToCoord(0)),ve=1-+(W[me.wh]<=0),Ue;if(f.isArray(G)){var Me=[u(ye,G[0])-Ae,u(ye,G[1])-Ae];Me[1]<Me[0]&&Me.reverse(),Ue=Me[ve]}else G!=null?Ue=u(ye,G)-Ae:X?Ue=Y.coordSysExtent[me.index][ve]-Ae:Ue=W[me.wh];q.boundingLength=Ue,X&&(q.repeatCutLength=W[me.wh]),q.pxSign=Ue>0?1:Ue<0?-1:0}function u(z,X){return z.toGlobalCoord(z.dataToCoord(z.scale.parse(X)))}function p(z,X,W,Y,q,me,G,ye,Ae,ve){var Ue=Ae.valueDim,Me=Ae.categoryDim,nt=Math.abs(W[Me.wh]),ne=z.getItemVisual(X,"symbolSize");f.isArray(ne)?ne=ne.slice():(ne==null&&(ne="100%"),ne=[ne,ne]),ne[Me.index]=c(ne[Me.index],nt),ne[Ue.index]=c(ne[Ue.index],Y?nt:Math.abs(me)),ve.symbolSize=ne;var be=ve.symbolScale=[ne[0]/ye,ne[1]/ye];be[Ue.index]*=(Ae.isHorizontal?-1:1)*G}function x(z,X,W,Y,q){var me=z.get(o)||0;me&&(n.attr({scale:X.slice(),rotation:W}),n.updateTransform(),me/=n.getLineScale(),me*=X[Y.valueDim.index]),q.valueLineWidth=me}function S(z,X,W,Y,q,me,G,ye,Ae,ve,Ue,Me){var nt=Ue.categoryDim,ne=Ue.valueDim,be=Me.pxSign,ot=Math.max(X[ne.index]+ye,0),ue=ot;if(Y){var Q=Math.abs(Ae),V=f.retrieve(z.get("symbolMargin"),"15%")+"",J=!1;V.lastIndexOf("!")===V.length-1&&(J=!0,V=V.slice(0,V.length-1)),V=c(V,X[ne.index]);var fe=Math.max(ot+V*2,0),oe=J?0:V*2,Le=a(Y),he=Le?Y:U((Q+oe)/fe),te=Q-he*ot;V=te/2/(J?he:he-1),fe=ot+V*2,oe=J?0:V*2,!Le&&Y!=="fixed"&&(he=ve?U((Math.abs(ve)+oe)/fe):0),ue=he*fe-oe,Me.repeatTimes=he,Me.symbolMargin=V}var Z=be*(ue/2),ge=Me.pathPosition=[];ge[nt.index]=W[nt.wh]/2,ge[ne.index]=G==="start"?Z:G==="end"?Ae-Z:Ae/2,me&&(ge[0]+=me[0],ge[1]+=me[1]);var Re=Me.bundlePosition=[];Re[nt.index]=W[nt.xy],Re[ne.index]=W[ne.xy];var ze=Me.barRectShape=f.extend({},W);ze[ne.wh]=be*Math.max(Math.abs(W[ne.wh]),Math.abs(ge[ne.index]+Z)),ze[nt.wh]=W[nt.wh];var dt=Me.clipShape={};dt[nt.xy]=-W[nt.xy],dt[nt.wh]=Ue.ecSize[nt.wh],dt[ne.xy]=0,dt[ne.wh]=W[ne.wh]}function T(z){var X=z.symbolPatternSize,W=v(z.symbolType,-X/2,-X/2,X,X,z.color);return W.attr({culling:!0}),W.type!=="image"&&W.setStyle({strokeNoScale:!0}),W}function w(z,X,W,Y){var q=z.__pictorialBundle,me=W.symbolSize,G=W.valueLineWidth,ye=W.pathPosition,Ae=X.valueDim,ve=W.repeatTimes||0,Ue=0,Me=me[X.valueDim.index]+G+W.symbolMargin*2;for(K(z,function(Q){Q.__pictorialAnimationIndex=Ue,Q.__pictorialRepeatTimes=ve,Ue<ve?N(Q,null,be(Ue),W,Y):N(Q,null,{scale:[0,0]},W,Y,function(){q.remove(Q)}),I(Q,W),Ue++});Ue<ve;Ue++){var nt=T(W);nt.__pictorialAnimationIndex=Ue,nt.__pictorialRepeatTimes=ve,q.add(nt);var ne=be(Ue);N(nt,{position:ne.position,scale:[0,0]},{scale:ne.scale,rotation:ne.rotation},W,Y),nt.on("mouseover",ot).on("mouseout",ue),I(nt,W)}function be(Q){var V=ye.slice(),J=W.pxSign,fe=Q;return(W.symbolRepeatDirection==="start"?J>0:J<0)&&(fe=ve-1-Q),V[Ae.index]=Me*(fe-ve/2+.5)+ye[Ae.index],{position:V,scale:W.symbolScale.slice(),rotation:W.rotation}}function ot(){K(z,function(Q){Q.trigger("emphasis")})}function ue(){K(z,function(Q){Q.trigger("normal")})}}function E(z,X,W,Y){var q=z.__pictorialBundle,me=z.__pictorialMainPath;me?N(me,null,{position:W.pathPosition.slice(),scale:W.symbolScale.slice(),rotation:W.rotation},W,Y):(me=z.__pictorialMainPath=T(W),q.add(me),N(me,{position:W.pathPosition.slice(),scale:[0,0],rotation:W.rotation},{scale:W.symbolScale.slice()},W,Y),me.on("mouseover",G).on("mouseout",ye)),I(me,W);function G(){this.trigger("emphasis")}function ye(){this.trigger("normal")}}function C(z,X,W){var Y=f.extend({},X.barRectShape),q=z.__pictorialBarRect;q?N(q,null,{shape:Y},X,W):(q=z.__pictorialBarRect=new A.Rect({z2:2,shape:Y,silent:!0,style:{stroke:"transparent",fill:"transparent",lineWidth:0}}),z.add(q))}function _(z,X,W,Y){if(W.symbolClip){var q=z.__pictorialClipPath,me=f.extend({},W.clipShape),G=X.valueDim,ye=W.animationModel,Ae=W.dataIndex;if(q)A.updateProps(q,{shape:me},ye,Ae);else{me[G.wh]=0,q=new A.Rect({shape:me}),z.__pictorialBundle.setClipPath(q),z.__pictorialClipPath=q;var ve={};ve[G.wh]=W.clipShape[G.wh],A[Y?"updateProps":"initProps"](q,{shape:ve},ye,Ae)}}}function y(z,X){var W=z.getItemModel(X);return W.getAnimationDelayParams=b,W.isAnimationEnabled=O,W}function b(z){return{index:z.__pictorialAnimationIndex,count:z.__pictorialRepeatTimes}}function O(){return this.parentModel.isAnimationEnabled()&&!!this.getShallow("animation")}function I(z,X){z.off("emphasis").off("normal");var W=X.symbolScale.slice();X.hoverAnimation&&z.on("emphasis",function(){this.animateTo({scale:[W[0]*1.1,W[1]*1.1]},400,"elasticOut")}).on("normal",function(){this.animateTo({scale:W.slice()},400,"elasticOut")})}function M(z,X,W,Y){var q=new A.Group,me=new A.Group;return q.add(me),q.__pictorialBundle=me,me.attr("position",W.bundlePosition.slice()),W.symbolRepeat?w(q,X,W):E(q,X,W),C(q,W,Y),_(q,X,W,Y),q.__pictorialShapeStr=j(z,W),q.__pictorialSymbolMeta=W,q}function F(z,X,W){var Y=W.animationModel,q=W.dataIndex,me=z.__pictorialBundle;A.updateProps(me,{position:W.bundlePosition.slice()},Y,q),W.symbolRepeat?w(z,X,W,!0):E(z,X,W,!0),C(z,W,!0),_(z,X,W,!0)}function P(z,X,W,Y){var q=Y.__pictorialBarRect;q&&(q.style.text=null);var me=[];K(Y,function(G){me.push(G)}),Y.__pictorialMainPath&&me.push(Y.__pictorialMainPath),Y.__pictorialClipPath&&(W=null),f.each(me,function(G){A.updateProps(G,{scale:[0,0]},W,X,function(){Y.parent&&Y.parent.remove(Y)})}),z.setItemGraphicEl(X,null)}function j(z,X){return[z.getItemVisual(X.dataIndex,"symbol")||"none",!!X.symbolRepeat,!!X.symbolClip].join(":")}function K(z,X,W){f.each(z.__pictorialBundle.children(),function(Y){Y!==z.__pictorialBarRect&&X.call(W,Y)})}function N(z,X,W,Y,q,me){X&&z.attr(X),Y.symbolClip&&!q?W&&z.attr(W):W&&A[q?"updateProps":"initProps"](z,W,Y.animationModel,Y.dataIndex,me)}function B(z,X,W){var Y=W.color,q=W.dataIndex,me=W.itemModel,G=me.getModel("itemStyle").getItemStyle(["color"]),ye=me.getModel("emphasis.itemStyle").getItemStyle(),Ae=me.getShallow("cursor");K(z,function(nt){nt.setColor(Y),nt.setStyle(f.defaults({fill:Y,opacity:W.opacity},G)),A.setHoverStyle(nt,ye),Ae&&(nt.cursor=Ae),nt.z2=W.z2});var ve={},Ue=X.valueDim.posDesc[+(W.boundingLength>0)],Me=z.__pictorialBarRect;r(Me.style,ve,me,Y,X.seriesModel,q,Ue),A.setHoverStyle(Me,ve)}function U(z){var X=Math.round(z);return Math.abs(z-X)<1e-4?X:Math.ceil(z)}var H=l;R.exports=H},"N/zr":function(R,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(D,"__esModule",{value:!0}),D.default=void 0;var f=m(e("Lo0S"));function A(){if(typeof WeakMap!="function")return null;var h=new WeakMap;return A=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=A();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}};D.default=v},N5BQ:function(R,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"}}}),A=f;R.exports=A},NA0q:function(R,D,e){var g=e("bYtY"),f=e("6Ic6"),A=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,x=r.get("renderLabelForZeroData"),S=[];u.eachNode(function(O){S.push(O)});var T=this._oldChildren||[];if(C(S,T),b(s,u),n&&n.highlight&&n.highlight.piece){var w=r.getShallow("highlightPolicy");n.highlight.piece.onEmphasis(w)}else if(n&&n.unhighlight){var E=this.virtualPiece;!E&&s.children.length&&(E=s.children[0].piece),E&&E.onNormal()}this._initEvents(),this._oldChildren=S;function C(O,I){if(O.length===0&&I.length===0)return;new m(I,O,M,M).add(F).update(F).remove(g.curry(F,null)).execute();function M(P){return P.getId()}function F(P,j){var K=P==null?null:O[P],N=j==null?null:I[j];_(K,N)}}function _(O,I){if(!x&&O&&!O.getValue()&&(O=null),O!==s&&I!==s){if(I&&I.piece)O?(I.piece.updateData(!1,O,"normal",r,o),t.setItemGraphicEl(O.dataIndex,I.piece)):y(I);else if(O){var M=new A(O,r,o);p.add(M),t.setItemGraphicEl(O.dataIndex,M)}}}function y(O){if(!O)return;O.piece&&(p.remove(O.piece),O.piece=null)}function b(O,I){if(I.depth>0){l.virtualPiece?l.virtualPiece.updateData(!1,O,"normal",r,o):(l.virtualPiece=new A(O,r,o),p.add(l.virtualPiece)),I.piece._onclickEvent&&I.piece.off("click",I.piece._onclickEvent);var M=function(F){l._rootToNode(I.parentNode)};I.piece._onclickEvent=M,l.virtualPiece.on("click",M)}else l.virtualPiece&&(p.remove(l.virtualPiece),l.virtualPiece=null)}},dispose:function(){},_initEvents:function(){var r=this,o=function(d){var n=!1,l=r.seriesModel.getViewRoot();l.eachNode(function(t){if(!n&&t.piece&&t.piece.childAt(0)===d.target){var s=t.getModel().get("nodeClick");if(s==="rootToNode")r._rootToNode(t);else if(s==="link"){var u=t.getModel(),p=u.get("link");if(p){var x=u.get("target",!0)||"_blank";h(p,x)}}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;R.exports=i},NAnI:function(R,D,e){"use strict";Object.defineProperty(D,"__esModule",{value:!0}),D.default=void 0;var g=f(e("wXyp"));function f(m){return m&&m.__esModule?m:{default:m}}var A=g;D.default=A,R.exports=A},NBmB:function(R,D,e){"use strict";Object.defineProperty(D,"__esModule",{value:!0}),D.encodingName=f,D.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};D.encodings=g;function f(A){switch(A){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 "+A+"]"}}},NC18:function(R,D,e){var g=e("y+Vt"),f=e("IMiH"),A=e("7oTu"),m=Math.sqrt,v=Math.sin,h=Math.cos,c=Math.PI,a=function(S){return Math.sqrt(S[0]*S[0]+S[1]*S[1])},i=function(S,T){return(S[0]*T[0]+S[1]*T[1])/(a(S)*a(T))},r=function(S,T){return(S[0]*T[1]<S[1]*T[0]?-1:1)*Math.acos(i(S,T))};function o(x,S,T,w,E,C,_,y,b,O,I){var M=b*(c/180),F=h(M)*(x-T)/2+v(M)*(S-w)/2,P=-1*v(M)*(x-T)/2+h(M)*(S-w)/2,j=F*F/(_*_)+P*P/(y*y);j>1&&(_*=m(j),y*=m(j));var K=(E===C?-1:1)*m((_*_*(y*y)-_*_*(P*P)-y*y*(F*F))/(_*_*(P*P)+y*y*(F*F)))||0,N=K*_*P/y,B=K*-y*F/_,U=(x+T)/2+h(M)*N-v(M)*B,H=(S+w)/2+v(M)*N+h(M)*B,z=r([1,0],[(F-N)/_,(P-B)/y]),X=[(F-N)/_,(P-B)/y],W=[(-1*F-N)/_,(-1*P-B)/y],Y=r(X,W);i(X,W)<=-1&&(Y=c),i(X,W)>=1&&(Y=0),C===0&&Y>0&&(Y=Y-2*c),C===1&&Y<0&&(Y=Y+2*c),I.addData(O,U,H,_,y,z,Y,M,C)}var d=/([mlvhzcqtsa])([^mlvhzcqtsa]*)/ig,n=/-?([0-9]*\.)?[0-9]+([eE]-?[0-9]+)?/g;function l(x){if(!x)return new f;for(var S=0,T=0,w=S,E=T,C,_=new f,y=f.CMD,b=x.match(d),O=0;O<b.length;O++){for(var I=b[O],M=I.charAt(0),F,P=I.match(n)||[],j=P.length,K=0;K<j;K++)P[K]=parseFloat(P[K]);for(var N=0;N<j;){var B,U,H,z,X,W,Y,q=S,me=T;switch(M){case"l":S+=P[N++],T+=P[N++],F=y.L,_.addData(F,S,T);break;case"L":S=P[N++],T=P[N++],F=y.L,_.addData(F,S,T);break;case"m":S+=P[N++],T+=P[N++],F=y.M,_.addData(F,S,T),w=S,E=T,M="l";break;case"M":S=P[N++],T=P[N++],F=y.M,_.addData(F,S,T),w=S,E=T,M="L";break;case"h":S+=P[N++],F=y.L,_.addData(F,S,T);break;case"H":S=P[N++],F=y.L,_.addData(F,S,T);break;case"v":T+=P[N++],F=y.L,_.addData(F,S,T);break;case"V":T=P[N++],F=y.L,_.addData(F,S,T);break;case"C":F=y.C,_.addData(F,P[N++],P[N++],P[N++],P[N++],P[N++],P[N++]),S=P[N-2],T=P[N-1];break;case"c":F=y.C,_.addData(F,P[N++]+S,P[N++]+T,P[N++]+S,P[N++]+T,P[N++]+S,P[N++]+T),S+=P[N-2],T+=P[N-1];break;case"S":B=S,U=T;var G=_.len(),ye=_.data;C===y.C&&(B+=S-ye[G-4],U+=T-ye[G-3]),F=y.C,q=P[N++],me=P[N++],S=P[N++],T=P[N++],_.addData(F,B,U,q,me,S,T);break;case"s":B=S,U=T;var G=_.len(),ye=_.data;C===y.C&&(B+=S-ye[G-4],U+=T-ye[G-3]),F=y.C,q=S+P[N++],me=T+P[N++],S+=P[N++],T+=P[N++],_.addData(F,B,U,q,me,S,T);break;case"Q":q=P[N++],me=P[N++],S=P[N++],T=P[N++],F=y.Q,_.addData(F,q,me,S,T);break;case"q":q=P[N++]+S,me=P[N++]+T,S+=P[N++],T+=P[N++],F=y.Q,_.addData(F,q,me,S,T);break;case"T":B=S,U=T;var G=_.len(),ye=_.data;C===y.Q&&(B+=S-ye[G-4],U+=T-ye[G-3]),S=P[N++],T=P[N++],F=y.Q,_.addData(F,B,U,S,T);break;case"t":B=S,U=T;var G=_.len(),ye=_.data;C===y.Q&&(B+=S-ye[G-4],U+=T-ye[G-3]),S+=P[N++],T+=P[N++],F=y.Q,_.addData(F,B,U,S,T);break;case"A":H=P[N++],z=P[N++],X=P[N++],W=P[N++],Y=P[N++],q=S,me=T,S=P[N++],T=P[N++],F=y.A,o(q,me,S,T,W,Y,H,z,X,F,_);break;case"a":H=P[N++],z=P[N++],X=P[N++],W=P[N++],Y=P[N++],q=S,me=T,S+=P[N++],T+=P[N++],F=y.A,o(q,me,S,T,W,Y,H,z,X,F,_);break}}(M==="z"||M==="Z")&&(F=y.Z,_.addData(F),S=w,T=E),C=F}return _.toStatic(),_}function t(x,S){var T=l(x);return S=S||{},S.buildPath=function(w){if(w.setData){w.setData(T.data);var E=w.getContext();E&&w.rebuildPath(E)}else{var E=w;T.rebuildPath(E)}},S.applyTransform=function(w){A(T,w),this.dirty(!0)},S}function s(x,S){return new g(t(x,S))}function u(x,S){return g.extend(t(x,S))}function p(x,S){for(var T=[],w=x.length,E=0;E<w;E++){var C=x[E];C.path||C.createPathProxy(),C.__dirtyPath&&C.buildPath(C.path,C.shape,!0),T.push(C.path)}var _=new g(S);return _.createPathProxy(),_.buildPath=function(y){y.appendPath(T);var b=y.getContext();b&&y.rebuildPath(b)},_}D.createFromString=s,D.extendFromString=u,D.mergePath=p},NH9N:function(R,D,e){var g=e("bYtY"),f=e("mFDi"),A=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(w,E){this.api=E,this._axis,this._viewRect,this._timer,this._currentPointer,this._mainGroup,this._labelGroup},render:function(w,E,C,_){if(this.model=w,this.api=C,this.ecModel=E,this.group.removeAll(),w.get("show",!0)){var y=this._layout(w,C),b=this._createGroup("mainGroup"),O=this._createGroup("labelGroup"),I=this._axis=this._createAxis(y,w);w.formatTooltip=function(M){return n(I.scale.getLabel(M))},t(["AxisLine","AxisTick","Control","CurrentPointer"],function(M){this["_render"+M](y,b,I,w)},this),this._renderAxisLabel(y,O,I,w),this._position(y,w)}this._doPlayStop()},remove:function(){this._clearTimer(),this.group.removeAll()},dispose:function(){this._clearTimer()},_layout:function(w,E){var C=w.get("label.position"),_=w.get("orient"),y=p(w,E);C==null||C==="auto"?C=_==="horizontal"?y.y+y.height/2<E.getHeight()/2?"-":"+":y.x+y.width/2<E.getWidth()/2?"+":"-":isNaN(C)&&(C={horizontal:{top:"-",bottom:"+"},vertical:{left:"-",right:"+"}}[_][C]);var b={horizontal:"center",vertical:C>=0||C==="+"?"left":"right"},O={horizontal:C>=0||C==="+"?"top":"bottom",vertical:"middle"},I={horizontal:0,vertical:s/2},M=_==="vertical"?y.height:y.width,F=w.getModel("controlStyle"),P=F.get("show",!0),j=P?F.get("itemSize"):0,K=P?F.get("itemGap"):0,N=j+K,B=w.get("label.rotate")||0;B=B*s/180;var U,H,z,X,W=F.get("position",!0),Y=P&&F.get("showPlayBtn",!0),q=P&&F.get("showPrevBtn",!0),me=P&&F.get("showNextBtn",!0),G=0,ye=M;return W==="left"||W==="bottom"?(Y&&(U=[0,0],G+=N),q&&(H=[G,0],G+=N),me&&(z=[ye-j,0],ye-=N)):(Y&&(U=[ye-j,0],ye-=N),q&&(H=[0,0],G+=N),me&&(z=[ye-j,0],ye-=N)),X=[G,ye],w.get("inverse")&&X.reverse(),{viewRect:y,mainLength:M,orient:_,rotation:I[_],labelRotation:B,labelPosOpt:C,labelAlign:w.get("label.align")||b[_],labelBaseline:w.get("label.verticalAlign")||w.get("label.baseline")||O[_],playPosition:U,prevBtnPosition:H,nextBtnPosition:z,axisExtent:X,controlSize:j,controlGap:K}},_position:function(w,E){var C=this._mainGroup,_=this._labelGroup,y=w.viewRect;if(w.orient==="vertical"){var b=A.create(),O=y.x,I=y.y+y.height;A.translate(b,b,[-O,-I]),A.rotate(b,b,-s/2),A.translate(b,b,[O,I]),y=y.clone(),y.applyTransform(b)}var M=H(y),F=H(C.getBoundingRect()),P=H(_.getBoundingRect()),j=C.position,K=_.position;K[0]=j[0]=M[0][0];var N=w.labelPosOpt;if(isNaN(N)){var B=N==="+"?0:1;z(j,F,M,1,B),z(K,P,M,1,1-B)}else{var B=N>=0?0:1;z(j,F,M,1,B),K[1]=j[1]+N}C.attr("position",j),_.attr("position",K),C.rotation=_.rotation=w.rotation,U(C),U(_);function U(X){var W=X.position;X.origin=[M[0][0]-W[0],M[1][0]-W[1]]}function H(X){return[[X.x,X.x+X.width],[X.y,X.y+X.height]]}function z(X,W,Y,q,me){X[q]+=Y[q][me]-W[q][me]}},_createAxis:function(w,E){var C=E.getData(),_=E.get("axisType"),y=r.createScaleByModel(E,_);y.getTicks=function(){return C.mapArray(["value"],function(I){return I})};var b=C.getDataExtent("value");y.setExtent(b[0],b[1]),y.niceTicks();var O=new c("value",y,w.axisExtent,_);return O.model=E,O},_createGroup:function(w){var E=this["_"+w]=new m.Group;return this.group.add(E),E},_renderAxisLine:function(w,E,C,_){var y=C.getExtent();if(!_.get("lineStyle.show"))return;E.add(new m.Line({shape:{x1:y[0],y1:0,x2:y[1],y2:0},style:g.extend({lineCap:"round"},_.getModel("lineStyle").getLineStyle()),silent:!0,z2:1}))},_renderAxisTick:function(w,E,C,_){var y=_.getData(),b=C.scale.getTicks();t(b,function(O){var I=C.dataToCoord(O),M=y.getItemModel(O),F=M.getModel("itemStyle"),P=M.getModel("emphasis.itemStyle"),j={position:[I,0],onclick:l(this._changeTimeline,this,O)},K=S(M,F,E,j);m.setHoverStyle(K,P.getItemStyle()),M.get("tooltip")?(K.dataIndex=O,K.dataModel=_):K.dataIndex=K.dataModel=null},this)},_renderAxisLabel:function(w,E,C,_){var y=C.getLabelModel();if(!y.get("show"))return;var b=_.getData(),O=C.getViewLabels();t(O,function(I){var M=I.tickValue,F=b.getItemModel(M),P=F.getModel("label"),j=F.getModel("emphasis.label"),K=C.dataToCoord(I.tickValue),N=new m.Text({position:[K,0],rotation:w.labelRotation-w.rotation,onclick:l(this._changeTimeline,this,M),silent:!1});m.setTextStyle(N.style,P,{text:I.formattedLabel,textAlign:w.labelAlign,textVerticalAlign:w.labelBaseline}),E.add(N),m.setHoverStyle(N,m.setTextStyle({},j))},this)},_renderControl:function(w,E,C,_){var y=w.controlSize,b=w.rotation,O=_.getModel("controlStyle").getItemStyle(),I=_.getModel("emphasis.controlStyle").getItemStyle(),M=[0,-y/2,y,y],F=_.getPlayState(),P=_.get("inverse",!0);j(w.nextBtnPosition,"controlStyle.nextIcon",l(this._changeTimeline,this,P?"-":"+")),j(w.prevBtnPosition,"controlStyle.prevIcon",l(this._changeTimeline,this,P?"+":"-")),j(w.playPosition,"controlStyle."+(F?"stopIcon":"playIcon"),l(this._handlePlayClick,this,!F),!0);function j(K,N,B,U){if(!K)return;var H={position:K,origin:[y/2,0],rotation:U?-b:0,rectHover:!0,style:O,onclick:B},z=x(_,N,M,H);E.add(z),m.setHoverStyle(z,I)}},_renderCurrentPointer:function(w,E,C,_){var y=_.getData(),b=_.getCurrentIndex(),O=y.getItemModel(b).getModel("checkpointStyle"),I=this,M={onCreate:function(F){F.draggable=!0,F.drift=l(I._handlePointerDrag,I),F.ondragend=l(I._handlePointerDragend,I),T(F,b,C,_,!0)},onUpdate:function(F){T(F,b,C,_)}};this._currentPointer=S(O,O,this._mainGroup,{},this._currentPointer,M)},_handlePlayClick:function(w){this._clearTimer(),this.api.dispatchAction({type:"timelinePlayChange",playState:w,from:this.uid})},_handlePointerDrag:function(w,E,C){this._clearTimer(),this._pointerChangeTimeline([C.offsetX,C.offsetY])},_handlePointerDragend:function(w){this._pointerChangeTimeline([w.offsetX,w.offsetY],!0)},_pointerChangeTimeline:function(w,E){var C=this._toAxisCoord(w)[0],_=this._axis,y=o.asc(_.getExtent().slice());C>y[1]&&(C=y[1]),C<y[0]&&(C=y[0]),this._currentPointer.position[0]=C,this._currentPointer.dirty();var b=this._findNearestTick(C),O=this.model;(E||b!==O.getCurrentIndex()&&O.get("realtime"))&&this._changeTimeline(b)},_doPlayStop:function(){this._clearTimer(),this.model.getPlayState()&&(this._timer=setTimeout(l(w,this),this.model.get("playInterval")));function w(){var E=this.model;this._changeTimeline(E.getCurrentIndex()+(E.get("rewind",!0)?-1:1))}},_toAxisCoord:function(w){var E=this._mainGroup.getLocalTransform();return m.applyTransform(w,E,!0)},_findNearestTick:function(w){var E=this.model.getData(),C=Infinity,_,y=this._axis;return E.each(["value"],function(b,O){var I=y.dataToCoord(b),M=Math.abs(I-w);M<C&&(C=M,_=O)}),_},_clearTimer:function(){this._timer&&(clearTimeout(this._timer),this._timer=null)},_changeTimeline:function(w){var E=this.model.getCurrentIndex();w==="+"?w=E+1:w==="-"&&(w=E-1),this.api.dispatchAction({type:"timelineChange",currentIndex:w,from:this.uid})}});function p(w,E){return v.getLayoutRect(w.getBoxLayoutParams(),{width:E.getWidth(),height:E.getHeight()},w.get("padding"))}function x(w,E,C,_){var y=m.makePath(w.get(E).replace(/^path:\/\//,""),g.clone(_||{}),new f(C[0],C[1],C[2],C[3]),"center");return y}function S(w,E,C,_,y,b){var O=E.get("color");if(y)y.setColor(O),C.add(y),b&&b.onUpdate(y);else{var I=w.get("symbol");y=i(I,-1,-1,2,2,O),y.setStyle("strokeNoScale",!0),C.add(y),b&&b.onCreate(y)}var M=E.getItemStyle(["color","symbol","symbolSize"]);y.setStyle(M),_=g.merge({rectHover:!0,z2:100},_,!0);var F=w.get("symbolSize");F=F instanceof Array?F.slice():[+F,+F],F[0]/=2,F[1]/=2,_.scale=F;var P=w.get("symbolOffset");if(P){var j=_.position=_.position||[0,0];j[0]+=o.parsePercent(P[0],F[0]),j[1]+=o.parsePercent(P[1],F[1])}var K=w.get("symbolRotate");return _.rotation=(K||0)*Math.PI/180||0,y.attr(_),y.updateTransform(),y}function T(w,E,C,_,y){if(w.dragging)return;var b=_.getModel("checkpointStyle"),O=C.dataToCoord(_.getData().get(["value"],E));y||!b.get("animation",!0)?w.attr({position:[O,0]}):(w.stopAnimation(!0),w.animateTo({position:[O,0]},b.get("animationDuration",!0),b.get("animationEasing",!0)))}R.exports=u},NJEC:function(R,D,e){"use strict";var g=e("pVnL"),f=e.n(g),A=e("J4zp"),m=e.n(A),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"),x=e("0n0R"),S=void 0,T=function(E,C){var _={};for(var y in E)Object.prototype.hasOwnProperty.call(E,y)&&C.indexOf(y)<0&&(_[y]=E[y]);if(E!=null&&typeof Object.getOwnPropertySymbols=="function")for(var b=0,y=Object.getOwnPropertySymbols(E);b<y.length;b++)C.indexOf(y[b])<0&&Object.prototype.propertyIsEnumerable.call(E,y[b])&&(_[y[b]]=E[y[b]]);return _},w=v.forwardRef(function(E,C){var _=v.useState(E.visible),y=m()(_,2),b=y[0],O=y[1];v.useEffect(function(){"visible"in E&&O(E.visible)},[E.visible]),v.useEffect(function(){"defaultVisible"in E&&O(E.defaultVisible)},[E.defaultVisible]);var I=function(Ae,ve){"visible"in E||O(Ae),E.onVisibleChange&&E.onVisibleChange(Ae,ve)},M=function(Ae){I(!1,Ae),E.onConfirm&&E.onConfirm.call(S,Ae)},F=function(Ae){I(!1,Ae),E.onCancel&&E.onCancel.call(S,Ae)},P=function(Ae){Ae.keyCode===o.a.ESC&&b&&I(!1,Ae)},j=function(Ae){var ve=E.disabled;if(ve)return;I(Ae)},K=function(Ae,ve){var Ue=E.okButtonProps,Me=E.cancelButtonProps,nt=E.title,ne=E.cancelText,be=E.okText,ot=E.okType,ue=E.icon;return v.createElement("div",{className:"".concat(Ae,"-inner-content")},v.createElement("div",{className:"".concat(Ae,"-message")},ue,v.createElement("div",{className:"".concat(Ae,"-message-title")},Object(p.a)(nt))),v.createElement("div",{className:"".concat(Ae,"-buttons")},v.createElement(n.a,f()({onClick:F,size:"small"},Me),ne||ve.cancelText),v.createElement(n.a,f()({onClick:M},Object(l.a)(ot),{size:"small"},Ue),be||ve.okText)))},N=v.useContext(u.b),B=N.getPrefixCls,U=E.prefixCls,H=E.placement,z=E.children,X=E.overlayClassName,W=T(E,["prefixCls","placement","children","overlayClassName"]),Y=B("popover",U),q=B("popconfirm",U),me=a()(q,X),G=v.createElement(t.a,{componentName:"Popconfirm",defaultLocale:s.a.Popconfirm},function(ye){return K(Y,ye)});return v.createElement(d.a,f()({},W,{prefixCls:Y,placement:H,onVisibleChange:j,visible:b,overlay:G,overlayClassName:me,ref:C}),Object(x.a)(z,{onKeyDown:function(Ae){var ve,Ue;(Ue=z==null?void 0:(ve=z.props).onKeyDown)===null||Ue===void 0||Ue.call(ve,Ae),P(Ae)}}))});w.defaultProps={transitionName:"zoom-big",placement:"top",trigger:"click",okType:"primary",icon:v.createElement(r.a,null),disabled:!1},D.a=w},NKxu:function(R,D,e){var g=e("lSCD"),f=e("E2jh"),A=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(!A(n)||f(n))return!1;var l=g(n)?o:h;return l.test(m(n))}R.exports=d},NUBc:function(R,D,e){"use strict";var g=e("lSNA"),f=e.n(g),A=e("pVnL"),m=e.n(A),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(ot){var ue,Q="".concat(ot.rootPrefixCls,"-item"),V=t()(Q,"".concat(Q,"-").concat(ot.page),(ue={},Object(a.a)(ue,"".concat(Q,"-active"),ot.active),Object(a.a)(ue,ot.className,!!ot.className),Object(a.a)(ue,"".concat(Q,"-disabled"),!ot.page),ue)),J=function(){ot.onClick(ot.page)},fe=function(Le){ot.onKeyPress(Le,ot.onClick,ot.page)};return h.a.createElement("li",{title:ot.showTitle?ot.page:null,className:V,onClick:J,onKeyPress:fe,tabIndex:"0"},ot.itemRender(ot.page,"page",h.a.createElement("a",{rel:"nofollow"},ot.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 x(be){var ot=S();return function(){var Q=Object(n.a)(be),V;if(ot){var J=Object(n.a)(this).constructor;V=Reflect.construct(Q,arguments,J)}else V=Q.apply(this,arguments);return Object(d.a)(this,V)}}function S(){if(typeof Reflect=="undefined"||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(be){return!1}}var T=function(be){Object(o.a)(ue,be);var ot=x(ue);function ue(){var Q;Object(i.a)(this,ue);for(var V=arguments.length,J=new Array(V),fe=0;fe<V;fe++)J[fe]=arguments[fe];return Q=ot.call.apply(ot,[this].concat(J)),Q.state={goInputText:""},Q.buildOptionText=function(oe){return"".concat(oe," ").concat(Q.props.locale.items_per_page)},Q.changeSize=function(oe){Q.props.changeSize(Number(oe))},Q.handleChange=function(oe){Q.setState({goInputText:oe.target.value})},Q.handleBlur=function(oe){var Le=Q.props,he=Le.goButton,te=Le.quickGo,Z=Le.rootPrefixCls,ge=Q.state.goInputText;if(he||ge==="")return;if(oe.relatedTarget&&(oe.relatedTarget.className.indexOf("".concat(Z,"-prev"))>=0||oe.relatedTarget.className.indexOf("".concat(Z,"-next"))>=0))return;Q.setState({goInputText:""}),te(Q.getValidValue())},Q.go=function(oe){var Le=Q.state.goInputText;if(Le==="")return;(oe.keyCode===p.ENTER||oe.type==="click")&&(Q.setState({goInputText:""}),Q.props.quickGo(Q.getValidValue()))},Q}return Object(r.a)(ue,[{key:"getValidValue",value:function(){var V=this.state,J=V.goInputText,fe=V.current;return!J||isNaN(J)?fe:Number(J)}},{key:"getPageSizeOptions",value:function(){var V=this.props,J=V.pageSize,fe=V.pageSizeOptions;return fe.some(function(oe){return oe.toString()===J.toString()})?fe:fe.concat([J.toString()]).sort(function(oe,Le){var he=isNaN(Number(oe))?0:Number(oe),te=isNaN(Number(Le))?0:Number(Le);return he-te})}},{key:"render",value:function(){var V=this,J=this.props,fe=J.pageSize,oe=J.locale,Le=J.rootPrefixCls,he=J.changeSize,te=J.quickGo,Z=J.goButton,ge=J.selectComponentClass,Re=J.buildOptionText,ze=J.selectPrefixCls,dt=J.disabled,De=this.state.goInputText,Tt="".concat(Le,"-options"),je=ge,st=null,Xe=null,Je=null;if(!he&&!te)return null;var et=this.getPageSizeOptions();if(he&&je){var at=et.map(function(Ve,le){return h.a.createElement(je.Option,{key:le,value:Ve},(Re||V.buildOptionText)(Ve))});st=h.a.createElement(je,{disabled:dt,prefixCls:ze,showSearch:!1,className:"".concat(Tt,"-size-changer"),optionLabelProp:"children",dropdownMatchSelectWidth:!1,value:(fe||et[0]).toString(),onChange:this.changeSize,getPopupContainer:function(le){return le.parentNode}},at)}return te&&(Z&&(Je=typeof Z=="boolean"?h.a.createElement("button",{type:"button",onClick:this.go,onKeyUp:this.go,disabled:dt,className:"".concat(Tt,"-quick-jumper-button")},oe.jump_to_confirm):h.a.createElement("span",{onClick:this.go,onKeyUp:this.go},Z)),Xe=h.a.createElement("div",{className:"".concat(Tt,"-quick-jumper")},oe.jump_to,h.a.createElement("input",{disabled:dt,type:"text",value:De,onChange:this.handleChange,onKeyUp:this.go,onBlur:this.handleBlur}),oe.page,Je)),h.a.createElement("li",{className:"".concat(Tt)},st,Xe)}}]),ue}(h.a.Component);T.defaultProps={pageSizeOptions:["10","20","50","100"]};var w=T,E=e("N2Kk");function C(be,ot){var ue=Object.keys(be);if(Object.getOwnPropertySymbols){var Q=Object.getOwnPropertySymbols(be);ot&&(Q=Q.filter(function(V){return Object.getOwnPropertyDescriptor(be,V).enumerable})),ue.push.apply(ue,Q)}return ue}function _(be){for(var ot=1;ot<arguments.length;ot++){var ue=arguments[ot]!=null?arguments[ot]:{};ot%2?C(Object(ue),!0).forEach(function(Q){Object(a.a)(be,Q,ue[Q])}):Object.getOwnPropertyDescriptors?Object.defineProperties(be,Object.getOwnPropertyDescriptors(ue)):C(Object(ue)).forEach(function(Q){Object.defineProperty(be,Q,Object.getOwnPropertyDescriptor(ue,Q))})}return be}function y(be){var ot=b();return function(){var Q=Object(n.a)(be),V;if(ot){var J=Object(n.a)(this).constructor;V=Reflect.construct(Q,arguments,J)}else V=Q.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(be){return!1}}function O(){}function I(be){return typeof be=="number"&&isFinite(be)&&Math.floor(be)===be}function M(be,ot,ue){return ue}function F(be,ot,ue){var Q=typeof be=="undefined"?ot.pageSize:be;return Math.floor((ue.total-1)/Q)+1}var P=function(be){Object(o.a)(ue,be);var ot=y(ue);function ue(Q){var V;Object(i.a)(this,ue),V=ot.call(this,Q),V.getJumpPrevPage=function(){return Math.max(1,V.state.current-(V.props.showLessItems?3:5))},V.getJumpNextPage=function(){return Math.min(F(void 0,V.state,V.props),V.state.current+(V.props.showLessItems?3:5))},V.getItemIcon=function(he,te){var Z=V.props.prefixCls,ge=he||h.a.createElement("button",{type:"button","aria-label":te,className:"".concat(Z,"-item-link")});return typeof he=="function"&&(ge=h.a.createElement(he,_({},V.props))),ge},V.savePaginationNode=function(he){V.paginationNode=he},V.isValid=function(he){return I(he)&&he!==V.state.current},V.shouldDisplayQuickJumper=function(){var he=V.props,te=he.showQuickJumper,Z=he.pageSize,ge=he.total;return ge<=Z?!1:te},V.handleKeyDown=function(he){(he.keyCode===p.ARROW_UP||he.keyCode===p.ARROW_DOWN)&&he.preventDefault()},V.handleKeyUp=function(he){var te=V.getValidValue(he),Z=V.state.currentInputValue;te!==Z&&V.setState({currentInputValue:te}),he.keyCode===p.ENTER?V.handleChange(te):he.keyCode===p.ARROW_UP?V.handleChange(te-1):he.keyCode===p.ARROW_DOWN&&V.handleChange(te+1)},V.changePageSize=function(he){var te=V.state.current,Z=F(he,V.state,V.props);te=te>Z?Z:te,Z===0&&(te=V.state.current),typeof he=="number"&&("pageSize"in V.props||V.setState({pageSize:he}),"current"in V.props||V.setState({current:te,currentInputValue:te})),V.props.onShowSizeChange(te,he),"onChange"in V.props&&V.props.onChange&&V.props.onChange(te,he)},V.handleChange=function(he){var te=V.props.disabled,Z=he;if(V.isValid(Z)&&!te){var ge=F(void 0,V.state,V.props);Z>ge?Z=ge:Z<1&&(Z=1),"current"in V.props||V.setState({current:Z,currentInputValue:Z});var Re=V.state.pageSize;return V.props.onChange(Z,Re),Z}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<F(void 0,V.state,V.props)},V.runIfEnter=function(he,te){if(he.key==="Enter"||he.charCode===13){for(var Z=arguments.length,ge=new Array(Z>2?Z-2:0),Re=2;Re<Z;Re++)ge[Re-2]=arguments[Re];te.apply(void 0,ge)}},V.runIfEnterPrev=function(he){V.runIfEnter(he,V.prev)},V.runIfEnterNext=function(he){V.runIfEnter(he,V.next)},V.runIfEnterJumpPrev=function(he){V.runIfEnter(he,V.jumpPrev)},V.runIfEnterJumpNext=function(he){V.runIfEnter(he,V.jumpNext)},V.handleGoTO=function(he){(he.keyCode===p.ENTER||he.type==="click")&&V.handleChange(V.state.currentInputValue)};var J=Q.onChange!==O,fe="current"in Q;fe&&!J&&console.warn("Warning: You provided a `current` prop to a Pagination component without an `onChange` handler. This will render a read-only component.");var oe=Q.defaultCurrent;"current"in Q&&(oe=Q.current);var Le=Q.defaultPageSize;return"pageSize"in Q&&(Le=Q.pageSize),oe=Math.min(oe,F(Le,void 0,Q)),V.state={current:oe,currentInputValue:oe,pageSize:Le},V}return Object(r.a)(ue,[{key:"componentDidUpdate",value:function(V,J){var fe=this.props.prefixCls;if(J.current!==this.state.current&&this.paginationNode){var oe=this.paginationNode.querySelector(".".concat(fe,"-item-").concat(J.current));oe&&document.activeElement===oe&&oe.blur()}}},{key:"getValidValue",value:function(V){var J=V.target.value,fe=F(void 0,this.state,this.props),oe=this.state.currentInputValue,Le;return J===""?Le=J:isNaN(Number(J))?Le=oe:J>=fe?Le=fe:Le=Number(J),Le}},{key:"getShowSizeChanger",value:function(){var V=this.props,J=V.showSizeChanger,fe=V.total,oe=V.totalBoundaryShowSizeChanger;return typeof J!="undefined"?J:fe>oe}},{key:"renderPrev",value:function(V){var J=this.props,fe=J.prevIcon,oe=J.itemRender,Le=oe(V,"prev",this.getItemIcon(fe,"prev page")),he=!this.hasPrev();return Object(v.isValidElement)(Le)?Object(v.cloneElement)(Le,{disabled:he}):Le}},{key:"renderNext",value:function(V){var J=this.props,fe=J.nextIcon,oe=J.itemRender,Le=oe(V,"next",this.getItemIcon(fe,"next page")),he=!this.hasNext();return Object(v.isValidElement)(Le)?Object(v.cloneElement)(Le,{disabled:he}):Le}},{key:"render",value:function(){var V=this,J=this.props,fe=J.prefixCls,oe=J.className,Le=J.style,he=J.disabled,te=J.hideOnSinglePage,Z=J.total,ge=J.locale,Re=J.showQuickJumper,ze=J.showLessItems,dt=J.showTitle,De=J.showTotal,Tt=J.simple,je=J.itemRender,st=J.showPrevNextJumpers,Xe=J.jumpPrevIcon,Je=J.jumpNextIcon,et=J.selectComponentClass,at=J.selectPrefixCls,Ve=J.pageSizeOptions,le=this.state,ae=le.current,lt=le.pageSize,Ze=le.currentInputValue;if(te===!0&&Z<=lt)return null;var Te=F(void 0,this.state,this.props),Jt=[],mt=null,ft=null,bt=null,It=null,or=null,Pt=Re&&Re.goButton,_e=ze?1:2,Ce=ae-1>0?ae-1:0,Ee=ae+1<Te?ae+1:Te,we=Object.keys(this.props).reduce(function(Oe,ke){return(ke.substr(0,5)==="data-"||ke.substr(0,5)==="aria-"||ke==="role")&&(Oe[ke]=V.props[ke]),Oe},{});if(Tt)return Pt&&(typeof Pt=="boolean"?or=h.a.createElement("button",{type:"button",onClick:this.handleGoTO,onKeyUp:this.handleGoTO},ge.jump_to_confirm):or=h.a.createElement("span",{onClick:this.handleGoTO,onKeyUp:this.handleGoTO},Pt),or=h.a.createElement("li",{title:dt?"".concat(ge.jump_to).concat(ae,"/").concat(Te):null,className:"".concat(fe,"-simple-pager")},or)),h.a.createElement("ul",Object(c.a)({className:t()(fe,"".concat(fe,"-simple"),Object(a.a)({},"".concat(fe,"-disabled"),he),oe),style:Le,ref:this.savePaginationNode},we),h.a.createElement("li",{title:dt?ge.prev_page:null,onClick:this.prev,tabIndex:this.hasPrev()?0:null,onKeyPress:this.runIfEnterPrev,className:t()("".concat(fe,"-prev"),Object(a.a)({},"".concat(fe,"-disabled"),!this.hasPrev())),"aria-disabled":!this.hasPrev()},this.renderPrev(Ce)),h.a.createElement("li",{title:dt?"".concat(ae,"/").concat(Te):null,className:"".concat(fe,"-simple-pager")},h.a.createElement("input",{type:"text",value:Ze,disabled:he,onKeyDown:this.handleKeyDown,onKeyUp:this.handleKeyUp,onChange:this.handleKeyUp,size:"3"}),h.a.createElement("span",{className:"".concat(fe,"-slash")},"/"),Te),h.a.createElement("li",{title:dt?ge.next_page:null,onClick:this.next,tabIndex:this.hasPrev()?0:null,onKeyPress:this.runIfEnterNext,className:t()("".concat(fe,"-next"),Object(a.a)({},"".concat(fe,"-disabled"),!this.hasNext())),"aria-disabled":!this.hasNext()},this.renderNext(Ee)),or);if(Te<=3+_e*2){var Fe={locale:ge,rootPrefixCls:fe,onClick:this.handleChange,onKeyPress:this.runIfEnter,showTitle:dt,itemRender:je};Te||Jt.push(h.a.createElement(u,Object(c.a)({},Fe,{key:"noPager",page:Te,className:"".concat(fe,"-disabled")})));for(var Ye=1;Ye<=Te;Ye+=1){var Ge=ae===Ye;Jt.push(h.a.createElement(u,Object(c.a)({},Fe,{key:Ye,page:Ye,active:Ge})))}}else{var qe=ze?ge.prev_3:ge.prev_5,Ke=ze?ge.next_3:ge.next_5;st&&(mt=h.a.createElement("li",{title:dt?qe:null,key:"prev",onClick:this.jumpPrev,tabIndex:"0",onKeyPress:this.runIfEnterJumpPrev,className:t()("".concat(fe,"-jump-prev"),Object(a.a)({},"".concat(fe,"-jump-prev-custom-icon"),!!Xe))},je(this.getJumpPrevPage(),"jump-prev",this.getItemIcon(Xe,"prev page"))),ft=h.a.createElement("li",{title:dt?Ke:null,key:"next",tabIndex:"0",onClick:this.jumpNext,onKeyPress:this.runIfEnterJumpNext,className:t()("".concat(fe,"-jump-next"),Object(a.a)({},"".concat(fe,"-jump-next-custom-icon"),!!Je))},je(this.getJumpNextPage(),"jump-next",this.getItemIcon(Je,"next page")))),It=h.a.createElement(u,{locale:ge,last:!0,rootPrefixCls:fe,onClick:this.handleChange,onKeyPress:this.runIfEnter,key:Te,page:Te,active:!1,showTitle:dt,itemRender:je}),bt=h.a.createElement(u,{locale:ge,rootPrefixCls:fe,onClick:this.handleChange,onKeyPress:this.runIfEnter,key:1,page:1,active:!1,showTitle:dt,itemRender:je});var ct=Math.max(1,ae-_e),wt=Math.min(ae+_e,Te);ae-1<=_e&&(wt=1+_e*2),Te-ae<=_e&&(ct=Te-_e*2);for(var Lt=ct;Lt<=wt;Lt+=1){var de=ae===Lt;Jt.push(h.a.createElement(u,{locale:ge,rootPrefixCls:fe,onClick:this.handleChange,onKeyPress:this.runIfEnter,key:Lt,page:Lt,active:de,showTitle:dt,itemRender:je}))}ae-1>=_e*2&&ae!==1+2&&(Jt[0]=Object(v.cloneElement)(Jt[0],{className:"".concat(fe,"-item-after-jump-prev")}),Jt.unshift(mt)),Te-ae>=_e*2&&ae!==Te-2&&(Jt[Jt.length-1]=Object(v.cloneElement)(Jt[Jt.length-1],{className:"".concat(fe,"-item-before-jump-next")}),Jt.push(ft)),ct!==1&&Jt.unshift(bt),wt!==Te&&Jt.push(It)}var xe=null;De&&(xe=h.a.createElement("li",{className:"".concat(fe,"-total-text")},De(Z,[Z===0?0:(ae-1)*lt+1,ae*lt>Z?Z:ae*lt])));var $=!this.hasPrev()||!Te,se=!this.hasNext()||!Te;return h.a.createElement("ul",Object(c.a)({className:t()(fe,oe,Object(a.a)({},"".concat(fe,"-disabled"),he)),style:Le,unselectable:"unselectable",ref:this.savePaginationNode},we),xe,h.a.createElement("li",{title:dt?ge.prev_page:null,onClick:this.prev,tabIndex:$?null:0,onKeyPress:this.runIfEnterPrev,className:t()("".concat(fe,"-prev"),Object(a.a)({},"".concat(fe,"-disabled"),$)),"aria-disabled":$},this.renderPrev(Ce)),Jt,h.a.createElement("li",{title:dt?ge.next_page:null,onClick:this.next,tabIndex:se?null:0,onKeyPress:this.runIfEnterNext,className:t()("".concat(fe,"-next"),Object(a.a)({},"".concat(fe,"-disabled"),se)),"aria-disabled":se},this.renderNext(Ee)),h.a.createElement(w,{disabled:he,locale:ge,rootPrefixCls:fe,selectComponentClass:et,selectPrefixCls:at,changeSize:this.getShowSizeChanger()?this.changePageSize:null,current:ae,pageSize:lt,pageSizeOptions:Ve,quickGo:this.shouldDisplayQuickJumper()?this.handleChange:null,goButton:Pt}))}}],[{key:"getDerivedStateFromProps",value:function(V,J){var fe={};if("current"in V&&(fe.current=V.current,V.current!==J.current&&(fe.currentInputValue=fe.current)),"pageSize"in V&&V.pageSize!==J.pageSize){var oe=J.current,Le=F(V.pageSize,J,V);oe=oe>Le?Le:oe,"current"in V||(fe.current=oe,fe.currentInputValue=oe),fe.pageSize=V.pageSize}return fe}}]),ue}(h.a.Component);P.defaultProps={defaultCurrent:1,total:0,defaultPageSize:10,onChange:O,className:"",selectPrefixCls:"rc-select",prefixCls:"rc-pagination",selectComponentClass:null,hideOnSinglePage:!1,showPrevNextJumpers:!0,showQuickJumper:!1,showLessItems:!1,showTitle:!0,onShowSizeChange:O,locale:E.a,style:{},itemRender:M,totalBoundaryShowSizeChanger:50};var j=P,K=e("H4fg"),N=e("DFhj"),B=e.n(N),U=e("fEPi"),H=e.n(U),z=e("u9fO"),X=e.n(z),W=e("mO/d"),Y=e.n(W),q=e("2fM7"),me=function(ot){return v.createElement(q.a,m()({size:"small"},ot))};me.Option=q.a.Option;var G=me,ye=e("YMnH"),Ae=e("H84U"),ve=e("5OYt"),Ue=function(be,ot){var ue={};for(var Q in be)Object.prototype.hasOwnProperty.call(be,Q)&&ot.indexOf(Q)<0&&(ue[Q]=be[Q]);if(be!=null&&typeof Object.getOwnPropertySymbols=="function")for(var V=0,Q=Object.getOwnPropertySymbols(be);V<Q.length;V++)ot.indexOf(Q[V])<0&&Object.prototype.propertyIsEnumerable.call(be,Q[V])&&(ue[Q[V]]=be[Q[V]]);return ue},Me=function(ot){var ue=ot.prefixCls,Q=ot.selectPrefixCls,V=ot.className,J=ot.size,fe=ot.locale,oe=Ue(ot,["prefixCls","selectPrefixCls","className","size","locale"]),Le=Object(ve.a)(),he=Le.xs,te=v.useContext(Ae.b),Z=te.getPrefixCls,ge=te.direction,Re=Z("pagination",ue),ze=function(){var Tt=v.createElement("span",{className:"".concat(Re,"-item-ellipsis")},"\u2022\u2022\u2022"),je=v.createElement("button",{className:"".concat(Re,"-item-link"),type:"button",tabIndex:-1},v.createElement(B.a,null)),st=v.createElement("button",{className:"".concat(Re,"-item-link"),type:"button",tabIndex:-1},v.createElement(H.a,null)),Xe=v.createElement("a",{className:"".concat(Re,"-item-link")},v.createElement("div",{className:"".concat(Re,"-item-container")},v.createElement(X.a,{className:"".concat(Re,"-item-link-icon")}),Tt)),Je=v.createElement("a",{className:"".concat(Re,"-item-link")},v.createElement("div",{className:"".concat(Re,"-item-container")},v.createElement(Y.a,{className:"".concat(Re,"-item-link-icon")}),Tt));if(ge==="rtl"){var et=[st,je];je=et[0],st=et[1];var at=[Je,Xe];Xe=at[0],Je=at[1]}return{prevIcon:je,nextIcon:st,jumpPrevIcon:Xe,jumpNextIcon:Je}},dt=function(Tt){var je=m()(m()({},Tt),fe),st=J==="small"||!!(he&&!J&&oe.responsive),Xe=Z("select",Q),Je=t()(V,f()({mini:st},"".concat(Re,"-rtl"),ge==="rtl"));return v.createElement(j,m()({},oe,{prefixCls:Re,selectPrefixCls:Xe},ze(),{className:Je,selectComponentClass:st?G:q.a,locale:je}))};return v.createElement(ye.a,{componentName:"Pagination",defaultLocale:K.a},dt)},nt=Me,ne=D.a=nt},NohK:function(R,D,e){"use strict";Object.defineProperty(D,"__esModule",{value:!0}),D.default=void 0;var g=function(A){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(){A.apply(h,a)},m)}};D.default=g},Npjl:function(R,D){function e(g,f){return g==null?void 0:g[f]}R.exports=e},Nu4q:function(R,D,e){"use strict";Object.defineProperty(D,"__esModule",{value:!0});var g={icon:function(A,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:A}},{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:A}}]}},name:"picture",theme:"twotone"};D.default=g},NvD2:function(R,D,e){"use strict";e.d(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 A(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 x=p.key,S=p.node,T=p.children,w=T===void 0?[]:T;o.has(x)&&!r(S)&&w.filter(function(E){return!r(E.node)}).forEach(function(E){o.add(E.key)})})}for(var t=new Set,s=i;s>=0;s-=1){var u=a.get(s)||new Set;u.forEach(function(p){var x=p.parent,S=p.node;if(r(S)||!p.parent||t.has(p.parent.key))return;if(r(p.parent.node)){t.add(x.key);return}var T=!0,w=!1;(x.children||[]).filter(function(E){return!r(E.node)}).forEach(function(E){var C=E.key,_=o.has(C);T&&!_&&(T=!1),!w&&(_||d.has(C))&&(w=!0)}),T&&o.add(x.key),w&&d.add(x.key),t.add(x.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(x){var S=x.key,T=x.node,w=x.children,E=w===void 0?[]:w;!d.has(S)&&!n.has(S)&&!o(T)&&E.filter(function(C){return!o(C.node)}).forEach(function(C){d.delete(C.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(x){var S=x.parent,T=x.node;if(o(T)||!x.parent||s.has(x.parent.key))return;if(o(x.parent.node)){s.add(S.key);return}var w=!0,E=!1;(S.children||[]).filter(function(C){return!o(C.node)}).forEach(function(C){var _=C.key,y=d.has(_);w&&!y&&(w=!1),!E&&(y||n.has(_))&&(E=!0)}),w||d.delete(S.key),E&&n.add(S.key),s.add(S.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=A;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],x=p.level,S=l.get(x);S||(S=new Set,l.set(x,S)),S.add(p),t=Math.max(t,x)}),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(R,D,e){},O3gP:function(R,D,e){"use strict";var g=e("cIOH"),f=e.n(g),A=e("O/iA"),m=e.n(A),v=e("OaEy")},OELB:function(R,D,e){var g=e("bYtY"),f=1e-4;function A(E){return E.replace(/^\s+|\s+$/g,"")}function m(E,C,_,y){var b=C[1]-C[0],O=_[1]-_[0];if(b===0)return O===0?_[0]:(_[0]+_[1])/2;if(y)if(b>0){if(E<=C[0])return _[0];if(E>=C[1])return _[1]}else{if(E>=C[0])return _[0];if(E<=C[1])return _[1]}else{if(E===C[0])return _[0];if(E===C[1])return _[1]}return(E-C[0])/b*O+_[0]}function v(E,C){switch(E){case"center":case"middle":E="50%";break;case"left":case"top":E="0%";break;case"right":case"bottom":E="100%";break}return typeof E=="string"?A(E).match(/%$/)?parseFloat(E)/100*C:parseFloat(E):E==null?NaN:+E}function h(E,C,_){return C==null&&(C=10),C=Math.min(Math.max(0,C),20),E=(+E).toFixed(C),_?E:+E}function c(E){return E.sort(function(C,_){return C-_}),E}function a(E){if(E=+E,isNaN(E))return 0;for(var C=1,_=0;Math.round(E*C)/C!==E;)C*=10,_++;return _}function i(E){var C=E.toString(),_=C.indexOf("e");if(_>0){var y=+C.slice(_+1);return y<0?-y:0}else{var b=C.indexOf(".");return b<0?0:C.length-1-b}}function r(E,C){var _=Math.log,y=Math.LN10,b=Math.floor(_(E[1]-E[0])/y),O=Math.round(_(Math.abs(C[1]-C[0]))/y),I=Math.min(Math.max(-b+O,0),20);return isFinite(I)?I:20}function o(E,C,_){if(!E[C])return 0;var y=g.reduce(E,function(U,H){return U+(isNaN(H)?0:H)},0);if(y===0)return 0;for(var b=Math.pow(10,_),O=g.map(E,function(U){return(isNaN(U)?0:U)/y*b*100}),I=b*100,M=g.map(O,function(U){return Math.floor(U)}),F=g.reduce(M,function(U,H){return U+H},0),P=g.map(O,function(U,H){return U-M[H]});F<I;){for(var j=Number.NEGATIVE_INFINITY,K=null,N=0,B=P.length;N<B;++N)P[N]>j&&(j=P[N],K=N);++M[K],P[K]=0,++F}return M[C]/b}var d=9007199254740991;function n(E){var C=Math.PI*2;return(E%C+C)%C}function l(E){return E>-f&&E<f}var t=/^(?:(\d{4})(?:[-\/](\d{1,2})(?:[-\/](\d{1,2})(?:[T ](\d{1,2})(?::(\d\d)(?::(\d\d)(?:[.,](\d+))?)?)?(Z|[\+\-]\d\d:?\d\d)?)?)?)?)?$/;function s(E){if(E instanceof Date)return E;if(typeof E=="string"){var C=t.exec(E);if(!C)return new Date(NaN);if(C[8]){var _=+C[4]||0;return C[8].toUpperCase()!=="Z"&&(_-=C[8].slice(0,3)),new Date(Date.UTC(+C[1],+(C[2]||1)-1,+C[3]||1,_,+(C[5]||0),+C[6]||0,+C[7]||0))}else return new Date(+C[1],+(C[2]||1)-1,+C[3]||1,+C[4]||0,+(C[5]||0),+C[6]||0,+C[7]||0)}else if(E==null)return new Date(NaN);return new Date(Math.round(E))}function u(E){return Math.pow(10,p(E))}function p(E){if(E===0)return 0;var C=Math.floor(Math.log(E)/Math.LN10);return E/Math.pow(10,C)>=10&&C++,C}function x(E,C){var _=p(E),y=Math.pow(10,_),b=E/y,O;return C?b<1.5?O=1:b<2.5?O=2:b<4?O=3:b<7?O=5:O=10:b<1?O=1:b<2?O=2:b<3?O=3:b<5?O=5:O=10,E=O*y,_>=-20?+E.toFixed(_<0?-_:0):E}function S(E,C){var _=(E.length-1)*C+1,y=Math.floor(_),b=+E[y-1],O=_-y;return O?b+O*(E[y]-b):b}function T(E){E.sort(function(F,P){return M(F,P,0)?-1:1});for(var C=-Infinity,_=1,y=0;y<E.length;){for(var b=E[y].interval,O=E[y].close,I=0;I<2;I++)b[I]<=C&&(b[I]=C,O[I]=I?1:1-_),C=b[I],_=O[I];b[0]===b[1]&&O[0]*O[1]!==1?E.splice(y,1):y++}return E;function M(F,P,j){return F.interval[j]<P.interval[j]||F.interval[j]===P.interval[j]&&(F.close[j]-P.close[j]===(j?-1:1)||!j&&M(F,P,1))}}function w(E){return E-parseFloat(E)>=0}D.linearMap=m,D.parsePercent=v,D.round=h,D.asc=c,D.getPrecision=a,D.getPrecisionSafe=i,D.getPixelPrecision=r,D.getPercentWithPrecision=o,D.MAX_SAFE_INTEGER=d,D.remRadian=n,D.isRadianAroundZero=l,D.parseDate=s,D.quantity=u,D.quantityExponent=p,D.nice=x,D.quantile=S,D.reformIntervals=T,D.isNumeric=w},OKJ2:function(R,D,e){var g=e("KxfA"),f=g.retrieveRawValue,A=e("7aKB"),m=A.getTooltipMarker,v=A.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"),x=this.ecModel.getComponent("tooltip"),S=x&&x.get("renderMode"),T=c(S),w=this.mainType,E=w==="series",C=d.userOutput;return{componentType:w,componentSubType:this.subType,componentIndex:this.componentIndex,seriesType:E?this.subType:null,seriesIndex:this.seriesIndex,seriesId:E?this.id:null,seriesName:E?this.name:null,name:t,dataIndex:l,data:s,dataType:o,value:n,color:u,borderColor:p,dimensionNames:C?C.dimensionNames:null,encode:C?C.encode:null,marker:m({color:u,renderMode:T}),$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 x=v(p,u);return x.replace(a,function(S,T){var w=T.length;return T.charAt(0)==="["&&T.charAt(w-1)==="]"&&(T=+T.slice(1,w-1)),f(t,r,T)})}},getRawValue:function(r,o){return f(this.getData(o),r)},formatTooltip:function(){}};R.exports=i},OPEp:function(R,D,e){},OQFs:function(R,D,e){var g=e("KCsZ"),f=g([["lineWidth","width"],["stroke","color"],["opacity"],["shadowBlur"],["shadowOffsetX"],["shadowOffsetY"],["shadowColor"]]),A={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]}};R.exports=A},OS9S:function(R,D,e){var g=e("bYtY"),f=g.inherits,A=e("Gev7"),m=e("mFDi");function v(a){A.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,A);var c=v;R.exports=c},OUJF:function(R,D,e){var g=e("ProS"),f=e("bYtY");g.registerAction({type:"timelineChange",event:"timelineChanged",update:"prepareAndUpdate"},function(A,m){var v=m.getComponent("timeline");return v&&A.currentIndex!=null&&(v.setCurrentIndex(A.currentIndex),!v.get("loop",!0)&&v.isIndexMax()&&v.setPlayState(!1)),m.resetOption("timeline"),f.defaults({currentIndex:v.option.currentIndex},A)}),g.registerAction({type:"timelinePlayChange",event:"timelinePlayChanged",update:"update"},function(A,m){var v=m.getComponent("timeline");v&&A.playState!=null&&v.setPlayState(A.playState)})},OXB0:function(R,D,e){var g=e("T4UG"),f=e("MwEJ"),A=e("IDmD"),m=g.extend({type:"series.heatmap",getInitialData:function(v,h){return f(this.getSource(),this,{generateCoord:"value"})},preventIncremental:function(){var v=A.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}});R.exports=m},OZM5:function(R,D,e){"use strict";e.d(D,"b",function(){return r}),e.d(D,"a",function(){return o}),e.d(D,"k",function(){return d}),e.d(D,"h",function(){return n}),e.d(D,"i",function(){return l}),e.d(D,"g",function(){return t}),e.d(D,"c",function(){return s}),e.d(D,"d",function(){return u}),e.d(D,"j",function(){return S}),e.d(D,"e",function(){return T}),e.d(D,"f",function(){return w});var g=e("KQm4"),f=e("U8pU"),A=e("Ff2n"),m=e("q1tI"),v=e.n(m),h=e("Kwbf"),c=e("WaYH"),a=.25,i=2;function r(E,C){var _=E.slice(),y=_.indexOf(C);return y>=0&&_.splice(y,1),_}function o(E,C){var _=E.slice();return _.indexOf(C)===-1&&_.push(C),_}function d(E){return E.split("-")}function n(E,C){return"".concat(E,"-").concat(C)}function l(E){return E&&E.type&&E.type.isTreeNode}function t(E,C){var _=[E],y=C[E];function b(){var O=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[];O.forEach(function(I){var M=I.key,F=I.children;_.push(M),b(F)})}return b(y.children),_}function s(E,C){var _=E.clientY,y=C.selectHandle.getBoundingClientRect(),b=y.top,O=y.bottom,I=y.height,M=Math.max(I*a,i);return _<=b+M?-1:_>=O-M?1:0}function u(E,C){if(!E)return;var _=C.multiple;return _?E.slice():E.length?[E[0]]:E}var p=function(C){return C};function x(E,C){if(!E)return[];var _=C||{},y=_.processProps,b=y===void 0?p:y,O=Array.isArray(E)?E:[E];return O.map(function(I){var M=I.children,F=Object(A.a)(I,["children"]),P=x(M,C);return v.a.createElement(c.a,Object.assign({},b(F)),P)})}function S(E){if(!E)return null;var C;if(Array.isArray(E))C={checkedKeys:E,halfCheckedKeys:void 0};else if(Object(f.a)(E)==="object")C={checkedKeys:E.checked||void 0,halfCheckedKeys:E.halfChecked||void 0};else return Object(h.a)(!1,"`checkedKeys` is not an array or an object"),null;return C}function T(E,C){var _=new Set;function y(b){if(_.has(b))return;var O=C[b];if(!O)return;_.add(b);var I=O.parent,M=O.node;if(M.disabled)return;I&&y(I.key)}return(E||[]).forEach(function(b){y(b)}),Object(g.a)(_)}function w(E){var C={};return Object.keys(E).forEach(function(_){(_.startsWith("data-")||_.startsWith("aria-"))&&(C[_]=E[_])}),C}},OaEy:function(R,D,e){"use strict";var g=e("cIOH"),f=e.n(g),A=e("bKJz"),m=e.n(A),v=e("R9oj")},"Of+w":function(R,D,e){var g=e("Cwc5"),f=e("Kz5y"),A=g(f,"WeakMap");R.exports=A},Ol7k:function(R,D,e){"use strict";var g=e("PKem"),f=e("ZX9x");g.b.Sider=f.b,D.a=g.b},OlYY:function(R,D,e){var g=e("Tghj"),f=g.__DEV__,A=e("ProS"),m=e("bYtY"),v=e("ItGF"),h=e("4NO4"),c=e("UOVi"),a=e("zDms"),i=m.each,r=c.eachAxisDim,o=A.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,x){this._rangePropMode[x]==="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,x){var S=this.dependentModels[s.axis][u],T=S.__dzAxisProxy||(S.__dzAxisProxy=new a(s.name,u,this,x));t[s.name+"_"+u]=T},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 x=s==="vertical"?"y":"x";p[x+"Axis"].length?(u[x+"AxisIndex"]=[0],t=!1):i(p.singleAxis,function(S){t&&S.get("orient",!0)===s&&(u.singleAxisIndex=[S.componentIndex],t=!1)})}t&&r(function(S){if(!t)return;var T=[],w=this.dependentModels[S.axis];if(w.length&&!T.length)for(var E=0,C=w.length;E<C;E++)w[E].get("type")==="category"&&T.push(E);u[S.axisIndex]=T,T.length&&(t=!1)},this),t&&this.ecModel.eachSeries(function(S){this._isSeriesHasAllAxesTypeOf(S,"value")&&r(function(T){var w=u[T.axisIndex],E=S.get(T.axisIndex),C=S.get(T.axisId),_=S.ecModel.queryComponents({mainType:T.axis,index:E,id:C})[0];E=_.componentIndex,m.indexOf(w,E)<0&&w.push(E)})},this)},_autoSetOrient:function(){var t;this.eachTargetAxis(function(s){!t&&(t=s.name)},this),this.option.orient=t==="y"?"vertical":"horizontal"},_isSeriesHasAllAxesTypeOf:function(t,s){var u=!0;return r(function(p){var x=t.get(p.axisIndex),S=this.dependentModels[p.axis][x];(!S||S.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(x){t.call(s,p,x,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(x,S){var T=s[x[0]]!=null,w=s[x[1]]!=null;T&&!w?u[S]="percent":!T&&w?u[S]="value":p?u[S]=p[S]:T&&(u[S]="percent")})}var l=o;R.exports=l},OnYD:function(R,D,e){},"Oy/b":function(R,D,e){(function(f,A){R.exports=A()})(typeof self!="undefined"?self:this,function(){return function(g){var f={};function A(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,A),v.l=!0,v.exports}return A.m=g,A.c=f,A.d=function(m,v,h){A.o(m,v)||Object.defineProperty(m,v,{enumerable:!0,get:h})},A.r=function(m){typeof Symbol!="undefined"&&Symbol.toStringTag&&Object.defineProperty(m,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(m,"__esModule",{value:!0})},A.t=function(m,v){if(v&1&&(m=A(m)),v&8)return m;if(v&4&&typeof m=="object"&&m&&m.__esModule)return m;var h=Object.create(null);if(A.r(h),Object.defineProperty(h,"default",{enumerable:!0,value:m}),v&2&&typeof m!="string")for(var c in m)A.d(h,c,function(a){return m[a]}.bind(null,c));return h},A.n=function(m){var v=m&&m.__esModule?function(){return m.default}:function(){return m};return A.d(v,"a",v),v},A.o=function(m,v){return Object.prototype.hasOwnProperty.call(m,v)},A.p="",A(A.s=1)}([function(g,f,A){},function(g,f,A){"use strict";A.r(f);var m=A(0),v=function(){function Bt(pe,Ie,Ne){this.lexer=void 0,this.start=void 0,this.end=void 0,this.lexer=pe,this.start=Ie,this.end=Ne}return Bt.range=function(Ie,Ne){return Ne?!Ie||!Ie.loc||!Ne.loc||Ie.loc.lexer!==Ne.loc.lexer?null:new Bt(Ie.loc.lexer,Ie.loc.start,Ne.loc.end):Ie&&Ie.loc},Bt}(),h=function(){function Bt(Ie,Ne){this.text=void 0,this.loc=void 0,this.text=Ie,this.loc=Ne}var pe=Bt.prototype;return pe.range=function(Ne,Qe){return new Bt(Qe,v.range(this,Ne))},Bt}(),c=function Bt(pe,Ie){this.position=void 0;var Ne="KaTeX parse error: "+pe,Qe,Ct=Ie&&Ie.loc;if(Ct&&Ct.start<=Ct.end){var Ut=Ct.lexer.input;Qe=Ct.start;var hr=Ct.end;Qe===Ut.length?Ne+=" at end of input: ":Ne+=" at position "+(Qe+1)+": ";var gr=Ut.slice(Qe,hr).replace(/[^]/g,"$&\u0332"),Rr;Qe>15?Rr="\u2026"+Ut.slice(Qe-15,Qe):Rr=Ut.slice(0,Qe);var $r;hr+15<Ut.length?$r=Ut.slice(hr,hr+15)+"\u2026":$r=Ut.slice(hr),Ne+=Rr+gr+$r}var ln=new Error(Ne);return ln.name="ParseError",ln.__proto__=Bt.prototype,ln.position=Qe,ln};c.prototype.__proto__=Error.prototype;var a=c,i=function(pe,Ie){return pe.indexOf(Ie)!==-1},r=function(pe,Ie){return pe===void 0?Ie:pe},o=/([A-Z])/g,d=function(pe){return pe.replace(o,"-$1").toLowerCase()},n={"&":"&",">":">","<":"<",'"':""","'":"'"},l=/[&><"']/g;function t(Bt){return String(Bt).replace(l,function(pe){return n[pe]})}var s=function Bt(pe){return pe.type==="ordgroup"||pe.type==="color"?pe.body.length===1?Bt(pe.body[0]):pe:pe.type==="font"?Bt(pe.body):pe},u=function(pe){var Ie=s(pe);return Ie.type==="mathord"||Ie.type==="textord"||Ie.type==="atom"},p=function(pe){if(!pe)throw new Error("Expected non-null, but got "+String(pe));return pe},x=function(pe){var Ie=/^\s*([^\\/#]*?)(?::|�*58|�*3a)/i.exec(pe);return Ie!=null?Ie[1]:"_relative"},S={contains:i,deflt:r,escape:t,hyphenate:d,getBaseElem:s,isCharacterBox:u,protocolFromUrl:x},T=function(){function Bt(Ie){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,Ie=Ie||{},this.displayMode=S.deflt(Ie.displayMode,!1),this.output=S.deflt(Ie.output,"htmlAndMathml"),this.leqno=S.deflt(Ie.leqno,!1),this.fleqn=S.deflt(Ie.fleqn,!1),this.throwOnError=S.deflt(Ie.throwOnError,!0),this.errorColor=S.deflt(Ie.errorColor,"#cc0000"),this.macros=Ie.macros||{},this.minRuleThickness=Math.max(0,S.deflt(Ie.minRuleThickness,0)),this.colorIsTextColor=S.deflt(Ie.colorIsTextColor,!1),this.strict=S.deflt(Ie.strict,"warn"),this.trust=S.deflt(Ie.trust,!1),this.maxSize=Math.max(0,S.deflt(Ie.maxSize,Infinity)),this.maxExpand=Math.max(0,S.deflt(Ie.maxExpand,1e3))}var pe=Bt.prototype;return pe.reportNonstrict=function(Ne,Qe,Ct){var Ut=this.strict;if(typeof Ut=="function"&&(Ut=Ut(Ne,Qe,Ct)),!Ut||Ut==="ignore")return;if(Ut===!0||Ut==="error")throw new a("LaTeX-incompatible input and strict mode is set to 'error': "+(Qe+" ["+Ne+"]"),Ct);Ut==="warn"?typeof console!="undefined"&&console.warn("LaTeX-incompatible input and strict mode is set to 'warn': "+(Qe+" ["+Ne+"]")):typeof console!="undefined"&&console.warn("LaTeX-incompatible input and strict mode is set to "+("unrecognized '"+Ut+"': "+Qe+" ["+Ne+"]"))},pe.useStrictBehavior=function(Ne,Qe,Ct){var Ut=this.strict;if(typeof Ut=="function")try{Ut=Ut(Ne,Qe,Ct)}catch(hr){Ut="error"}return!Ut||Ut==="ignore"?!1:Ut===!0||Ut==="error"?!0:Ut==="warn"?(typeof console!="undefined"&&console.warn("LaTeX-incompatible input and strict mode is set to 'warn': "+(Qe+" ["+Ne+"]")),!1):(typeof console!="undefined"&&console.warn("LaTeX-incompatible input and strict mode is set to "+("unrecognized '"+Ut+"': "+Qe+" ["+Ne+"]")),!1)},pe.isTrusted=function(Ne){Ne.url&&!Ne.protocol&&(Ne.protocol=S.protocolFromUrl(Ne.url));var Qe=typeof this.trust=="function"?this.trust(Ne):this.trust;return Boolean(Qe)},Bt}(),w=function(){function Bt(Ie,Ne,Qe){this.id=void 0,this.size=void 0,this.cramped=void 0,this.id=Ie,this.size=Ne,this.cramped=Qe}var pe=Bt.prototype;return pe.sup=function(){return F[P[this.id]]},pe.sub=function(){return F[j[this.id]]},pe.fracNum=function(){return F[K[this.id]]},pe.fracDen=function(){return F[N[this.id]]},pe.cramp=function(){return F[B[this.id]]},pe.text=function(){return F[U[this.id]]},pe.isTight=function(){return this.size>=2},Bt}(),E=0,C=1,_=2,y=3,b=4,O=5,I=6,M=7,F=[new w(E,0,!1),new w(C,0,!0),new w(_,1,!1),new w(y,1,!0),new w(b,2,!1),new w(O,2,!0),new w(I,3,!1),new w(M,3,!0)],P=[b,O,b,O,I,M,I,M],j=[O,O,O,O,M,M,M,M],K=[_,y,b,O,I,M,I,M],N=[y,y,O,O,M,M,M,M],B=[C,C,y,y,O,O,M,M],U=[E,C,_,y,_,y,_,y],H={DISPLAY:F[E],TEXT:F[_],SCRIPT:F[b],SCRIPTSCRIPT:F[I]},z=[{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 pe=0;pe<z.length;pe++)for(var Ie=z[pe],Ne=0;Ne<Ie.blocks.length;Ne++){var Qe=Ie.blocks[Ne];if(Bt>=Qe[0]&&Bt<=Qe[1])return Ie.name}return null}var W=[];z.forEach(function(Bt){return Bt.blocks.forEach(function(pe){return W.push.apply(W,pe)})});function Y(Bt){for(var pe=0;pe<W.length;pe+=2)if(Bt>=W[pe]&&Bt<=W[pe+1])return!0;return!1}var q=80,me=function(pe,Ie){return"M95,"+(622+pe+Ie)+`
|
|
|
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`+pe/2.075+" -"+pe+`
|
|
|
c5.3,-9.3,12,-14,20,-14
|
|
|
H400000v`+(40+pe)+`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+pe)+" "+Ie+"h400000v"+(40+pe)+"h-400000z"},G=function(pe,Ie){return"M263,"+(601+pe+Ie)+`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`+pe/2.084+" -"+pe+`
|
|
|
c4.7,-7.3,11,-11,19,-11
|
|
|
H40000v`+(40+pe)+`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+pe)+" "+Ie+"h400000v"+(40+pe)+"h-400000z"},ye=function(pe,Ie){return"M983 "+(10+pe+Ie)+`
|
|
|
l`+pe/3.13+" -"+pe+`
|
|
|
c4,-6.7,10,-10,18,-10 H400000v`+(40+pe)+`
|
|
|
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+pe)+" "+Ie+"h400000v"+(40+pe)+"h-400000z"},Ae=function(pe,Ie){return"M424,"+(2398+pe+Ie)+`
|
|
|
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`+pe/4.223+" -"+pe+`c4,-6.7,10,-10,18,-10 H400000
|
|
|
v`+(40+pe)+`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+pe)+" "+Ie+`
|
|
|
h400000v`+(40+pe)+"h-400000z"},ve=function(pe,Ie){return"M473,"+(2713+pe+Ie)+`
|
|
|
c339.3,-1799.3,509.3,-2700,510,-2702 l`+pe/5.298+" -"+pe+`
|
|
|
c3.3,-7.3,9.3,-11,18,-11 H400000v`+(40+pe)+`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+pe)+" "+Ie+"h400000v"+(40+pe)+"H1017.7z"},Ue=function(pe,Ie,Ne){var Qe=Ne-54-Ie-pe;return"M702 "+(pe+Ie)+"H400000"+(40+pe)+`
|
|
|
H742v`+Qe+`l-4 4-4 4c-.667.7 -2 1.5-4 2.5s-4.167 1.833-6.5 2.5-5.5 1-9.5 1
|
|
|
h-12l-28-84c-16.667-52-96.667 -294.333-240-727l-212 -643 -85 170
|
|
|
c-4-3.333-8.333-7.667-13 -13l-13-13l77-155 77-156c66 199.333 139 419.667
|
|
|
219 661 l218 661zM702 `+Ie+"H400000v"+(40+pe)+"H742z"},Me=function(pe,Ie,Ne){Ie=1e3*Ie;var Qe="";switch(pe){case"sqrtMain":Qe=me(Ie,q);break;case"sqrtSize1":Qe=G(Ie,q);break;case"sqrtSize2":Qe=ye(Ie,q);break;case"sqrtSize3":Qe=Ae(Ie,q);break;case"sqrtSize4":Qe=ve(Ie,q);break;case"sqrtTall":Qe=Ue(Ie,q,Ne)}return Qe},nt={doubleleftarrow:`M262 157
|
|
|
l10-10c34-36 62.7-77 86-123 3.3-8 5-13.3 5-16 0-5.3-6.7-8-20-8-7.3
|
|
|
0-12.2.5-14.5 1.5-2.3 1-4.8 4.5-7.5 10.5-49.3 97.3-121.7 169.3-217 216-28
|
|
|
14-57.3 25-88 33-6.7 2-11 3.8-13 5.5-2 1.7-3 4.2-3 7.5s1 5.8 3 7.5
|
|
|
c2 1.7 6.3 3.5 13 5.5 68 17.3 128.2 47.8 180.5 91.5 52.3 43.7 93.8 96.2 124.5
|
|
|
157.5 9.3 8 15.3 12.3 18 13h6c12-.7 18-4 18-10 0-2-1.7-7-5-15-23.3-46-52-87
|
|
|
-86-123l-10-10h399738v-40H218c328 0 0 0 0 0l-10-8c-26.7-20-65.7-43-117-69 2.7
|
|
|
-2 6-3.7 10-5 36.7-16 72.3-37.3 107-64l10-8h399782v-40z
|
|
|
m8 0v40h399730v-40zm0 194v40h399730v-40z`,doublerightarrow:`M399738 392l
|
|
|
-10 10c-34 36-62.7 77-86 123-3.3 8-5 13.3-5 16 0 5.3 6.7 8 20 8 7.3 0 12.2-.5
|
|
|
14.5-1.5 2.3-1 4.8-4.5 7.5-10.5 49.3-97.3 121.7-169.3 217-216 28-14 57.3-25 88
|
|
|
-33 6.7-2 11-3.8 13-5.5 2-1.7 3-4.2 3-7.5s-1-5.8-3-7.5c-2-1.7-6.3-3.5-13-5.5-68
|
|
|
-17.3-128.2-47.8-180.5-91.5-52.3-43.7-93.8-96.2-124.5-157.5-9.3-8-15.3-12.3-18
|
|
|
-13h-6c-12 .7-18 4-18 10 0 2 1.7 7 5 15 23.3 46 52 87 86 123l10 10H0v40h399782
|
|
|
c-328 0 0 0 0 0l10 8c26.7 20 65.7 43 117 69-2.7 2-6 3.7-10 5-36.7 16-72.3 37.3
|
|
|
-107 64l-10 8H0v40zM0 157v40h399730v-40zm0 194v40h399730v-40z`,leftarrow:`M400000 241H110l3-3c68.7-52.7 113.7-120
|
|
|
135-202 4-14.7 6-23 6-25 0-7.3-7-11-21-11-8 0-13.2.8-15.5 2.5-2.3 1.7-4.2 5.8
|
|
|
-5.5 12.5-1.3 4.7-2.7 10.3-4 17-12 48.7-34.8 92-68.5 130S65.3 228.3 18 247
|
|
|
c-10 4-16 7.7-18 11 0 8.7 6 14.3 18 17 47.3 18.7 87.8 47 121.5 85S196 441.3 208
|
|
|
490c.7 2 1.3 5 2 9s1.2 6.7 1.5 8c.3 1.3 1 3.3 2 6s2.2 4.5 3.5 5.5c1.3 1 3.3
|
|
|
1.8 6 2.5s6 1 10 1c14 0 21-3.7 21-11 0-2-2-10.3-6-25-20-79.3-65-146.7-135-202
|
|
|
l-3-3h399890zM100 241v40h399900v-40z`,leftbrace:`M6 548l-6-6v-35l6-11c56-104 135.3-181.3 238-232 57.3-28.7 117
|
|
|
-45 179-50h399577v120H403c-43.3 7-81 15-113 26-100.7 33-179.7 91-237 174-2.7
|
|
|
5-6 9-10 13-.7 1-7.3 1-20 1H6z`,leftbraceunder:`M0 6l6-6h17c12.688 0 19.313.3 20 1 4 4 7.313 8.3 10 13
|
|
|
35.313 51.3 80.813 93.8 136.5 127.5 55.688 33.7 117.188 55.8 184.5 66.5.688
|
|
|
0 2 .3 4 1 18.688 2.7 76 4.3 172 5h399450v120H429l-6-1c-124.688-8-235-61.7
|
|
|
-331-161C60.687 138.7 32.312 99.3 7 54L0 41V6z`,leftgroup:`M400000 80
|
|
|
H435C64 80 168.3 229.4 21 260c-5.9 1.2-18 0-18 0-2 0-3-1-3-3v-38C76 61 257 0
|
|
|
435 0h399565z`,leftgroupunder:`M400000 262
|
|
|
H435C64 262 168.3 112.6 21 82c-5.9-1.2-18 0-18 0-2 0-3 1-3 3v38c76 158 257 219
|
|
|
435 219h399565z`,leftharpoon:`M0 267c.7 5.3 3 10 7 14h399993v-40H93c3.3
|
|
|
-3.3 10.2-9.5 20.5-18.5s17.8-15.8 22.5-20.5c50.7-52 88-110.3 112-175 4-11.3 5
|
|
|
-18.3 3-21-1.3-4-7.3-6-18-6-8 0-13 .7-15 2s-4.7 6.7-8 16c-42 98.7-107.3 174.7
|
|
|
-196 228-6.7 4.7-10.7 8-12 10-1.3 2-2 5.7-2 11zm100-26v40h399900v-40z`,leftharpoonplus:`M0 267c.7 5.3 3 10 7 14h399993v-40H93c3.3-3.3 10.2-9.5
|
|
|
20.5-18.5s17.8-15.8 22.5-20.5c50.7-52 88-110.3 112-175 4-11.3 5-18.3 3-21-1.3
|
|
|
-4-7.3-6-18-6-8 0-13 .7-15 2s-4.7 6.7-8 16c-42 98.7-107.3 174.7-196 228-6.7 4.7
|
|
|
-10.7 8-12 10-1.3 2-2 5.7-2 11zm100-26v40h399900v-40zM0 435v40h400000v-40z
|
|
|
m0 0v40h400000v-40z`,leftharpoondown:`M7 241c-4 4-6.333 8.667-7 14 0 5.333.667 9 2 11s5.333
|
|
|
5.333 12 10c90.667 54 156 130 196 228 3.333 10.667 6.333 16.333 9 17 2 .667 5
|
|
|
1 9 1h5c10.667 0 16.667-2 18-6 2-2.667 1-9.667-3-21-32-87.333-82.667-157.667
|
|
|
-152-211l-3-3h399907v-40zM93 281 H400000 v-40L7 241z`,leftharpoondownplus:`M7 435c-4 4-6.3 8.7-7 14 0 5.3.7 9 2 11s5.3 5.3 12
|
|
|
10c90.7 54 156 130 196 228 3.3 10.7 6.3 16.3 9 17 2 .7 5 1 9 1h5c10.7 0 16.7
|
|
|
-2 18-6 2-2.7 1-9.7-3-21-32-87.3-82.7-157.7-152-211l-3-3h399907v-40H7zm93 0
|
|
|
v40h399900v-40zM0 241v40h399900v-40zm0 0v40h399900v-40z`,lefthook:`M400000 281 H103s-33-11.2-61-33.5S0 197.3 0 164s14.2-61.2 42.5
|
|
|
-83.5C70.8 58.2 104 47 142 47 c16.7 0 25 6.7 25 20 0 12-8.7 18.7-26 20-40 3.3
|
|
|
-68.7 15.7-86 37-10 12-15 25.3-15 40 0 22.7 9.8 40.7 29.5 54 19.7 13.3 43.5 21
|
|
|
71.5 23h399859zM103 281v-40h399897v40z`,leftlinesegment:`M40 281 V428 H0 V94 H40 V241 H400000 v40z
|
|
|
M40 281 V428 H0 V94 H40 V241 H400000 v40z`,leftmapsto:`M40 281 V448H0V74H40V241H400000v40z
|
|
|
M40 281 V448H0V74H40V241H400000v40z`,leftToFrom:`M0 147h400000v40H0zm0 214c68 40 115.7 95.7 143 167h22c15.3 0 23
|
|
|
-.3 23-1 0-1.3-5.3-13.7-16-37-18-35.3-41.3-69-70-101l-7-8h399905v-40H95l7-8
|
|
|
c28.7-32 52-65.7 70-101 10.7-23.3 16-35.7 16-37 0-.7-7.7-1-23-1h-22C115.7 265.3
|
|
|
68 321 0 361zm0-174v-40h399900v40zm100 154v40h399900v-40z`,longequal:`M0 50 h400000 v40H0z m0 194h40000v40H0z
|
|
|
M0 50 h400000 v40H0z m0 194h40000v40H0z`,midbrace:`M200428 334
|
|
|
c-100.7-8.3-195.3-44-280-108-55.3-42-101.7-93-139-153l-9-14c-2.7 4-5.7 8.7-9 14
|
|
|
-53.3 86.7-123.7 153-211 199-66.7 36-137.3 56.3-212 62H0V214h199568c178.3-11.7
|
|
|
311.7-78.3 403-201 6-8 9.7-12 11-12 .7-.7 6.7-1 18-1s17.3.3 18 1c1.3 0 5 4 11
|
|
|
12 44.7 59.3 101.3 106.3 170 141s145.3 54.3 229 60h199572v120z`,midbraceunder:`M199572 214
|
|
|
c100.7 8.3 195.3 44 280 108 55.3 42 101.7 93 139 153l9 14c2.7-4 5.7-8.7 9-14
|
|
|
53.3-86.7 123.7-153 211-199 66.7-36 137.3-56.3 212-62h199568v120H200432c-178.3
|
|
|
11.7-311.7 78.3-403 201-6 8-9.7 12-11 12-.7.7-6.7 1-18 1s-17.3-.3-18-1c-1.3 0
|
|
|
-5-4-11-12-44.7-59.3-101.3-106.3-170-141s-145.3-54.3-229-60H0V214z`,oiintSize1:`M512.6 71.6c272.6 0 320.3 106.8 320.3 178.2 0 70.8-47.7 177.6
|
|
|
-320.3 177.6S193.1 320.6 193.1 249.8c0-71.4 46.9-178.2 319.5-178.2z
|
|
|
m368.1 178.2c0-86.4-60.9-215.4-368.1-215.4-306.4 0-367.3 129-367.3 215.4 0 85.8
|
|
|
60.9 214.8 367.3 214.8 307.2 0 368.1-129 368.1-214.8z`,oiintSize2:`M757.8 100.1c384.7 0 451.1 137.6 451.1 230 0 91.3-66.4 228.8
|
|
|
-451.1 228.8-386.3 0-452.7-137.5-452.7-228.8 0-92.4 66.4-230 452.7-230z
|
|
|
m502.4 230c0-111.2-82.4-277.2-502.4-277.2s-504 166-504 277.2
|
|
|
c0 110 84 276 504 276s502.4-166 502.4-276z`,oiiintSize1:`M681.4 71.6c408.9 0 480.5 106.8 480.5 178.2 0 70.8-71.6 177.6
|
|
|
-480.5 177.6S202.1 320.6 202.1 249.8c0-71.4 70.5-178.2 479.3-178.2z
|
|
|
m525.8 178.2c0-86.4-86.8-215.4-525.7-215.4-437.9 0-524.7 129-524.7 215.4 0
|
|
|
85.8 86.8 214.8 524.7 214.8 438.9 0 525.7-129 525.7-214.8z`,oiiintSize2:`M1021.2 53c603.6 0 707.8 165.8 707.8 277.2 0 110-104.2 275.8
|
|
|
-707.8 275.8-606 0-710.2-165.8-710.2-275.8C311 218.8 415.2 53 1021.2 53z
|
|
|
m770.4 277.1c0-131.2-126.4-327.6-770.5-327.6S248.4 198.9 248.4 330.1
|
|
|
c0 130 128.8 326.4 772.7 326.4s770.5-196.4 770.5-326.4z`,rightarrow:`M0 241v40h399891c-47.3 35.3-84 78-110 128
|
|
|
-16.7 32-27.7 63.7-33 95 0 1.3-.2 2.7-.5 4-.3 1.3-.5 2.3-.5 3 0 7.3 6.7 11 20
|
|
|
11 8 0 13.2-.8 15.5-2.5 2.3-1.7 4.2-5.5 5.5-11.5 2-13.3 5.7-27 11-41 14.7-44.7
|
|
|
39-84.5 73-119.5s73.7-60.2 119-75.5c6-2 9-5.7 9-11s-3-9-9-11c-45.3-15.3-85
|
|
|
-40.5-119-75.5s-58.3-74.8-73-119.5c-4.7-14-8.3-27.3-11-40-1.3-6.7-3.2-10.8-5.5
|
|
|
-12.5-2.3-1.7-7.5-2.5-15.5-2.5-14 0-21 3.7-21 11 0 2 2 10.3 6 25 20.7 83.3 67
|
|
|
151.7 139 205zm0 0v40h399900v-40z`,rightbrace:`M400000 542l
|
|
|
-6 6h-17c-12.7 0-19.3-.3-20-1-4-4-7.3-8.3-10-13-35.3-51.3-80.8-93.8-136.5-127.5
|
|
|
s-117.2-55.8-184.5-66.5c-.7 0-2-.3-4-1-18.7-2.7-76-4.3-172-5H0V214h399571l6 1
|
|
|
c124.7 8 235 61.7 331 161 31.3 33.3 59.7 72.7 85 118l7 13v35z`,rightbraceunder:`M399994 0l6 6v35l-6 11c-56 104-135.3 181.3-238 232-57.3
|
|
|
28.7-117 45-179 50H-300V214h399897c43.3-7 81-15 113-26 100.7-33 179.7-91 237
|
|
|
-174 2.7-5 6-9 10-13 .7-1 7.3-1 20-1h17z`,rightgroup:`M0 80h399565c371 0 266.7 149.4 414 180 5.9 1.2 18 0 18 0 2 0
|
|
|
3-1 3-3v-38c-76-158-257-219-435-219H0z`,rightgroupunder:`M0 262h399565c371 0 266.7-149.4 414-180 5.9-1.2 18 0 18
|
|
|
0 2 0 3 1 3 3v38c-76 158-257 219-435 219H0z`,rightharpoon:`M0 241v40h399993c4.7-4.7 7-9.3 7-14 0-9.3
|
|
|
-3.7-15.3-11-18-92.7-56.7-159-133.7-199-231-3.3-9.3-6-14.7-8-16-2-1.3-7-2-15-2
|
|
|
-10.7 0-16.7 2-18 6-2 2.7-1 9.7 3 21 15.3 42 36.7 81.8 64 119.5 27.3 37.7 58
|
|
|
69.2 92 94.5zm0 0v40h399900v-40z`,rightharpoonplus:`M0 241v40h399993c4.7-4.7 7-9.3 7-14 0-9.3-3.7-15.3-11
|
|
|
-18-92.7-56.7-159-133.7-199-231-3.3-9.3-6-14.7-8-16-2-1.3-7-2-15-2-10.7 0-16.7
|
|
|
2-18 6-2 2.7-1 9.7 3 21 15.3 42 36.7 81.8 64 119.5 27.3 37.7 58 69.2 92 94.5z
|
|
|
m0 0v40h399900v-40z m100 194v40h399900v-40zm0 0v40h399900v-40z`,rightharpoondown:`M399747 511c0 7.3 6.7 11 20 11 8 0 13-.8 15-2.5s4.7-6.8
|
|
|
8-15.5c40-94 99.3-166.3 178-217 13.3-8 20.3-12.3 21-13 5.3-3.3 8.5-5.8 9.5
|
|
|
-7.5 1-1.7 1.5-5.2 1.5-10.5s-2.3-10.3-7-15H0v40h399908c-34 25.3-64.7 57-92 95
|
|
|
-27.3 38-48.7 77.7-64 119-3.3 8.7-5 14-5 16zM0 241v40h399900v-40z`,rightharpoondownplus:`M399747 705c0 7.3 6.7 11 20 11 8 0 13-.8
|
|
|
15-2.5s4.7-6.8 8-15.5c40-94 99.3-166.3 178-217 13.3-8 20.3-12.3 21-13 5.3-3.3
|
|
|
8.5-5.8 9.5-7.5 1-1.7 1.5-5.2 1.5-10.5s-2.3-10.3-7-15H0v40h399908c-34 25.3
|
|
|
-64.7 57-92 95-27.3 38-48.7 77.7-64 119-3.3 8.7-5 14-5 16zM0 435v40h399900v-40z
|
|
|
m0-194v40h400000v-40zm0 0v40h400000v-40z`,righthook:`M399859 241c-764 0 0 0 0 0 40-3.3 68.7-15.7 86-37 10-12 15-25.3
|
|
|
15-40 0-22.7-9.8-40.7-29.5-54-19.7-13.3-43.5-21-71.5-23-17.3-1.3-26-8-26-20 0
|
|
|
-13.3 8.7-20 26-20 38 0 71 11.2 99 33.5 0 0 7 5.6 21 16.7 14 11.2 21 33.5 21
|
|
|
66.8s-14 61.2-42 83.5c-28 22.3-61 33.5-99 33.5L0 241z M0 281v-40h399859v40z`,rightlinesegment:`M399960 241 V94 h40 V428 h-40 V281 H0 v-40z
|
|
|
M399960 241 V94 h40 V428 h-40 V281 H0 v-40z`,rightToFrom:`M400000 167c-70.7-42-118-97.7-142-167h-23c-15.3 0-23 .3-23
|
|
|
1 0 1.3 5.3 13.7 16 37 18 35.3 41.3 69 70 101l7 8H0v40h399905l-7 8c-28.7 32
|
|
|
-52 65.7-70 101-10.7 23.3-16 35.7-16 37 0 .7 7.7 1 23 1h23c24-69.3 71.3-125 142
|
|
|
-167z M100 147v40h399900v-40zM0 341v40h399900v-40z`,twoheadleftarrow:`M0 167c68 40
|
|
|
115.7 95.7 143 167h22c15.3 0 23-.3 23-1 0-1.3-5.3-13.7-16-37-18-35.3-41.3-69
|
|
|
-70-101l-7-8h125l9 7c50.7 39.3 85 86 103 140h46c0-4.7-6.3-18.7-19-42-18-35.3
|
|
|
-40-67.3-66-96l-9-9h399716v-40H284l9-9c26-28.7 48-60.7 66-96 12.7-23.333 19
|
|
|
-37.333 19-42h-46c-18 54-52.3 100.7-103 140l-9 7H95l7-8c28.7-32 52-65.7 70-101
|
|
|
10.7-23.333 16-35.7 16-37 0-.7-7.7-1-23-1h-22C115.7 71.3 68 127 0 167z`,twoheadrightarrow:`M400000 167
|
|
|
c-68-40-115.7-95.7-143-167h-22c-15.3 0-23 .3-23 1 0 1.3 5.3 13.7 16 37 18 35.3
|
|
|
41.3 69 70 101l7 8h-125l-9-7c-50.7-39.3-85-86-103-140h-46c0 4.7 6.3 18.7 19 42
|
|
|
18 35.3 40 67.3 66 96l9 9H0v40h399716l-9 9c-26 28.7-48 60.7-66 96-12.7 23.333
|
|
|
-19 37.333-19 42h46c18-54 52.3-100.7 103-140l9-7h125l-7 8c-28.7 32-52 65.7-70
|
|
|
101-10.7 23.333-16 35.7-16 37 0 .7 7.7 1 23 1h22c27.3-71.3 75-127 143-167z`,tilde1:`M200 55.538c-77 0-168 73.953-177 73.953-3 0-7
|
|
|
-2.175-9-5.437L2 97c-1-2-2-4-2-6 0-4 2-7 5-9l20-12C116 12 171 0 207 0c86 0
|
|
|
114 68 191 68 78 0 168-68 177-68 4 0 7 2 9 5l12 19c1 2.175 2 4.35 2 6.525 0
|
|
|
4.35-2 7.613-5 9.788l-19 13.05c-92 63.077-116.937 75.308-183 76.128
|
|
|
-68.267.847-113-73.952-191-73.952z`,tilde2:`M344 55.266c-142 0-300.638 81.316-311.5 86.418
|
|
|
-8.01 3.762-22.5 10.91-23.5 5.562L1 120c-1-2-1-3-1-4 0-5 3-9 8-10l18.4-9C160.9
|
|
|
31.9 283 0 358 0c148 0 188 122 331 122s314-97 326-97c4 0 8 2 10 7l7 21.114
|
|
|
c1 2.14 1 3.21 1 4.28 0 5.347-3 9.626-7 10.696l-22.3 12.622C852.6 158.372 751
|
|
|
181.476 676 181.476c-149 0-189-126.21-332-126.21z`,tilde3:`M786 59C457 59 32 175.242 13 175.242c-6 0-10-3.457
|
|
|
-11-10.37L.15 138c-1-7 3-12 10-13l19.2-6.4C378.4 40.7 634.3 0 804.3 0c337 0
|
|
|
411.8 157 746.8 157 328 0 754-112 773-112 5 0 10 3 11 9l1 14.075c1 8.066-.697
|
|
|
16.595-6.697 17.492l-21.052 7.31c-367.9 98.146-609.15 122.696-778.15 122.696
|
|
|
-338 0-409-156.573-744-156.573z`,tilde4:`M786 58C457 58 32 177.487 13 177.487c-6 0-10-3.345
|
|
|
-11-10.035L.15 143c-1-7 3-12 10-13l22-6.7C381.2 35 637.15 0 807.15 0c337 0 409
|
|
|
177 744 177 328 0 754-127 773-127 5 0 10 3 11 9l1 14.794c1 7.805-3 13.38-9
|
|
|
14.495l-20.7 5.574c-366.85 99.79-607.3 139.372-776.3 139.372-338 0-409
|
|
|
-175.236-744-175.236z`,vec:`M377 20c0-5.333 1.833-10 5.5-14S391 0 397 0c4.667 0 8.667 1.667 12 5
|
|
|
3.333 2.667 6.667 9 10 19 6.667 24.667 20.333 43.667 41 57 7.333 4.667 11
|
|
|
10.667 11 18 0 6-1 10-3 12s-6.667 5-14 9c-28.667 14.667-53.667 35.667-75 63
|
|
|
-1.333 1.333-3.167 3.5-5.5 6.5s-4 4.833-5 5.5c-1 .667-2.5 1.333-4.5 2s-4.333 1
|
|
|
-7 1c-4.667 0-9.167-1.833-13.5-5.5S337 184 337 178c0-12.667 15.667-32.333 47-59
|
|
|
H213l-171-1c-8.667-6-13-12.333-13-19 0-4.667 4.333-11.333 13-20h359
|
|
|
c-16-25.333-24-45-24-59z`,widehat1:`M529 0h5l519 115c5 1 9 5 9 10 0 1-1 2-1 3l-4 22
|
|
|
c-1 5-5 9-11 9h-2L532 67 19 159h-2c-5 0-9-4-11-9l-5-22c-1-6 2-12 8-13z`,widehat2:`M1181 0h2l1171 176c6 0 10 5 10 11l-2 23c-1 6-5 10
|
|
|
-11 10h-1L1182 67 15 220h-1c-6 0-10-4-11-10l-2-23c-1-6 4-11 10-11z`,widehat3:`M1181 0h2l1171 236c6 0 10 5 10 11l-2 23c-1 6-5 10
|
|
|
-11 10h-1L1182 67 15 280h-1c-6 0-10-4-11-10l-2-23c-1-6 4-11 10-11z`,widehat4:`M1181 0h2l1171 296c6 0 10 5 10 11l-2 23c-1 6-5 10
|
|
|
-11 10h-1L1182 67 15 340h-1c-6 0-10-4-11-10l-2-23c-1-6 4-11 10-11z`,widecheck1:`M529,159h5l519,-115c5,-1,9,-5,9,-10c0,-1,-1,-2,-1,-3l-4,-22c-1,
|
|
|
-5,-5,-9,-11,-9h-2l-512,92l-513,-92h-2c-5,0,-9,4,-11,9l-5,22c-1,6,2,12,8,13z`,widecheck2:`M1181,220h2l1171,-176c6,0,10,-5,10,-11l-2,-23c-1,-6,-5,-10,
|
|
|
-11,-10h-1l-1168,153l-1167,-153h-1c-6,0,-10,4,-11,10l-2,23c-1,6,4,11,10,11z`,widecheck3:`M1181,280h2l1171,-236c6,0,10,-5,10,-11l-2,-23c-1,-6,-5,-10,
|
|
|
-11,-10h-1l-1168,213l-1167,-213h-1c-6,0,-10,4,-11,10l-2,23c-1,6,4,11,10,11z`,widecheck4:`M1181,340h2l1171,-296c6,0,10,-5,10,-11l-2,-23c-1,-6,-5,-10,
|
|
|
-11,-10h-1l-1168,273l-1167,-273h-1c-6,0,-10,4,-11,10l-2,23c-1,6,4,11,10,11z`,baraboveleftarrow:`M400000 620h-399890l3 -3c68.7 -52.7 113.7 -120 135 -202
|
|
|
c4 -14.7 6 -23 6 -25c0 -7.3 -7 -11 -21 -11c-8 0 -13.2 0.8 -15.5 2.5
|
|
|
c-2.3 1.7 -4.2 5.8 -5.5 12.5c-1.3 4.7 -2.7 10.3 -4 17c-12 48.7 -34.8 92 -68.5 130
|
|
|
s-74.2 66.3 -121.5 85c-10 4 -16 7.7 -18 11c0 8.7 6 14.3 18 17c47.3 18.7 87.8 47
|
|
|
121.5 85s56.5 81.3 68.5 130c0.7 2 1.3 5 2 9s1.2 6.7 1.5 8c0.3 1.3 1 3.3 2 6
|
|
|
s2.2 4.5 3.5 5.5c1.3 1 3.3 1.8 6 2.5s6 1 10 1c14 0 21 -3.7 21 -11
|
|
|
c0 -2 -2 -10.3 -6 -25c-20 -79.3 -65 -146.7 -135 -202l-3 -3h399890z
|
|
|
M100 620v40h399900v-40z M0 241v40h399900v-40zM0 241v40h399900v-40z`,rightarrowabovebar:`M0 241v40h399891c-47.3 35.3-84 78-110 128-16.7 32
|
|
|
-27.7 63.7-33 95 0 1.3-.2 2.7-.5 4-.3 1.3-.5 2.3-.5 3 0 7.3 6.7 11 20 11 8 0
|
|
|
13.2-.8 15.5-2.5 2.3-1.7 4.2-5.5 5.5-11.5 2-13.3 5.7-27 11-41 14.7-44.7 39
|
|
|
-84.5 73-119.5s73.7-60.2 119-75.5c6-2 9-5.7 9-11s-3-9-9-11c-45.3-15.3-85-40.5
|
|
|
-119-75.5s-58.3-74.8-73-119.5c-4.7-14-8.3-27.3-11-40-1.3-6.7-3.2-10.8-5.5
|
|
|
-12.5-2.3-1.7-7.5-2.5-15.5-2.5-14 0-21 3.7-21 11 0 2 2 10.3 6 25 20.7 83.3 67
|
|
|
151.7 139 205zm96 379h399894v40H0zm0 0h399904v40H0z`,baraboveshortleftharpoon:`M507,435c-4,4,-6.3,8.7,-7,14c0,5.3,0.7,9,2,11
|
|
|
c1.3,2,5.3,5.3,12,10c90.7,54,156,130,196,228c3.3,10.7,6.3,16.3,9,17
|
|
|
c2,0.7,5,1,9,1c0,0,5,0,5,0c10.7,0,16.7,-2,18,-6c2,-2.7,1,-9.7,-3,-21
|
|
|
c-32,-87.3,-82.7,-157.7,-152,-211c0,0,-3,-3,-3,-3l399351,0l0,-40
|
|
|
c-398570,0,-399437,0,-399437,0z M593 435 v40 H399500 v-40z
|
|
|
M0 281 v-40 H399908 v40z M0 281 v-40 H399908 v40z`,rightharpoonaboveshortbar:`M0,241 l0,40c399126,0,399993,0,399993,0
|
|
|
c4.7,-4.7,7,-9.3,7,-14c0,-9.3,-3.7,-15.3,-11,-18c-92.7,-56.7,-159,-133.7,-199,
|
|
|
-231c-3.3,-9.3,-6,-14.7,-8,-16c-2,-1.3,-7,-2,-15,-2c-10.7,0,-16.7,2,-18,6
|
|
|
c-2,2.7,-1,9.7,3,21c15.3,42,36.7,81.8,64,119.5c27.3,37.7,58,69.2,92,94.5z
|
|
|
M0 241 v40 H399908 v-40z M0 475 v-40 H399500 v40z M0 475 v-40 H399500 v40z`,shortbaraboveleftharpoon:`M7,435c-4,4,-6.3,8.7,-7,14c0,5.3,0.7,9,2,11
|
|
|
c1.3,2,5.3,5.3,12,10c90.7,54,156,130,196,228c3.3,10.7,6.3,16.3,9,17c2,0.7,5,1,9,
|
|
|
1c0,0,5,0,5,0c10.7,0,16.7,-2,18,-6c2,-2.7,1,-9.7,-3,-21c-32,-87.3,-82.7,-157.7,
|
|
|
-152,-211c0,0,-3,-3,-3,-3l399907,0l0,-40c-399126,0,-399993,0,-399993,0z
|
|
|
M93 435 v40 H400000 v-40z M500 241 v40 H400000 v-40z M500 241 v40 H400000 v-40z`,shortrightharpoonabovebar:`M53,241l0,40c398570,0,399437,0,399437,0
|
|
|
c4.7,-4.7,7,-9.3,7,-14c0,-9.3,-3.7,-15.3,-11,-18c-92.7,-56.7,-159,-133.7,-199,
|
|
|
-231c-3.3,-9.3,-6,-14.7,-8,-16c-2,-1.3,-7,-2,-15,-2c-10.7,0,-16.7,2,-18,6
|
|
|
c-2,2.7,-1,9.7,3,21c15.3,42,36.7,81.8,64,119.5c27.3,37.7,58,69.2,92,94.5z
|
|
|
M500 241 v40 H399408 v-40z M500 435 v40 H400000 v-40z`},ne=function(){function Bt(Ie){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=Ie,this.classes=[],this.height=0,this.depth=0,this.maxFontSize=0,this.style={}}var pe=Bt.prototype;return pe.hasClass=function(Ne){return S.contains(this.classes,Ne)},pe.toNode=function(){for(var Ne=document.createDocumentFragment(),Qe=0;Qe<this.children.length;Qe++)Ne.appendChild(this.children[Qe].toNode());return Ne},pe.toMarkup=function(){for(var Ne="",Qe=0;Qe<this.children.length;Qe++)Ne+=this.children[Qe].toMarkup();return Ne},pe.toText=function(){var Ne=function(Ct){return Ct.toText()};return this.children.map(Ne).join("")},Bt}(),be=function(pe){return pe.filter(function(Ie){return Ie}).join(" ")},ot=function(pe,Ie,Ne){if(this.classes=pe||[],this.attributes={},this.height=0,this.depth=0,this.maxFontSize=0,this.style=Ne||{},Ie){Ie.style.isTight()&&this.classes.push("mtight");var Qe=Ie.getColor();Qe&&(this.style.color=Qe)}},ue=function(pe){var Ie=document.createElement(pe);Ie.className=be(this.classes);for(var Ne in this.style)this.style.hasOwnProperty(Ne)&&(Ie.style[Ne]=this.style[Ne]);for(var Qe in this.attributes)this.attributes.hasOwnProperty(Qe)&&Ie.setAttribute(Qe,this.attributes[Qe]);for(var Ct=0;Ct<this.children.length;Ct++)Ie.appendChild(this.children[Ct].toNode());return Ie},Q=function(pe){var Ie="<"+pe;this.classes.length&&(Ie+=' class="'+S.escape(be(this.classes))+'"');var Ne="";for(var Qe in this.style)this.style.hasOwnProperty(Qe)&&(Ne+=S.hyphenate(Qe)+":"+this.style[Qe]+";");Ne&&(Ie+=' style="'+S.escape(Ne)+'"');for(var Ct in this.attributes)this.attributes.hasOwnProperty(Ct)&&(Ie+=" "+Ct+'="'+S.escape(this.attributes[Ct])+'"');Ie+=">";for(var Ut=0;Ut<this.children.length;Ut++)Ie+=this.children[Ut].toMarkup();return Ie+="</"+pe+">",Ie},V=function(){function Bt(Ie,Ne,Qe,Ct){this.children=void 0,this.attributes=void 0,this.classes=void 0,this.height=void 0,this.depth=void 0,this.width=void 0,this.maxFontSize=void 0,this.style=void 0,ot.call(this,Ie,Qe,Ct),this.children=Ne||[]}var pe=Bt.prototype;return pe.setAttribute=function(Ne,Qe){this.attributes[Ne]=Qe},pe.hasClass=function(Ne){return S.contains(this.classes,Ne)},pe.toNode=function(){return ue.call(this,"span")},pe.toMarkup=function(){return Q.call(this,"span")},Bt}(),J=function(){function Bt(Ie,Ne,Qe,Ct){this.children=void 0,this.attributes=void 0,this.classes=void 0,this.height=void 0,this.depth=void 0,this.maxFontSize=void 0,this.style=void 0,ot.call(this,Ne,Ct),this.children=Qe||[],this.setAttribute("href",Ie)}var pe=Bt.prototype;return pe.setAttribute=function(Ne,Qe){this.attributes[Ne]=Qe},pe.hasClass=function(Ne){return S.contains(this.classes,Ne)},pe.toNode=function(){return ue.call(this,"a")},pe.toMarkup=function(){return Q.call(this,"a")},Bt}(),fe=function(){function Bt(Ie,Ne,Qe){this.src=void 0,this.alt=void 0,this.classes=void 0,this.height=void 0,this.depth=void 0,this.maxFontSize=void 0,this.style=void 0,this.alt=Ne,this.src=Ie,this.classes=["mord"],this.style=Qe}var pe=Bt.prototype;return pe.hasClass=function(Ne){return S.contains(this.classes,Ne)},pe.toNode=function(){var Ne=document.createElement("img");Ne.src=this.src,Ne.alt=this.alt,Ne.className="mord";for(var Qe in this.style)this.style.hasOwnProperty(Qe)&&(Ne.style[Qe]=this.style[Qe]);return Ne},pe.toMarkup=function(){var Ne="<img src='"+this.src+" 'alt='"+this.alt+"' ",Qe="";for(var Ct in this.style)this.style.hasOwnProperty(Ct)&&(Qe+=S.hyphenate(Ct)+":"+this.style[Ct]+";");return Qe&&(Ne+=' style="'+S.escape(Qe)+'"'),Ne+="'/>",Ne},Bt}(),oe={\u00EE:"\u0131\u0302",\u00EF:"\u0131\u0308",\u00ED:"\u0131\u0301",\u00EC:"\u0131\u0300"},Le=function(){function Bt(Ie,Ne,Qe,Ct,Ut,hr,gr,Rr){this.text=void 0,this.height=void 0,this.depth=void 0,this.italic=void 0,this.skew=void 0,this.width=void 0,this.maxFontSize=void 0,this.classes=void 0,this.style=void 0,this.text=Ie,this.height=Ne||0,this.depth=Qe||0,this.italic=Ct||0,this.skew=Ut||0,this.width=hr||0,this.classes=gr||[],this.style=Rr||{},this.maxFontSize=0;var $r=X(this.text.charCodeAt(0));$r&&this.classes.push($r+"_fallback"),/[îïíì]/.test(this.text)&&(this.text=oe[this.text])}var pe=Bt.prototype;return pe.hasClass=function(Ne){return S.contains(this.classes,Ne)},pe.toNode=function(){var Ne=document.createTextNode(this.text),Qe=null;this.italic>0&&(Qe=document.createElement("span"),Qe.style.marginRight=this.italic+"em"),this.classes.length>0&&(Qe=Qe||document.createElement("span"),Qe.className=be(this.classes));for(var Ct in this.style)this.style.hasOwnProperty(Ct)&&(Qe=Qe||document.createElement("span"),Qe.style[Ct]=this.style[Ct]);return Qe?(Qe.appendChild(Ne),Qe):Ne},pe.toMarkup=function(){var Ne=!1,Qe="<span";this.classes.length&&(Ne=!0,Qe+=' class="',Qe+=S.escape(be(this.classes)),Qe+='"');var Ct="";this.italic>0&&(Ct+="margin-right:"+this.italic+"em;");for(var Ut in this.style)this.style.hasOwnProperty(Ut)&&(Ct+=S.hyphenate(Ut)+":"+this.style[Ut]+";");Ct&&(Ne=!0,Qe+=' style="'+S.escape(Ct)+'"');var hr=S.escape(this.text);return Ne?(Qe+=">",Qe+=hr,Qe+="</span>",Qe):hr},Bt}(),he=function(){function Bt(Ie,Ne){this.children=void 0,this.attributes=void 0,this.children=Ie||[],this.attributes=Ne||{}}var pe=Bt.prototype;return pe.toNode=function(){var Ne="http://www.w3.org/2000/svg",Qe=document.createElementNS(Ne,"svg");for(var Ct in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,Ct)&&Qe.setAttribute(Ct,this.attributes[Ct]);for(var Ut=0;Ut<this.children.length;Ut++)Qe.appendChild(this.children[Ut].toNode());return Qe},pe.toMarkup=function(){var Ne="<svg";for(var Qe in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,Qe)&&(Ne+=" "+Qe+"='"+this.attributes[Qe]+"'");Ne+=">";for(var Ct=0;Ct<this.children.length;Ct++)Ne+=this.children[Ct].toMarkup();return Ne+="</svg>",Ne},Bt}(),te=function(){function Bt(Ie,Ne){this.pathName=void 0,this.alternate=void 0,this.pathName=Ie,this.alternate=Ne}var pe=Bt.prototype;return pe.toNode=function(){var Ne="http://www.w3.org/2000/svg",Qe=document.createElementNS(Ne,"path");return this.alternate?Qe.setAttribute("d",this.alternate):Qe.setAttribute("d",nt[this.pathName]),Qe},pe.toMarkup=function(){return this.alternate?"<path d='"+this.alternate+"'/>":"<path d='"+nt[this.pathName]+"'/>"},Bt}(),Z=function(){function Bt(Ie){this.attributes=void 0,this.attributes=Ie||{}}var pe=Bt.prototype;return pe.toNode=function(){var Ne="http://www.w3.org/2000/svg",Qe=document.createElementNS(Ne,"line");for(var Ct in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,Ct)&&Qe.setAttribute(Ct,this.attributes[Ct]);return Qe},pe.toMarkup=function(){var Ne="<line";for(var Qe in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,Qe)&&(Ne+=" "+Qe+"='"+this.attributes[Qe]+"'");return Ne+="/>",Ne},Bt}();function ge(Bt){if(Bt instanceof Le)return Bt;throw new Error("Expected symbolNode but got "+String(Bt)+".")}function Re(Bt){if(Bt instanceof V)return Bt;throw new Error("Expected span<HtmlDomNode> but got "+String(Bt)+".")}var ze={"AMS-Regular":{"65":[0,.68889,0,0,.72222],"66":[0,.68889,0,0,.66667],"67":[0,.68889,0,0,.72222],"68":[0,.68889,0,0,.72222],"69":[0,.68889,0,0,.66667],"70":[0,.68889,0,0,.61111],"71":[0,.68889,0,0,.77778],"72":[0,.68889,0,0,.77778],"73":[0,.68889,0,0,.38889],"74":[.16667,.68889,0,0,.5],"75":[0,.68889,0,0,.77778],"76":[0,.68889,0,0,.66667],"77":[0,.68889,0,0,.94445],"78":[0,.68889,0,0,.72222],"79":[.16667,.68889,0,0,.77778],"80":[0,.68889,0,0,.61111],"81":[.16667,.68889,0,0,.77778],"82":[0,.68889,0,0,.72222],"83":[0,.68889,0,0,.55556],"84":[0,.68889,0,0,.66667],"85":[0,.68889,0,0,.72222],"86":[0,.68889,0,0,.72222],"87":[0,.68889,0,0,1],"88":[0,.68889,0,0,.72222],"89":[0,.68889,0,0,.72222],"90":[0,.68889,0,0,.66667],"107":[0,.68889,0,0,.55556],"165":[0,.675,.025,0,.75],"174":[.15559,.69224,0,0,.94666],"240":[0,.68889,0,0,.55556],"295":[0,.68889,0,0,.54028],"710":[0,.825,0,0,2.33334],"732":[0,.9,0,0,2.33334],"770":[0,.825,0,0,2.33334],"771":[0,.9,0,0,2.33334],"989":[.08167,.58167,0,0,.77778],"1008":[0,.43056,.04028,0,.66667],"8245":[0,.54986,0,0,.275],"8463":[0,.68889,0,0,.54028],"8487":[0,.68889,0,0,.72222],"8498":[0,.68889,0,0,.55556],"8502":[0,.68889,0,0,.66667],"8503":[0,.68889,0,0,.44445],"8504":[0,.68889,0,0,.66667],"8513":[0,.68889,0,0,.63889],"8592":[-.03598,.46402,0,0,.5],"8594":[-.03598,.46402,0,0,.5],"8602":[-.13313,.36687,0,0,1],"8603":[-.13313,.36687,0,0,1],"8606":[.01354,.52239,0,0,1],"8608":[.01354,.52239,0,0,1],"8610":[.01354,.52239,0,0,1.11111],"8611":[.01354,.52239,0,0,1.11111],"8619":[0,.54986,0,0,1],"8620":[0,.54986,0,0,1],"8621":[-.13313,.37788,0,0,1.38889],"8622":[-.13313,.36687,0,0,1],"8624":[0,.69224,0,0,.5],"8625":[0,.69224,0,0,.5],"8630":[0,.43056,0,0,1],"8631":[0,.43056,0,0,1],"8634":[.08198,.58198,0,0,.77778],"8635":[.08198,.58198,0,0,.77778],"8638":[.19444,.69224,0,0,.41667],"8639":[.19444,.69224,0,0,.41667],"8642":[.19444,.69224,0,0,.41667],"8643":[.19444,.69224,0,0,.41667],"8644":[.1808,.675,0,0,1],"8646":[.1808,.675,0,0,1],"8647":[.1808,.675,0,0,1],"8648":[.19444,.69224,0,0,.83334],"8649":[.1808,.675,0,0,1],"8650":[.19444,.69224,0,0,.83334],"8651":[.01354,.52239,0,0,1],"8652":[.01354,.52239,0,0,1],"8653":[-.13313,.36687,0,0,1],"8654":[-.13313,.36687,0,0,1],"8655":[-.13313,.36687,0,0,1],"8666":[.13667,.63667,0,0,1],"8667":[.13667,.63667,0,0,1],"8669":[-.13313,.37788,0,0,1],"8672":[-.064,.437,0,0,1.334],"8674":[-.064,.437,0,0,1.334],"8705":[0,.825,0,0,.5],"8708":[0,.68889,0,0,.55556],"8709":[.08167,.58167,0,0,.77778],"8717":[0,.43056,0,0,.42917],"8722":[-.03598,.46402,0,0,.5],"8724":[.08198,.69224,0,0,.77778],"8726":[.08167,.58167,0,0,.77778],"8733":[0,.69224,0,0,.77778],"8736":[0,.69224,0,0,.72222],"8737":[0,.69224,0,0,.72222],"8738":[.03517,.52239,0,0,.72222],"8739":[.08167,.58167,0,0,.22222],"8740":[.25142,.74111,0,0,.27778],"8741":[.08167,.58167,0,0,.38889],"8742":[.25142,.74111,0,0,.5],"8756":[0,.69224,0,0,.66667],"8757":[0,.69224,0,0,.66667],"8764":[-.13313,.36687,0,0,.77778],"8765":[-.13313,.37788,0,0,.77778],"8769":[-.13313,.36687,0,0,.77778],"8770":[-.03625,.46375,0,0,.77778],"8774":[.30274,.79383,0,0,.77778],"8776":[-.01688,.48312,0,0,.77778],"8778":[.08167,.58167,0,0,.77778],"8782":[.06062,.54986,0,0,.77778],"8783":[.06062,.54986,0,0,.77778],"8785":[.08198,.58198,0,0,.77778],"8786":[.08198,.58198,0,0,.77778],"8787":[.08198,.58198,0,0,.77778],"8790":[0,.69224,0,0,.77778],"8791":[.22958,.72958,0,0,.77778],"8796":[.08198,.91667,0,0,.77778],"8806":[.25583,.75583,0,0,.77778],"8807":[.25583,.75583,0,0,.77778],"8808":[.25142,.75726,0,0,.77778],"8809":[.25142,.75726,0,0,.77778],"8812":[.25583,.75583,0,0,.5],"8814":[.20576,.70576,0,0,.77778],"8815":[.20576,.70576,0,0,.77778],"8816":[.30274,.79383,0,0,.77778],"8817":[.30274,.79383,0,0,.77778],"8818":[.22958,.72958,0,0,.77778],"8819":[.22958,.72958,0,0,.77778],"8822":[.1808,.675,0,0,.77778],"8823":[.1808,.675,0,0,.77778],"8828":[.13667,.63667,0,0,.77778],"8829":[.13667,.63667,0,0,.77778],"8830":[.22958,.72958,0,0,.77778],"8831":[.22958,.72958,0,0,.77778],"8832":[.20576,.70576,0,0,.77778],"8833":[.20576,.70576,0,0,.77778],"8840":[.30274,.79383,0,0,.77778],"8841":[.30274,.79383,0,0,.77778],"8842":[.13597,.63597,0,0,.77778],"8843":[.13597,.63597,0,0,.77778],"8847":[.03517,.54986,0,0,.77778],"8848":[.03517,.54986,0,0,.77778],"8858":[.08198,.58198,0,0,.77778],"8859":[.08198,.58198,0,0,.77778],"8861":[.08198,.58198,0,0,.77778],"8862":[0,.675,0,0,.77778],"8863":[0,.675,0,0,.77778],"8864":[0,.675,0,0,.77778],"8865":[0,.675,0,0,.77778],"8872":[0,.69224,0,0,.61111],"8873":[0,.69224,0,0,.72222],"8874":[0,.69224,0,0,.88889],"8876":[0,.68889,0,0,.61111],"8877":[0,.68889,0,0,.61111],"8878":[0,.68889,0,0,.72222],"8879":[0,.68889,0,0,.72222],"8882":[.03517,.54986,0,0,.77778],"8883":[.03517,.54986,0,0,.77778],"8884":[.13667,.63667,0,0,.77778],"8885":[.13667,.63667,0,0,.77778],"8888":[0,.54986,0,0,1.11111],"8890":[.19444,.43056,0,0,.55556],"8891":[.19444,.69224,0,0,.61111],"8892":[.19444,.69224,0,0,.61111],"8901":[0,.54986,0,0,.27778],"8903":[.08167,.58167,0,0,.77778],"8905":[.08167,.58167,0,0,.77778],"8906":[.08167,.58167,0,0,.77778],"8907":[0,.69224,0,0,.77778],"8908":[0,.69224,0,0,.77778],"8909":[-.03598,.46402,0,0,.77778],"8910":[0,.54986,0,0,.76042],"8911":[0,.54986,0,0,.76042],"8912":[.03517,.54986,0,0,.77778],"8913":[.03517,.54986,0,0,.77778],"8914":[0,.54986,0,0,.66667],"8915":[0,.54986,0,0,.66667],"8916":[0,.69224,0,0,.66667],"8918":[.0391,.5391,0,0,.77778],"8919":[.0391,.5391,0,0,.77778],"8920":[.03517,.54986,0,0,1.33334],"8921":[.03517,.54986,0,0,1.33334],"8922":[.38569,.88569,0,0,.77778],"8923":[.38569,.88569,0,0,.77778],"8926":[.13667,.63667,0,0,.77778],"8927":[.13667,.63667,0,0,.77778],"8928":[.30274,.79383,0,0,.77778],"8929":[.30274,.79383,0,0,.77778],"8934":[.23222,.74111,0,0,.77778],"8935":[.23222,.74111,0,0,.77778],"8936":[.23222,.74111,0,0,.77778],"8937":[.23222,.74111,0,0,.77778],"8938":[.20576,.70576,0,0,.77778],"8939":[.20576,.70576,0,0,.77778],"8940":[.30274,.79383,0,0,.77778],"8941":[.30274,.79383,0,0,.77778],"8994":[.19444,.69224,0,0,.77778],"8995":[.19444,.69224,0,0,.77778],"9416":[.15559,.69224,0,0,.90222],"9484":[0,.69224,0,0,.5],"9488":[0,.69224,0,0,.5],"9492":[0,.37788,0,0,.5],"9496":[0,.37788,0,0,.5],"9585":[.19444,.68889,0,0,.88889],"9586":[.19444,.74111,0,0,.88889],"9632":[0,.675,0,0,.77778],"9633":[0,.675,0,0,.77778],"9650":[0,.54986,0,0,.72222],"9651":[0,.54986,0,0,.72222],"9654":[.03517,.54986,0,0,.77778],"9660":[0,.54986,0,0,.72222],"9661":[0,.54986,0,0,.72222],"9664":[.03517,.54986,0,0,.77778],"9674":[.11111,.69224,0,0,.66667],"9733":[.19444,.69224,0,0,.94445],"10003":[0,.69224,0,0,.83334],"10016":[0,.69224,0,0,.83334],"10731":[.11111,.69224,0,0,.66667],"10846":[.19444,.75583,0,0,.61111],"10877":[.13667,.63667,0,0,.77778],"10878":[.13667,.63667,0,0,.77778],"10885":[.25583,.75583,0,0,.77778],"10886":[.25583,.75583,0,0,.77778],"10887":[.13597,.63597,0,0,.77778],"10888":[.13597,.63597,0,0,.77778],"10889":[.26167,.75726,0,0,.77778],"10890":[.26167,.75726,0,0,.77778],"10891":[.48256,.98256,0,0,.77778],"10892":[.48256,.98256,0,0,.77778],"10901":[.13667,.63667,0,0,.77778],"10902":[.13667,.63667,0,0,.77778],"10933":[.25142,.75726,0,0,.77778],"10934":[.25142,.75726,0,0,.77778],"10935":[.26167,.75726,0,0,.77778],"10936":[.26167,.75726,0,0,.77778],"10937":[.26167,.75726,0,0,.77778],"10938":[.26167,.75726,0,0,.77778],"10949":[.25583,.75583,0,0,.77778],"10950":[.25583,.75583,0,0,.77778],"10955":[.28481,.79383,0,0,.77778],"10956":[.28481,.79383,0,0,.77778],"57350":[.08167,.58167,0,0,.22222],"57351":[.08167,.58167,0,0,.38889],"57352":[.08167,.58167,0,0,.77778],"57353":[0,.43056,.04028,0,.66667],"57356":[.25142,.75726,0,0,.77778],"57357":[.25142,.75726,0,0,.77778],"57358":[.41951,.91951,0,0,.77778],"57359":[.30274,.79383,0,0,.77778],"57360":[.30274,.79383,0,0,.77778],"57361":[.41951,.91951,0,0,.77778],"57366":[.25142,.75726,0,0,.77778],"57367":[.25142,.75726,0,0,.77778],"57368":[.25142,.75726,0,0,.77778],"57369":[.25142,.75726,0,0,.77778],"57370":[.13597,.63597,0,0,.77778],"57371":[.13597,.63597,0,0,.77778]},"Caligraphic-Regular":{"48":[0,.43056,0,0,.5],"49":[0,.43056,0,0,.5],"50":[0,.43056,0,0,.5],"51":[.19444,.43056,0,0,.5],"52":[.19444,.43056,0,0,.5],"53":[.19444,.43056,0,0,.5],"54":[0,.64444,0,0,.5],"55":[.19444,.43056,0,0,.5],"56":[0,.64444,0,0,.5],"57":[.19444,.43056,0,0,.5],"65":[0,.68333,0,.19445,.79847],"66":[0,.68333,.03041,.13889,.65681],"67":[0,.68333,.05834,.13889,.52653],"68":[0,.68333,.02778,.08334,.77139],"69":[0,.68333,.08944,.11111,.52778],"70":[0,.68333,.09931,.11111,.71875],"71":[.09722,.68333,.0593,.11111,.59487],"72":[0,.68333,.00965,.11111,.84452],"73":[0,.68333,.07382,0,.54452],"74":[.09722,.68333,.18472,.16667,.67778],"75":[0,.68333,.01445,.05556,.76195],"76":[0,.68333,0,.13889,.68972],"77":[0,.68333,0,.13889,1.2009],"78":[0,.68333,.14736,.08334,.82049],"79":[0,.68333,.02778,.11111,.79611],"80":[0,.68333,.08222,.08334,.69556],"81":[.09722,.68333,0,.11111,.81667],"82":[0,.68333,0,.08334,.8475],"83":[0,.68333,.075,.13889,.60556],"84":[0,.68333,.25417,0,.54464],"85":[0,.68333,.09931,.08334,.62583],"86":[0,.68333,.08222,0,.61278],"87":[0,.68333,.08222,.08334,.98778],"88":[0,.68333,.14643,.13889,.7133],"89":[.09722,.68333,.08222,.08334,.66834],"90":[0,.68333,.07944,.13889,.72473]},"Fraktur-Regular":{"33":[0,.69141,0,0,.29574],"34":[0,.69141,0,0,.21471],"38":[0,.69141,0,0,.73786],"39":[0,.69141,0,0,.21201],"40":[.24982,.74947,0,0,.38865],"41":[.24982,.74947,0,0,.38865],"42":[0,.62119,0,0,.27764],"43":[.08319,.58283,0,0,.75623],"44":[0,.10803,0,0,.27764],"45":[.08319,.58283,0,0,.75623],"46":[0,.10803,0,0,.27764],"47":[.24982,.74947,0,0,.50181],"48":[0,.47534,0,0,.50181],"49":[0,.47534,0,0,.50181],"50":[0,.47534,0,0,.50181],"51":[.18906,.47534,0,0,.50181],"52":[.18906,.47534,0,0,.50181],"53":[.18906,.47534,0,0,.50181],"54":[0,.69141,0,0,.50181],"55":[.18906,.47534,0,0,.50181],"56":[0,.69141,0,0,.50181],"57":[.18906,.47534,0,0,.50181],"58":[0,.47534,0,0,.21606],"59":[.12604,.47534,0,0,.21606],"61":[-.13099,.36866,0,0,.75623],"63":[0,.69141,0,0,.36245],"65":[0,.69141,0,0,.7176],"66":[0,.69141,0,0,.88397],"67":[0,.69141,0,0,.61254],"68":[0,.69141,0,0,.83158],"69":[0,.69141,0,0,.66278],"70":[.12604,.69141,0,0,.61119],"71":[0,.69141,0,0,.78539],"72":[.06302,.69141,0,0,.7203],"73":[0,.69141,0,0,.55448],"74":[.12604,.69141,0,0,.55231],"75":[0,.69141,0,0,.66845],"76":[0,.69141,0,0,.66602],"77":[0,.69141,0,0,1.04953],"78":[0,.69141,0,0,.83212],"79":[0,.69141,0,0,.82699],"80":[.18906,.69141,0,0,.82753],"81":[.03781,.69141,0,0,.82699],"82":[0,.69141,0,0,.82807],"83":[0,.69141,0,0,.82861],"84":[0,.69141,0,0,.66899],"85":[0,.69141,0,0,.64576],"86":[0,.69141,0,0,.83131],"87":[0,.69141,0,0,1.04602],"88":[0,.69141,0,0,.71922],"89":[.18906,.69141,0,0,.83293],"90":[.12604,.69141,0,0,.60201],"91":[.24982,.74947,0,0,.27764],"93":[.24982,.74947,0,0,.27764],"94":[0,.69141,0,0,.49965],"97":[0,.47534,0,0,.50046],"98":[0,.69141,0,0,.51315],"99":[0,.47534,0,0,.38946],"100":[0,.62119,0,0,.49857],"101":[0,.47534,0,0,.40053],"102":[.18906,.69141,0,0,.32626],"103":[.18906,.47534,0,0,.5037],"104":[.18906,.69141,0,0,.52126],"105":[0,.69141,0,0,.27899],"106":[0,.69141,0,0,.28088],"107":[0,.69141,0,0,.38946],"108":[0,.69141,0,0,.27953],"109":[0,.47534,0,0,.76676],"110":[0,.47534,0,0,.52666],"111":[0,.47534,0,0,.48885],"112":[.18906,.52396,0,0,.50046],"113":[.18906,.47534,0,0,.48912],"114":[0,.47534,0,0,.38919],"115":[0,.47534,0,0,.44266],"116":[0,.62119,0,0,.33301],"117":[0,.47534,0,0,.5172],"118":[0,.52396,0,0,.5118],"119":[0,.52396,0,0,.77351],"120":[.18906,.47534,0,0,.38865],"121":[.18906,.47534,0,0,.49884],"122":[.18906,.47534,0,0,.39054],"8216":[0,.69141,0,0,.21471],"8217":[0,.69141,0,0,.21471],"58112":[0,.62119,0,0,.49749],"58113":[0,.62119,0,0,.4983],"58114":[.18906,.69141,0,0,.33328],"58115":[.18906,.69141,0,0,.32923],"58116":[.18906,.47534,0,0,.50343],"58117":[0,.69141,0,0,.33301],"58118":[0,.62119,0,0,.33409],"58119":[0,.47534,0,0,.50073]},"Main-Bold":{"33":[0,.69444,0,0,.35],"34":[0,.69444,0,0,.60278],"35":[.19444,.69444,0,0,.95833],"36":[.05556,.75,0,0,.575],"37":[.05556,.75,0,0,.95833],"38":[0,.69444,0,0,.89444],"39":[0,.69444,0,0,.31944],"40":[.25,.75,0,0,.44722],"41":[.25,.75,0,0,.44722],"42":[0,.75,0,0,.575],"43":[.13333,.63333,0,0,.89444],"44":[.19444,.15556,0,0,.31944],"45":[0,.44444,0,0,.38333],"46":[0,.15556,0,0,.31944],"47":[.25,.75,0,0,.575],"48":[0,.64444,0,0,.575],"49":[0,.64444,0,0,.575],"50":[0,.64444,0,0,.575],"51":[0,.64444,0,0,.575],"52":[0,.64444,0,0,.575],"53":[0,.64444,0,0,.575],"54":[0,.64444,0,0,.575],"55":[0,.64444,0,0,.575],"56":[0,.64444,0,0,.575],"57":[0,.64444,0,0,.575],"58":[0,.44444,0,0,.31944],"59":[.19444,.44444,0,0,.31944],"60":[.08556,.58556,0,0,.89444],"61":[-.10889,.39111,0,0,.89444],"62":[.08556,.58556,0,0,.89444],"63":[0,.69444,0,0,.54305],"64":[0,.69444,0,0,.89444],"65":[0,.68611,0,0,.86944],"66":[0,.68611,0,0,.81805],"67":[0,.68611,0,0,.83055],"68":[0,.68611,0,0,.88194],"69":[0,.68611,0,0,.75555],"70":[0,.68611,0,0,.72361],"71":[0,.68611,0,0,.90416],"72":[0,.68611,0,0,.9],"73":[0,.68611,0,0,.43611],"74":[0,.68611,0,0,.59444],"75":[0,.68611,0,0,.90138],"76":[0,.68611,0,0,.69166],"77":[0,.68611,0,0,1.09166],"78":[0,.68611,0,0,.9],"79":[0,.68611,0,0,.86388],"80":[0,.68611,0,0,.78611],"81":[.19444,.68611,0,0,.86388],"82":[0,.68611,0,0,.8625],"83":[0,.68611,0,0,.63889],"84":[0,.68611,0,0,.8],"85":[0,.68611,0,0,.88472],"86":[0,.68611,.01597,0,.86944],"87":[0,.68611,.01597,0,1.18888],"88":[0,.68611,0,0,.86944],"89":[0,.68611,.02875,0,.86944],"90":[0,.68611,0,0,.70277],"91":[.25,.75,0,0,.31944],"92":[.25,.75,0,0,.575],"93":[.25,.75,0,0,.31944],"94":[0,.69444,0,0,.575],"95":[.31,.13444,.03194,0,.575],"97":[0,.44444,0,0,.55902],"98":[0,.69444,0,0,.63889],"99":[0,.44444,0,0,.51111],"100":[0,.69444,0,0,.63889],"101":[0,.44444,0,0,.52708],"102":[0,.69444,.10903,0,.35139],"103":[.19444,.44444,.01597,0,.575],"104":[0,.69444,0,0,.63889],"105":[0,.69444,0,0,.31944],"106":[.19444,.69444,0,0,.35139],"107":[0,.69444,0,0,.60694],"108":[0,.69444,0,0,.31944],"109":[0,.44444,0,0,.95833],"110":[0,.44444,0,0,.63889],"111":[0,.44444,0,0,.575],"112":[.19444,.44444,0,0,.63889],"113":[.19444,.44444,0,0,.60694],"114":[0,.44444,0,0,.47361],"115":[0,.44444,0,0,.45361],"116":[0,.63492,0,0,.44722],"117":[0,.44444,0,0,.63889],"118":[0,.44444,.01597,0,.60694],"119":[0,.44444,.01597,0,.83055],"120":[0,.44444,0,0,.60694],"121":[.19444,.44444,.01597,0,.60694],"122":[0,.44444,0,0,.51111],"123":[.25,.75,0,0,.575],"124":[.25,.75,0,0,.31944],"125":[.25,.75,0,0,.575],"126":[.35,.34444,0,0,.575],"168":[0,.69444,0,0,.575],"172":[0,.44444,0,0,.76666],"176":[0,.69444,0,0,.86944],"177":[.13333,.63333,0,0,.89444],"184":[.17014,0,0,0,.51111],"198":[0,.68611,0,0,1.04166],"215":[.13333,.63333,0,0,.89444],"216":[.04861,.73472,0,0,.89444],"223":[0,.69444,0,0,.59722],"230":[0,.44444,0,0,.83055],"247":[.13333,.63333,0,0,.89444],"248":[.09722,.54167,0,0,.575],"305":[0,.44444,0,0,.31944],"338":[0,.68611,0,0,1.16944],"339":[0,.44444,0,0,.89444],"567":[.19444,.44444,0,0,.35139],"710":[0,.69444,0,0,.575],"711":[0,.63194,0,0,.575],"713":[0,.59611,0,0,.575],"714":[0,.69444,0,0,.575],"715":[0,.69444,0,0,.575],"728":[0,.69444,0,0,.575],"729":[0,.69444,0,0,.31944],"730":[0,.69444,0,0,.86944],"732":[0,.69444,0,0,.575],"733":[0,.69444,0,0,.575],"915":[0,.68611,0,0,.69166],"916":[0,.68611,0,0,.95833],"920":[0,.68611,0,0,.89444],"923":[0,.68611,0,0,.80555],"926":[0,.68611,0,0,.76666],"928":[0,.68611,0,0,.9],"931":[0,.68611,0,0,.83055],"933":[0,.68611,0,0,.89444],"934":[0,.68611,0,0,.83055],"936":[0,.68611,0,0,.89444],"937":[0,.68611,0,0,.83055],"8211":[0,.44444,.03194,0,.575],"8212":[0,.44444,.03194,0,1.14999],"8216":[0,.69444,0,0,.31944],"8217":[0,.69444,0,0,.31944],"8220":[0,.69444,0,0,.60278],"8221":[0,.69444,0,0,.60278],"8224":[.19444,.69444,0,0,.51111],"8225":[.19444,.69444,0,0,.51111],"8242":[0,.55556,0,0,.34444],"8407":[0,.72444,.15486,0,.575],"8463":[0,.69444,0,0,.66759],"8465":[0,.69444,0,0,.83055],"8467":[0,.69444,0,0,.47361],"8472":[.19444,.44444,0,0,.74027],"8476":[0,.69444,0,0,.83055],"8501":[0,.69444,0,0,.70277],"8592":[-.10889,.39111,0,0,1.14999],"8593":[.19444,.69444,0,0,.575],"8594":[-.10889,.39111,0,0,1.14999],"8595":[.19444,.69444,0,0,.575],"8596":[-.10889,.39111,0,0,1.14999],"8597":[.25,.75,0,0,.575],"8598":[.19444,.69444,0,0,1.14999],"8599":[.19444,.69444,0,0,1.14999],"8600":[.19444,.69444,0,0,1.14999],"8601":[.19444,.69444,0,0,1.14999],"8636":[-.10889,.39111,0,0,1.14999],"8637":[-.10889,.39111,0,0,1.14999],"8640":[-.10889,.39111,0,0,1.14999],"8641":[-.10889,.39111,0,0,1.14999],"8656":[-.10889,.39111,0,0,1.14999],"8657":[.19444,.69444,0,0,.70277],"8658":[-.10889,.39111,0,0,1.14999],"8659":[.19444,.69444,0,0,.70277],"8660":[-.10889,.39111,0,0,1.14999],"8661":[.25,.75,0,0,.70277],"8704":[0,.69444,0,0,.63889],"8706":[0,.69444,.06389,0,.62847],"8707":[0,.69444,0,0,.63889],"8709":[.05556,.75,0,0,.575],"8711":[0,.68611,0,0,.95833],"8712":[.08556,.58556,0,0,.76666],"8715":[.08556,.58556,0,0,.76666],"8722":[.13333,.63333,0,0,.89444],"8723":[.13333,.63333,0,0,.89444],"8725":[.25,.75,0,0,.575],"8726":[.25,.75,0,0,.575],"8727":[-.02778,.47222,0,0,.575],"8728":[-.02639,.47361,0,0,.575],"8729":[-.02639,.47361,0,0,.575],"8730":[.18,.82,0,0,.95833],"8733":[0,.44444,0,0,.89444],"8734":[0,.44444,0,0,1.14999],"8736":[0,.69224,0,0,.72222],"8739":[.25,.75,0,0,.31944],"8741":[.25,.75,0,0,.575],"8743":[0,.55556,0,0,.76666],"8744":[0,.55556,0,0,.76666],"8745":[0,.55556,0,0,.76666],"8746":[0,.55556,0,0,.76666],"8747":[.19444,.69444,.12778,0,.56875],"8764":[-.10889,.39111,0,0,.89444],"8768":[.19444,.69444,0,0,.31944],"8771":[.00222,.50222,0,0,.89444],"8776":[.02444,.52444,0,0,.89444],"8781":[.00222,.50222,0,0,.89444],"8801":[.00222,.50222,0,0,.89444],"8804":[.19667,.69667,0,0,.89444],"8805":[.19667,.69667,0,0,.89444],"8810":[.08556,.58556,0,0,1.14999],"8811":[.08556,.58556,0,0,1.14999],"8826":[.08556,.58556,0,0,.89444],"8827":[.08556,.58556,0,0,.89444],"8834":[.08556,.58556,0,0,.89444],"8835":[.08556,.58556,0,0,.89444],"8838":[.19667,.69667,0,0,.89444],"8839":[.19667,.69667,0,0,.89444],"8846":[0,.55556,0,0,.76666],"8849":[.19667,.69667,0,0,.89444],"8850":[.19667,.69667,0,0,.89444],"8851":[0,.55556,0,0,.76666],"8852":[0,.55556,0,0,.76666],"8853":[.13333,.63333,0,0,.89444],"8854":[.13333,.63333,0,0,.89444],"8855":[.13333,.63333,0,0,.89444],"8856":[.13333,.63333,0,0,.89444],"8857":[.13333,.63333,0,0,.89444],"8866":[0,.69444,0,0,.70277],"8867":[0,.69444,0,0,.70277],"8868":[0,.69444,0,0,.89444],"8869":[0,.69444,0,0,.89444],"8900":[-.02639,.47361,0,0,.575],"8901":[-.02639,.47361,0,0,.31944],"8902":[-.02778,.47222,0,0,.575],"8968":[.25,.75,0,0,.51111],"8969":[.25,.75,0,0,.51111],"8970":[.25,.75,0,0,.51111],"8971":[.25,.75,0,0,.51111],"8994":[-.13889,.36111,0,0,1.14999],"8995":[-.13889,.36111,0,0,1.14999],"9651":[.19444,.69444,0,0,1.02222],"9657":[-.02778,.47222,0,0,.575],"9661":[.19444,.69444,0,0,1.02222],"9667":[-.02778,.47222,0,0,.575],"9711":[.19444,.69444,0,0,1.14999],"9824":[.12963,.69444,0,0,.89444],"9825":[.12963,.69444,0,0,.89444],"9826":[.12963,.69444,0,0,.89444],"9827":[.12963,.69444,0,0,.89444],"9837":[0,.75,0,0,.44722],"9838":[.19444,.69444,0,0,.44722],"9839":[.19444,.69444,0,0,.44722],"10216":[.25,.75,0,0,.44722],"10217":[.25,.75,0,0,.44722],"10815":[0,.68611,0,0,.9],"10927":[.19667,.69667,0,0,.89444],"10928":[.19667,.69667,0,0,.89444],"57376":[.19444,.69444,0,0,0]},"Main-BoldItalic":{"33":[0,.69444,.11417,0,.38611],"34":[0,.69444,.07939,0,.62055],"35":[.19444,.69444,.06833,0,.94444],"37":[.05556,.75,.12861,0,.94444],"38":[0,.69444,.08528,0,.88555],"39":[0,.69444,.12945,0,.35555],"40":[.25,.75,.15806,0,.47333],"41":[.25,.75,.03306,0,.47333],"42":[0,.75,.14333,0,.59111],"43":[.10333,.60333,.03306,0,.88555],"44":[.19444,.14722,0,0,.35555],"45":[0,.44444,.02611,0,.41444],"46":[0,.14722,0,0,.35555],"47":[.25,.75,.15806,0,.59111],"48":[0,.64444,.13167,0,.59111],"49":[0,.64444,.13167,0,.59111],"50":[0,.64444,.13167,0,.59111],"51":[0,.64444,.13167,0,.59111],"52":[.19444,.64444,.13167,0,.59111],"53":[0,.64444,.13167,0,.59111],"54":[0,.64444,.13167,0,.59111],"55":[.19444,.64444,.13167,0,.59111],"56":[0,.64444,.13167,0,.59111],"57":[0,.64444,.13167,0,.59111],"58":[0,.44444,.06695,0,.35555],"59":[.19444,.44444,.06695,0,.35555],"61":[-.10889,.39111,.06833,0,.88555],"63":[0,.69444,.11472,0,.59111],"64":[0,.69444,.09208,0,.88555],"65":[0,.68611,0,0,.86555],"66":[0,.68611,.0992,0,.81666],"67":[0,.68611,.14208,0,.82666],"68":[0,.68611,.09062,0,.87555],"69":[0,.68611,.11431,0,.75666],"70":[0,.68611,.12903,0,.72722],"71":[0,.68611,.07347,0,.89527],"72":[0,.68611,.17208,0,.8961],"73":[0,.68611,.15681,0,.47166],"74":[0,.68611,.145,0,.61055],"75":[0,.68611,.14208,0,.89499],"76":[0,.68611,0,0,.69777],"77":[0,.68611,.17208,0,1.07277],"78":[0,.68611,.17208,0,.8961],"79":[0,.68611,.09062,0,.85499],"80":[0,.68611,.0992,0,.78721],"81":[.19444,.68611,.09062,0,.85499],"82":[0,.68611,.02559,0,.85944],"83":[0,.68611,.11264,0,.64999],"84":[0,.68611,.12903,0,.7961],"85":[0,.68611,.17208,0,.88083],"86":[0,.68611,.18625,0,.86555],"87":[0,.68611,.18625,0,1.15999],"88":[0,.68611,.15681,0,.86555],"89":[0,.68611,.19803,0,.86555],"90":[0,.68611,.14208,0,.70888],"91":[.25,.75,.1875,0,.35611],"93":[.25,.75,.09972,0,.35611],"94":[0,.69444,.06709,0,.59111],"95":[.31,.13444,.09811,0,.59111],"97":[0,.44444,.09426,0,.59111],"98":[0,.69444,.07861,0,.53222],"99":[0,.44444,.05222,0,.53222],"100":[0,.69444,.10861,0,.59111],"101":[0,.44444,.085,0,.53222],"102":[.19444,.69444,.21778,0,.4],"103":[.19444,.44444,.105,0,.53222],"104":[0,.69444,.09426,0,.59111],"105":[0,.69326,.11387,0,.35555],"106":[.19444,.69326,.1672,0,.35555],"107":[0,.69444,.11111,0,.53222],"108":[0,.69444,.10861,0,.29666],"109":[0,.44444,.09426,0,.94444],"110":[0,.44444,.09426,0,.64999],"111":[0,.44444,.07861,0,.59111],"112":[.19444,.44444,.07861,0,.59111],"113":[.19444,.44444,.105,0,.53222],"114":[0,.44444,.11111,0,.50167],"115":[0,.44444,.08167,0,.48694],"116":[0,.63492,.09639,0,.385],"117":[0,.44444,.09426,0,.62055],"118":[0,.44444,.11111,0,.53222],"119":[0,.44444,.11111,0,.76777],"120":[0,.44444,.12583,0,.56055],"121":[.19444,.44444,.105,0,.56166],"122":[0,.44444,.13889,0,.49055],"126":[.35,.34444,.11472,0,.59111],"163":[0,.69444,0,0,.86853],"168":[0,.69444,.11473,0,.59111],"176":[0,.69444,0,0,.94888],"184":[.17014,0,0,0,.53222],"198":[0,.68611,.11431,0,1.02277],"216":[.04861,.73472,.09062,0,.88555],"223":[.19444,.69444,.09736,0,.665],"230":[0,.44444,.085,0,.82666],"248":[.09722,.54167,.09458,0,.59111],"305":[0,.44444,.09426,0,.35555],"338":[0,.68611,.11431,0,1.14054],"339":[0,.44444,.085,0,.82666],"567":[.19444,.44444,.04611,0,.385],"710":[0,.69444,.06709,0,.59111],"711":[0,.63194,.08271,0,.59111],"713":[0,.59444,.10444,0,.59111],"714":[0,.69444,.08528,0,.59111],"715":[0,.69444,0,0,.59111],"728":[0,.69444,.10333,0,.59111],"729":[0,.69444,.12945,0,.35555],"730":[0,.69444,0,0,.94888],"732":[0,.69444,.11472,0,.59111],"733":[0,.69444,.11472,0,.59111],"915":[0,.68611,.12903,0,.69777],"916":[0,.68611,0,0,.94444],"920":[0,.68611,.09062,0,.88555],"923":[0,.68611,0,0,.80666],"926":[0,.68611,.15092,0,.76777],"928":[0,.68611,.17208,0,.8961],"931":[0,.68611,.11431,0,.82666],"933":[0,.68611,.10778,0,.88555],"934":[0,.68611,.05632,0,.82666],"936":[0,.68611,.10778,0,.88555],"937":[0,.68611,.0992,0,.82666],"8211":[0,.44444,.09811,0,.59111],"8212":[0,.44444,.09811,0,1.18221],"8216":[0,.69444,.12945,0,.35555],"8217":[0,.69444,.12945,0,.35555],"8220":[0,.69444,.16772,0,.62055],"8221":[0,.69444,.07939,0,.62055]},"Main-Italic":{"33":[0,.69444,.12417,0,.30667],"34":[0,.69444,.06961,0,.51444],"35":[.19444,.69444,.06616,0,.81777],"37":[.05556,.75,.13639,0,.81777],"38":[0,.69444,.09694,0,.76666],"39":[0,.69444,.12417,0,.30667],"40":[.25,.75,.16194,0,.40889],"41":[.25,.75,.03694,0,.40889],"42":[0,.75,.14917,0,.51111],"43":[.05667,.56167,.03694,0,.76666],"44":[.19444,.10556,0,0,.30667],"45":[0,.43056,.02826,0,.35778],"46":[0,.10556,0,0,.30667],"47":[.25,.75,.16194,0,.51111],"48":[0,.64444,.13556,0,.51111],"49":[0,.64444,.13556,0,.51111],"50":[0,.64444,.13556,0,.51111],"51":[0,.64444,.13556,0,.51111],"52":[.19444,.64444,.13556,0,.51111],"53":[0,.64444,.13556,0,.51111],"54":[0,.64444,.13556,0,.51111],"55":[.19444,.64444,.13556,0,.51111],"56":[0,.64444,.13556,0,.51111],"57":[0,.64444,.13556,0,.51111],"58":[0,.43056,.0582,0,.30667],"59":[.19444,.43056,.0582,0,.30667],"61":[-.13313,.36687,.06616,0,.76666],"63":[0,.69444,.1225,0,.51111],"64":[0,.69444,.09597,0,.76666],"65":[0,.68333,0,0,.74333],"66":[0,.68333,.10257,0,.70389],"67":[0,.68333,.14528,0,.71555],"68":[0,.68333,.09403,0,.755],"69":[0,.68333,.12028,0,.67833],"70":[0,.68333,.13305,0,.65277],"71":[0,.68333,.08722,0,.77361],"72":[0,.68333,.16389,0,.74333],"73":[0,.68333,.15806,0,.38555],"74":[0,.68333,.14028,0,.525],"75":[0,.68333,.14528,0,.76888],"76":[0,.68333,0,0,.62722],"77":[0,.68333,.16389,0,.89666],"78":[0,.68333,.16389,0,.74333],"79":[0,.68333,.09403,0,.76666],"80":[0,.68333,.10257,0,.67833],"81":[.19444,.68333,.09403,0,.76666],"82":[0,.68333,.03868,0,.72944],"83":[0,.68333,.11972,0,.56222],"84":[0,.68333,.13305,0,.71555],"85":[0,.68333,.16389,0,.74333],"86":[0,.68333,.18361,0,.74333],"87":[0,.68333,.18361,0,.99888],"88":[0,.68333,.15806,0,.74333],"89":[0,.68333,.19383,0,.74333],"90":[0,.68333,.14528,0,.61333],"91":[.25,.75,.1875,0,.30667],"93":[.25,.75,.10528,0,.30667],"94":[0,.69444,.06646,0,.51111],"95":[.31,.12056,.09208,0,.51111],"97":[0,.43056,.07671,0,.51111],"98":[0,.69444,.06312,0,.46],"99":[0,.43056,.05653,0,.46],"100":[0,.69444,.10333,0,.51111],"101":[0,.43056,.07514,0,.46],"102":[.19444,.69444,.21194,0,.30667],"103":[.19444,.43056,.08847,0,.46],"104":[0,.69444,.07671,0,.51111],"105":[0,.65536,.1019,0,.30667],"106":[.19444,.65536,.14467,0,.30667],"107":[0,.69444,.10764,0,.46],"108":[0,.69444,.10333,0,.25555],"109":[0,.43056,.07671,0,.81777],"110":[0,.43056,.07671,0,.56222],"111":[0,.43056,.06312,0,.51111],"112":[.19444,.43056,.06312,0,.51111],"113":[.19444,.43056,.08847,0,.46],"114":[0,.43056,.10764,0,.42166],"115":[0,.43056,.08208,0,.40889],"116":[0,.61508,.09486,0,.33222],"117":[0,.43056,.07671,0,.53666],"118":[0,.43056,.10764,0,.46],"119":[0,.43056,.10764,0,.66444],"120":[0,.43056,.12042,0,.46389],"121":[.19444,.43056,.08847,0,.48555],"122":[0,.43056,.12292,0,.40889],"126":[.35,.31786,.11585,0,.51111],"163":[0,.69444,0,0,.76909],"168":[0,.66786,.10474,0,.51111],"176":[0,.69444,0,0,.83129],"184":[.17014,0,0,0,.46],"198":[0,.68333,.12028,0,.88277],"216":[.04861,.73194,.09403,0,.76666],"223":[.19444,.69444,.10514,0,.53666],"230":[0,.43056,.07514,0,.71555],"248":[.09722,.52778,.09194,0,.51111],"305":[0,.43056,0,.02778,.32246],"338":[0,.68333,.12028,0,.98499],"339":[0,.43056,.07514,0,.71555],"567":[.19444,.43056,0,.08334,.38403],"710":[0,.69444,.06646,0,.51111],"711":[0,.62847,.08295,0,.51111],"713":[0,.56167,.10333,0,.51111],"714":[0,.69444,.09694,0,.51111],"715":[0,.69444,0,0,.51111],"728":[0,.69444,.10806,0,.51111],"729":[0,.66786,.11752,0,.30667],"730":[0,.69444,0,0,.83129],"732":[0,.66786,.11585,0,.51111],"733":[0,.69444,.1225,0,.51111],"915":[0,.68333,.13305,0,.62722],"916":[0,.68333,0,0,.81777],"920":[0,.68333,.09403,0,.76666],"923":[0,.68333,0,0,.69222],"926":[0,.68333,.15294,0,.66444],"928":[0,.68333,.16389,0,.74333],"931":[0,.68333,.12028,0,.71555],"933":[0,.68333,.11111,0,.76666],"934":[0,.68333,.05986,0,.71555],"936":[0,.68333,.11111,0,.76666],"937":[0,.68333,.10257,0,.71555],"8211":[0,.43056,.09208,0,.51111],"8212":[0,.43056,.09208,0,1.02222],"8216":[0,.69444,.12417,0,.30667],"8217":[0,.69444,.12417,0,.30667],"8220":[0,.69444,.1685,0,.51444],"8221":[0,.69444,.06961,0,.51444],"8463":[0,.68889,0,0,.54028]},"Main-Regular":{"32":[0,0,0,0,.25],"33":[0,.69444,0,0,.27778],"34":[0,.69444,0,0,.5],"35":[.19444,.69444,0,0,.83334],"36":[.05556,.75,0,0,.5],"37":[.05556,.75,0,0,.83334],"38":[0,.69444,0,0,.77778],"39":[0,.69444,0,0,.27778],"40":[.25,.75,0,0,.38889],"41":[.25,.75,0,0,.38889],"42":[0,.75,0,0,.5],"43":[.08333,.58333,0,0,.77778],"44":[.19444,.10556,0,0,.27778],"45":[0,.43056,0,0,.33333],"46":[0,.10556,0,0,.27778],"47":[.25,.75,0,0,.5],"48":[0,.64444,0,0,.5],"49":[0,.64444,0,0,.5],"50":[0,.64444,0,0,.5],"51":[0,.64444,0,0,.5],"52":[0,.64444,0,0,.5],"53":[0,.64444,0,0,.5],"54":[0,.64444,0,0,.5],"55":[0,.64444,0,0,.5],"56":[0,.64444,0,0,.5],"57":[0,.64444,0,0,.5],"58":[0,.43056,0,0,.27778],"59":[.19444,.43056,0,0,.27778],"60":[.0391,.5391,0,0,.77778],"61":[-.13313,.36687,0,0,.77778],"62":[.0391,.5391,0,0,.77778],"63":[0,.69444,0,0,.47222],"64":[0,.69444,0,0,.77778],"65":[0,.68333,0,0,.75],"66":[0,.68333,0,0,.70834],"67":[0,.68333,0,0,.72222],"68":[0,.68333,0,0,.76389],"69":[0,.68333,0,0,.68056],"70":[0,.68333,0,0,.65278],"71":[0,.68333,0,0,.78472],"72":[0,.68333,0,0,.75],"73":[0,.68333,0,0,.36111],"74":[0,.68333,0,0,.51389],"75":[0,.68333,0,0,.77778],"76":[0,.68333,0,0,.625],"77":[0,.68333,0,0,.91667],"78":[0,.68333,0,0,.75],"79":[0,.68333,0,0,.77778],"80":[0,.68333,0,0,.68056],"81":[.19444,.68333,0,0,.77778],"82":[0,.68333,0,0,.73611],"83":[0,.68333,0,0,.55556],"84":[0,.68333,0,0,.72222],"85":[0,.68333,0,0,.75],"86":[0,.68333,.01389,0,.75],"87":[0,.68333,.01389,0,1.02778],"88":[0,.68333,0,0,.75],"89":[0,.68333,.025,0,.75],"90":[0,.68333,0,0,.61111],"91":[.25,.75,0,0,.27778],"92":[.25,.75,0,0,.5],"93":[.25,.75,0,0,.27778],"94":[0,.69444,0,0,.5],"95":[.31,.12056,.02778,0,.5],"97":[0,.43056,0,0,.5],"98":[0,.69444,0,0,.55556],"99":[0,.43056,0,0,.44445],"100":[0,.69444,0,0,.55556],"101":[0,.43056,0,0,.44445],"102":[0,.69444,.07778,0,.30556],"103":[.19444,.43056,.01389,0,.5],"104":[0,.69444,0,0,.55556],"105":[0,.66786,0,0,.27778],"106":[.19444,.66786,0,0,.30556],"107":[0,.69444,0,0,.52778],"108":[0,.69444,0,0,.27778],"109":[0,.43056,0,0,.83334],"110":[0,.43056,0,0,.55556],"111":[0,.43056,0,0,.5],"112":[.19444,.43056,0,0,.55556],"113":[.19444,.43056,0,0,.52778],"114":[0,.43056,0,0,.39167],"115":[0,.43056,0,0,.39445],"116":[0,.61508,0,0,.38889],"117":[0,.43056,0,0,.55556],"118":[0,.43056,.01389,0,.52778],"119":[0,.43056,.01389,0,.72222],"120":[0,.43056,0,0,.52778],"121":[.19444,.43056,.01389,0,.52778],"122":[0,.43056,0,0,.44445],"123":[.25,.75,0,0,.5],"124":[.25,.75,0,0,.27778],"125":[.25,.75,0,0,.5],"126":[.35,.31786,0,0,.5],"160":[0,0,0,0,.25],"167":[.19444,.69444,0,0,.44445],"168":[0,.66786,0,0,.5],"172":[0,.43056,0,0,.66667],"176":[0,.69444,0,0,.75],"177":[.08333,.58333,0,0,.77778],"182":[.19444,.69444,0,0,.61111],"184":[.17014,0,0,0,.44445],"198":[0,.68333,0,0,.90278],"215":[.08333,.58333,0,0,.77778],"216":[.04861,.73194,0,0,.77778],"223":[0,.69444,0,0,.5],"230":[0,.43056,0,0,.72222],"247":[.08333,.58333,0,0,.77778],"248":[.09722,.52778,0,0,.5],"305":[0,.43056,0,0,.27778],"338":[0,.68333,0,0,1.01389],"339":[0,.43056,0,0,.77778],"567":[.19444,.43056,0,0,.30556],"710":[0,.69444,0,0,.5],"711":[0,.62847,0,0,.5],"713":[0,.56778,0,0,.5],"714":[0,.69444,0,0,.5],"715":[0,.69444,0,0,.5],"728":[0,.69444,0,0,.5],"729":[0,.66786,0,0,.27778],"730":[0,.69444,0,0,.75],"732":[0,.66786,0,0,.5],"733":[0,.69444,0,0,.5],"915":[0,.68333,0,0,.625],"916":[0,.68333,0,0,.83334],"920":[0,.68333,0,0,.77778],"923":[0,.68333,0,0,.69445],"926":[0,.68333,0,0,.66667],"928":[0,.68333,0,0,.75],"931":[0,.68333,0,0,.72222],"933":[0,.68333,0,0,.77778],"934":[0,.68333,0,0,.72222],"936":[0,.68333,0,0,.77778],"937":[0,.68333,0,0,.72222],"8211":[0,.43056,.02778,0,.5],"8212":[0,.43056,.02778,0,1],"8216":[0,.69444,0,0,.27778],"8217":[0,.69444,0,0,.27778],"8220":[0,.69444,0,0,.5],"8221":[0,.69444,0,0,.5],"8224":[.19444,.69444,0,0,.44445],"8225":[.19444,.69444,0,0,.44445],"8230":[0,.12,0,0,1.172],"8242":[0,.55556,0,0,.275],"8407":[0,.71444,.15382,0,.5],"8463":[0,.68889,0,0,.54028],"8465":[0,.69444,0,0,.72222],"8467":[0,.69444,0,.11111,.41667],"8472":[.19444,.43056,0,.11111,.63646],"8476":[0,.69444,0,0,.72222],"8501":[0,.69444,0,0,.61111],"8592":[-.13313,.36687,0,0,1],"8593":[.19444,.69444,0,0,.5],"8594":[-.13313,.36687,0,0,1],"8595":[.19444,.69444,0,0,.5],"8596":[-.13313,.36687,0,0,1],"8597":[.25,.75,0,0,.5],"8598":[.19444,.69444,0,0,1],"8599":[.19444,.69444,0,0,1],"8600":[.19444,.69444,0,0,1],"8601":[.19444,.69444,0,0,1],"8614":[.011,.511,0,0,1],"8617":[.011,.511,0,0,1.126],"8618":[.011,.511,0,0,1.126],"8636":[-.13313,.36687,0,0,1],"8637":[-.13313,.36687,0,0,1],"8640":[-.13313,.36687,0,0,1],"8641":[-.13313,.36687,0,0,1],"8652":[.011,.671,0,0,1],"8656":[-.13313,.36687,0,0,1],"8657":[.19444,.69444,0,0,.61111],"8658":[-.13313,.36687,0,0,1],"8659":[.19444,.69444,0,0,.61111],"8660":[-.13313,.36687,0,0,1],"8661":[.25,.75,0,0,.61111],"8704":[0,.69444,0,0,.55556],"8706":[0,.69444,.05556,.08334,.5309],"8707":[0,.69444,0,0,.55556],"8709":[.05556,.75,0,0,.5],"8711":[0,.68333,0,0,.83334],"8712":[.0391,.5391,0,0,.66667],"8715":[.0391,.5391,0,0,.66667],"8722":[.08333,.58333,0,0,.77778],"8723":[.08333,.58333,0,0,.77778],"8725":[.25,.75,0,0,.5],"8726":[.25,.75,0,0,.5],"8727":[-.03472,.46528,0,0,.5],"8728":[-.05555,.44445,0,0,.5],"8729":[-.05555,.44445,0,0,.5],"8730":[.2,.8,0,0,.83334],"8733":[0,.43056,0,0,.77778],"8734":[0,.43056,0,0,1],"8736":[0,.69224,0,0,.72222],"8739":[.25,.75,0,0,.27778],"8741":[.25,.75,0,0,.5],"8743":[0,.55556,0,0,.66667],"8744":[0,.55556,0,0,.66667],"8745":[0,.55556,0,0,.66667],"8746":[0,.55556,0,0,.66667],"8747":[.19444,.69444,.11111,0,.41667],"8764":[-.13313,.36687,0,0,.77778],"8768":[.19444,.69444,0,0,.27778],"8771":[-.03625,.46375,0,0,.77778],"8773":[-.022,.589,0,0,1],"8776":[-.01688,.48312,0,0,.77778],"8781":[-.03625,.46375,0,0,.77778],"8784":[-.133,.67,0,0,.778],"8801":[-.03625,.46375,0,0,.77778],"8804":[.13597,.63597,0,0,.77778],"8805":[.13597,.63597,0,0,.77778],"8810":[.0391,.5391,0,0,1],"8811":[.0391,.5391,0,0,1],"8826":[.0391,.5391,0,0,.77778],"8827":[.0391,.5391,0,0,.77778],"8834":[.0391,.5391,0,0,.77778],"8835":[.0391,.5391,0,0,.77778],"8838":[.13597,.63597,0,0,.77778],"8839":[.13597,.63597,0,0,.77778],"8846":[0,.55556,0,0,.66667],"8849":[.13597,.63597,0,0,.77778],"8850":[.13597,.63597,0,0,.77778],"8851":[0,.55556,0,0,.66667],"8852":[0,.55556,0,0,.66667],"8853":[.08333,.58333,0,0,.77778],"8854":[.08333,.58333,0,0,.77778],"8855":[.08333,.58333,0,0,.77778],"8856":[.08333,.58333,0,0,.77778],"8857":[.08333,.58333,0,0,.77778],"8866":[0,.69444,0,0,.61111],"8867":[0,.69444,0,0,.61111],"8868":[0,.69444,0,0,.77778],"8869":[0,.69444,0,0,.77778],"8872":[.249,.75,0,0,.867],"8900":[-.05555,.44445,0,0,.5],"8901":[-.05555,.44445,0,0,.27778],"8902":[-.03472,.46528,0,0,.5],"8904":[.005,.505,0,0,.9],"8942":[.03,.9,0,0,.278],"8943":[-.19,.31,0,0,1.172],"8945":[-.1,.82,0,0,1.282],"8968":[.25,.75,0,0,.44445],"8969":[.25,.75,0,0,.44445],"8970":[.25,.75,0,0,.44445],"8971":[.25,.75,0,0,.44445],"8994":[-.14236,.35764,0,0,1],"8995":[-.14236,.35764,0,0,1],"9136":[.244,.744,0,0,.412],"9137":[.244,.744,0,0,.412],"9651":[.19444,.69444,0,0,.88889],"9657":[-.03472,.46528,0,0,.5],"9661":[.19444,.69444,0,0,.88889],"9667":[-.03472,.46528,0,0,.5],"9711":[.19444,.69444,0,0,1],"9824":[.12963,.69444,0,0,.77778],"9825":[.12963,.69444,0,0,.77778],"9826":[.12963,.69444,0,0,.77778],"9827":[.12963,.69444,0,0,.77778],"9837":[0,.75,0,0,.38889],"9838":[.19444,.69444,0,0,.38889],"9839":[.19444,.69444,0,0,.38889],"10216":[.25,.75,0,0,.38889],"10217":[.25,.75,0,0,.38889],"10222":[.244,.744,0,0,.412],"10223":[.244,.744,0,0,.412],"10229":[.011,.511,0,0,1.609],"10230":[.011,.511,0,0,1.638],"10231":[.011,.511,0,0,1.859],"10232":[.024,.525,0,0,1.609],"10233":[.024,.525,0,0,1.638],"10234":[.024,.525,0,0,1.858],"10236":[.011,.511,0,0,1.638],"10815":[0,.68333,0,0,.75],"10927":[.13597,.63597,0,0,.77778],"10928":[.13597,.63597,0,0,.77778],"57376":[.19444,.69444,0,0,0]},"Math-BoldItalic":{"65":[0,.68611,0,0,.86944],"66":[0,.68611,.04835,0,.8664],"67":[0,.68611,.06979,0,.81694],"68":[0,.68611,.03194,0,.93812],"69":[0,.68611,.05451,0,.81007],"70":[0,.68611,.15972,0,.68889],"71":[0,.68611,0,0,.88673],"72":[0,.68611,.08229,0,.98229],"73":[0,.68611,.07778,0,.51111],"74":[0,.68611,.10069,0,.63125],"75":[0,.68611,.06979,0,.97118],"76":[0,.68611,0,0,.75555],"77":[0,.68611,.11424,0,1.14201],"78":[0,.68611,.11424,0,.95034],"79":[0,.68611,.03194,0,.83666],"80":[0,.68611,.15972,0,.72309],"81":[.19444,.68611,0,0,.86861],"82":[0,.68611,.00421,0,.87235],"83":[0,.68611,.05382,0,.69271],"84":[0,.68611,.15972,0,.63663],"85":[0,.68611,.11424,0,.80027],"86":[0,.68611,.25555,0,.67778],"87":[0,.68611,.15972,0,1.09305],"88":[0,.68611,.07778,0,.94722],"89":[0,.68611,.25555,0,.67458],"90":[0,.68611,.06979,0,.77257],"97":[0,.44444,0,0,.63287],"98":[0,.69444,0,0,.52083],"99":[0,.44444,0,0,.51342],"100":[0,.69444,0,0,.60972],"101":[0,.44444,0,0,.55361],"102":[.19444,.69444,.11042,0,.56806],"103":[.19444,.44444,.03704,0,.5449],"104":[0,.69444,0,0,.66759],"105":[0,.69326,0,0,.4048],"106":[.19444,.69326,.0622,0,.47083],"107":[0,.69444,.01852,0,.6037],"108":[0,.69444,.0088,0,.34815],"109":[0,.44444,0,0,1.0324],"110":[0,.44444,0,0,.71296],"111":[0,.44444,0,0,.58472],"112":[.19444,.44444,0,0,.60092],"113":[.19444,.44444,.03704,0,.54213],"114":[0,.44444,.03194,0,.5287],"115":[0,.44444,0,0,.53125],"116":[0,.63492,0,0,.41528],"117":[0,.44444,0,0,.68102],"118":[0,.44444,.03704,0,.56666],"119":[0,.44444,.02778,0,.83148],"120":[0,.44444,0,0,.65903],"121":[.19444,.44444,.03704,0,.59028],"122":[0,.44444,.04213,0,.55509],"915":[0,.68611,.15972,0,.65694],"916":[0,.68611,0,0,.95833],"920":[0,.68611,.03194,0,.86722],"923":[0,.68611,0,0,.80555],"926":[0,.68611,.07458,0,.84125],"928":[0,.68611,.08229,0,.98229],"931":[0,.68611,.05451,0,.88507],"933":[0,.68611,.15972,0,.67083],"934":[0,.68611,0,0,.76666],"936":[0,.68611,.11653,0,.71402],"937":[0,.68611,.04835,0,.8789],"945":[0,.44444,0,0,.76064],"946":[.19444,.69444,.03403,0,.65972],"947":[.19444,.44444,.06389,0,.59003],"948":[0,.69444,.03819,0,.52222],"949":[0,.44444,0,0,.52882],"950":[.19444,.69444,.06215,0,.50833],"951":[.19444,.44444,.03704,0,.6],"952":[0,.69444,.03194,0,.5618],"953":[0,.44444,0,0,.41204],"954":[0,.44444,0,0,.66759],"955":[0,.69444,0,0,.67083],"956":[.19444,.44444,0,0,.70787],"957":[0,.44444,.06898,0,.57685],"958":[.19444,.69444,.03021,0,.50833],"959":[0,.44444,0,0,.58472],"960":[0,.44444,.03704,0,.68241],"961":[.19444,.44444,0,0,.6118],"962":[.09722,.44444,.07917,0,.42361],"963":[0,.44444,.03704,0,.68588],"964":[0,.44444,.13472,0,.52083],"965":[0,.44444,.03704,0,.63055],"966":[.19444,.44444,0,0,.74722],"967":[.19444,.44444,0,0,.71805],"968":[.19444,.69444,.03704,0,.75833],"969":[0,.44444,.03704,0,.71782],"977":[0,.69444,0,0,.69155],"981":[.19444,.69444,0,0,.7125],"982":[0,.44444,.03194,0,.975],"1009":[.19444,.44444,0,0,.6118],"1013":[0,.44444,0,0,.48333]},"Math-Italic":{"65":[0,.68333,0,.13889,.75],"66":[0,.68333,.05017,.08334,.75851],"67":[0,.68333,.07153,.08334,.71472],"68":[0,.68333,.02778,.05556,.82792],"69":[0,.68333,.05764,.08334,.7382],"70":[0,.68333,.13889,.08334,.64306],"71":[0,.68333,0,.08334,.78625],"72":[0,.68333,.08125,.05556,.83125],"73":[0,.68333,.07847,.11111,.43958],"74":[0,.68333,.09618,.16667,.55451],"75":[0,.68333,.07153,.05556,.84931],"76":[0,.68333,0,.02778,.68056],"77":[0,.68333,.10903,.08334,.97014],"78":[0,.68333,.10903,.08334,.80347],"79":[0,.68333,.02778,.08334,.76278],"80":[0,.68333,.13889,.08334,.64201],"81":[.19444,.68333,0,.08334,.79056],"82":[0,.68333,.00773,.08334,.75929],"83":[0,.68333,.05764,.08334,.6132],"84":[0,.68333,.13889,.08334,.58438],"85":[0,.68333,.10903,.02778,.68278],"86":[0,.68333,.22222,0,.58333],"87":[0,.68333,.13889,0,.94445],"88":[0,.68333,.07847,.08334,.82847],"89":[0,.68333,.22222,0,.58056],"90":[0,.68333,.07153,.08334,.68264],"97":[0,.43056,0,0,.52859],"98":[0,.69444,0,0,.42917],"99":[0,.43056,0,.05556,.43276],"100":[0,.69444,0,.16667,.52049],"101":[0,.43056,0,.05556,.46563],"102":[.19444,.69444,.10764,.16667,.48959],"103":[.19444,.43056,.03588,.02778,.47697],"104":[0,.69444,0,0,.57616],"105":[0,.65952,0,0,.34451],"106":[.19444,.65952,.05724,0,.41181],"107":[0,.69444,.03148,0,.5206],"108":[0,.69444,.01968,.08334,.29838],"109":[0,.43056,0,0,.87801],"110":[0,.43056,0,0,.60023],"111":[0,.43056,0,.05556,.48472],"112":[.19444,.43056,0,.08334,.50313],"113":[.19444,.43056,.03588,.08334,.44641],"114":[0,.43056,.02778,.05556,.45116],"115":[0,.43056,0,.05556,.46875],"116":[0,.61508,0,.08334,.36111],"117":[0,.43056,0,.02778,.57246],"118":[0,.43056,.03588,.02778,.48472],"119":[0,.43056,.02691,.08334,.71592],"120":[0,.43056,0,.02778,.57153],"121":[.19444,.43056,.03588,.05556,.49028],"122":[0,.43056,.04398,.05556,.46505],"915":[0,.68333,.13889,.08334,.61528],"916":[0,.68333,0,.16667,.83334],"920":[0,.68333,.02778,.08334,.76278],"923":[0,.68333,0,.16667,.69445],"926":[0,.68333,.07569,.08334,.74236],"928":[0,.68333,.08125,.05556,.83125],"931":[0,.68333,.05764,.08334,.77986],"933":[0,.68333,.13889,.05556,.58333],"934":[0,.68333,0,.08334,.66667],"936":[0,.68333,.11,.05556,.61222],"937":[0,.68333,.05017,.08334,.7724],"945":[0,.43056,.0037,.02778,.6397],"946":[.19444,.69444,.05278,.08334,.56563],"947":[.19444,.43056,.05556,0,.51773],"948":[0,.69444,.03785,.05556,.44444],"949":[0,.43056,0,.08334,.46632],"950":[.19444,.69444,.07378,.08334,.4375],"951":[.19444,.43056,.03588,.05556,.49653],"952":[0,.69444,.02778,.08334,.46944],"953":[0,.43056,0,.05556,.35394],"954":[0,.43056,0,0,.57616],"955":[0,.69444,0,0,.58334],"956":[.19444,.43056,0,.02778,.60255],"957":[0,.43056,.06366,.02778,.49398],"958":[.19444,.69444,.04601,.11111,.4375],"959":[0,.43056,0,.05556,.48472],"960":[0,.43056,.03588,0,.57003],"961":[.19444,.43056,0,.08334,.51702],"962":[.09722,.43056,.07986,.08334,.36285],"963":[0,.43056,.03588,0,.57141],"964":[0,.43056,.1132,.02778,.43715],"965":[0,.43056,.03588,.02778,.54028],"966":[.19444,.43056,0,.08334,.65417],"967":[.19444,.43056,0,.05556,.62569],"968":[.19444,.69444,.03588,.11111,.65139],"969":[0,.43056,.03588,0,.62245],"977":[0,.69444,0,.08334,.59144],"981":[.19444,.69444,0,.08334,.59583],"982":[0,.43056,.02778,0,.82813],"1009":[.19444,.43056,0,.08334,.51702],"1013":[0,.43056,0,.05556,.4059]},"Math-Regular":{"65":[0,.68333,0,.13889,.75],"66":[0,.68333,.05017,.08334,.75851],"67":[0,.68333,.07153,.08334,.71472],"68":[0,.68333,.02778,.05556,.82792],"69":[0,.68333,.05764,.08334,.7382],"70":[0,.68333,.13889,.08334,.64306],"71":[0,.68333,0,.08334,.78625],"72":[0,.68333,.08125,.05556,.83125],"73":[0,.68333,.07847,.11111,.43958],"74":[0,.68333,.09618,.16667,.55451],"75":[0,.68333,.07153,.05556,.84931],"76":[0,.68333,0,.02778,.68056],"77":[0,.68333,.10903,.08334,.97014],"78":[0,.68333,.10903,.08334,.80347],"79":[0,.68333,.02778,.08334,.76278],"80":[0,.68333,.13889,.08334,.64201],"81":[.19444,.68333,0,.08334,.79056],"82":[0,.68333,.00773,.08334,.75929],"83":[0,.68333,.05764,.08334,.6132],"84":[0,.68333,.13889,.08334,.58438],"85":[0,.68333,.10903,.02778,.68278],"86":[0,.68333,.22222,0,.58333],"87":[0,.68333,.13889,0,.94445],"88":[0,.68333,.07847,.08334,.82847],"89":[0,.68333,.22222,0,.58056],"90":[0,.68333,.07153,.08334,.68264],"97":[0,.43056,0,0,.52859],"98":[0,.69444,0,0,.42917],"99":[0,.43056,0,.05556,.43276],"100":[0,.69444,0,.16667,.52049],"101":[0,.43056,0,.05556,.46563],"102":[.19444,.69444,.10764,.16667,.48959],"103":[.19444,.43056,.03588,.02778,.47697],"104":[0,.69444,0,0,.57616],"105":[0,.65952,0,0,.34451],"106":[.19444,.65952,.05724,0,.41181],"107":[0,.69444,.03148,0,.5206],"108":[0,.69444,.01968,.08334,.29838],"109":[0,.43056,0,0,.87801],"110":[0,.43056,0,0,.60023],"111":[0,.43056,0,.05556,.48472],"112":[.19444,.43056,0,.08334,.50313],"113":[.19444,.43056,.03588,.08334,.44641],"114":[0,.43056,.02778,.05556,.45116],"115":[0,.43056,0,.05556,.46875],"116":[0,.61508,0,.08334,.36111],"117":[0,.43056,0,.02778,.57246],"118":[0,.43056,.03588,.02778,.48472],"119":[0,.43056,.02691,.08334,.71592],"120":[0,.43056,0,.02778,.57153],"121":[.19444,.43056,.03588,.05556,.49028],"122":[0,.43056,.04398,.05556,.46505],"915":[0,.68333,.13889,.08334,.61528],"916":[0,.68333,0,.16667,.83334],"920":[0,.68333,.02778,.08334,.76278],"923":[0,.68333,0,.16667,.69445],"926":[0,.68333,.07569,.08334,.74236],"928":[0,.68333,.08125,.05556,.83125],"931":[0,.68333,.05764,.08334,.77986],"933":[0,.68333,.13889,.05556,.58333],"934":[0,.68333,0,.08334,.66667],"936":[0,.68333,.11,.05556,.61222],"937":[0,.68333,.05017,.08334,.7724],"945":[0,.43056,.0037,.02778,.6397],"946":[.19444,.69444,.05278,.08334,.56563],"947":[.19444,.43056,.05556,0,.51773],"948":[0,.69444,.03785,.05556,.44444],"949":[0,.43056,0,.08334,.46632],"950":[.19444,.69444,.07378,.08334,.4375],"951":[.19444,.43056,.03588,.05556,.49653],"952":[0,.69444,.02778,.08334,.46944],"953":[0,.43056,0,.05556,.35394],"954":[0,.43056,0,0,.57616],"955":[0,.69444,0,0,.58334],"956":[.19444,.43056,0,.02778,.60255],"957":[0,.43056,.06366,.02778,.49398],"958":[.19444,.69444,.04601,.11111,.4375],"959":[0,.43056,0,.05556,.48472],"960":[0,.43056,.03588,0,.57003],"961":[.19444,.43056,0,.08334,.51702],"962":[.09722,.43056,.07986,.08334,.36285],"963":[0,.43056,.03588,0,.57141],"964":[0,.43056,.1132,.02778,.43715],"965":[0,.43056,.03588,.02778,.54028],"966":[.19444,.43056,0,.08334,.65417],"967":[.19444,.43056,0,.05556,.62569],"968":[.19444,.69444,.03588,.11111,.65139],"969":[0,.43056,.03588,0,.62245],"977":[0,.69444,0,.08334,.59144],"981":[.19444,.69444,0,.08334,.59583],"982":[0,.43056,.02778,0,.82813],"1009":[.19444,.43056,0,.08334,.51702],"1013":[0,.43056,0,.05556,.4059]},"SansSerif-Bold":{"33":[0,.69444,0,0,.36667],"34":[0,.69444,0,0,.55834],"35":[.19444,.69444,0,0,.91667],"36":[.05556,.75,0,0,.55],"37":[.05556,.75,0,0,1.02912],"38":[0,.69444,0,0,.83056],"39":[0,.69444,0,0,.30556],"40":[.25,.75,0,0,.42778],"41":[.25,.75,0,0,.42778],"42":[0,.75,0,0,.55],"43":[.11667,.61667,0,0,.85556],"44":[.10556,.13056,0,0,.30556],"45":[0,.45833,0,0,.36667],"46":[0,.13056,0,0,.30556],"47":[.25,.75,0,0,.55],"48":[0,.69444,0,0,.55],"49":[0,.69444,0,0,.55],"50":[0,.69444,0,0,.55],"51":[0,.69444,0,0,.55],"52":[0,.69444,0,0,.55],"53":[0,.69444,0,0,.55],"54":[0,.69444,0,0,.55],"55":[0,.69444,0,0,.55],"56":[0,.69444,0,0,.55],"57":[0,.69444,0,0,.55],"58":[0,.45833,0,0,.30556],"59":[.10556,.45833,0,0,.30556],"61":[-.09375,.40625,0,0,.85556],"63":[0,.69444,0,0,.51945],"64":[0,.69444,0,0,.73334],"65":[0,.69444,0,0,.73334],"66":[0,.69444,0,0,.73334],"67":[0,.69444,0,0,.70278],"68":[0,.69444,0,0,.79445],"69":[0,.69444,0,0,.64167],"70":[0,.69444,0,0,.61111],"71":[0,.69444,0,0,.73334],"72":[0,.69444,0,0,.79445],"73":[0,.69444,0,0,.33056],"74":[0,.69444,0,0,.51945],"75":[0,.69444,0,0,.76389],"76":[0,.69444,0,0,.58056],"77":[0,.69444,0,0,.97778],"78":[0,.69444,0,0,.79445],"79":[0,.69444,0,0,.79445],"80":[0,.69444,0,0,.70278],"81":[.10556,.69444,0,0,.79445],"82":[0,.69444,0,0,.70278],"83":[0,.69444,0,0,.61111],"84":[0,.69444,0,0,.73334],"85":[0,.69444,0,0,.76389],"86":[0,.69444,.01528,0,.73334],"87":[0,.69444,.01528,0,1.03889],"88":[0,.69444,0,0,.73334],"89":[0,.69444,.0275,0,.73334],"90":[0,.69444,0,0,.67223],"91":[.25,.75,0,0,.34306],"93":[.25,.75,0,0,.34306],"94":[0,.69444,0,0,.55],"95":[.35,.10833,.03056,0,.55],"97":[0,.45833,0,0,.525],"98":[0,.69444,0,0,.56111],"99":[0,.45833,0,0,.48889],"100":[0,.69444,0,0,.56111],"101":[0,.45833,0,0,.51111],"102":[0,.69444,.07639,0,.33611],"103":[.19444,.45833,.01528,0,.55],"104":[0,.69444,0,0,.56111],"105":[0,.69444,0,0,.25556],"106":[.19444,.69444,0,0,.28611],"107":[0,.69444,0,0,.53056],"108":[0,.69444,0,0,.25556],"109":[0,.45833,0,0,.86667],"110":[0,.45833,0,0,.56111],"111":[0,.45833,0,0,.55],"112":[.19444,.45833,0,0,.56111],"113":[.19444,.45833,0,0,.56111],"114":[0,.45833,.01528,0,.37222],"115":[0,.45833,0,0,.42167],"116":[0,.58929,0,0,.40417],"117":[0,.45833,0,0,.56111],"118":[0,.45833,.01528,0,.5],"119":[0,.45833,.01528,0,.74445],"120":[0,.45833,0,0,.5],"121":[.19444,.45833,.01528,0,.5],"122":[0,.45833,0,0,.47639],"126":[.35,.34444,0,0,.55],"168":[0,.69444,0,0,.55],"176":[0,.69444,0,0,.73334],"180":[0,.69444,0,0,.55],"184":[.17014,0,0,0,.48889],"305":[0,.45833,0,0,.25556],"567":[.19444,.45833,0,0,.28611],"710":[0,.69444,0,0,.55],"711":[0,.63542,0,0,.55],"713":[0,.63778,0,0,.55],"728":[0,.69444,0,0,.55],"729":[0,.69444,0,0,.30556],"730":[0,.69444,0,0,.73334],"732":[0,.69444,0,0,.55],"733":[0,.69444,0,0,.55],"915":[0,.69444,0,0,.58056],"916":[0,.69444,0,0,.91667],"920":[0,.69444,0,0,.85556],"923":[0,.69444,0,0,.67223],"926":[0,.69444,0,0,.73334],"928":[0,.69444,0,0,.79445],"931":[0,.69444,0,0,.79445],"933":[0,.69444,0,0,.85556],"934":[0,.69444,0,0,.79445],"936":[0,.69444,0,0,.85556],"937":[0,.69444,0,0,.79445],"8211":[0,.45833,.03056,0,.55],"8212":[0,.45833,.03056,0,1.10001],"8216":[0,.69444,0,0,.30556],"8217":[0,.69444,0,0,.30556],"8220":[0,.69444,0,0,.55834],"8221":[0,.69444,0,0,.55834]},"SansSerif-Italic":{"33":[0,.69444,.05733,0,.31945],"34":[0,.69444,.00316,0,.5],"35":[.19444,.69444,.05087,0,.83334],"36":[.05556,.75,.11156,0,.5],"37":[.05556,.75,.03126,0,.83334],"38":[0,.69444,.03058,0,.75834],"39":[0,.69444,.07816,0,.27778],"40":[.25,.75,.13164,0,.38889],"41":[.25,.75,.02536,0,.38889],"42":[0,.75,.11775,0,.5],"43":[.08333,.58333,.02536,0,.77778],"44":[.125,.08333,0,0,.27778],"45":[0,.44444,.01946,0,.33333],"46":[0,.08333,0,0,.27778],"47":[.25,.75,.13164,0,.5],"48":[0,.65556,.11156,0,.5],"49":[0,.65556,.11156,0,.5],"50":[0,.65556,.11156,0,.5],"51":[0,.65556,.11156,0,.5],"52":[0,.65556,.11156,0,.5],"53":[0,.65556,.11156,0,.5],"54":[0,.65556,.11156,0,.5],"55":[0,.65556,.11156,0,.5],"56":[0,.65556,.11156,0,.5],"57":[0,.65556,.11156,0,.5],"58":[0,.44444,.02502,0,.27778],"59":[.125,.44444,.02502,0,.27778],"61":[-.13,.37,.05087,0,.77778],"63":[0,.69444,.11809,0,.47222],"64":[0,.69444,.07555,0,.66667],"65":[0,.69444,0,0,.66667],"66":[0,.69444,.08293,0,.66667],"67":[0,.69444,.11983,0,.63889],"68":[0,.69444,.07555,0,.72223],"69":[0,.69444,.11983,0,.59722],"70":[0,.69444,.13372,0,.56945],"71":[0,.69444,.11983,0,.66667],"72":[0,.69444,.08094,0,.70834],"73":[0,.69444,.13372,0,.27778],"74":[0,.69444,.08094,0,.47222],"75":[0,.69444,.11983,0,.69445],"76":[0,.69444,0,0,.54167],"77":[0,.69444,.08094,0,.875],"78":[0,.69444,.08094,0,.70834],"79":[0,.69444,.07555,0,.73611],"80":[0,.69444,.08293,0,.63889],"81":[.125,.69444,.07555,0,.73611],"82":[0,.69444,.08293,0,.64584],"83":[0,.69444,.09205,0,.55556],"84":[0,.69444,.13372,0,.68056],"85":[0,.69444,.08094,0,.6875],"86":[0,.69444,.1615,0,.66667],"87":[0,.69444,.1615,0,.94445],"88":[0,.69444,.13372,0,.66667],"89":[0,.69444,.17261,0,.66667],"90":[0,.69444,.11983,0,.61111],"91":[.25,.75,.15942,0,.28889],"93":[.25,.75,.08719,0,.28889],"94":[0,.69444,.0799,0,.5],"95":[.35,.09444,.08616,0,.5],"97":[0,.44444,.00981,0,.48056],"98":[0,.69444,.03057,0,.51667],"99":[0,.44444,.08336,0,.44445],"100":[0,.69444,.09483,0,.51667],"101":[0,.44444,.06778,0,.44445],"102":[0,.69444,.21705,0,.30556],"103":[.19444,.44444,.10836,0,.5],"104":[0,.69444,.01778,0,.51667],"105":[0,.67937,.09718,0,.23889],"106":[.19444,.67937,.09162,0,.26667],"107":[0,.69444,.08336,0,.48889],"108":[0,.69444,.09483,0,.23889],"109":[0,.44444,.01778,0,.79445],"110":[0,.44444,.01778,0,.51667],"111":[0,.44444,.06613,0,.5],"112":[.19444,.44444,.0389,0,.51667],"113":[.19444,.44444,.04169,0,.51667],"114":[0,.44444,.10836,0,.34167],"115":[0,.44444,.0778,0,.38333],"116":[0,.57143,.07225,0,.36111],"117":[0,.44444,.04169,0,.51667],"118":[0,.44444,.10836,0,.46111],"119":[0,.44444,.10836,0,.68334],"120":[0,.44444,.09169,0,.46111],"121":[.19444,.44444,.10836,0,.46111],"122":[0,.44444,.08752,0,.43472],"126":[.35,.32659,.08826,0,.5],"168":[0,.67937,.06385,0,.5],"176":[0,.69444,0,0,.73752],"184":[.17014,0,0,0,.44445],"305":[0,.44444,.04169,0,.23889],"567":[.19444,.44444,.04169,0,.26667],"710":[0,.69444,.0799,0,.5],"711":[0,.63194,.08432,0,.5],"713":[0,.60889,.08776,0,.5],"714":[0,.69444,.09205,0,.5],"715":[0,.69444,0,0,.5],"728":[0,.69444,.09483,0,.5],"729":[0,.67937,.07774,0,.27778],"730":[0,.69444,0,0,.73752],"732":[0,.67659,.08826,0,.5],"733":[0,.69444,.09205,0,.5],"915":[0,.69444,.13372,0,.54167],"916":[0,.69444,0,0,.83334],"920":[0,.69444,.07555,0,.77778],"923":[0,.69444,0,0,.61111],"926":[0,.69444,.12816,0,.66667],"928":[0,.69444,.08094,0,.70834],"931":[0,.69444,.11983,0,.72222],"933":[0,.69444,.09031,0,.77778],"934":[0,.69444,.04603,0,.72222],"936":[0,.69444,.09031,0,.77778],"937":[0,.69444,.08293,0,.72222],"8211":[0,.44444,.08616,0,.5],"8212":[0,.44444,.08616,0,1],"8216":[0,.69444,.07816,0,.27778],"8217":[0,.69444,.07816,0,.27778],"8220":[0,.69444,.14205,0,.5],"8221":[0,.69444,.00316,0,.5]},"SansSerif-Regular":{"33":[0,.69444,0,0,.31945],"34":[0,.69444,0,0,.5],"35":[.19444,.69444,0,0,.83334],"36":[.05556,.75,0,0,.5],"37":[.05556,.75,0,0,.83334],"38":[0,.69444,0,0,.75834],"39":[0,.69444,0,0,.27778],"40":[.25,.75,0,0,.38889],"41":[.25,.75,0,0,.38889],"42":[0,.75,0,0,.5],"43":[.08333,.58333,0,0,.77778],"44":[.125,.08333,0,0,.27778],"45":[0,.44444,0,0,.33333],"46":[0,.08333,0,0,.27778],"47":[.25,.75,0,0,.5],"48":[0,.65556,0,0,.5],"49":[0,.65556,0,0,.5],"50":[0,.65556,0,0,.5],"51":[0,.65556,0,0,.5],"52":[0,.65556,0,0,.5],"53":[0,.65556,0,0,.5],"54":[0,.65556,0,0,.5],"55":[0,.65556,0,0,.5],"56":[0,.65556,0,0,.5],"57":[0,.65556,0,0,.5],"58":[0,.44444,0,0,.27778],"59":[.125,.44444,0,0,.27778],"61":[-.13,.37,0,0,.77778],"63":[0,.69444,0,0,.47222],"64":[0,.69444,0,0,.66667],"65":[0,.69444,0,0,.66667],"66":[0,.69444,0,0,.66667],"67":[0,.69444,0,0,.63889],"68":[0,.69444,0,0,.72223],"69":[0,.69444,0,0,.59722],"70":[0,.69444,0,0,.56945],"71":[0,.69444,0,0,.66667],"72":[0,.69444,0,0,.70834],"73":[0,.69444,0,0,.27778],"74":[0,.69444,0,0,.47222],"75":[0,.69444,0,0,.69445],"76":[0,.69444,0,0,.54167],"77":[0,.69444,0,0,.875],"78":[0,.69444,0,0,.70834],"79":[0,.69444,0,0,.73611],"80":[0,.69444,0,0,.63889],"81":[.125,.69444,0,0,.73611],"82":[0,.69444,0,0,.64584],"83":[0,.69444,0,0,.55556],"84":[0,.69444,0,0,.68056],"85":[0,.69444,0,0,.6875],"86":[0,.69444,.01389,0,.66667],"87":[0,.69444,.01389,0,.94445],"88":[0,.69444,0,0,.66667],"89":[0,.69444,.025,0,.66667],"90":[0,.69444,0,0,.61111],"91":[.25,.75,0,0,.28889],"93":[.25,.75,0,0,.28889],"94":[0,.69444,0,0,.5],"95":[.35,.09444,.02778,0,.5],"97":[0,.44444,0,0,.48056],"98":[0,.69444,0,0,.51667],"99":[0,.44444,0,0,.44445],"100":[0,.69444,0,0,.51667],"101":[0,.44444,0,0,.44445],"102":[0,.69444,.06944,0,.30556],"103":[.19444,.44444,.01389,0,.5],"104":[0,.69444,0,0,.51667],"105":[0,.67937,0,0,.23889],"106":[.19444,.67937,0,0,.26667],"107":[0,.69444,0,0,.48889],"108":[0,.69444,0,0,.23889],"109":[0,.44444,0,0,.79445],"110":[0,.44444,0,0,.51667],"111":[0,.44444,0,0,.5],"112":[.19444,.44444,0,0,.51667],"113":[.19444,.44444,0,0,.51667],"114":[0,.44444,.01389,0,.34167],"115":[0,.44444,0,0,.38333],"116":[0,.57143,0,0,.36111],"117":[0,.44444,0,0,.51667],"118":[0,.44444,.01389,0,.46111],"119":[0,.44444,.01389,0,.68334],"120":[0,.44444,0,0,.46111],"121":[.19444,.44444,.01389,0,.46111],"122":[0,.44444,0,0,.43472],"126":[.35,.32659,0,0,.5],"168":[0,.67937,0,0,.5],"176":[0,.69444,0,0,.66667],"184":[.17014,0,0,0,.44445],"305":[0,.44444,0,0,.23889],"567":[.19444,.44444,0,0,.26667],"710":[0,.69444,0,0,.5],"711":[0,.63194,0,0,.5],"713":[0,.60889,0,0,.5],"714":[0,.69444,0,0,.5],"715":[0,.69444,0,0,.5],"728":[0,.69444,0,0,.5],"729":[0,.67937,0,0,.27778],"730":[0,.69444,0,0,.66667],"732":[0,.67659,0,0,.5],"733":[0,.69444,0,0,.5],"915":[0,.69444,0,0,.54167],"916":[0,.69444,0,0,.83334],"920":[0,.69444,0,0,.77778],"923":[0,.69444,0,0,.61111],"926":[0,.69444,0,0,.66667],"928":[0,.69444,0,0,.70834],"931":[0,.69444,0,0,.72222],"933":[0,.69444,0,0,.77778],"934":[0,.69444,0,0,.72222],"936":[0,.69444,0,0,.77778],"937":[0,.69444,0,0,.72222],"8211":[0,.44444,.02778,0,.5],"8212":[0,.44444,.02778,0,1],"8216":[0,.69444,0,0,.27778],"8217":[0,.69444,0,0,.27778],"8220":[0,.69444,0,0,.5],"8221":[0,.69444,0,0,.5]},"Script-Regular":{"65":[0,.7,.22925,0,.80253],"66":[0,.7,.04087,0,.90757],"67":[0,.7,.1689,0,.66619],"68":[0,.7,.09371,0,.77443],"69":[0,.7,.18583,0,.56162],"70":[0,.7,.13634,0,.89544],"71":[0,.7,.17322,0,.60961],"72":[0,.7,.29694,0,.96919],"73":[0,.7,.19189,0,.80907],"74":[.27778,.7,.19189,0,1.05159],"75":[0,.7,.31259,0,.91364],"76":[0,.7,.19189,0,.87373],"77":[0,.7,.15981,0,1.08031],"78":[0,.7,.3525,0,.9015],"79":[0,.7,.08078,0,.73787],"80":[0,.7,.08078,0,1.01262],"81":[0,.7,.03305,0,.88282],"82":[0,.7,.06259,0,.85],"83":[0,.7,.19189,0,.86767],"84":[0,.7,.29087,0,.74697],"85":[0,.7,.25815,0,.79996],"86":[0,.7,.27523,0,.62204],"87":[0,.7,.27523,0,.80532],"88":[0,.7,.26006,0,.94445],"89":[0,.7,.2939,0,.70961],"90":[0,.7,.24037,0,.8212]},"Size1-Regular":{"40":[.35001,.85,0,0,.45834],"41":[.35001,.85,0,0,.45834],"47":[.35001,.85,0,0,.57778],"91":[.35001,.85,0,0,.41667],"92":[.35001,.85,0,0,.57778],"93":[.35001,.85,0,0,.41667],"123":[.35001,.85,0,0,.58334],"125":[.35001,.85,0,0,.58334],"710":[0,.72222,0,0,.55556],"732":[0,.72222,0,0,.55556],"770":[0,.72222,0,0,.55556],"771":[0,.72222,0,0,.55556],"8214":[-99e-5,.601,0,0,.77778],"8593":[1e-5,.6,0,0,.66667],"8595":[1e-5,.6,0,0,.66667],"8657":[1e-5,.6,0,0,.77778],"8659":[1e-5,.6,0,0,.77778],"8719":[.25001,.75,0,0,.94445],"8720":[.25001,.75,0,0,.94445],"8721":[.25001,.75,0,0,1.05556],"8730":[.35001,.85,0,0,1],"8739":[-.00599,.606,0,0,.33333],"8741":[-.00599,.606,0,0,.55556],"8747":[.30612,.805,.19445,0,.47222],"8748":[.306,.805,.19445,0,.47222],"8749":[.306,.805,.19445,0,.47222],"8750":[.30612,.805,.19445,0,.47222],"8896":[.25001,.75,0,0,.83334],"8897":[.25001,.75,0,0,.83334],"8898":[.25001,.75,0,0,.83334],"8899":[.25001,.75,0,0,.83334],"8968":[.35001,.85,0,0,.47222],"8969":[.35001,.85,0,0,.47222],"8970":[.35001,.85,0,0,.47222],"8971":[.35001,.85,0,0,.47222],"9168":[-99e-5,.601,0,0,.66667],"10216":[.35001,.85,0,0,.47222],"10217":[.35001,.85,0,0,.47222],"10752":[.25001,.75,0,0,1.11111],"10753":[.25001,.75,0,0,1.11111],"10754":[.25001,.75,0,0,1.11111],"10756":[.25001,.75,0,0,.83334],"10758":[.25001,.75,0,0,.83334]},"Size2-Regular":{"40":[.65002,1.15,0,0,.59722],"41":[.65002,1.15,0,0,.59722],"47":[.65002,1.15,0,0,.81111],"91":[.65002,1.15,0,0,.47222],"92":[.65002,1.15,0,0,.81111],"93":[.65002,1.15,0,0,.47222],"123":[.65002,1.15,0,0,.66667],"125":[.65002,1.15,0,0,.66667],"710":[0,.75,0,0,1],"732":[0,.75,0,0,1],"770":[0,.75,0,0,1],"771":[0,.75,0,0,1],"8719":[.55001,1.05,0,0,1.27778],"8720":[.55001,1.05,0,0,1.27778],"8721":[.55001,1.05,0,0,1.44445],"8730":[.65002,1.15,0,0,1],"8747":[.86225,1.36,.44445,0,.55556],"8748":[.862,1.36,.44445,0,.55556],"8749":[.862,1.36,.44445,0,.55556],"8750":[.86225,1.36,.44445,0,.55556],"8896":[.55001,1.05,0,0,1.11111],"8897":[.55001,1.05,0,0,1.11111],"8898":[.55001,1.05,0,0,1.11111],"8899":[.55001,1.05,0,0,1.11111],"8968":[.65002,1.15,0,0,.52778],"8969":[.65002,1.15,0,0,.52778],"8970":[.65002,1.15,0,0,.52778],"8971":[.65002,1.15,0,0,.52778],"10216":[.65002,1.15,0,0,.61111],"10217":[.65002,1.15,0,0,.61111],"10752":[.55001,1.05,0,0,1.51112],"10753":[.55001,1.05,0,0,1.51112],"10754":[.55001,1.05,0,0,1.51112],"10756":[.55001,1.05,0,0,1.11111],"10758":[.55001,1.05,0,0,1.11111]},"Size3-Regular":{"40":[.95003,1.45,0,0,.73611],"41":[.95003,1.45,0,0,.73611],"47":[.95003,1.45,0,0,1.04445],"91":[.95003,1.45,0,0,.52778],"92":[.95003,1.45,0,0,1.04445],"93":[.95003,1.45,0,0,.52778],"123":[.95003,1.45,0,0,.75],"125":[.95003,1.45,0,0,.75],"710":[0,.75,0,0,1.44445],"732":[0,.75,0,0,1.44445],"770":[0,.75,0,0,1.44445],"771":[0,.75,0,0,1.44445],"8730":[.95003,1.45,0,0,1],"8968":[.95003,1.45,0,0,.58334],"8969":[.95003,1.45,0,0,.58334],"8970":[.95003,1.45,0,0,.58334],"8971":[.95003,1.45,0,0,.58334],"10216":[.95003,1.45,0,0,.75],"10217":[.95003,1.45,0,0,.75]},"Size4-Regular":{"40":[1.25003,1.75,0,0,.79167],"41":[1.25003,1.75,0,0,.79167],"47":[1.25003,1.75,0,0,1.27778],"91":[1.25003,1.75,0,0,.58334],"92":[1.25003,1.75,0,0,1.27778],"93":[1.25003,1.75,0,0,.58334],"123":[1.25003,1.75,0,0,.80556],"125":[1.25003,1.75,0,0,.80556],"710":[0,.825,0,0,1.8889],"732":[0,.825,0,0,1.8889],"770":[0,.825,0,0,1.8889],"771":[0,.825,0,0,1.8889],"8730":[1.25003,1.75,0,0,1],"8968":[1.25003,1.75,0,0,.63889],"8969":[1.25003,1.75,0,0,.63889],"8970":[1.25003,1.75,0,0,.63889],"8971":[1.25003,1.75,0,0,.63889],"9115":[.64502,1.155,0,0,.875],"9116":[1e-5,.6,0,0,.875],"9117":[.64502,1.155,0,0,.875],"9118":[.64502,1.155,0,0,.875],"9119":[1e-5,.6,0,0,.875],"9120":[.64502,1.155,0,0,.875],"9121":[.64502,1.155,0,0,.66667],"9122":[-99e-5,.601,0,0,.66667],"9123":[.64502,1.155,0,0,.66667],"9124":[.64502,1.155,0,0,.66667],"9125":[-99e-5,.601,0,0,.66667],"9126":[.64502,1.155,0,0,.66667],"9127":[1e-5,.9,0,0,.88889],"9128":[.65002,1.15,0,0,.88889],"9129":[.90001,0,0,0,.88889],"9130":[0,.3,0,0,.88889],"9131":[1e-5,.9,0,0,.88889],"9132":[.65002,1.15,0,0,.88889],"9133":[.90001,0,0,0,.88889],"9143":[.88502,.915,0,0,1.05556],"10216":[1.25003,1.75,0,0,.80556],"10217":[1.25003,1.75,0,0,.80556],"57344":[-.00499,.605,0,0,1.05556],"57345":[-.00499,.605,0,0,1.05556],"57680":[0,.12,0,0,.45],"57681":[0,.12,0,0,.45],"57682":[0,.12,0,0,.45],"57683":[0,.12,0,0,.45]},"Typewriter-Regular":{"32":[0,0,0,0,.525],"33":[0,.61111,0,0,.525],"34":[0,.61111,0,0,.525],"35":[0,.61111,0,0,.525],"36":[.08333,.69444,0,0,.525],"37":[.08333,.69444,0,0,.525],"38":[0,.61111,0,0,.525],"39":[0,.61111,0,0,.525],"40":[.08333,.69444,0,0,.525],"41":[.08333,.69444,0,0,.525],"42":[0,.52083,0,0,.525],"43":[-.08056,.53055,0,0,.525],"44":[.13889,.125,0,0,.525],"45":[-.08056,.53055,0,0,.525],"46":[0,.125,0,0,.525],"47":[.08333,.69444,0,0,.525],"48":[0,.61111,0,0,.525],"49":[0,.61111,0,0,.525],"50":[0,.61111,0,0,.525],"51":[0,.61111,0,0,.525],"52":[0,.61111,0,0,.525],"53":[0,.61111,0,0,.525],"54":[0,.61111,0,0,.525],"55":[0,.61111,0,0,.525],"56":[0,.61111,0,0,.525],"57":[0,.61111,0,0,.525],"58":[0,.43056,0,0,.525],"59":[.13889,.43056,0,0,.525],"60":[-.05556,.55556,0,0,.525],"61":[-.19549,.41562,0,0,.525],"62":[-.05556,.55556,0,0,.525],"63":[0,.61111,0,0,.525],"64":[0,.61111,0,0,.525],"65":[0,.61111,0,0,.525],"66":[0,.61111,0,0,.525],"67":[0,.61111,0,0,.525],"68":[0,.61111,0,0,.525],"69":[0,.61111,0,0,.525],"70":[0,.61111,0,0,.525],"71":[0,.61111,0,0,.525],"72":[0,.61111,0,0,.525],"73":[0,.61111,0,0,.525],"74":[0,.61111,0,0,.525],"75":[0,.61111,0,0,.525],"76":[0,.61111,0,0,.525],"77":[0,.61111,0,0,.525],"78":[0,.61111,0,0,.525],"79":[0,.61111,0,0,.525],"80":[0,.61111,0,0,.525],"81":[.13889,.61111,0,0,.525],"82":[0,.61111,0,0,.525],"83":[0,.61111,0,0,.525],"84":[0,.61111,0,0,.525],"85":[0,.61111,0,0,.525],"86":[0,.61111,0,0,.525],"87":[0,.61111,0,0,.525],"88":[0,.61111,0,0,.525],"89":[0,.61111,0,0,.525],"90":[0,.61111,0,0,.525],"91":[.08333,.69444,0,0,.525],"92":[.08333,.69444,0,0,.525],"93":[.08333,.69444,0,0,.525],"94":[0,.61111,0,0,.525],"95":[.09514,0,0,0,.525],"96":[0,.61111,0,0,.525],"97":[0,.43056,0,0,.525],"98":[0,.61111,0,0,.525],"99":[0,.43056,0,0,.525],"100":[0,.61111,0,0,.525],"101":[0,.43056,0,0,.525],"102":[0,.61111,0,0,.525],"103":[.22222,.43056,0,0,.525],"104":[0,.61111,0,0,.525],"105":[0,.61111,0,0,.525],"106":[.22222,.61111,0,0,.525],"107":[0,.61111,0,0,.525],"108":[0,.61111,0,0,.525],"109":[0,.43056,0,0,.525],"110":[0,.43056,0,0,.525],"111":[0,.43056,0,0,.525],"112":[.22222,.43056,0,0,.525],"113":[.22222,.43056,0,0,.525],"114":[0,.43056,0,0,.525],"115":[0,.43056,0,0,.525],"116":[0,.55358,0,0,.525],"117":[0,.43056,0,0,.525],"118":[0,.43056,0,0,.525],"119":[0,.43056,0,0,.525],"120":[0,.43056,0,0,.525],"121":[.22222,.43056,0,0,.525],"122":[0,.43056,0,0,.525],"123":[.08333,.69444,0,0,.525],"124":[.08333,.69444,0,0,.525],"125":[.08333,.69444,0,0,.525],"126":[0,.61111,0,0,.525],"127":[0,.61111,0,0,.525],"160":[0,0,0,0,.525],"176":[0,.61111,0,0,.525],"184":[.19445,0,0,0,.525],"305":[0,.43056,0,0,.525],"567":[.22222,.43056,0,0,.525],"711":[0,.56597,0,0,.525],"713":[0,.56555,0,0,.525],"714":[0,.61111,0,0,.525],"715":[0,.61111,0,0,.525],"728":[0,.61111,0,0,.525],"730":[0,.61111,0,0,.525],"770":[0,.61111,0,0,.525],"771":[0,.61111,0,0,.525],"776":[0,.61111,0,0,.525],"915":[0,.61111,0,0,.525],"916":[0,.61111,0,0,.525],"920":[0,.61111,0,0,.525],"923":[0,.61111,0,0,.525],"926":[0,.61111,0,0,.525],"928":[0,.61111,0,0,.525],"931":[0,.61111,0,0,.525],"933":[0,.61111,0,0,.525],"934":[0,.61111,0,0,.525],"936":[0,.61111,0,0,.525],"937":[0,.61111,0,0,.525],"8216":[0,.61111,0,0,.525],"8217":[0,.61111,0,0,.525],"8242":[0,.61111,0,0,.525],"9251":[.11111,.21944,0,0,.525]}},dt={slant:[.25,.25,.25],space:[0,0,0],stretch:[0,0,0],shrink:[0,0,0],xHeight:[.431,.431,.431],quad:[1,1.171,1.472],extraSpace:[0,0,0],num1:[.677,.732,.925],num2:[.394,.384,.387],num3:[.444,.471,.504],denom1:[.686,.752,1.025],denom2:[.345,.344,.532],sup1:[.413,.503,.504],sup2:[.363,.431,.404],sup3:[.289,.286,.294],sub1:[.15,.143,.2],sub2:[.247,.286,.4],supDrop:[.386,.353,.494],subDrop:[.05,.071,.1],delim1:[2.39,1.7,1.98],delim2:[1.01,1.157,1.42],axisHeight:[.25,.25,.25],defaultRuleThickness:[.04,.049,.049],bigOpSpacing1:[.111,.111,.111],bigOpSpacing2:[.166,.166,.166],bigOpSpacing3:[.2,.2,.2],bigOpSpacing4:[.6,.611,.611],bigOpSpacing5:[.1,.143,.143],sqrtRuleThickness:[.04,.04,.04],ptPerEm:[10,10,10],doubleRuleSep:[.2,.2,.2],arrayRuleWidth:[.04,.04,.04],fboxsep:[.3,.3,.3],fboxrule:[.04,.04,.04]},De={\u00C5:"A",\u00C7:"C",\u00D0:"D",\u00DE:"o",\u00E5:"a",\u00E7:"c",\u00F0:"d",\u00FE:"o",\u0410:"A",\u0411:"B",\u0412:"B",\u0413:"F",\u0414:"A",\u0415:"E",\u0416:"K",\u0417:"3",\u0418:"N",\u0419:"N",\u041A:"K",\u041B:"N",\u041C:"M",\u041D:"H",\u041E:"O",\u041F:"N",\u0420:"P",\u0421:"C",\u0422:"T",\u0423:"y",\u0424:"O",\u0425:"X",\u0426:"U",\u0427:"h",\u0428:"W",\u0429:"W",\u042A:"B",\u042B:"X",\u042C:"B",\u042D:"3",\u042E:"X",\u042F:"R",\u0430:"a",\u0431:"b",\u0432:"a",\u0433:"r",\u0434:"y",\u0435:"e",\u0436:"m",\u0437:"e",\u0438:"n",\u0439:"n",\u043A:"n",\u043B:"n",\u043C:"m",\u043D:"n",\u043E:"o",\u043F:"n",\u0440:"p",\u0441:"c",\u0442:"o",\u0443:"y",\u0444:"b",\u0445:"x",\u0446:"n",\u0447:"n",\u0448:"w",\u0449:"w",\u044A:"a",\u044B:"m",\u044C:"a",\u044D:"e",\u044E:"m",\u044F:"r"};function Tt(Bt,pe){ze[Bt]=pe}function je(Bt,pe,Ie){if(!ze[pe])throw new Error("Font metrics not found for font: "+pe+".");var Ne=Bt.charCodeAt(0),Qe=ze[pe][Ne];if(!Qe&&Bt[0]in De&&(Ne=De[Bt[0]].charCodeAt(0),Qe=ze[pe][Ne]),!Qe&&Ie==="text"&&(Y(Ne)&&(Qe=ze[pe][77])),Qe)return{depth:Qe[0],height:Qe[1],italic:Qe[2],skew:Qe[3],width:Qe[4]}}var st={};function Xe(Bt){var pe;if(Bt>=5?pe=0:Bt>=3?pe=1:pe=2,!st[pe]){var Ie=st[pe]={cssEmPerMu:dt.quad[pe]/18};for(var Ne in dt)dt.hasOwnProperty(Ne)&&(Ie[Ne]=dt[Ne][pe])}return st[pe]}var Je={bin:1,close:1,inner:1,open:1,punct:1,rel:1},et={"accent-token":1,mathord:1,"op-token":1,spacing:1,textord:1},at={math:{},text:{}},Ve=at;function le(Bt,pe,Ie,Ne,Qe,Ct){at[Bt][Qe]={font:pe,group:Ie,replace:Ne},Ct&&Ne&&(at[Bt][Ne]=at[Bt][Qe])}var ae="math",lt="text",Ze="main",Te="ams",Jt="accent-token",mt="bin",ft="close",bt="inner",It="mathord",or="op-token",Pt="open",_e="punct",Ce="rel",Ee="spacing",we="textord";le(ae,Ze,Ce,"\u2261","\\equiv",!0),le(ae,Ze,Ce,"\u227A","\\prec",!0),le(ae,Ze,Ce,"\u227B","\\succ",!0),le(ae,Ze,Ce,"\u223C","\\sim",!0),le(ae,Ze,Ce,"\u22A5","\\perp"),le(ae,Ze,Ce,"\u2AAF","\\preceq",!0),le(ae,Ze,Ce,"\u2AB0","\\succeq",!0),le(ae,Ze,Ce,"\u2243","\\simeq",!0),le(ae,Ze,Ce,"\u2223","\\mid",!0),le(ae,Ze,Ce,"\u226A","\\ll",!0),le(ae,Ze,Ce,"\u226B","\\gg",!0),le(ae,Ze,Ce,"\u224D","\\asymp",!0),le(ae,Ze,Ce,"\u2225","\\parallel"),le(ae,Ze,Ce,"\u22C8","\\bowtie",!0),le(ae,Ze,Ce,"\u2323","\\smile",!0),le(ae,Ze,Ce,"\u2291","\\sqsubseteq",!0),le(ae,Ze,Ce,"\u2292","\\sqsupseteq",!0),le(ae,Ze,Ce,"\u2250","\\doteq",!0),le(ae,Ze,Ce,"\u2322","\\frown",!0),le(ae,Ze,Ce,"\u220B","\\ni",!0),le(ae,Ze,Ce,"\u221D","\\propto",!0),le(ae,Ze,Ce,"\u22A2","\\vdash",!0),le(ae,Ze,Ce,"\u22A3","\\dashv",!0),le(ae,Ze,Ce,"\u220B","\\owns"),le(ae,Ze,_e,".","\\ldotp"),le(ae,Ze,_e,"\u22C5","\\cdotp"),le(ae,Ze,we,"#","\\#"),le(lt,Ze,we,"#","\\#"),le(ae,Ze,we,"&","\\&"),le(lt,Ze,we,"&","\\&"),le(ae,Ze,we,"\u2135","\\aleph",!0),le(ae,Ze,we,"\u2200","\\forall",!0),le(ae,Ze,we,"\u210F","\\hbar",!0),le(ae,Ze,we,"\u2203","\\exists",!0),le(ae,Ze,we,"\u2207","\\nabla",!0),le(ae,Ze,we,"\u266D","\\flat",!0),le(ae,Ze,we,"\u2113","\\ell",!0),le(ae,Ze,we,"\u266E","\\natural",!0),le(ae,Ze,we,"\u2663","\\clubsuit",!0),le(ae,Ze,we,"\u2118","\\wp",!0),le(ae,Ze,we,"\u266F","\\sharp",!0),le(ae,Ze,we,"\u2662","\\diamondsuit",!0),le(ae,Ze,we,"\u211C","\\Re",!0),le(ae,Ze,we,"\u2661","\\heartsuit",!0),le(ae,Ze,we,"\u2111","\\Im",!0),le(ae,Ze,we,"\u2660","\\spadesuit",!0),le(lt,Ze,we,"\xA7","\\S",!0),le(lt,Ze,we,"\xB6","\\P",!0),le(ae,Ze,we,"\u2020","\\dag"),le(lt,Ze,we,"\u2020","\\dag"),le(lt,Ze,we,"\u2020","\\textdagger"),le(ae,Ze,we,"\u2021","\\ddag"),le(lt,Ze,we,"\u2021","\\ddag"),le(lt,Ze,we,"\u2021","\\textdaggerdbl"),le(ae,Ze,ft,"\u23B1","\\rmoustache",!0),le(ae,Ze,Pt,"\u23B0","\\lmoustache",!0),le(ae,Ze,ft,"\u27EF","\\rgroup",!0),le(ae,Ze,Pt,"\u27EE","\\lgroup",!0),le(ae,Ze,mt,"\u2213","\\mp",!0),le(ae,Ze,mt,"\u2296","\\ominus",!0),le(ae,Ze,mt,"\u228E","\\uplus",!0),le(ae,Ze,mt,"\u2293","\\sqcap",!0),le(ae,Ze,mt,"\u2217","\\ast"),le(ae,Ze,mt,"\u2294","\\sqcup",!0),le(ae,Ze,mt,"\u25EF","\\bigcirc"),le(ae,Ze,mt,"\u2219","\\bullet"),le(ae,Ze,mt,"\u2021","\\ddagger"),le(ae,Ze,mt,"\u2240","\\wr",!0),le(ae,Ze,mt,"\u2A3F","\\amalg"),le(ae,Ze,mt,"&","\\And"),le(ae,Ze,Ce,"\u27F5","\\longleftarrow",!0),le(ae,Ze,Ce,"\u21D0","\\Leftarrow",!0),le(ae,Ze,Ce,"\u27F8","\\Longleftarrow",!0),le(ae,Ze,Ce,"\u27F6","\\longrightarrow",!0),le(ae,Ze,Ce,"\u21D2","\\Rightarrow",!0),le(ae,Ze,Ce,"\u27F9","\\Longrightarrow",!0),le(ae,Ze,Ce,"\u2194","\\leftrightarrow",!0),le(ae,Ze,Ce,"\u27F7","\\longleftrightarrow",!0),le(ae,Ze,Ce,"\u21D4","\\Leftrightarrow",!0),le(ae,Ze,Ce,"\u27FA","\\Longleftrightarrow",!0),le(ae,Ze,Ce,"\u21A6","\\mapsto",!0),le(ae,Ze,Ce,"\u27FC","\\longmapsto",!0),le(ae,Ze,Ce,"\u2197","\\nearrow",!0),le(ae,Ze,Ce,"\u21A9","\\hookleftarrow",!0),le(ae,Ze,Ce,"\u21AA","\\hookrightarrow",!0),le(ae,Ze,Ce,"\u2198","\\searrow",!0),le(ae,Ze,Ce,"\u21BC","\\leftharpoonup",!0),le(ae,Ze,Ce,"\u21C0","\\rightharpoonup",!0),le(ae,Ze,Ce,"\u2199","\\swarrow",!0),le(ae,Ze,Ce,"\u21BD","\\leftharpoondown",!0),le(ae,Ze,Ce,"\u21C1","\\rightharpoondown",!0),le(ae,Ze,Ce,"\u2196","\\nwarrow",!0),le(ae,Ze,Ce,"\u21CC","\\rightleftharpoons",!0),le(ae,Te,Ce,"\u226E","\\nless",!0),le(ae,Te,Ce,"\uE010","\\@nleqslant"),le(ae,Te,Ce,"\uE011","\\@nleqq"),le(ae,Te,Ce,"\u2A87","\\lneq",!0),le(ae,Te,Ce,"\u2268","\\lneqq",!0),le(ae,Te,Ce,"\uE00C","\\@lvertneqq"),le(ae,Te,Ce,"\u22E6","\\lnsim",!0),le(ae,Te,Ce,"\u2A89","\\lnapprox",!0),le(ae,Te,Ce,"\u2280","\\nprec",!0),le(ae,Te,Ce,"\u22E0","\\npreceq",!0),le(ae,Te,Ce,"\u22E8","\\precnsim",!0),le(ae,Te,Ce,"\u2AB9","\\precnapprox",!0),le(ae,Te,Ce,"\u2241","\\nsim",!0),le(ae,Te,Ce,"\uE006","\\@nshortmid"),le(ae,Te,Ce,"\u2224","\\nmid",!0),le(ae,Te,Ce,"\u22AC","\\nvdash",!0),le(ae,Te,Ce,"\u22AD","\\nvDash",!0),le(ae,Te,Ce,"\u22EA","\\ntriangleleft"),le(ae,Te,Ce,"\u22EC","\\ntrianglelefteq",!0),le(ae,Te,Ce,"\u228A","\\subsetneq",!0),le(ae,Te,Ce,"\uE01A","\\@varsubsetneq"),le(ae,Te,Ce,"\u2ACB","\\subsetneqq",!0),le(ae,Te,Ce,"\uE017","\\@varsubsetneqq"),le(ae,Te,Ce,"\u226F","\\ngtr",!0),le(ae,Te,Ce,"\uE00F","\\@ngeqslant"),le(ae,Te,Ce,"\uE00E","\\@ngeqq"),le(ae,Te,Ce,"\u2A88","\\gneq",!0),le(ae,Te,Ce,"\u2269","\\gneqq",!0),le(ae,Te,Ce,"\uE00D","\\@gvertneqq"),le(ae,Te,Ce,"\u22E7","\\gnsim",!0),le(ae,Te,Ce,"\u2A8A","\\gnapprox",!0),le(ae,Te,Ce,"\u2281","\\nsucc",!0),le(ae,Te,Ce,"\u22E1","\\nsucceq",!0),le(ae,Te,Ce,"\u22E9","\\succnsim",!0),le(ae,Te,Ce,"\u2ABA","\\succnapprox",!0),le(ae,Te,Ce,"\u2246","\\ncong",!0),le(ae,Te,Ce,"\uE007","\\@nshortparallel"),le(ae,Te,Ce,"\u2226","\\nparallel",!0),le(ae,Te,Ce,"\u22AF","\\nVDash",!0),le(ae,Te,Ce,"\u22EB","\\ntriangleright"),le(ae,Te,Ce,"\u22ED","\\ntrianglerighteq",!0),le(ae,Te,Ce,"\uE018","\\@nsupseteqq"),le(ae,Te,Ce,"\u228B","\\supsetneq",!0),le(ae,Te,Ce,"\uE01B","\\@varsupsetneq"),le(ae,Te,Ce,"\u2ACC","\\supsetneqq",!0),le(ae,Te,Ce,"\uE019","\\@varsupsetneqq"),le(ae,Te,Ce,"\u22AE","\\nVdash",!0),le(ae,Te,Ce,"\u2AB5","\\precneqq",!0),le(ae,Te,Ce,"\u2AB6","\\succneqq",!0),le(ae,Te,Ce,"\uE016","\\@nsubseteqq"),le(ae,Te,mt,"\u22B4","\\unlhd"),le(ae,Te,mt,"\u22B5","\\unrhd"),le(ae,Te,Ce,"\u219A","\\nleftarrow",!0),le(ae,Te,Ce,"\u219B","\\nrightarrow",!0),le(ae,Te,Ce,"\u21CD","\\nLeftarrow",!0),le(ae,Te,Ce,"\u21CF","\\nRightarrow",!0),le(ae,Te,Ce,"\u21AE","\\nleftrightarrow",!0),le(ae,Te,Ce,"\u21CE","\\nLeftrightarrow",!0),le(ae,Te,Ce,"\u25B3","\\vartriangle"),le(ae,Te,we,"\u210F","\\hslash"),le(ae,Te,we,"\u25BD","\\triangledown"),le(ae,Te,we,"\u25CA","\\lozenge"),le(ae,Te,we,"\u24C8","\\circledS"),le(ae,Te,we,"\xAE","\\circledR"),le(lt,Te,we,"\xAE","\\circledR"),le(ae,Te,we,"\u2221","\\measuredangle",!0),le(ae,Te,we,"\u2204","\\nexists"),le(ae,Te,we,"\u2127","\\mho"),le(ae,Te,we,"\u2132","\\Finv",!0),le(ae,Te,we,"\u2141","\\Game",!0),le(ae,Te,we,"\u2035","\\backprime"),le(ae,Te,we,"\u25B2","\\blacktriangle"),le(ae,Te,we,"\u25BC","\\blacktriangledown"),le(ae,Te,we,"\u25A0","\\blacksquare"),le(ae,Te,we,"\u29EB","\\blacklozenge"),le(ae,Te,we,"\u2605","\\bigstar"),le(ae,Te,we,"\u2222","\\sphericalangle",!0),le(ae,Te,we,"\u2201","\\complement",!0),le(ae,Te,we,"\xF0","\\eth",!0),le(ae,Te,we,"\u2571","\\diagup"),le(ae,Te,we,"\u2572","\\diagdown"),le(ae,Te,we,"\u25A1","\\square"),le(ae,Te,we,"\u25A1","\\Box"),le(ae,Te,we,"\u25CA","\\Diamond"),le(ae,Te,we,"\xA5","\\yen",!0),le(lt,Te,we,"\xA5","\\yen",!0),le(ae,Te,we,"\u2713","\\checkmark",!0),le(lt,Te,we,"\u2713","\\checkmark"),le(ae,Te,we,"\u2136","\\beth",!0),le(ae,Te,we,"\u2138","\\daleth",!0),le(ae,Te,we,"\u2137","\\gimel",!0),le(ae,Te,we,"\u03DD","\\digamma",!0),le(ae,Te,we,"\u03F0","\\varkappa"),le(ae,Te,Pt,"\u250C","\\ulcorner",!0),le(ae,Te,ft,"\u2510","\\urcorner",!0),le(ae,Te,Pt,"\u2514","\\llcorner",!0),le(ae,Te,ft,"\u2518","\\lrcorner",!0),le(ae,Te,Ce,"\u2266","\\leqq",!0),le(ae,Te,Ce,"\u2A7D","\\leqslant",!0),le(ae,Te,Ce,"\u2A95","\\eqslantless",!0),le(ae,Te,Ce,"\u2272","\\lesssim",!0),le(ae,Te,Ce,"\u2A85","\\lessapprox",!0),le(ae,Te,Ce,"\u224A","\\approxeq",!0),le(ae,Te,mt,"\u22D6","\\lessdot"),le(ae,Te,Ce,"\u22D8","\\lll",!0),le(ae,Te,Ce,"\u2276","\\lessgtr",!0),le(ae,Te,Ce,"\u22DA","\\lesseqgtr",!0),le(ae,Te,Ce,"\u2A8B","\\lesseqqgtr",!0),le(ae,Te,Ce,"\u2251","\\doteqdot"),le(ae,Te,Ce,"\u2253","\\risingdotseq",!0),le(ae,Te,Ce,"\u2252","\\fallingdotseq",!0),le(ae,Te,Ce,"\u223D","\\backsim",!0),le(ae,Te,Ce,"\u22CD","\\backsimeq",!0),le(ae,Te,Ce,"\u2AC5","\\subseteqq",!0),le(ae,Te,Ce,"\u22D0","\\Subset",!0),le(ae,Te,Ce,"\u228F","\\sqsubset",!0),le(ae,Te,Ce,"\u227C","\\preccurlyeq",!0),le(ae,Te,Ce,"\u22DE","\\curlyeqprec",!0),le(ae,Te,Ce,"\u227E","\\precsim",!0),le(ae,Te,Ce,"\u2AB7","\\precapprox",!0),le(ae,Te,Ce,"\u22B2","\\vartriangleleft"),le(ae,Te,Ce,"\u22B4","\\trianglelefteq"),le(ae,Te,Ce,"\u22A8","\\vDash",!0),le(ae,Te,Ce,"\u22AA","\\Vvdash",!0),le(ae,Te,Ce,"\u2323","\\smallsmile"),le(ae,Te,Ce,"\u2322","\\smallfrown"),le(ae,Te,Ce,"\u224F","\\bumpeq",!0),le(ae,Te,Ce,"\u224E","\\Bumpeq",!0),le(ae,Te,Ce,"\u2267","\\geqq",!0),le(ae,Te,Ce,"\u2A7E","\\geqslant",!0),le(ae,Te,Ce,"\u2A96","\\eqslantgtr",!0),le(ae,Te,Ce,"\u2273","\\gtrsim",!0),le(ae,Te,Ce,"\u2A86","\\gtrapprox",!0),le(ae,Te,mt,"\u22D7","\\gtrdot"),le(ae,Te,Ce,"\u22D9","\\ggg",!0),le(ae,Te,Ce,"\u2277","\\gtrless",!0),le(ae,Te,Ce,"\u22DB","\\gtreqless",!0),le(ae,Te,Ce,"\u2A8C","\\gtreqqless",!0),le(ae,Te,Ce,"\u2256","\\eqcirc",!0),le(ae,Te,Ce,"\u2257","\\circeq",!0),le(ae,Te,Ce,"\u225C","\\triangleq",!0),le(ae,Te,Ce,"\u223C","\\thicksim"),le(ae,Te,Ce,"\u2248","\\thickapprox"),le(ae,Te,Ce,"\u2AC6","\\supseteqq",!0),le(ae,Te,Ce,"\u22D1","\\Supset",!0),le(ae,Te,Ce,"\u2290","\\sqsupset",!0),le(ae,Te,Ce,"\u227D","\\succcurlyeq",!0),le(ae,Te,Ce,"\u22DF","\\curlyeqsucc",!0),le(ae,Te,Ce,"\u227F","\\succsim",!0),le(ae,Te,Ce,"\u2AB8","\\succapprox",!0),le(ae,Te,Ce,"\u22B3","\\vartriangleright"),le(ae,Te,Ce,"\u22B5","\\trianglerighteq"),le(ae,Te,Ce,"\u22A9","\\Vdash",!0),le(ae,Te,Ce,"\u2223","\\shortmid"),le(ae,Te,Ce,"\u2225","\\shortparallel"),le(ae,Te,Ce,"\u226C","\\between",!0),le(ae,Te,Ce,"\u22D4","\\pitchfork",!0),le(ae,Te,Ce,"\u221D","\\varpropto"),le(ae,Te,Ce,"\u25C0","\\blacktriangleleft"),le(ae,Te,Ce,"\u2234","\\therefore",!0),le(ae,Te,Ce,"\u220D","\\backepsilon"),le(ae,Te,Ce,"\u25B6","\\blacktriangleright"),le(ae,Te,Ce,"\u2235","\\because",!0),le(ae,Te,Ce,"\u22D8","\\llless"),le(ae,Te,Ce,"\u22D9","\\gggtr"),le(ae,Te,mt,"\u22B2","\\lhd"),le(ae,Te,mt,"\u22B3","\\rhd"),le(ae,Te,Ce,"\u2242","\\eqsim",!0),le(ae,Ze,Ce,"\u22C8","\\Join"),le(ae,Te,Ce,"\u2251","\\Doteq",!0),le(ae,Te,mt,"\u2214","\\dotplus",!0),le(ae,Te,mt,"\u2216","\\smallsetminus"),le(ae,Te,mt,"\u22D2","\\Cap",!0),le(ae,Te,mt,"\u22D3","\\Cup",!0),le(ae,Te,mt,"\u2A5E","\\doublebarwedge",!0),le(ae,Te,mt,"\u229F","\\boxminus",!0),le(ae,Te,mt,"\u229E","\\boxplus",!0),le(ae,Te,mt,"\u22C7","\\divideontimes",!0),le(ae,Te,mt,"\u22C9","\\ltimes",!0),le(ae,Te,mt,"\u22CA","\\rtimes",!0),le(ae,Te,mt,"\u22CB","\\leftthreetimes",!0),le(ae,Te,mt,"\u22CC","\\rightthreetimes",!0),le(ae,Te,mt,"\u22CF","\\curlywedge",!0),le(ae,Te,mt,"\u22CE","\\curlyvee",!0),le(ae,Te,mt,"\u229D","\\circleddash",!0),le(ae,Te,mt,"\u229B","\\circledast",!0),le(ae,Te,mt,"\u22C5","\\centerdot"),le(ae,Te,mt,"\u22BA","\\intercal",!0),le(ae,Te,mt,"\u22D2","\\doublecap"),le(ae,Te,mt,"\u22D3","\\doublecup"),le(ae,Te,mt,"\u22A0","\\boxtimes",!0),le(ae,Te,Ce,"\u21E2","\\dashrightarrow",!0),le(ae,Te,Ce,"\u21E0","\\dashleftarrow",!0),le(ae,Te,Ce,"\u21C7","\\leftleftarrows",!0),le(ae,Te,Ce,"\u21C6","\\leftrightarrows",!0),le(ae,Te,Ce,"\u21DA","\\Lleftarrow",!0),le(ae,Te,Ce,"\u219E","\\twoheadleftarrow",!0),le(ae,Te,Ce,"\u21A2","\\leftarrowtail",!0),le(ae,Te,Ce,"\u21AB","\\looparrowleft",!0),le(ae,Te,Ce,"\u21CB","\\leftrightharpoons",!0),le(ae,Te,Ce,"\u21B6","\\curvearrowleft",!0),le(ae,Te,Ce,"\u21BA","\\circlearrowleft",!0),le(ae,Te,Ce,"\u21B0","\\Lsh",!0),le(ae,Te,Ce,"\u21C8","\\upuparrows",!0),le(ae,Te,Ce,"\u21BF","\\upharpoonleft",!0),le(ae,Te,Ce,"\u21C3","\\downharpoonleft",!0),le(ae,Te,Ce,"\u22B8","\\multimap",!0),le(ae,Te,Ce,"\u21AD","\\leftrightsquigarrow",!0),le(ae,Te,Ce,"\u21C9","\\rightrightarrows",!0),le(ae,Te,Ce,"\u21C4","\\rightleftarrows",!0),le(ae,Te,Ce,"\u21A0","\\twoheadrightarrow",!0),le(ae,Te,Ce,"\u21A3","\\rightarrowtail",!0),le(ae,Te,Ce,"\u21AC","\\looparrowright",!0),le(ae,Te,Ce,"\u21B7","\\curvearrowright",!0),le(ae,Te,Ce,"\u21BB","\\circlearrowright",!0),le(ae,Te,Ce,"\u21B1","\\Rsh",!0),le(ae,Te,Ce,"\u21CA","\\downdownarrows",!0),le(ae,Te,Ce,"\u21BE","\\upharpoonright",!0),le(ae,Te,Ce,"\u21C2","\\downharpoonright",!0),le(ae,Te,Ce,"\u21DD","\\rightsquigarrow",!0),le(ae,Te,Ce,"\u21DD","\\leadsto"),le(ae,Te,Ce,"\u21DB","\\Rrightarrow",!0),le(ae,Te,Ce,"\u21BE","\\restriction"),le(ae,Ze,we,"\u2018","`"),le(ae,Ze,we,"$","\\$"),le(lt,Ze,we,"$","\\$"),le(lt,Ze,we,"$","\\textdollar"),le(ae,Ze,we,"%","\\%"),le(lt,Ze,we,"%","\\%"),le(ae,Ze,we,"_","\\_"),le(lt,Ze,we,"_","\\_"),le(lt,Ze,we,"_","\\textunderscore"),le(ae,Ze,we,"\u2220","\\angle",!0),le(ae,Ze,we,"\u221E","\\infty",!0),le(ae,Ze,we,"\u2032","\\prime"),le(ae,Ze,we,"\u25B3","\\triangle"),le(ae,Ze,we,"\u0393","\\Gamma",!0),le(ae,Ze,we,"\u0394","\\Delta",!0),le(ae,Ze,we,"\u0398","\\Theta",!0),le(ae,Ze,we,"\u039B","\\Lambda",!0),le(ae,Ze,we,"\u039E","\\Xi",!0),le(ae,Ze,we,"\u03A0","\\Pi",!0),le(ae,Ze,we,"\u03A3","\\Sigma",!0),le(ae,Ze,we,"\u03A5","\\Upsilon",!0),le(ae,Ze,we,"\u03A6","\\Phi",!0),le(ae,Ze,we,"\u03A8","\\Psi",!0),le(ae,Ze,we,"\u03A9","\\Omega",!0),le(ae,Ze,we,"A","\u0391"),le(ae,Ze,we,"B","\u0392"),le(ae,Ze,we,"E","\u0395"),le(ae,Ze,we,"Z","\u0396"),le(ae,Ze,we,"H","\u0397"),le(ae,Ze,we,"I","\u0399"),le(ae,Ze,we,"K","\u039A"),le(ae,Ze,we,"M","\u039C"),le(ae,Ze,we,"N","\u039D"),le(ae,Ze,we,"O","\u039F"),le(ae,Ze,we,"P","\u03A1"),le(ae,Ze,we,"T","\u03A4"),le(ae,Ze,we,"X","\u03A7"),le(ae,Ze,we,"\xAC","\\neg",!0),le(ae,Ze,we,"\xAC","\\lnot"),le(ae,Ze,we,"\u22A4","\\top"),le(ae,Ze,we,"\u22A5","\\bot"),le(ae,Ze,we,"\u2205","\\emptyset"),le(ae,Te,we,"\u2205","\\varnothing"),le(ae,Ze,It,"\u03B1","\\alpha",!0),le(ae,Ze,It,"\u03B2","\\beta",!0),le(ae,Ze,It,"\u03B3","\\gamma",!0),le(ae,Ze,It,"\u03B4","\\delta",!0),le(ae,Ze,It,"\u03F5","\\epsilon",!0),le(ae,Ze,It,"\u03B6","\\zeta",!0),le(ae,Ze,It,"\u03B7","\\eta",!0),le(ae,Ze,It,"\u03B8","\\theta",!0),le(ae,Ze,It,"\u03B9","\\iota",!0),le(ae,Ze,It,"\u03BA","\\kappa",!0),le(ae,Ze,It,"\u03BB","\\lambda",!0),le(ae,Ze,It,"\u03BC","\\mu",!0),le(ae,Ze,It,"\u03BD","\\nu",!0),le(ae,Ze,It,"\u03BE","\\xi",!0),le(ae,Ze,It,"\u03BF","\\omicron",!0),le(ae,Ze,It,"\u03C0","\\pi",!0),le(ae,Ze,It,"\u03C1","\\rho",!0),le(ae,Ze,It,"\u03C3","\\sigma",!0),le(ae,Ze,It,"\u03C4","\\tau",!0),le(ae,Ze,It,"\u03C5","\\upsilon",!0),le(ae,Ze,It,"\u03D5","\\phi",!0),le(ae,Ze,It,"\u03C7","\\chi",!0),le(ae,Ze,It,"\u03C8","\\psi",!0),le(ae,Ze,It,"\u03C9","\\omega",!0),le(ae,Ze,It,"\u03B5","\\varepsilon",!0),le(ae,Ze,It,"\u03D1","\\vartheta",!0),le(ae,Ze,It,"\u03D6","\\varpi",!0),le(ae,Ze,It,"\u03F1","\\varrho",!0),le(ae,Ze,It,"\u03C2","\\varsigma",!0),le(ae,Ze,It,"\u03C6","\\varphi",!0),le(ae,Ze,mt,"\u2217","*"),le(ae,Ze,mt,"+","+"),le(ae,Ze,mt,"\u2212","-"),le(ae,Ze,mt,"\u22C5","\\cdot",!0),le(ae,Ze,mt,"\u2218","\\circ"),le(ae,Ze,mt,"\xF7","\\div",!0),le(ae,Ze,mt,"\xB1","\\pm",!0),le(ae,Ze,mt,"\xD7","\\times",!0),le(ae,Ze,mt,"\u2229","\\cap",!0),le(ae,Ze,mt,"\u222A","\\cup",!0),le(ae,Ze,mt,"\u2216","\\setminus"),le(ae,Ze,mt,"\u2227","\\land"),le(ae,Ze,mt,"\u2228","\\lor"),le(ae,Ze,mt,"\u2227","\\wedge",!0),le(ae,Ze,mt,"\u2228","\\vee",!0),le(ae,Ze,we,"\u221A","\\surd"),le(ae,Ze,Pt,"(","("),le(ae,Ze,Pt,"[","["),le(ae,Ze,Pt,"\u27E8","\\langle",!0),le(ae,Ze,Pt,"\u2223","\\lvert"),le(ae,Ze,Pt,"\u2225","\\lVert"),le(ae,Ze,ft,")",")"),le(ae,Ze,ft,"]","]"),le(ae,Ze,ft,"?","?"),le(ae,Ze,ft,"!","!"),le(ae,Ze,ft,"\u27E9","\\rangle",!0),le(ae,Ze,ft,"\u2223","\\rvert"),le(ae,Ze,ft,"\u2225","\\rVert"),le(ae,Ze,Ce,"=","="),le(ae,Ze,Ce,"<","<"),le(ae,Ze,Ce,">",">"),le(ae,Ze,Ce,":",":"),le(ae,Ze,Ce,"\u2248","\\approx",!0),le(ae,Ze,Ce,"\u2245","\\cong",!0),le(ae,Ze,Ce,"\u2265","\\ge"),le(ae,Ze,Ce,"\u2265","\\geq",!0),le(ae,Ze,Ce,"\u2190","\\gets"),le(ae,Ze,Ce,">","\\gt"),le(ae,Ze,Ce,"\u2208","\\in",!0),le(ae,Ze,Ce,"\uE020","\\@not"),le(ae,Ze,Ce,"\u2282","\\subset",!0),le(ae,Ze,Ce,"\u2283","\\supset",!0),le(ae,Ze,Ce,"\u2286","\\subseteq",!0),le(ae,Ze,Ce,"\u2287","\\supseteq",!0),le(ae,Te,Ce,"\u2288","\\nsubseteq",!0),le(ae,Te,Ce,"\u2289","\\nsupseteq",!0),le(ae,Ze,Ce,"\u22A8","\\models"),le(ae,Ze,Ce,"\u2190","\\leftarrow",!0),le(ae,Ze,Ce,"\u2264","\\le"),le(ae,Ze,Ce,"\u2264","\\leq",!0),le(ae,Ze,Ce,"<","\\lt"),le(ae,Ze,Ce,"\u2192","\\rightarrow",!0),le(ae,Ze,Ce,"\u2192","\\to"),le(ae,Te,Ce,"\u2271","\\ngeq",!0),le(ae,Te,Ce,"\u2270","\\nleq",!0),le(ae,Ze,Ee,"\xA0","\\ "),le(ae,Ze,Ee,"\xA0","~"),le(ae,Ze,Ee,"\xA0","\\space"),le(ae,Ze,Ee,"\xA0","\\nobreakspace"),le(lt,Ze,Ee,"\xA0","\\ "),le(lt,Ze,Ee,"\xA0","~"),le(lt,Ze,Ee,"\xA0","\\space"),le(lt,Ze,Ee,"\xA0","\\nobreakspace"),le(ae,Ze,Ee,null,"\\nobreak"),le(ae,Ze,Ee,null,"\\allowbreak"),le(ae,Ze,_e,",",","),le(ae,Ze,_e,";",";"),le(ae,Te,mt,"\u22BC","\\barwedge",!0),le(ae,Te,mt,"\u22BB","\\veebar",!0),le(ae,Ze,mt,"\u2299","\\odot",!0),le(ae,Ze,mt,"\u2295","\\oplus",!0),le(ae,Ze,mt,"\u2297","\\otimes",!0),le(ae,Ze,we,"\u2202","\\partial",!0),le(ae,Ze,mt,"\u2298","\\oslash",!0),le(ae,Te,mt,"\u229A","\\circledcirc",!0),le(ae,Te,mt,"\u22A1","\\boxdot",!0),le(ae,Ze,mt,"\u25B3","\\bigtriangleup"),le(ae,Ze,mt,"\u25BD","\\bigtriangledown"),le(ae,Ze,mt,"\u2020","\\dagger"),le(ae,Ze,mt,"\u22C4","\\diamond"),le(ae,Ze,mt,"\u22C6","\\star"),le(ae,Ze,mt,"\u25C3","\\triangleleft"),le(ae,Ze,mt,"\u25B9","\\triangleright"),le(ae,Ze,Pt,"{","\\{"),le(lt,Ze,we,"{","\\{"),le(lt,Ze,we,"{","\\textbraceleft"),le(ae,Ze,ft,"}","\\}"),le(lt,Ze,we,"}","\\}"),le(lt,Ze,we,"}","\\textbraceright"),le(ae,Ze,Pt,"{","\\lbrace"),le(ae,Ze,ft,"}","\\rbrace"),le(ae,Ze,Pt,"[","\\lbrack"),le(lt,Ze,we,"[","\\lbrack"),le(ae,Ze,ft,"]","\\rbrack"),le(lt,Ze,we,"]","\\rbrack"),le(ae,Ze,Pt,"(","\\lparen"),le(ae,Ze,ft,")","\\rparen"),le(lt,Ze,we,"<","\\textless"),le(lt,Ze,we,">","\\textgreater"),le(ae,Ze,Pt,"\u230A","\\lfloor",!0),le(ae,Ze,ft,"\u230B","\\rfloor",!0),le(ae,Ze,Pt,"\u2308","\\lceil",!0),le(ae,Ze,ft,"\u2309","\\rceil",!0),le(ae,Ze,we,"\\","\\backslash"),le(ae,Ze,we,"\u2223","|"),le(ae,Ze,we,"\u2223","\\vert"),le(lt,Ze,we,"|","\\textbar"),le(ae,Ze,we,"\u2225","\\|"),le(ae,Ze,we,"\u2225","\\Vert"),le(lt,Ze,we,"\u2225","\\textbardbl"),le(lt,Ze,we,"~","\\textasciitilde"),le(lt,Ze,we,"\\","\\textbackslash"),le(lt,Ze,we,"^","\\textasciicircum"),le(ae,Ze,Ce,"\u2191","\\uparrow",!0),le(ae,Ze,Ce,"\u21D1","\\Uparrow",!0),le(ae,Ze,Ce,"\u2193","\\downarrow",!0),le(ae,Ze,Ce,"\u21D3","\\Downarrow",!0),le(ae,Ze,Ce,"\u2195","\\updownarrow",!0),le(ae,Ze,Ce,"\u21D5","\\Updownarrow",!0),le(ae,Ze,or,"\u2210","\\coprod"),le(ae,Ze,or,"\u22C1","\\bigvee"),le(ae,Ze,or,"\u22C0","\\bigwedge"),le(ae,Ze,or,"\u2A04","\\biguplus"),le(ae,Ze,or,"\u22C2","\\bigcap"),le(ae,Ze,or,"\u22C3","\\bigcup"),le(ae,Ze,or,"\u222B","\\int"),le(ae,Ze,or,"\u222B","\\intop"),le(ae,Ze,or,"\u222C","\\iint"),le(ae,Ze,or,"\u222D","\\iiint"),le(ae,Ze,or,"\u220F","\\prod"),le(ae,Ze,or,"\u2211","\\sum"),le(ae,Ze,or,"\u2A02","\\bigotimes"),le(ae,Ze,or,"\u2A01","\\bigoplus"),le(ae,Ze,or,"\u2A00","\\bigodot"),le(ae,Ze,or,"\u222E","\\oint"),le(ae,Ze,or,"\u222F","\\oiint"),le(ae,Ze,or,"\u2230","\\oiiint"),le(ae,Ze,or,"\u2A06","\\bigsqcup"),le(ae,Ze,or,"\u222B","\\smallint"),le(lt,Ze,bt,"\u2026","\\textellipsis"),le(ae,Ze,bt,"\u2026","\\mathellipsis"),le(lt,Ze,bt,"\u2026","\\ldots",!0),le(ae,Ze,bt,"\u2026","\\ldots",!0),le(ae,Ze,bt,"\u22EF","\\@cdots",!0),le(ae,Ze,bt,"\u22F1","\\ddots",!0),le(ae,Ze,we,"\u22EE","\\varvdots"),le(ae,Ze,Jt,"\u02CA","\\acute"),le(ae,Ze,Jt,"\u02CB","\\grave"),le(ae,Ze,Jt,"\xA8","\\ddot"),le(ae,Ze,Jt,"~","\\tilde"),le(ae,Ze,Jt,"\u02C9","\\bar"),le(ae,Ze,Jt,"\u02D8","\\breve"),le(ae,Ze,Jt,"\u02C7","\\check"),le(ae,Ze,Jt,"^","\\hat"),le(ae,Ze,Jt,"\u20D7","\\vec"),le(ae,Ze,Jt,"\u02D9","\\dot"),le(ae,Ze,Jt,"\u02DA","\\mathring"),le(ae,Ze,It,"\u0131","\\imath",!0),le(ae,Ze,It,"\u0237","\\jmath",!0),le(lt,Ze,we,"\u0131","\\i",!0),le(lt,Ze,we,"\u0237","\\j",!0),le(lt,Ze,we,"\xDF","\\ss",!0),le(lt,Ze,we,"\xE6","\\ae",!0),le(lt,Ze,we,"\xE6","\\ae",!0),le(lt,Ze,we,"\u0153","\\oe",!0),le(lt,Ze,we,"\xF8","\\o",!0),le(lt,Ze,we,"\xC6","\\AE",!0),le(lt,Ze,we,"\u0152","\\OE",!0),le(lt,Ze,we,"\xD8","\\O",!0),le(lt,Ze,Jt,"\u02CA","\\'"),le(lt,Ze,Jt,"\u02CB","\\`"),le(lt,Ze,Jt,"\u02C6","\\^"),le(lt,Ze,Jt,"\u02DC","\\~"),le(lt,Ze,Jt,"\u02C9","\\="),le(lt,Ze,Jt,"\u02D8","\\u"),le(lt,Ze,Jt,"\u02D9","\\."),le(lt,Ze,Jt,"\u02DA","\\r"),le(lt,Ze,Jt,"\u02C7","\\v"),le(lt,Ze,Jt,"\xA8",'\\"'),le(lt,Ze,Jt,"\u02DD","\\H"),le(lt,Ze,Jt,"\u25EF","\\textcircled");var Fe={"--":!0,"---":!0,"``":!0,"''":!0};le(lt,Ze,we,"\u2013","--"),le(lt,Ze,we,"\u2013","\\textendash"),le(lt,Ze,we,"\u2014","---"),le(lt,Ze,we,"\u2014","\\textemdash"),le(lt,Ze,we,"\u2018","`"),le(lt,Ze,we,"\u2018","\\textquoteleft"),le(lt,Ze,we,"\u2019","'"),le(lt,Ze,we,"\u2019","\\textquoteright"),le(lt,Ze,we,"\u201C","``"),le(lt,Ze,we,"\u201C","\\textquotedblleft"),le(lt,Ze,we,"\u201D","''"),le(lt,Ze,we,"\u201D","\\textquotedblright"),le(ae,Ze,we,"\xB0","\\degree",!0),le(lt,Ze,we,"\xB0","\\degree"),le(lt,Ze,we,"\xB0","\\textdegree",!0),le(ae,Ze,It,"\xA3","\\pounds"),le(ae,Ze,It,"\xA3","\\mathsterling",!0),le(lt,Ze,It,"\xA3","\\pounds"),le(lt,Ze,It,"\xA3","\\textsterling",!0),le(ae,Te,we,"\u2720","\\maltese"),le(lt,Te,we,"\u2720","\\maltese"),le(lt,Ze,Ee,"\xA0","\\ "),le(lt,Ze,Ee,"\xA0"," "),le(lt,Ze,Ee,"\xA0","~");for(var Ye='0123456789/@."',Ge=0;Ge<Ye.length;Ge++){var qe=Ye.charAt(Ge);le(ae,Ze,we,qe,qe)}for(var Ke='0123456789!@*()-=+[]<>|";:?/.,',ct=0;ct<Ke.length;ct++){var wt=Ke.charAt(ct);le(lt,Ze,we,wt,wt)}for(var Lt="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz",de=0;de<Lt.length;de++){var xe=Lt.charAt(de);le(ae,Ze,It,xe,xe),le(lt,Ze,we,xe,xe)}le(ae,Te,we,"C","\u2102"),le(lt,Te,we,"C","\u2102"),le(ae,Te,we,"H","\u210D"),le(lt,Te,we,"H","\u210D"),le(ae,Te,we,"N","\u2115"),le(lt,Te,we,"N","\u2115"),le(ae,Te,we,"P","\u2119"),le(lt,Te,we,"P","\u2119"),le(ae,Te,we,"Q","\u211A"),le(lt,Te,we,"Q","\u211A"),le(ae,Te,we,"R","\u211D"),le(lt,Te,we,"R","\u211D"),le(ae,Te,we,"Z","\u2124"),le(lt,Te,we,"Z","\u2124"),le(ae,Ze,It,"h","\u210E"),le(lt,Ze,It,"h","\u210E");for(var $="",se=0;se<Lt.length;se++){var Oe=Lt.charAt(se);$=String.fromCharCode(55349,56320+se),le(ae,Ze,It,Oe,$),le(lt,Ze,we,Oe,$),$=String.fromCharCode(55349,56372+se),le(ae,Ze,It,Oe,$),le(lt,Ze,we,Oe,$),$=String.fromCharCode(55349,56424+se),le(ae,Ze,It,Oe,$),le(lt,Ze,we,Oe,$),$=String.fromCharCode(55349,56580+se),le(ae,Ze,It,Oe,$),le(lt,Ze,we,Oe,$),$=String.fromCharCode(55349,56736+se),le(ae,Ze,It,Oe,$),le(lt,Ze,we,Oe,$),$=String.fromCharCode(55349,56788+se),le(ae,Ze,It,Oe,$),le(lt,Ze,we,Oe,$),$=String.fromCharCode(55349,56840+se),le(ae,Ze,It,Oe,$),le(lt,Ze,we,Oe,$),$=String.fromCharCode(55349,56944+se),le(ae,Ze,It,Oe,$),le(lt,Ze,we,Oe,$),se<26&&($=String.fromCharCode(55349,56632+se),le(ae,Ze,It,Oe,$),le(lt,Ze,we,Oe,$),$=String.fromCharCode(55349,56476+se),le(ae,Ze,It,Oe,$),le(lt,Ze,we,Oe,$))}$=String.fromCharCode(55349,56668),le(ae,Ze,It,"k",$),le(lt,Ze,we,"k",$);for(var ke=0;ke<10;ke++){var Pe=ke.toString();$=String.fromCharCode(55349,57294+ke),le(ae,Ze,It,Pe,$),le(lt,Ze,we,Pe,$),$=String.fromCharCode(55349,57314+ke),le(ae,Ze,It,Pe,$),le(lt,Ze,we,Pe,$),$=String.fromCharCode(55349,57324+ke),le(ae,Ze,It,Pe,$),le(lt,Ze,we,Pe,$),$=String.fromCharCode(55349,57334+ke),le(ae,Ze,It,Pe,$),le(lt,Ze,we,Pe,$)}for(var rt="\xC7\xD0\xDE\xE7\xFE",At=0;At<rt.length;At++){var Wt=rt.charAt(At);le(ae,Ze,It,Wt,Wt),le(lt,Ze,we,Wt,Wt)}le(lt,Ze,we,"\xF0","\xF0"),le(lt,Ze,we,"\u2013","\u2013"),le(lt,Ze,we,"\u2014","\u2014"),le(lt,Ze,we,"\u2018","\u2018"),le(lt,Ze,we,"\u2019","\u2019"),le(lt,Ze,we,"\u201C","\u201C"),le(lt,Ze,we,"\u201D","\u201D");var $t=[["mathbf","textbf","Main-Bold"],["mathbf","textbf","Main-Bold"],["mathdefault","textit","Math-Italic"],["mathdefault","textit","Math-Italic"],["boldsymbol","boldsymbol","Main-BoldItalic"],["boldsymbol","boldsymbol","Main-BoldItalic"],["mathscr","textscr","Script-Regular"],["","",""],["","",""],["","",""],["mathfrak","textfrak","Fraktur-Regular"],["mathfrak","textfrak","Fraktur-Regular"],["mathbb","textbb","AMS-Regular"],["mathbb","textbb","AMS-Regular"],["","",""],["","",""],["mathsf","textsf","SansSerif-Regular"],["mathsf","textsf","SansSerif-Regular"],["mathboldsf","textboldsf","SansSerif-Bold"],["mathboldsf","textboldsf","SansSerif-Bold"],["mathitsf","textitsf","SansSerif-Italic"],["mathitsf","textitsf","SansSerif-Italic"],["","",""],["","",""],["mathtt","texttt","Typewriter-Regular"],["mathtt","texttt","Typewriter-Regular"]],Rt=[["mathbf","textbf","Main-Bold"],["","",""],["mathsf","textsf","SansSerif-Regular"],["mathboldsf","textboldsf","SansSerif-Bold"],["mathtt","texttt","Typewriter-Regular"]],zt=function(pe,Ie){var Ne=pe.charCodeAt(0),Qe=pe.charCodeAt(1),Ct=(Ne-55296)*1024+(Qe-56320)+65536,Ut=Ie==="math"?0:1;if(119808<=Ct&&Ct<120484){var hr=Math.floor((Ct-119808)/26);return[$t[hr][2],$t[hr][Ut]]}else if(120782<=Ct&&Ct<=120831){var gr=Math.floor((Ct-120782)/10);return[Rt[gr][2],Rt[gr][Ut]]}else{if(Ct===120485||Ct===120486)return[$t[0][2],$t[0][Ut]];if(120486<Ct&&Ct<120782)return["",""];throw new a("Unsupported character: "+pe)}},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(pe,Ie){return Ie.size<2?pe:Gt[pe-1][Ie.size-1]},dr=function(){function Bt(Ie){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=Ie.style,this.color=Ie.color,this.size=Ie.size||Bt.BASESIZE,this.textSize=Ie.textSize||this.size,this.phantom=!!Ie.phantom,this.font=Ie.font||"",this.fontFamily=Ie.fontFamily||"",this.fontWeight=Ie.fontWeight||"",this.fontShape=Ie.fontShape||"",this.sizeMultiplier=Qt[this.size-1],this.maxSize=Ie.maxSize,this.minRuleThickness=Ie.minRuleThickness,this._fontMetrics=void 0}var pe=Bt.prototype;return pe.extend=function(Ne){var Qe={style:this.style,size:this.size,textSize:this.textSize,color:this.color,phantom:this.phantom,font:this.font,fontFamily:this.fontFamily,fontWeight:this.fontWeight,fontShape:this.fontShape,maxSize:this.maxSize,minRuleThickness:this.minRuleThickness};for(var Ct in Ne)Ne.hasOwnProperty(Ct)&&(Qe[Ct]=Ne[Ct]);return new Bt(Qe)},pe.havingStyle=function(Ne){return this.style===Ne?this:this.extend({style:Ne,size:Mt(this.textSize,Ne)})},pe.havingCrampedStyle=function(){return this.havingStyle(this.style.cramp())},pe.havingSize=function(Ne){return this.size===Ne&&this.textSize===Ne?this:this.extend({style:this.style.text(),size:Ne,textSize:Ne,sizeMultiplier:Qt[Ne-1]})},pe.havingBaseStyle=function(Ne){Ne=Ne||this.style.text();var Qe=Mt(Bt.BASESIZE,Ne);return this.size===Qe&&this.textSize===Bt.BASESIZE&&this.style===Ne?this:this.extend({style:Ne,size:Qe})},pe.havingBaseSizing=function(){var Ne;switch(this.style.id){case 4:case 5:Ne=3;break;case 6:case 7:Ne=1;break;default:Ne=6}return this.extend({style:this.style.text(),size:Ne})},pe.withColor=function(Ne){return this.extend({color:Ne})},pe.withPhantom=function(){return this.extend({phantom:!0})},pe.withFont=function(Ne){return this.extend({font:Ne})},pe.withTextFontFamily=function(Ne){return this.extend({fontFamily:Ne,font:""})},pe.withTextFontWeight=function(Ne){return this.extend({fontWeight:Ne,font:""})},pe.withTextFontShape=function(Ne){return this.extend({fontShape:Ne,font:""})},pe.sizingClasses=function(Ne){return Ne.size!==this.size?["sizing","reset-size"+Ne.size,"size"+this.size]:[]},pe.baseSizingClasses=function(){return this.size!==Bt.BASESIZE?["sizing","reset-size"+this.size,"size"+Bt.BASESIZE]:[]},pe.fontMetrics=function(){return this._fontMetrics||(this._fontMetrics=Xe(this.size)),this._fontMetrics},pe.getColor=function(){return this.phantom?"transparent":this.color},Bt}();dr.BASESIZE=6;var er=dr,ht={pt:1,mm:7227/2540,cm:7227/254,in:72.27,bp:803/800,pc:12,dd:1238/1157,cc:14856/1157,nd:685/642,nc:1370/107,sp:1/65536,px:803/800},Et={ex:!0,em:!0,mu:!0},pt=function(pe){return typeof pe!="string"&&(pe=pe.unit),pe in ht||pe in Et||pe==="ex"},vt=function(pe,Ie){var Ne;if(pe.unit in ht)Ne=ht[pe.unit]/Ie.fontMetrics().ptPerEm/Ie.sizeMultiplier;else if(pe.unit==="mu")Ne=Ie.fontMetrics().cssEmPerMu;else{var Qe;if(Ie.style.isTight()?Qe=Ie.havingStyle(Ie.style.text()):Qe=Ie,pe.unit==="ex")Ne=Qe.fontMetrics().xHeight;else if(pe.unit==="em")Ne=Qe.fontMetrics().quad;else throw new a("Invalid unit: '"+pe.unit+"'");Qe!==Ie&&(Ne*=Qe.sizeMultiplier/Ie.sizeMultiplier)}return Math.min(pe.number*Ne,Ie.maxSize)},Nt=["\\imath","\u0131","\\jmath","\u0237","\\pounds","\\mathsterling","\\textsterling","\xA3"],_t=function(pe,Ie,Ne){return Ve[Ne][pe]&&Ve[Ne][pe].replace&&(pe=Ve[Ne][pe].replace),{value:pe,metrics:je(pe,Ie,Ne)}},gt=function(pe,Ie,Ne,Qe,Ct){var Ut=_t(pe,Ie,Ne),hr=Ut.metrics;pe=Ut.value;var gr;if(hr){var Rr=hr.italic;(Ne==="text"||Qe&&Qe.font==="mathit")&&(Rr=0),gr=new Le(pe,hr.height,hr.depth,Rr,hr.skew,hr.width,Ct)}else typeof console!="undefined"&&console.warn("No character metrics "+("for '"+pe+"' in style '"+Ie+"' and mode '"+Ne+"'")),gr=new Le(pe,0,0,0,0,0,Ct);if(Qe){gr.maxFontSize=Qe.sizeMultiplier,Qe.style.isTight()&&gr.classes.push("mtight");var $r=Qe.getColor();$r&&(gr.style.color=$r)}return gr},Ht=function(pe,Ie,Ne,Qe){return Qe===void 0&&(Qe=[]),Ne.font==="boldsymbol"&&_t(pe,"Main-Bold",Ie).metrics?gt(pe,"Main-Bold",Ie,Ne,Qe.concat(["mathbf"])):pe==="\\"||Ve[Ie][pe].font==="main"?gt(pe,"Main-Regular",Ie,Ne,Qe):gt(pe,"AMS-Regular",Ie,Ne,Qe.concat(["amsrm"]))},kt=function(pe,Ie,Ne,Qe){return/[0-9]/.test(pe.charAt(0))||S.contains(Nt,pe)?{fontName:"Main-Italic",fontClass:"mathit"}:{fontName:"Math-Italic",fontClass:"mathdefault"}},ir=function(pe,Ie,Ne,Qe){return S.contains(Nt,pe)?{fontName:"Main-Italic",fontClass:"mathit"}:/[0-9]/.test(pe.charAt(0))?{fontName:"Caligraphic-Regular",fontClass:"mathcal"}:{fontName:"Math-Italic",fontClass:"mathdefault"}},Xt=function(pe,Ie,Ne,Qe){return _t(pe,"Math-BoldItalic",Ie).metrics?{fontName:"Math-BoldItalic",fontClass:"boldsymbol"}:{fontName:"Main-Bold",fontClass:"mathbf"}},mr=function(pe,Ie,Ne){var Qe=pe.mode,Ct=pe.text,Ut=["mord"],hr=Qe==="math"||Qe==="text"&&Ie.font,gr=hr?Ie.font:Ie.fontFamily;if(Ct.charCodeAt(0)===55349){var Rr=zt(Ct,Qe),$r=Rr[0],ln=Rr[1];return gt(Ct,$r,Qe,Ie,Ut.concat(ln))}else if(gr){var yn,Cn;if(gr==="boldsymbol"||gr==="mathnormal"){var Qn=gr==="boldsymbol"?Xt(Ct,Qe,Ie,Ut):ir(Ct,Qe,Ie,Ut);yn=Qn.fontName,Cn=[Qn.fontClass]}else S.contains(Nt,Ct)?(yn="Main-Italic",Cn=["mathit"]):hr?(yn=Yr[gr].fontName,Cn=[gr]):(yn=xr(gr,Ie.fontWeight,Ie.fontShape),Cn=[gr,Ie.fontWeight,Ie.fontShape]);if(_t(Ct,yn,Qe).metrics)return gt(Ct,yn,Qe,Ie,Ut.concat(Cn));if(Fe.hasOwnProperty(Ct)&&yn.substr(0,10)==="Typewriter"){for(var ti=[],wi=0;wi<Ct.length;wi++)ti.push(gt(Ct[wi],yn,Qe,Ie,Ut.concat(Cn)));return Lr(ti)}}if(Ne==="mathord"){var ea=kt(Ct,Qe,Ie,Ut);return gt(Ct,ea.fontName,Qe,Ie,Ut.concat([ea.fontClass]))}else if(Ne==="textord"){var ji=Ve[Qe][Ct]&&Ve[Qe][Ct].font;if(ji==="ams"){var Sa=xr("amsrm",Ie.fontWeight,Ie.fontShape);return gt(Ct,Sa,Qe,Ie,Ut.concat("amsrm",Ie.fontWeight,Ie.fontShape))}else if(ji==="main"||!ji){var lo=xr("textrm",Ie.fontWeight,Ie.fontShape);return gt(Ct,lo,Qe,Ie,Ut.concat(Ie.fontWeight,Ie.fontShape))}else{var Wa=xr(ji,Ie.fontWeight,Ie.fontShape);return gt(Ct,Wa,Qe,Ie,Ut.concat(Wa,Ie.fontWeight,Ie.fontShape))}}else throw new Error("unexpected type: "+Ne+" in makeOrd")},Ar=function(pe,Ie){if(be(pe.classes)!==be(Ie.classes)||pe.skew!==Ie.skew||pe.maxFontSize!==Ie.maxFontSize)return!1;for(var Ne in pe.style)if(pe.style.hasOwnProperty(Ne)&&pe.style[Ne]!==Ie.style[Ne])return!1;for(var Qe in Ie.style)if(Ie.style.hasOwnProperty(Qe)&&pe.style[Qe]!==Ie.style[Qe])return!1;return!0},Nr=function(pe){for(var Ie=0;Ie<pe.length-1;Ie++){var Ne=pe[Ie],Qe=pe[Ie+1];Ne instanceof Le&&Qe instanceof Le&&Ar(Ne,Qe)&&(Ne.text+=Qe.text,Ne.height=Math.max(Ne.height,Qe.height),Ne.depth=Math.max(Ne.depth,Qe.depth),Ne.italic=Qe.italic,pe.splice(Ie+1,1),Ie--)}return pe},kr=function(pe){for(var Ie=0,Ne=0,Qe=0,Ct=0;Ct<pe.children.length;Ct++){var Ut=pe.children[Ct];Ut.height>Ie&&(Ie=Ut.height),Ut.depth>Ne&&(Ne=Ut.depth),Ut.maxFontSize>Qe&&(Qe=Ut.maxFontSize)}pe.height=Ie,pe.depth=Ne,pe.maxFontSize=Qe},tn=function(pe,Ie,Ne,Qe){var Ct=new V(pe,Ie,Ne,Qe);return kr(Ct),Ct},qr=function(pe,Ie,Ne,Qe){return new V(pe,Ie,Ne,Qe)},_r=function(pe,Ie,Ne){var Qe=tn([pe],[],Ie);return Qe.height=Math.max(Ne||Ie.fontMetrics().defaultRuleThickness,Ie.minRuleThickness),Qe.style.borderBottomWidth=Qe.height+"em",Qe.maxFontSize=1,Qe},Qr=function(pe,Ie,Ne,Qe){var Ct=new J(pe,Ie,Ne,Qe);return kr(Ct),Ct},Lr=function(pe){var Ie=new ne(pe);return kr(Ie),Ie},ur=function(pe,Ie){return pe instanceof ne?tn([],[pe],Ie):pe},pr=function(pe){if(pe.positionType==="individualShift"){for(var Ie=pe.children,Ne=[Ie[0]],Qe=-Ie[0].shift-Ie[0].elem.depth,Ct=Qe,Ut=1;Ut<Ie.length;Ut++){var hr=-Ie[Ut].shift-Ct-Ie[Ut].elem.depth,gr=hr-(Ie[Ut-1].elem.height+Ie[Ut-1].elem.depth);Ct=Ct+hr,Ne.push({type:"kern",size:gr}),Ne.push(Ie[Ut])}return{children:Ne,depth:Qe}}var Rr;if(pe.positionType==="top"){for(var $r=pe.positionData,ln=0;ln<pe.children.length;ln++){var yn=pe.children[ln];$r-=yn.type==="kern"?yn.size:yn.elem.height+yn.elem.depth}Rr=$r}else if(pe.positionType==="bottom")Rr=-pe.positionData;else{var Cn=pe.children[0];if(Cn.type!=="elem")throw new Error('First child must have type "elem".');if(pe.positionType==="shift")Rr=-Cn.elem.depth-pe.positionData;else if(pe.positionType==="firstBaseline")Rr=-Cn.elem.depth;else throw new Error("Invalid positionType "+pe.positionType+".")}return{children:pe.children,depth:Rr}},cr=function(pe,Ie){for(var Ne=pr(pe),Qe=Ne.children,Ct=Ne.depth,Ut=0,hr=0;hr<Qe.length;hr++){var gr=Qe[hr];if(gr.type==="elem"){var Rr=gr.elem;Ut=Math.max(Ut,Rr.maxFontSize,Rr.height)}}Ut+=2;var $r=tn(["pstrut"],[]);$r.style.height=Ut+"em";for(var ln=[],yn=Ct,Cn=Ct,Qn=Ct,ti=0;ti<Qe.length;ti++){var wi=Qe[ti];if(wi.type==="kern")Qn+=wi.size;else{var ea=wi.elem,ji=wi.wrapperClasses||[],Sa=wi.wrapperStyle||{},lo=tn(ji,[$r,ea],void 0,Sa);lo.style.top=-Ut-Qn-ea.depth+"em",wi.marginLeft&&(lo.style.marginLeft=wi.marginLeft),wi.marginRight&&(lo.style.marginRight=wi.marginRight),ln.push(lo),Qn+=ea.height+ea.depth}yn=Math.min(yn,Qn),Cn=Math.max(Cn,Qn)}var Wa=tn(["vlist"],ln);Wa.style.height=Cn+"em";var yo;if(yn<0){var Ao=tn([],[]),$a=tn(["vlist"],[Ao]);$a.style.height=-yn+"em";var ko=tn(["vlist-s"],[new Le("\u200B")]);yo=[tn(["vlist-r"],[Wa,ko]),tn(["vlist-r"],[$a])]}else yo=[tn(["vlist-r"],[Wa])];var No=tn(["vlist-t"],yo);return yo.length===2&&No.classes.push("vlist-t2"),No.height=Cn,No.depth=-yn,No},fr=function(pe,Ie){var Ne=tn(["mspace"],[],Ie),Qe=vt(pe,Ie);return Ne.style.marginRight=Qe+"em",Ne},xr=function(pe,Ie,Ne){var Qe="";switch(pe){case"amsrm":Qe="AMS";break;case"textrm":Qe="Main";break;case"textsf":Qe="SansSerif";break;case"texttt":Qe="Typewriter";break;default:Qe=pe}var Ct;return Ie==="textbf"&&Ne==="textit"?Ct="BoldItalic":Ie==="textbf"?Ct="Bold":Ie==="textit"?Ct="Italic":Ct="Regular",Qe+"-"+Ct},Yr={mathbf:{variant:"bold",fontName:"Main-Bold"},mathrm:{variant:"normal",fontName:"Main-Regular"},textit:{variant:"italic",fontName:"Main-Italic"},mathit:{variant:"italic",fontName:"Main-Italic"},mathbb:{variant:"double-struck",fontName:"AMS-Regular"},mathcal:{variant:"script",fontName:"Caligraphic-Regular"},mathfrak:{variant:"fraktur",fontName:"Fraktur-Regular"},mathscr:{variant:"script",fontName:"Script-Regular"},mathsf:{variant:"sans-serif",fontName:"SansSerif-Regular"},mathtt:{variant:"monospace",fontName:"Typewriter-Regular"}},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(pe,Ie){var Ne=un[pe],Qe=Ne[0],Ct=Ne[1],Ut=Ne[2],hr=new te(Qe),gr=new he([hr],{width:Ct+"em",height:Ut+"em",style:"width:"+Ct+"em",viewBox:"0 0 "+1e3*Ct+" "+1e3*Ut,preserveAspectRatio:"xMinYMin"}),Rr=qr(["overlay"],[gr],Ie);return Rr.height=Ut,Rr.style.height=Ut+"em",Rr.style.width=Ct+"em",Rr},jr={fontMap:Yr,makeSymbol:gt,mathsym:Ht,makeSpan:tn,makeSvgSpan:qr,makeLineSpan:_r,makeAnchor:Qr,makeFragment:Lr,wrapFragment:ur,makeVList:cr,makeOrd:mr,makeGlue:fr,staticSvg:Nn,svgData:un,tryCombineChars:Nr};function Tn(Bt,pe){var Ie=gn(Bt,pe);if(!Ie)throw new Error("Expected node of type "+pe+", but got "+(Bt?"node of type "+Bt.type:String(Bt)));return Ie}function gn(Bt,pe){return Bt&&Bt.type===pe?Bt:null}function Bn(Bt,pe){var Ie=Kn(Bt,pe);if(!Ie)throw new Error('Expected node of type "atom" and family "'+pe+'", but got '+(Bt?Bt.type==="atom"?"atom of family "+Bt.family:"node of type "+Bt.type:String(Bt)));return Ie}function Kn(Bt,pe){return Bt&&Bt.type==="atom"&&Bt.family===pe?Bt:null}function qn(Bt){var pe=Yn(Bt);if(!pe)throw new Error("Expected node of symbol group type, but got "+(Bt?"node of type "+Bt.type:String(Bt)));return pe}function Yn(Bt){return Bt&&(Bt.type==="atom"||et.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={},Li={},Ci={};function Gn(Bt){for(var pe=Bt.type,Ie=Bt.names,Ne=Bt.props,Qe=Bt.handler,Ct=Bt.htmlBuilder,Ut=Bt.mathmlBuilder,hr={type:pe,numArgs:Ne.numArgs,argTypes:Ne.argTypes,greediness:Ne.greediness===void 0?1:Ne.greediness,allowedInText:!!Ne.allowedInText,allowedInMath:Ne.allowedInMath===void 0?!0:Ne.allowedInMath,numOptionalArgs:Ne.numOptionalArgs||0,infix:!!Ne.infix,handler:Qe},gr=0;gr<Ie.length;++gr)ta[Ie[gr]]=hr;pe&&(Ct&&(Li[pe]=Ct),Ut&&(Ci[pe]=Ut))}function Oa(Bt){var pe=Bt.type,Ie=Bt.htmlBuilder,Ne=Bt.mathmlBuilder;Gn({type:pe,names:[],props:{numArgs:0},handler:function(){throw new Error("Should never be called.")},htmlBuilder:Ie,mathmlBuilder:Ne})}var mn=function(pe){var Ie=gn(pe,"ordgroup");return Ie?Ie.body:[pe]},On=jr.makeSpan,_n=["leftmost","mbin","mopen","mrel","mop","mpunct"],Ln=["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(pe,Ie,Ne,Qe){Qe===void 0&&(Qe=[null,null]);for(var Ct=[],Ut=0;Ut<pe.length;Ut++){var hr=Wi(pe[Ut],Ie);if(hr instanceof ne){var gr=hr.children;Ct.push.apply(Ct,gr)}else Ct.push(hr)}if(!Ne)return Ct;var Rr=Ie;if(pe.length===1){var $r=gn(pe[0],"sizing")||gn(pe[0],"styling");$r&&($r.type==="sizing"?Rr=Ie.havingSize($r.size):$r.type==="styling"&&(Rr=Ie.havingStyle(jn[$r.style])))}var ln=On([Qe[0]||"leftmost"],[],Ie),yn=On([Qe[1]||"rightmost"],[],Ie);return Na(Ct,function(Cn,Qn){var ti=Qn.classes[0],wi=Cn.classes[0];ti==="mbin"&&S.contains(Ln,wi)?Qn.classes[0]="mord":wi==="mbin"&&S.contains(_n,ti)&&(Cn.classes[0]="mord")},{node:ln},yn),Na(Ct,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),Ct},Na=function Bt(pe,Ie,Ne,Qe){Qe&&pe.push(Qe);for(var Ct=0;Ct<pe.length;Ct++){var Ut=pe[Ct],hr=Qi(Ut);if(hr){Bt(hr.children,Ie,Ne);continue}if(Ut.classes[0]==="mspace")continue;var gr=Ie(Ut,Ne.node);gr&&(Ne.insertAfter?Ne.insertAfter(gr):(pe.unshift(gr),Ct++)),Ne.node=Ut,Ne.insertAfter=function(Rr){return function($r){pe.splice(Rr+1,0,$r),Ct++}}(Ct)}Qe&&pe.pop()},Qi=function(pe){return pe instanceof ne||pe instanceof J?pe:null},ma=function Bt(pe,Ie){var Ne=Qi(pe);if(Ne){var Qe=Ne.children;if(Qe.length){if(Ie==="right")return Bt(Qe[Qe.length-1],"right");if(Ie==="left")return Bt(Qe[0],"left")}}return pe},Pa=function(pe,Ie){return pe?(Ie&&(pe=ma(pe,Ie)),ni[pe.classes[0]]||null):null},Qa=function(pe,Ie){var Ne=["nulldelimiter"].concat(pe.baseSizingClasses());return On(Ie.concat(Ne))},Wi=function(pe,Ie,Ne){if(!pe)return On();if(Li[pe.type]){var Qe=Li[pe.type](pe,Ie);if(Ne&&Ie.size!==Ne.size){Qe=On(Ie.sizingClasses(Ne),[Qe],Ie);var Ct=Ie.sizeMultiplier/Ne.sizeMultiplier;Qe.height*=Ct,Qe.depth*=Ct}return Qe}else throw new a("Got group of unknown type: '"+pe.type+"'")};function Co(Bt,pe){var Ie=On(["base"],Bt,pe),Ne=On(["strut"]);return Ne.style.height=Ie.height+Ie.depth+"em",Ne.style.verticalAlign=-Ie.depth+"em",Ie.children.unshift(Ne),Ie}function aa(Bt,pe){var Ie=null;Bt.length===1&&Bt[0].type==="tag"&&(Ie=Bt[0].tag,Bt=Bt[0].body);for(var Ne=di(Bt,pe,!0),Qe=[],Ct=[],Ut=0;Ut<Ne.length;Ut++)if(Ct.push(Ne[Ut]),Ne[Ut].hasClass("mbin")||Ne[Ut].hasClass("mrel")||Ne[Ut].hasClass("allowbreak")){for(var hr=!1;Ut<Ne.length-1&&Ne[Ut+1].hasClass("mspace")&&!Ne[Ut+1].hasClass("newline");)Ut++,Ct.push(Ne[Ut]),Ne[Ut].hasClass("nobreak")&&(hr=!0);hr||(Qe.push(Co(Ct,pe)),Ct=[])}else Ne[Ut].hasClass("newline")&&(Ct.pop(),Ct.length>0&&(Qe.push(Co(Ct,pe)),Ct=[]),Qe.push(Ne[Ut]));Ct.length>0&&Qe.push(Co(Ct,pe));var gr;Ie&&(gr=Co(di(Ie,pe,!0)),gr.classes=["tag"],Qe.push(gr));var Rr=On(["katex-html"],Qe);if(Rr.setAttribute("aria-hidden","true"),gr){var $r=gr.children[0];$r.style.height=Rr.height+Rr.depth+"em",$r.style.verticalAlign=-Rr.depth+"em"}return Rr}function Hi(Bt){return new ne(Bt)}var ga=function(){function Bt(Ie,Ne){this.type=void 0,this.attributes=void 0,this.children=void 0,this.type=Ie,this.attributes={},this.children=Ne||[]}var pe=Bt.prototype;return pe.setAttribute=function(Ne,Qe){this.attributes[Ne]=Qe},pe.getAttribute=function(Ne){return this.attributes[Ne]},pe.toNode=function(){var Ne=document.createElementNS("http://www.w3.org/1998/Math/MathML",this.type);for(var Qe in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,Qe)&&Ne.setAttribute(Qe,this.attributes[Qe]);for(var Ct=0;Ct<this.children.length;Ct++)Ne.appendChild(this.children[Ct].toNode());return Ne},pe.toMarkup=function(){var Ne="<"+this.type;for(var Qe in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,Qe)&&(Ne+=" "+Qe+'="',Ne+=S.escape(this.attributes[Qe]),Ne+='"');Ne+=">";for(var Ct=0;Ct<this.children.length;Ct++)Ne+=this.children[Ct].toMarkup();return Ne+="</"+this.type+">",Ne},pe.toText=function(){return this.children.map(function(Ne){return Ne.toText()}).join("")},Bt}(),ha=function(){function Bt(Ie){this.text=void 0,this.text=Ie}var pe=Bt.prototype;return pe.toNode=function(){return document.createTextNode(this.text)},pe.toMarkup=function(){return S.escape(this.toText())},pe.toText=function(){return this.text},Bt}(),mo=function(){function Bt(Ie){this.width=void 0,this.character=void 0,this.width=Ie,Ie>=.05555&&Ie<=.05556?this.character="\u200A":Ie>=.1666&&Ie<=.1667?this.character="\u2009":Ie>=.2222&&Ie<=.2223?this.character="\u2005":Ie>=.2777&&Ie<=.2778?this.character="\u2005\u200A":Ie>=-.05556&&Ie<=-.05555?this.character="\u200A\u2063":Ie>=-.1667&&Ie<=-.1666?this.character="\u2009\u2063":Ie>=-.2223&&Ie<=-.2222?this.character="\u205F\u2063":Ie>=-.2778&&Ie<=-.2777?this.character="\u2005\u2063":this.character=null}var pe=Bt.prototype;return pe.toNode=function(){if(this.character)return document.createTextNode(this.character);var Ne=document.createElementNS("http://www.w3.org/1998/Math/MathML","mspace");return Ne.setAttribute("width",this.width+"em"),Ne},pe.toMarkup=function(){return this.character?"<mtext>"+this.character+"</mtext>":'<mspace width="'+this.width+'em"/>'},pe.toText=function(){return this.character?this.character:" "},Bt}(),Fn={MathNode:ga,TextNode:ha,SpaceNode:mo,newDocumentFragment:Hi},$i=function(pe,Ie,Ne){return Ve[Ie][pe]&&Ve[Ie][pe].replace&&pe.charCodeAt(0)!==55349&&!(Fe.hasOwnProperty(pe)&&Ne&&(Ne.fontFamily&&Ne.fontFamily.substr(4,2)==="tt"||Ne.font&&Ne.font.substr(4,2)==="tt"))&&(pe=Ve[Ie][pe].replace),new Fn.TextNode(pe)},eo=function(pe){return pe.length===1?pe[0]:new Fn.MathNode("mrow",pe)},To=function(pe,Ie){if(Ie.fontFamily==="texttt")return"monospace";if(Ie.fontFamily==="textsf")return Ie.fontShape==="textit"&&Ie.fontWeight==="textbf"?"sans-serif-bold-italic":Ie.fontShape==="textit"?"sans-serif-italic":Ie.fontWeight==="textbf"?"bold-sans-serif":"sans-serif";if(Ie.fontShape==="textit"&&Ie.fontWeight==="textbf")return"bold-italic";if(Ie.fontShape==="textit")return"italic";if(Ie.fontWeight==="textbf")return"bold";var Ne=Ie.font;if(!Ne||Ne==="mathnormal")return null;var Qe=pe.mode;if(Ne==="mathit")return"italic";if(Ne==="boldsymbol")return"bold-italic";if(Ne==="mathbf")return"bold";if(Ne==="mathbb")return"double-struck";if(Ne==="mathfrak")return"fraktur";if(Ne==="mathscr"||Ne==="mathcal")return"script";if(Ne==="mathsf")return"sans-serif";if(Ne==="mathtt")return"monospace";var Ct=pe.text;if(S.contains(["\\imath","\\jmath"],Ct))return null;Ve[Qe][Ct]&&Ve[Qe][Ct].replace&&(Ct=Ve[Qe][Ct].replace);var Ut=jr.fontMap[Ne].fontName;return je(Ct,Ut,Qe)?jr.fontMap[Ne].variant:null},uo=function(pe,Ie,Ne){if(pe.length===1){var Qe=Tr(pe[0],Ie);return Ne&&Qe instanceof ga&&Qe.type==="mo"&&(Qe.setAttribute("lspace","0em"),Qe.setAttribute("rspace","0em")),[Qe]}for(var Ct=[],Ut,hr=0;hr<pe.length;hr++){var gr=Tr(pe[hr],Ie);if(gr instanceof ga&&Ut instanceof ga){if(gr.type==="mtext"&&Ut.type==="mtext"&&gr.getAttribute("mathvariant")===Ut.getAttribute("mathvariant")){var Rr;(Rr=Ut.children).push.apply(Rr,gr.children);continue}else if(gr.type==="mn"&&Ut.type==="mn"){var $r;($r=Ut.children).push.apply($r,gr.children);continue}else if(gr.type==="mi"&&gr.children.length===1&&Ut.type==="mn"){var ln=gr.children[0];if(ln instanceof ha&&ln.text==="."){var yn;(yn=Ut.children).push.apply(yn,gr.children);continue}}else if(Ut.type==="mi"&&Ut.children.length===1){var Cn=Ut.children[0];if(Cn instanceof ha&&Cn.text==="\u0338"&&(gr.type==="mo"||gr.type==="mi"||gr.type==="mn")){var Qn=gr.children[0];Qn instanceof ha&&Qn.text.length>0&&(Qn.text=Qn.text.slice(0,1)+"\u0338"+Qn.text.slice(1),Ct.pop())}}}Ct.push(gr),Ut=gr}return Ct},rr=function(pe,Ie,Ne){return eo(uo(pe,Ie,Ne))},Tr=function(pe,Ie){if(!pe)return new Fn.MathNode("mrow");if(Ci[pe.type]){var Ne=Ci[pe.type](pe,Ie);return Ne}else throw new a("Got group of unknown type: '"+pe.type+"'")};function Br(Bt,pe,Ie,Ne){var Qe=uo(Bt,Ie),Ct;Qe.length===1&&Qe[0]instanceof ga&&S.contains(["mrow","mtable"],Qe[0].type)?Ct=Qe[0]:Ct=new Fn.MathNode("mrow",Qe);var Ut=new Fn.MathNode("annotation",[new Fn.TextNode(pe)]);Ut.setAttribute("encoding","application/x-tex");var hr=new Fn.MathNode("semantics",[Ct,Ut]),gr=new Fn.MathNode("math",[hr]);gr.setAttribute("xmlns","http://www.w3.org/1998/Math/MathML");var Rr=Ne?"katex":"katex-mathml";return jr.makeSpan([Rr],[gr])}var Wr=function(pe){return new er({style:pe.displayMode?H.DISPLAY:H.TEXT,maxSize:pe.maxSize,minRuleThickness:pe.minRuleThickness})},hn=function(pe,Ie){if(Ie.displayMode){var Ne=["katex-display"];Ie.leqno&&Ne.push("leqno"),Ie.fleqn&&Ne.push("fleqn"),pe=jr.makeSpan(Ne,[pe])}return pe},it=function(pe,Ie,Ne){var Qe=Wr(Ne),Ct;if(Ne.output==="mathml")return Br(pe,Ie,Qe,!0);if(Ne.output==="html"){var Ut=aa(pe,Qe);Ct=jr.makeSpan(["katex"],[Ut])}else{var hr=Br(pe,Ie,Qe,!1),gr=aa(pe,Qe);Ct=jr.makeSpan(["katex"],[hr,gr])}return hn(Ct,Ne)},jt=function(pe,Ie,Ne){var Qe=Wr(Ne),Ct=aa(pe,Qe),Ut=jr.makeSpan(["katex"],[Ct]);return hn(Ut,Ne)},Zt=it,nr={widehat:"^",widecheck:"\u02C7",widetilde:"~",utilde:"~",overleftarrow:"\u2190",underleftarrow:"\u2190",xleftarrow:"\u2190",overrightarrow:"\u2192",underrightarrow:"\u2192",xrightarrow:"\u2192",underbrace:"\u23DF",overbrace:"\u23DE",overgroup:"\u23E0",undergroup:"\u23E1",overleftrightarrow:"\u2194",underleftrightarrow:"\u2194",xleftrightarrow:"\u2194",Overrightarrow:"\u21D2",xRightarrow:"\u21D2",overleftharpoon:"\u21BC",xleftharpoonup:"\u21BC",overrightharpoon:"\u21C0",xrightharpoonup:"\u21C0",xLeftarrow:"\u21D0",xLeftrightarrow:"\u21D4",xhookleftarrow:"\u21A9",xhookrightarrow:"\u21AA",xmapsto:"\u21A6",xrightharpoondown:"\u21C1",xleftharpoondown:"\u21BD",xrightleftharpoons:"\u21CC",xleftrightharpoons:"\u21CB",xtwoheadleftarrow:"\u219E",xtwoheadrightarrow:"\u21A0",xlongequal:"=",xtofrom:"\u21C4",xrightleftarrows:"\u21C4",xrightequilibrium:"\u21CC",xleftequilibrium:"\u21CB"},Or=function(pe){var Ie=new Fn.MathNode("mo",[new Fn.TextNode(nr[pe.substr(1)])]);return Ie.setAttribute("stretchy","true"),Ie},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(pe){return pe.type==="ordgroup"?pe.body.length:1},Kr=function(pe,Ie){function Ne(){var gr=4e5,Rr=pe.label.substr(1);if(S.contains(["widehat","widecheck","widetilde","utilde"],Rr)){var $r=pe,ln=Er($r.base),yn,Cn,Qn;if(ln>5)Rr==="widehat"||Rr==="widecheck"?(yn=420,gr=2364,Qn=.42,Cn=Rr+"4"):(yn=312,gr=2340,Qn=.34,Cn="tilde4");else{var ti=[1,1,2,2,3,3][ln];Rr==="widehat"||Rr==="widecheck"?(gr=[0,1062,2364,2364,2364][ti],yn=[0,239,300,360,420][ti],Qn=[0,.24,.3,.3,.36,.42][ti],Cn=Rr+ti):(gr=[0,600,1033,2339,2340][ti],yn=[0,260,286,306,312][ti],Qn=[0,.26,.286,.3,.306,.34][ti],Cn="tilde"+ti)}var wi=new te(Cn),ea=new he([wi],{width:"100%",height:Qn+"em",viewBox:"0 0 "+gr+" "+yn,preserveAspectRatio:"none"});return{span:jr.makeSvgSpan([],[ea],Ie),minWidth:0,height:Qn}}else{var ji=[],Sa=wr[Rr],lo=Sa[0],Wa=Sa[1],yo=Sa[2],Ao=yo/1e3,$a=lo.length,ko,No;if($a===1){var Ha=Sa[3];ko=["hide-tail"],No=[Ha]}else if($a===2)ko=["halfarrow-left","halfarrow-right"],No=["xMinYMin","xMaxYMin"];else if($a===3)ko=["brace-left","brace-center","brace-right"],No=["xMinYMin","xMidYMin","xMaxYMin"];else throw new Error(`Correct katexImagesData or update code here to support
|
|
|
`+$a+" children.");for(var jo=0;jo<$a;jo++){var Fo=new te(lo[jo]),Qo=new he([Fo],{width:"400em",height:Ao+"em",viewBox:"0 0 "+gr+" "+yo,preserveAspectRatio:No[jo]+" slice"}),wo=jr.makeSvgSpan([ko[jo]],[Qo],Ie);if($a===1)return{span:wo,minWidth:Wa,height:Ao};wo.style.height=Ao+"em",ji.push(wo)}return{span:jr.makeSpan(["stretchy"],ji,Ie),minWidth:Wa,height:Ao}}}var Qe=Ne(),Ct=Qe.span,Ut=Qe.minWidth,hr=Qe.height;return Ct.height=hr,Ct.style.height=hr+"em",Ut>0&&(Ct.style.minWidth=Ut+"em"),Ct},Zr=function(pe,Ie,Ne,Qe){var Ct,Ut=pe.height+pe.depth+2*Ne;if(/fbox|color/.test(Ie)){if(Ct=jr.makeSpan(["stretchy",Ie],[],Qe),Ie==="fbox"){var hr=Qe.color&&Qe.getColor();hr&&(Ct.style.borderColor=hr)}}else{var gr=[];/^[bx]cancel$/.test(Ie)&&gr.push(new Z({x1:"0",y1:"0",x2:"100%",y2:"100%","stroke-width":"0.046em"})),/^x?cancel$/.test(Ie)&&gr.push(new Z({x1:"0",y1:"100%",x2:"100%",y2:"0","stroke-width":"0.046em"}));var Rr=new he(gr,{width:"100%",height:Ut+"em"});Ct=jr.makeSvgSpan([],[Rr],Qe)}return Ct.height=Ut,Ct.style.height=Ut+"em",Ct},Jr={encloseSpan:Zr,mathMLnode:Or,svgSpan:Kr},an=function(pe,Ie){var Ne,Qe,Ct=gn(pe,"supsub"),Ut;Ct?(Qe=Tn(Ct.base,"accent"),Ne=Qe.base,Ct.base=Ne,Ut=Re(Wi(Ct,Ie)),Ct.base=Qe):(Qe=Tn(pe,"accent"),Ne=Qe.base);var hr=Wi(Ne,Ie.havingCrampedStyle()),gr=Qe.isShifty&&S.isCharacterBox(Ne),Rr=0;if(gr){var $r=S.getBaseElem(Ne),ln=Wi($r,Ie.havingCrampedStyle());Rr=ge(ln).skew}var yn=Math.min(hr.height,Ie.fontMetrics().xHeight),Cn;if(Qe.isStretchy)Cn=Jr.svgSpan(Qe,Ie),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}]},Ie);else{var Qn,ti;Qe.label==="\\vec"?(Qn=jr.staticSvg("vec",Ie),ti=jr.svgData.vec[1]):(Qn=jr.makeOrd({mode:Qe.mode,text:Qe.label},Ie,"textord"),Qn=ge(Qn),Qn.italic=0,ti=Qn.width),Cn=jr.makeSpan(["accent-body"],[Qn]);var wi=Qe.label==="\\textcircled";wi&&(Cn.classes.push("accent-full"),yn=hr.height);var ea=Rr;wi||(ea-=ti/2),Cn.style.left=ea+"em",Qe.label==="\\textcircled"&&(Cn.style.top=".2em"),Cn=jr.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:hr},{type:"kern",size:-yn},{type:"elem",elem:Cn}]},Ie)}var ji=jr.makeSpan(["mord","accent"],[Cn],Ie);return Ut?(Ut.children[0]=ji,Ut.height=Math.max(ji.height,Ut.height),Ut.classes[0]="mord",Ut):ji},xt=function(pe,Ie){var Ne=pe.isStretchy?Jr.mathMLnode(pe.label):new Fn.MathNode("mo",[$i(pe.label,pe.mode)]),Qe=new Fn.MathNode("mover",[Tr(pe.base,Ie),Ne]);return Qe.setAttribute("accent","true"),Qe},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(pe,Ie){var Ne=Ie[0],Qe=!Vt.test(pe.funcName),Ct=!Qe||pe.funcName==="\\widehat"||pe.funcName==="\\widetilde"||pe.funcName==="\\widecheck";return{type:"accent",mode:pe.parser.mode,label:pe.funcName,isStretchy:Qe,isShifty:Ct,base:Ne}},htmlBuilder:an,mathmlBuilder:xt}),Gn({type:"accent",names:["\\'","\\`","\\^","\\~","\\=","\\u","\\.",'\\"',"\\r","\\H","\\v","\\textcircled"],props:{numArgs:1,allowedInText:!0,allowedInMath:!1},handler:function(pe,Ie){var Ne=Ie[0];return{type:"accent",mode:pe.parser.mode,label:pe.funcName,isStretchy:!1,isShifty:!0,base:Ne}},htmlBuilder:an,mathmlBuilder:xt}),Gn({type:"accentUnder",names:["\\underleftarrow","\\underrightarrow","\\underleftrightarrow","\\undergroup","\\underlinesegment","\\utilde"],props:{numArgs:1},handler:function(pe,Ie){var Ne=pe.parser,Qe=pe.funcName,Ct=Ie[0];return{type:"accentUnder",mode:Ne.mode,label:Qe,base:Ct}},htmlBuilder:function(pe,Ie){var Ne=Wi(pe.base,Ie),Qe=Jr.svgSpan(pe,Ie),Ct=pe.label==="\\utilde"?.12:0,Ut=jr.makeVList({positionType:"bottom",positionData:Qe.height+Ct,children:[{type:"elem",elem:Qe,wrapperClasses:["svg-align"]},{type:"kern",size:Ct},{type:"elem",elem:Ne}]},Ie);return jr.makeSpan(["mord","accentunder"],[Ut],Ie)},mathmlBuilder:function(pe,Ie){var Ne=Jr.mathMLnode(pe.label),Qe=new Fn.MathNode("munder",[Tr(pe.base,Ie),Ne]);return Qe.setAttribute("accentunder","true"),Qe}});var sr=function(pe){var Ie=new Fn.MathNode("mpadded",pe?[pe]:[]);return Ie.setAttribute("width","+0.6em"),Ie.setAttribute("lspace","0.3em"),Ie};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(pe,Ie,Ne){var Qe=pe.parser,Ct=pe.funcName;return{type:"xArrow",mode:Qe.mode,label:Ct,body:Ie[0],below:Ne[0]}},htmlBuilder:function(pe,Ie){var Ne=Ie.style,Qe=Ie.havingStyle(Ne.sup()),Ct=jr.wrapFragment(Wi(pe.body,Qe,Ie),Ie);Ct.classes.push("x-arrow-pad");var Ut;pe.below&&(Qe=Ie.havingStyle(Ne.sub()),Ut=jr.wrapFragment(Wi(pe.below,Qe,Ie),Ie),Ut.classes.push("x-arrow-pad"));var hr=Jr.svgSpan(pe,Ie),gr=-Ie.fontMetrics().axisHeight+.5*hr.height,Rr=-Ie.fontMetrics().axisHeight-.5*hr.height-.111;(Ct.depth>.25||pe.label==="\\xleftequilibrium")&&(Rr-=Ct.depth);var $r;if(Ut){var ln=-Ie.fontMetrics().axisHeight+Ut.height+.5*hr.height+.111;$r=jr.makeVList({positionType:"individualShift",children:[{type:"elem",elem:Ct,shift:Rr},{type:"elem",elem:hr,shift:gr},{type:"elem",elem:Ut,shift:ln}]},Ie)}else $r=jr.makeVList({positionType:"individualShift",children:[{type:"elem",elem:Ct,shift:Rr},{type:"elem",elem:hr,shift:gr}]},Ie);return $r.children[0].children[0].children[1].classes.push("svg-align"),jr.makeSpan(["mrel","x-arrow"],[$r],Ie)},mathmlBuilder:function(pe,Ie){var Ne=Jr.mathMLnode(pe.label),Qe;if(pe.body){var Ct=sr(Tr(pe.body,Ie));if(pe.below){var Ut=sr(Tr(pe.below,Ie));Qe=new Fn.MathNode("munderover",[Ne,Ut,Ct])}else Qe=new Fn.MathNode("mover",[Ne,Ct])}else if(pe.below){var hr=sr(Tr(pe.below,Ie));Qe=new Fn.MathNode("munder",[Ne,hr])}else Qe=sr(),Qe=new Fn.MathNode("mover",[Ne,Qe]);return Qe}}),Gn({type:"textord",names:["\\@char"],props:{numArgs:1,allowedInText:!0},handler:function(pe,Ie){for(var Ne=pe.parser,Qe=Tn(Ie[0],"ordgroup"),Ct=Qe.body,Ut="",hr=0;hr<Ct.length;hr++){var gr=Tn(Ct[hr],"textord");Ut+=gr.text}var Rr=parseInt(Ut);if(isNaN(Rr))throw new a("\\@char has non-numeric argument "+Ut);return{type:"textord",mode:Ne.mode,text:String.fromCharCode(Rr)}}});var br=function(pe,Ie){var Ne=di(pe.body,Ie.withColor(pe.color),!1);return jr.makeFragment(Ne)},Mr=function(pe,Ie){var Ne=uo(pe.body,Ie.withColor(pe.color)),Qe=new Fn.MathNode("mstyle",Ne);return Qe.setAttribute("mathcolor",pe.color),Qe};Gn({type:"color",names:["\\textcolor"],props:{numArgs:2,allowedInText:!0,greediness:3,argTypes:["color","original"]},handler:function(pe,Ie){var Ne=pe.parser,Qe=Tn(Ie[0],"color-token").color,Ct=Ie[1];return{type:"color",mode:Ne.mode,color:Qe,body:mn(Ct)}},htmlBuilder:br,mathmlBuilder:Mr}),Gn({type:"color",names:["\\color"],props:{numArgs:1,allowedInText:!0,greediness:3,argTypes:["color"]},handler:function(pe,Ie){var Ne=pe.parser,Qe=pe.breakOnTokenText,Ct=Tn(Ie[0],"color-token").color;Ne.gullet.macros.set("\\current@color",Ct);var Ut=Ne.parseExpression(!0,Qe);return{type:"color",mode:Ne.mode,color:Ct,body:Ut}},htmlBuilder:br,mathmlBuilder:Mr}),Gn({type:"cr",names:["\\cr","\\newline"],props:{numArgs:0,numOptionalArgs:1,argTypes:["size"],allowedInText:!0},handler:function(pe,Ie,Ne){var Qe=pe.parser,Ct=pe.funcName,Ut=Ne[0],hr=Ct==="\\cr",gr=!1;return hr||(Qe.settings.displayMode&&Qe.settings.useStrictBehavior("newLineInDisplayMode","In LaTeX, \\\\ or \\newline does nothing in display mode")?gr=!1:gr=!0),{type:"cr",mode:Qe.mode,newLine:gr,newRow:hr,size:Ut&&Tn(Ut,"size").value}},htmlBuilder:function(pe,Ie){if(pe.newRow)throw new a("\\cr valid only within a tabular/array environment");var Ne=jr.makeSpan(["mspace"],[],Ie);return pe.newLine&&(Ne.classes.push("newline"),pe.size&&(Ne.style.marginTop=vt(pe.size,Ie)+"em")),Ne},mathmlBuilder:function(pe,Ie){var Ne=new Fn.MathNode("mspace");return pe.newLine&&(Ne.setAttribute("linebreak","newline"),pe.size&&Ne.setAttribute("height",vt(pe.size,Ie)+"em")),Ne}});var Dr=function(pe,Ie,Ne){var Qe=Ve.math[pe]&&Ve.math[pe].replace,Ct=je(Qe||pe,Ie,Ne);if(!Ct)throw new Error("Unsupported symbol "+pe+" and font size "+Ie+".");return Ct},rn=function(pe,Ie,Ne,Qe){var Ct=Ne.havingBaseStyle(Ie),Ut=jr.makeSpan(Qe.concat(Ct.sizingClasses(Ne)),[pe],Ne),hr=Ct.sizeMultiplier/Ne.sizeMultiplier;return Ut.height*=hr,Ut.depth*=hr,Ut.maxFontSize=Ct.sizeMultiplier,Ut},fn=function(pe,Ie,Ne){var Qe=Ie.havingBaseStyle(Ne),Ct=(1-Ie.sizeMultiplier/Qe.sizeMultiplier)*Ie.fontMetrics().axisHeight;pe.classes.push("delimcenter"),pe.style.top=Ct+"em",pe.height-=Ct,pe.depth+=Ct},wn=function(pe,Ie,Ne,Qe,Ct,Ut){var hr=jr.makeSymbol(pe,"Main-Regular",Ct,Qe),gr=rn(hr,Ie,Qe,Ut);return Ne&&fn(gr,Qe,Ie),gr},Hn=function(pe,Ie,Ne,Qe){return jr.makeSymbol(pe,"Size"+Ie+"-Regular",Ne,Qe)},Sn=function(pe,Ie,Ne,Qe,Ct,Ut){var hr=Hn(pe,Ie,Ct,Qe),gr=rn(jr.makeSpan(["delimsizing","size"+Ie],[hr],Qe),H.TEXT,Qe,Ut);return Ne&&fn(gr,Qe,H.TEXT),gr},bn=function(pe,Ie,Ne){var Qe;Ie==="Size1-Regular"?Qe="delim-size1":Qe="delim-size4";var Ct=jr.makeSpan(["delimsizinginner",Qe],[jr.makeSpan([],[jr.makeSymbol(pe,Ie,Ne)])]);return{type:"elem",elem:Ct}},Mn={type:"kern",size:-.005},vn=function(pe,Ie,Ne,Qe,Ct,Ut){var hr,gr,Rr,$r;hr=Rr=$r=pe,gr=null;var ln="Size1-Regular";pe==="\\uparrow"?Rr=$r="\u23D0":pe==="\\Uparrow"?Rr=$r="\u2016":pe==="\\downarrow"?hr=Rr="\u23D0":pe==="\\Downarrow"?hr=Rr="\u2016":pe==="\\updownarrow"?(hr="\\uparrow",Rr="\u23D0",$r="\\downarrow"):pe==="\\Updownarrow"?(hr="\\Uparrow",Rr="\u2016",$r="\\Downarrow"):pe==="["||pe==="\\lbrack"?(hr="\u23A1",Rr="\u23A2",$r="\u23A3",ln="Size4-Regular"):pe==="]"||pe==="\\rbrack"?(hr="\u23A4",Rr="\u23A5",$r="\u23A6",ln="Size4-Regular"):pe==="\\lfloor"||pe==="\u230A"?(Rr=hr="\u23A2",$r="\u23A3",ln="Size4-Regular"):pe==="\\lceil"||pe==="\u2308"?(hr="\u23A1",Rr=$r="\u23A2",ln="Size4-Regular"):pe==="\\rfloor"||pe==="\u230B"?(Rr=hr="\u23A5",$r="\u23A6",ln="Size4-Regular"):pe==="\\rceil"||pe==="\u2309"?(hr="\u23A4",Rr=$r="\u23A5",ln="Size4-Regular"):pe==="("||pe==="\\lparen"?(hr="\u239B",Rr="\u239C",$r="\u239D",ln="Size4-Regular"):pe===")"||pe==="\\rparen"?(hr="\u239E",Rr="\u239F",$r="\u23A0",ln="Size4-Regular"):pe==="\\{"||pe==="\\lbrace"?(hr="\u23A7",gr="\u23A8",$r="\u23A9",Rr="\u23AA",ln="Size4-Regular"):pe==="\\}"||pe==="\\rbrace"?(hr="\u23AB",gr="\u23AC",$r="\u23AD",Rr="\u23AA",ln="Size4-Regular"):pe==="\\lgroup"||pe==="\u27EE"?(hr="\u23A7",$r="\u23A9",Rr="\u23AA",ln="Size4-Regular"):pe==="\\rgroup"||pe==="\u27EF"?(hr="\u23AB",$r="\u23AD",Rr="\u23AA",ln="Size4-Regular"):pe==="\\lmoustache"||pe==="\u23B0"?(hr="\u23A7",$r="\u23AD",Rr="\u23AA",ln="Size4-Regular"):(pe==="\\rmoustache"||pe==="\u23B1")&&(hr="\u23AB",$r="\u23A9",Rr="\u23AA",ln="Size4-Regular");var yn=Dr(hr,ln,Ct),Cn=yn.height+yn.depth,Qn=Dr(Rr,ln,Ct),ti=Qn.height+Qn.depth,wi=Dr($r,ln,Ct),ea=wi.height+wi.depth,ji=0,Sa=1;if(gr!==null){var lo=Dr(gr,ln,Ct);ji=lo.height+lo.depth,Sa=2}var Wa=Cn+ea+ji,yo=Math.max(0,Math.ceil((Ie-Wa)/(Sa*ti))),Ao=Wa+yo*Sa*ti,$a=Qe.fontMetrics().axisHeight;Ne&&($a*=Qe.sizeMultiplier);var ko=Ao/2-$a,No=(yo+1)*.005-ti,Ha=[];if(Ha.push(bn($r,ln,Ct)),gr===null)for(var jo=0;jo<yo;jo++)Ha.push(Mn),Ha.push(bn(Rr,ln,Ct));else{for(var Fo=0;Fo<yo;Fo++)Ha.push(Mn),Ha.push(bn(Rr,ln,Ct));Ha.push({type:"kern",size:No}),Ha.push(bn(Rr,ln,Ct)),Ha.push(Mn),Ha.push(bn(gr,ln,Ct));for(var Qo=0;Qo<yo;Qo++)Ha.push(Mn),Ha.push(bn(Rr,ln,Ct))}Ha.push({type:"kern",size:No}),Ha.push(bn(Rr,ln,Ct)),Ha.push(Mn),Ha.push(bn(hr,ln,Ct));var wo=Qe.havingBaseStyle(H.TEXT),us=jr.makeVList({positionType:"bottom",positionData:ko,children:Ha},wo);return rn(jr.makeSpan(["delimsizing","mult"],[us],wo),H.TEXT,Qe,Ut)},Rn=80,En=.08,In=function(pe,Ie,Ne,Qe,Ct){var Ut=Me(pe,Qe,Ne),hr=new te(pe,Ut),gr=new he([hr],{width:"400em",height:Ie+"em",viewBox:"0 0 400000 "+Ne,preserveAspectRatio:"xMinYMin slice"});return jr.makeSvgSpan(["hide-tail"],[gr],Ct)},Xn=function(pe,Ie){var Ne=Ie.havingBaseSizing(),Qe=Ui("\\surd",pe*Ne.sizeMultiplier,Ri,Ne),Ct=Ne.sizeMultiplier,Ut=Math.max(0,Ie.minRuleThickness-Ie.fontMetrics().sqrtRuleThickness),hr,gr=0,Rr=0,$r=0,ln;return Qe.type==="small"?($r=1e3+1e3*Ut+Rn,pe<1?Ct=1:pe<1.4&&(Ct=.7),gr=(1+Ut+En)/Ct,Rr=(1+Ut)/Ct,hr=In("sqrtMain",gr,$r,Ut,Ie),hr.style.minWidth="0.853em",ln=.833/Ct):Qe.type==="large"?($r=(1e3+Rn)*yi[Qe.size],Rr=(yi[Qe.size]+Ut)/Ct,gr=(yi[Qe.size]+Ut+En)/Ct,hr=In("sqrtSize"+Qe.size,gr,$r,Ut,Ie),hr.style.minWidth="1.02em",ln=1/Ct):(gr=pe+Ut+En,Rr=pe+Ut,$r=Math.floor(1e3*pe+Ut)+Rn,hr=In("sqrtTall",gr,$r,Ut,Ie),hr.style.minWidth="0.742em",ln=1.056),hr.height=Rr,hr.style.height=gr+"em",{span:hr,advanceWidth:ln,ruleWidth:(Ie.fontMetrics().sqrtRuleThickness+Ut)*Ct}},ai=["(","\\lparen",")","\\rparen","[","\\lbrack","]","\\rbrack","\\{","\\lbrace","\\}","\\rbrace","\\lfloor","\\rfloor","\u230A","\u230B","\\lceil","\\rceil","\u2308","\u2309","\\surd"],ri=["\\uparrow","\\downarrow","\\updownarrow","\\Uparrow","\\Downarrow","\\Updownarrow","|","\\|","\\vert","\\Vert","\\lvert","\\rvert","\\lVert","\\rVert","\\lgroup","\\rgroup","\u27EE","\u27EF","\\lmoustache","\\rmoustache","\u23B0","\u23B1"],Di=["<",">","\\langle","\\rangle","/","\\backslash","\\lt","\\gt"],yi=[0,1.2,1.8,2.4,3],xi=function(pe,Ie,Ne,Qe,Ct){if(pe==="<"||pe==="\\lt"||pe==="\u27E8"?pe="\\langle":(pe===">"||pe==="\\gt"||pe==="\u27E9")&&(pe="\\rangle"),S.contains(ai,pe)||S.contains(Di,pe))return Sn(pe,Ie,!1,Ne,Qe,Ct);if(S.contains(ri,pe))return vn(pe,yi[Ie],!1,Ne,Qe,Ct);throw new a("Illegal delimiter: '"+pe+"'")},_i=[{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(pe){if(pe.type==="small")return"Main-Regular";if(pe.type==="large")return"Size"+pe.size+"-Regular";if(pe.type==="stack")return"Size4-Regular";throw new Error("Add support for delim type '"+pe.type+"' here.")},Ui=function(pe,Ie,Ne,Qe){for(var Ct=Math.min(2,3-Qe.style.size),Ut=Ct;Ut<Ne.length&&!(Ne[Ut].type==="stack");Ut++){var hr=Dr(pe,fa(Ne[Ut]),"math"),gr=hr.height+hr.depth;if(Ne[Ut].type==="small"){var Rr=Qe.havingBaseStyle(Ne[Ut].style);gr*=Rr.sizeMultiplier}if(gr>Ie)return Ne[Ut]}return Ne[Ne.length-1]},Mi=function(pe,Ie,Ne,Qe,Ct,Ut){pe==="<"||pe==="\\lt"||pe==="\u27E8"?pe="\\langle":(pe===">"||pe==="\\gt"||pe==="\u27E9")&&(pe="\\rangle");var hr;S.contains(Di,pe)?hr=_i:S.contains(ai,pe)?hr=Ri:hr=Un;var gr=Ui(pe,Ie,hr,Qe);return gr.type==="small"?wn(pe,gr.style,Ne,Qe,Ct,Ut):gr.type==="large"?Sn(pe,gr.size,Ne,Qe,Ct,Ut):vn(pe,Ie,Ne,Qe,Ct,Ut)},mi=function(pe,Ie,Ne,Qe,Ct,Ut){var hr=Qe.fontMetrics().axisHeight*Qe.sizeMultiplier,gr=901,Rr=5/Qe.fontMetrics().ptPerEm,$r=Math.max(Ie-hr,Ne+hr),ln=Math.max($r/500*gr,2*$r-Rr);return Mi(pe,ln,!0,Qe,Ct,Ut)},hi={sqrtImage:Xn,sizedDelim:xi,customSizedDelim:Mi,leftRightDelim:mi},qi={"\\bigl":{mclass:"mopen",size:1},"\\Bigl":{mclass:"mopen",size:2},"\\biggl":{mclass:"mopen",size:3},"\\Biggl":{mclass:"mopen",size:4},"\\bigr":{mclass:"mclose",size:1},"\\Bigr":{mclass:"mclose",size:2},"\\biggr":{mclass:"mclose",size:3},"\\Biggr":{mclass:"mclose",size:4},"\\bigm":{mclass:"mrel",size:1},"\\Bigm":{mclass:"mrel",size:2},"\\biggm":{mclass:"mrel",size:3},"\\Biggm":{mclass:"mrel",size:4},"\\big":{mclass:"mord",size:1},"\\Big":{mclass:"mord",size:2},"\\bigg":{mclass:"mord",size:3},"\\Bigg":{mclass:"mord",size:4}},va=["(","\\lparen",")","\\rparen","[","\\lbrack","]","\\rbrack","\\{","\\lbrace","\\}","\\rbrace","\\lfloor","\\rfloor","\u230A","\u230B","\\lceil","\\rceil","\u2308","\u2309","<",">","\\langle","\u27E8","\\rangle","\u27E9","\\lt","\\gt","\\lvert","\\rvert","\\lVert","\\rVert","\\lgroup","\\rgroup","\u27EE","\u27EF","\\lmoustache","\\rmoustache","\u23B0","\u23B1","/","\\backslash","|","\\vert","\\|","\\Vert","\\uparrow","\\Uparrow","\\downarrow","\\Downarrow","\\updownarrow","\\Updownarrow","."];function Ea(Bt,pe){var Ie=Yn(Bt);if(Ie&&S.contains(va,Ie.text))return Ie;throw new a("Invalid delimiter: '"+(Ie?Ie.text:JSON.stringify(Bt))+"' after '"+pe.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(pe,Ie){var Ne=Ea(Ie[0],pe);return{type:"delimsizing",mode:pe.parser.mode,size:qi[pe.funcName].size,mclass:qi[pe.funcName].mclass,delim:Ne.text}},htmlBuilder:function(pe,Ie){return pe.delim==="."?jr.makeSpan([pe.mclass]):hi.sizedDelim(pe.delim,pe.size,Ie,pe.mode,[pe.mclass])},mathmlBuilder:function(pe){var Ie=[];pe.delim!=="."&&Ie.push($i(pe.delim,pe.mode));var Ne=new Fn.MathNode("mo",Ie);return pe.mclass==="mopen"||pe.mclass==="mclose"?Ne.setAttribute("fence","true"):Ne.setAttribute("fence","false"),Ne}});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(pe,Ie){var Ne=pe.parser.gullet.macros.get("\\current@color");if(Ne&&typeof Ne!="string")throw new a("\\current@color set to non-string in \\right");return{type:"leftright-right",mode:pe.parser.mode,delim:Ea(Ie[0],pe).text,color:Ne}}}),Gn({type:"leftright",names:["\\left"],props:{numArgs:1},handler:function(pe,Ie){var Ne=Ea(Ie[0],pe),Qe=pe.parser;++Qe.leftrightDepth;var Ct=Qe.parseExpression(!1);--Qe.leftrightDepth,Qe.expect("\\right",!1);var Ut=Tn(Qe.parseFunction(),"leftright-right");return{type:"leftright",mode:Qe.mode,body:Ct,left:Ne.text,right:Ut.delim,rightColor:Ut.color}},htmlBuilder:function(pe,Ie){ya(pe);for(var Ne=di(pe.body,Ie,!0,["mopen","mclose"]),Qe=0,Ct=0,Ut=!1,hr=0;hr<Ne.length;hr++)Ne[hr].isMiddle?Ut=!0:(Qe=Math.max(Ne[hr].height,Qe),Ct=Math.max(Ne[hr].depth,Ct));Qe*=Ie.sizeMultiplier,Ct*=Ie.sizeMultiplier;var gr;if(pe.left==="."?gr=Qa(Ie,["mopen"]):gr=hi.leftRightDelim(pe.left,Qe,Ct,Ie,pe.mode,["mopen"]),Ne.unshift(gr),Ut)for(var Rr=1;Rr<Ne.length;Rr++){var $r=Ne[Rr],ln=$r.isMiddle;ln&&(Ne[Rr]=hi.leftRightDelim(ln.delim,Qe,Ct,ln.options,pe.mode,[]))}var yn;if(pe.right===".")yn=Qa(Ie,["mclose"]);else{var Cn=pe.rightColor?Ie.withColor(pe.rightColor):Ie;yn=hi.leftRightDelim(pe.right,Qe,Ct,Cn,pe.mode,["mclose"])}return Ne.push(yn),jr.makeSpan(["minner"],Ne,Ie)},mathmlBuilder:function(pe,Ie){ya(pe);var Ne=uo(pe.body,Ie);if(pe.left!=="."){var Qe=new Fn.MathNode("mo",[$i(pe.left,pe.mode)]);Qe.setAttribute("fence","true"),Ne.unshift(Qe)}if(pe.right!=="."){var Ct=new Fn.MathNode("mo",[$i(pe.right,pe.mode)]);Ct.setAttribute("fence","true"),pe.rightColor&&Ct.setAttribute("mathcolor",pe.rightColor),Ne.push(Ct)}return eo(Ne)}}),Gn({type:"middle",names:["\\middle"],props:{numArgs:1},handler:function(pe,Ie){var Ne=Ea(Ie[0],pe);if(!pe.parser.leftrightDepth)throw new a("\\middle without preceding \\left",Ne);return{type:"middle",mode:pe.parser.mode,delim:Ne.text}},htmlBuilder:function(pe,Ie){var Ne;if(pe.delim===".")Ne=Qa(Ie,[]);else{Ne=hi.sizedDelim(pe.delim,1,Ie,pe.mode,[]);var Qe={delim:pe.delim,options:Ie};Ne.isMiddle=Qe}return Ne},mathmlBuilder:function(pe,Ie){var Ne=pe.delim==="\\vert"||pe.delim==="|"?$i("|","text"):$i(pe.delim,pe.mode),Qe=new Fn.MathNode("mo",[Ne]);return Qe.setAttribute("fence","true"),Qe.setAttribute("lspace","0.05em"),Qe.setAttribute("rspace","0.05em"),Qe}});var oa=function(pe,Ie){var Ne=jr.wrapFragment(Wi(pe.body,Ie),Ie),Qe=pe.label.substr(1),Ct=Ie.sizeMultiplier,Ut,hr=0,gr=S.isCharacterBox(pe.body);if(Qe==="sout")Ut=jr.makeSpan(["stretchy","sout"]),Ut.height=Ie.fontMetrics().defaultRuleThickness/Ct,hr=-.5*Ie.fontMetrics().xHeight;else{/cancel/.test(Qe)?gr||Ne.classes.push("cancel-pad"):Ne.classes.push("boxpad");var Rr=0,$r=0;/box/.test(Qe)?($r=Math.max(Ie.fontMetrics().fboxrule,Ie.minRuleThickness),Rr=Ie.fontMetrics().fboxsep+(Qe==="colorbox"?0:$r)):Rr=gr?.2:0,Ut=Jr.encloseSpan(Ne,Qe,Rr,Ie),/fbox|boxed|fcolorbox/.test(Qe)&&(Ut.style.borderStyle="solid",Ut.style.borderWidth=$r+"em"),hr=Ne.depth+Rr,pe.backgroundColor&&(Ut.style.backgroundColor=pe.backgroundColor,pe.borderColor&&(Ut.style.borderColor=pe.borderColor))}var ln;return pe.backgroundColor?ln=jr.makeVList({positionType:"individualShift",children:[{type:"elem",elem:Ut,shift:hr},{type:"elem",elem:Ne,shift:0}]},Ie):ln=jr.makeVList({positionType:"individualShift",children:[{type:"elem",elem:Ne,shift:0},{type:"elem",elem:Ut,shift:hr,wrapperClasses:/cancel/.test(Qe)?["svg-align"]:[]}]},Ie),/cancel/.test(Qe)&&(ln.height=Ne.height,ln.depth=Ne.depth),/cancel/.test(Qe)&&!gr?jr.makeSpan(["mord","cancel-lap"],[ln],Ie):jr.makeSpan(["mord"],[ln],Ie)},sa=function(pe,Ie){var Ne=0,Qe=new Fn.MathNode(pe.label.indexOf("colorbox")>-1?"mpadded":"menclose",[Tr(pe.body,Ie)]);switch(pe.label){case"\\cancel":Qe.setAttribute("notation","updiagonalstrike");break;case"\\bcancel":Qe.setAttribute("notation","downdiagonalstrike");break;case"\\sout":Qe.setAttribute("notation","horizontalstrike");break;case"\\fbox":Qe.setAttribute("notation","box");break;case"\\fcolorbox":case"\\colorbox":if(Ne=Ie.fontMetrics().fboxsep*Ie.fontMetrics().ptPerEm,Qe.setAttribute("width","+"+2*Ne+"pt"),Qe.setAttribute("height","+"+2*Ne+"pt"),Qe.setAttribute("lspace",Ne+"pt"),Qe.setAttribute("voffset",Ne+"pt"),pe.label==="\\fcolorbox"){var Ct=Math.max(Ie.fontMetrics().fboxrule,Ie.minRuleThickness);Qe.setAttribute("style","border: "+Ct+"em solid "+String(pe.borderColor))}break;case"\\xcancel":Qe.setAttribute("notation","updiagonalstrike downdiagonalstrike");break}return pe.backgroundColor&&Qe.setAttribute("mathbackground",pe.backgroundColor),Qe};Gn({type:"enclose",names:["\\colorbox"],props:{numArgs:2,allowedInText:!0,greediness:3,argTypes:["color","text"]},handler:function(pe,Ie,Ne){var Qe=pe.parser,Ct=pe.funcName,Ut=Tn(Ie[0],"color-token").color,hr=Ie[1];return{type:"enclose",mode:Qe.mode,label:Ct,backgroundColor:Ut,body:hr}},htmlBuilder:oa,mathmlBuilder:sa}),Gn({type:"enclose",names:["\\fcolorbox"],props:{numArgs:3,allowedInText:!0,greediness:3,argTypes:["color","color","text"]},handler:function(pe,Ie,Ne){var Qe=pe.parser,Ct=pe.funcName,Ut=Tn(Ie[0],"color-token").color,hr=Tn(Ie[1],"color-token").color,gr=Ie[2];return{type:"enclose",mode:Qe.mode,label:Ct,backgroundColor:hr,borderColor:Ut,body:gr}},htmlBuilder:oa,mathmlBuilder:sa}),Gn({type:"enclose",names:["\\fbox"],props:{numArgs:1,argTypes:["hbox"],allowedInText:!0},handler:function(pe,Ie){var Ne=pe.parser;return{type:"enclose",mode:Ne.mode,label:"\\fbox",body:Ie[0]}}}),Gn({type:"enclose",names:["\\cancel","\\bcancel","\\xcancel","\\sout"],props:{numArgs:1},handler:function(pe,Ie,Ne){var Qe=pe.parser,Ct=pe.funcName,Ut=Ie[0];return{type:"enclose",mode:Qe.mode,label:Ct,body:Ut}},htmlBuilder:oa,mathmlBuilder:sa});var Ni={};function $n(Bt){for(var pe=Bt.type,Ie=Bt.names,Ne=Bt.props,Qe=Bt.handler,Ct=Bt.htmlBuilder,Ut=Bt.mathmlBuilder,hr={type:pe,numArgs:Ne.numArgs||0,greediness:1,allowedInText:!1,numOptionalArgs:0,handler:Qe},gr=0;gr<Ie.length;++gr)Ni[Ie[gr]]=hr;Ct&&(Li[pe]=Ct),Ut&&(Ci[pe]=Ut)}function Ai(Bt){var pe=[];Bt.consumeSpaces();for(var Ie=Bt.fetch().text;Ie==="\\hline"||Ie==="\\hdashline";)Bt.consume(),pe.push(Ie==="\\hdashline"),Bt.consumeSpaces(),Ie=Bt.fetch().text;return pe}function Ii(Bt,pe,Ie){var Ne=pe.hskipBeforeAndAfter,Qe=pe.addJot,Ct=pe.cols,Ut=pe.arraystretch,hr=pe.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},Ie&&(Cn={type:"styling",mode:Bt.mode,style:Ie,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:Qe,arraystretch:Ut,body:$r,cols:Ct,rowGaps:ln,hskipBeforeAndAfter:Ne,hLinesBeforeRow:yn,colSeparationType:hr}}function Vi(Bt){return Bt.substr(0,1)==="d"?"display":"text"}var Xi=function(pe,Ie){var Ne,Qe,Ct=pe.body.length,Ut=pe.hLinesBeforeRow,hr=0,gr=new Array(Ct),Rr=[],$r=Math.max(Ie.fontMetrics().arrayRuleWidth,Ie.minRuleThickness),ln=1/Ie.fontMetrics().ptPerEm,yn=5*ln;if(pe.colSeparationType&&pe.colSeparationType==="small"){var Cn=Ie.havingStyle(H.SCRIPT).sizeMultiplier;yn=.2778*(Cn/Ie.sizeMultiplier)}var Qn=12*ln,ti=3*ln,wi=pe.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]),Ne=0;Ne<pe.body.length;++Ne){var Wa=pe.body[Ne],yo=ea,Ao=ji;hr<Wa.length&&(hr=Wa.length);var $a=new Array(Wa.length);for(Qe=0;Qe<Wa.length;++Qe){var ko=Wi(Wa[Qe],Ie);Ao<ko.depth&&(Ao=ko.depth),yo<ko.height&&(yo=ko.height),$a[Qe]=ko}var No=pe.rowGaps[Ne],Ha=0;No&&(Ha=vt(No,Ie),Ha>0&&(Ha+=ji,Ao<Ha&&(Ao=Ha),Ha=0)),pe.addJot&&(Ao+=ti),$a.height=yo,$a.depth=Ao,Sa+=yo,$a.pos=Sa,Sa+=Ao+Ha,gr[Ne]=$a,lo(Ut[Ne+1])}var jo=Sa/2+Ie.fontMetrics().axisHeight,Fo=pe.cols||[],Qo=[],wo,us;for(Qe=0,us=0;Qe<hr||us<Fo.length;++Qe,++us){for(var ns=Fo[us]||{},Xs=!0;ns.type==="separator";){if(Xs||(wo=jr.makeSpan(["arraycolsep"],[]),wo.style.width=Ie.fontMetrics().doubleRuleSep+"em",Qo.push(wo)),ns.separator==="|"||ns.separator===":"){var Ys=ns.separator==="|"?"solid":"dashed",Yo=jr.makeSpan(["vertical-separator"],[],Ie);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=Fo[us]||{},Xs=!1}if(Qe>=hr)continue;var Eo=void 0;(Qe>0||pe.hskipBeforeAndAfter)&&(Eo=S.deflt(ns.pregap,yn),Eo!==0&&(wo=jr.makeSpan(["arraycolsep"],[]),wo.style.width=Eo+"em",Qo.push(wo)));var ds=[];for(Ne=0;Ne<Ct;++Ne){var hs=gr[Ne],Rs=hs[Qe];if(!Rs)continue;var Do=hs.pos-jo;Rs.depth=hs.depth,Rs.height=hs.height,ds.push({type:"elem",elem:Rs,shift:Do})}ds=jr.makeVList({positionType:"individualShift",children:ds},Ie),ds=jr.makeSpan(["col-align-"+(ns.align||"c")],[ds]),Qo.push(ds),(Qe<hr-1||pe.hskipBeforeAndAfter)&&(Eo=S.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",Ie,$r),Ms=jr.makeLineSpan("hdashline",Ie,$r),As=[{type:"elem",elem:gr,shift:0}];Rr.length>0;){var ks=Rr.pop(),Hs=ks.pos-jo;ks.isDashed?As.push({type:"elem",elem:Ms,shift:Hs}):As.push({type:"elem",elem:ys,shift:Hs})}gr=jr.makeVList({positionType:"individualShift",children:As},Ie)}return jr.makeSpan(["mord"],[gr],Ie)},bi={c:"center ",l:"left ",r:"right "},Aa=function(pe,Ie){var Ne=new Fn.MathNode("mtable",pe.body.map(function(Sa){return new Fn.MathNode("mtr",Sa.map(function(lo){return new Fn.MathNode("mtd",[Tr(lo,Ie)])}))})),Qe=pe.arraystretch===.5?.1:.16+pe.arraystretch-1+(pe.addJot?.09:0);Ne.setAttribute("rowspacing",Qe+"em");var Ct="",Ut="";if(pe.cols){var hr=pe.cols,gr="",Rr=!1,$r=0,ln=hr.length;hr[0].type==="separator"&&(Ct+="top ",$r=1),hr[hr.length-1].type==="separator"&&(Ct+="bottom ",ln-=1);for(var yn=$r;yn<ln;yn++)hr[yn].type==="align"?(Ut+=bi[hr[yn].align],Rr&&(gr+="none "),Rr=!0):hr[yn].type==="separator"&&(Rr&&(gr+=hr[yn].separator==="|"?"solid ":"dashed ",Rr=!1));Ne.setAttribute("columnalign",Ut.trim()),/[sd]/.test(gr)&&Ne.setAttribute("columnlines",gr.trim())}if(pe.colSeparationType==="align"){for(var Cn=pe.cols||[],Qn="",ti=1;ti<Cn.length;ti++)Qn+=ti%2?"0em ":"1em ";Ne.setAttribute("columnspacing",Qn.trim())}else pe.colSeparationType==="alignat"?Ne.setAttribute("columnspacing","0em"):pe.colSeparationType==="small"?Ne.setAttribute("columnspacing","0.2778em"):Ne.setAttribute("columnspacing","1em");var wi="",ea=pe.hLinesBeforeRow;Ct+=ea[0].length>0?"left ":"",Ct+=ea[ea.length-1].length>0?"right ":"";for(var ji=1;ji<ea.length-1;ji++)wi+=ea[ji].length===0?"none ":ea[ji][0]?"dashed ":"solid ";return/[sd]/.test(wi)&&Ne.setAttribute("rowlines",wi.trim()),Ct!==""&&(Ne=new Fn.MathNode("menclose",[Ne]),Ne.setAttribute("notation",Ct.trim())),pe.arraystretch&&pe.arraystretch<1&&(Ne=new Fn.MathNode("mstyle",[Ne]),Ne.setAttribute("scriptlevel","1")),Ne},ca=function(pe,Ie){var Ne=[],Qe=Ii(pe.parser,{cols:Ne,addJot:!0},"display"),Ct,Ut=0,hr={type:"ordgroup",mode:pe.mode,body:[]},gr=gn(Ie[0],"ordgroup");if(gr){for(var Rr="",$r=0;$r<gr.body.length;$r++){var ln=Tn(gr.body[$r],"textord");Rr+=ln.text}Ct=Number(Rr),Ut=Ct*2}var yn=!Ut;Qe.body.forEach(function(wi){for(var ea=1;ea<wi.length;ea+=2){var ji=Tn(wi[ea],"styling"),Sa=Tn(ji.body[0],"ordgroup");Sa.body.unshift(hr)}if(yn)Ut<wi.length&&(Ut=wi.length);else{var lo=wi.length/2;if(Ct<lo)throw new a("Too many math in a row: "+("expected "+Ct+", but got "+lo),wi[0])}});for(var Cn=0;Cn<Ut;++Cn){var Qn="r",ti=0;Cn%2===1?Qn="l":Cn>0&&yn&&(ti=1),Ne[Cn]={type:"align",align:Qn,pregap:ti,postgap:0}}return Qe.colSeparationType=yn?"align":"alignat",Qe};$n({type:"array",names:["array","darray"],props:{numArgs:1},handler:function(pe,Ie){var Ne=Yn(Ie[0]),Qe=Ne?[Ie[0]]:Tn(Ie[0],"ordgroup").body,Ct=Qe.map(function(hr){var gr=qn(hr),Rr=gr.text;if("lcr".indexOf(Rr)!==-1)return{type:"align",align:Rr};if(Rr==="|")return{type:"separator",separator:"|"};if(Rr===":")return{type:"separator",separator:":"};throw new a("Unknown column alignment: "+Rr,hr)}),Ut={cols:Ct,hskipBeforeAndAfter:!0};return Ii(pe.parser,Ut,Vi(pe.envName))},htmlBuilder:Xi,mathmlBuilder:Aa}),$n({type:"array",names:["matrix","pmatrix","bmatrix","Bmatrix","vmatrix","Vmatrix"],props:{numArgs:0},handler:function(pe){var Ie={matrix:null,pmatrix:["(",")"],bmatrix:["[","]"],Bmatrix:["\\{","\\}"],vmatrix:["|","|"],Vmatrix:["\\Vert","\\Vert"]}[pe.envName],Ne={hskipBeforeAndAfter:!1},Qe=Ii(pe.parser,Ne,Vi(pe.envName));return Ie?{type:"leftright",mode:pe.mode,body:[Qe],left:Ie[0],right:Ie[1],rightColor:void 0}:Qe},htmlBuilder:Xi,mathmlBuilder:Aa}),$n({type:"array",names:["smallmatrix"],props:{numArgs:0},handler:function(pe){var Ie={arraystretch:.5},Ne=Ii(pe.parser,Ie,"script");return Ne.colSeparationType="small",Ne},htmlBuilder:Xi,mathmlBuilder:Aa}),$n({type:"array",names:["subarray"],props:{numArgs:1},handler:function(pe,Ie){var Ne=Yn(Ie[0]),Qe=Ne?[Ie[0]]:Tn(Ie[0],"ordgroup").body,Ct=Qe.map(function(hr){var gr=qn(hr),Rr=gr.text;if("lc".indexOf(Rr)!==-1)return{type:"align",align:Rr};throw new a("Unknown column alignment: "+Rr,hr)});if(Ct.length>1)throw new a("{subarray} can contain only one column");var Ut={cols:Ct,hskipBeforeAndAfter:!1,arraystretch:.5};if(Ut=Ii(pe.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(pe){var Ie={arraystretch:1.2,cols:[{type:"align",align:"l",pregap:0,postgap:1},{type:"align",align:"l",pregap:0,postgap:0}]},Ne=Ii(pe.parser,Ie,Vi(pe.envName));return{type:"leftright",mode:pe.mode,body:[Ne],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(pe){var Ie={cols:[{type:"align",align:"c"}],addJot:!0};return Ii(pe.parser,Ie,"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(pe,Ie){throw new a(pe.funcName+" valid only within array environment")}});var la=Ni,gi=la;Gn({type:"environment",names:["\\begin","\\end"],props:{numArgs:1,argTypes:["text"]},handler:function(pe,Ie){var Ne=pe.parser,Qe=pe.funcName,Ct=Ie[0];if(Ct.type!=="ordgroup")throw new a("Invalid environment name",Ct);for(var Ut="",hr=0;hr<Ct.body.length;++hr)Ut+=Tn(Ct.body[hr],"textord").text;if(Qe==="\\begin"){if(!gi.hasOwnProperty(Ut))throw new a("No such environment: "+Ut,Ct);var gr=gi[Ut],Rr=Ne.parseArguments("\\begin{"+Ut+"}",gr),$r=Rr.args,ln=Rr.optArgs,yn={mode:Ne.mode,envName:Ut,parser:Ne},Cn=gr.handler(yn,$r,ln);Ne.expect("\\end",!1);var Qn=Ne.nextToken,ti=Tn(Ne.parseFunction(),"environment");if(ti.name!==Ut)throw new a("Mismatch: \\begin{"+Ut+"} matched by \\end{"+ti.name+"}",Qn);return Cn}return{type:"environment",mode:Ne.mode,name:Ut,nameGroup:Ct}}});var Ba=jr.makeSpan;function Ma(Bt,pe){var Ie=di(Bt.body,pe,!0);return Ba([Bt.mclass],Ie,pe)}function ra(Bt,pe){var Ie,Ne=uo(Bt.body,pe);return Bt.mclass==="minner"?Fn.newDocumentFragment(Ne):(Bt.mclass==="mord"?Bt.isCharacterBox?(Ie=Ne[0],Ie.type="mi"):Ie=new Fn.MathNode("mi",Ne):(Bt.isCharacterBox?(Ie=Ne[0],Ie.type="mo"):Ie=new Fn.MathNode("mo",Ne),Bt.mclass==="mbin"?(Ie.attributes.lspace="0.22em",Ie.attributes.rspace="0.22em"):Bt.mclass==="mpunct"?(Ie.attributes.lspace="0em",Ie.attributes.rspace="0.17em"):(Bt.mclass==="mopen"||Bt.mclass==="mclose")&&(Ie.attributes.lspace="0em",Ie.attributes.rspace="0em")),Ie)}Gn({type:"mclass",names:["\\mathord","\\mathbin","\\mathrel","\\mathopen","\\mathclose","\\mathpunct","\\mathinner"],props:{numArgs:1},handler:function(pe,Ie){var Ne=pe.parser,Qe=pe.funcName,Ct=Ie[0];return{type:"mclass",mode:Ne.mode,mclass:"m"+Qe.substr(5),body:mn(Ct),isCharacterBox:S.isCharacterBox(Ct)}},htmlBuilder:Ma,mathmlBuilder:ra});var Yi=function(pe){var Ie=pe.type==="ordgroup"&&pe.body.length?pe.body[0]:pe;return Ie.type==="atom"&&(Ie.family==="bin"||Ie.family==="rel")?"m"+Ie.family:"mord"};Gn({type:"mclass",names:["\\@binrel"],props:{numArgs:2},handler:function(pe,Ie){var Ne=pe.parser;return{type:"mclass",mode:Ne.mode,mclass:Yi(Ie[0]),body:[Ie[1]],isCharacterBox:S.isCharacterBox(Ie[1])}}}),Gn({type:"mclass",names:["\\stackrel","\\overset","\\underset"],props:{numArgs:2},handler:function(pe,Ie){var Ne=pe.parser,Qe=pe.funcName,Ct=Ie[1],Ut=Ie[0],hr;Qe!=="\\stackrel"?hr=Yi(Ct):hr="mrel";var gr={type:"op",mode:Ct.mode,limits:!0,alwaysHandleSupSub:!0,parentIsSupSub:!1,symbol:!1,suppressBaseShift:Qe!=="\\stackrel",body:mn(Ct)},Rr={type:"supsub",mode:Ut.mode,base:gr,sup:Qe==="\\underset"?null:Ut,sub:Qe==="\\underset"?Ut:null};return{type:"mclass",mode:Ne.mode,mclass:hr,body:[Rr],isCharacterBox:S.isCharacterBox(Rr)}},htmlBuilder:Ma,mathmlBuilder:ra});var Xa=function(pe,Ie){var Ne=pe.font,Qe=Ie.withFont(Ne);return Wi(pe.body,Qe)},zi=function(pe,Ie){var Ne=pe.font,Qe=Ie.withFont(Ne);return Tr(pe.body,Qe)},Ki={"\\Bbb":"\\mathbb","\\bold":"\\mathbf","\\frak":"\\mathfrak","\\bm":"\\boldsymbol"};Gn({type:"font",names:["\\mathrm","\\mathit","\\mathbf","\\mathnormal","\\mathbb","\\mathcal","\\mathfrak","\\mathscr","\\mathsf","\\mathtt","\\Bbb","\\bold","\\frak"],props:{numArgs:1,greediness:2},handler:function(pe,Ie){var Ne=pe.parser,Qe=pe.funcName,Ct=Ie[0],Ut=Qe;return Ut in Ki&&(Ut=Ki[Ut]),{type:"font",mode:Ne.mode,font:Ut.slice(1),body:Ct}},htmlBuilder:Xa,mathmlBuilder:zi}),Gn({type:"mclass",names:["\\boldsymbol","\\bm"],props:{numArgs:1,greediness:2},handler:function(pe,Ie){var Ne=pe.parser,Qe=Ie[0],Ct=S.isCharacterBox(Qe);return{type:"mclass",mode:Ne.mode,mclass:Yi(Qe),body:[{type:"font",mode:Ne.mode,font:"boldsymbol",body:Qe}],isCharacterBox:Ct}}}),Gn({type:"font",names:["\\rm","\\sf","\\tt","\\bf","\\it"],props:{numArgs:0,allowedInText:!0},handler:function(pe,Ie){var Ne=pe.parser,Qe=pe.funcName,Ct=pe.breakOnTokenText,Ut=Ne.mode,hr=Ne.parseExpression(!0,Ct),gr="math"+Qe.slice(1);return{type:"font",mode:Ut,font:gr,body:{type:"ordgroup",mode:Ne.mode,body:hr}}},htmlBuilder:Xa,mathmlBuilder:zi});var ba=function(pe,Ie){var Ne=Ie;return pe==="display"?Ne=Ne.id>=H.SCRIPT.id?Ne.text():H.DISPLAY:pe==="text"&&Ne.size===H.DISPLAY.size?Ne=H.TEXT:pe==="script"?Ne=H.SCRIPT:pe==="scriptscript"&&(Ne=H.SCRIPTSCRIPT),Ne},Ua=function(pe,Ie){var Ne=ba(pe.size,Ie.style),Qe=Ne.fracNum(),Ct=Ne.fracDen(),Ut;Ut=Ie.havingStyle(Qe);var hr=Wi(pe.numer,Ut,Ie);if(pe.continued){var gr=8.5/Ie.fontMetrics().ptPerEm,Rr=3.5/Ie.fontMetrics().ptPerEm;hr.height=hr.height<gr?gr:hr.height,hr.depth=hr.depth<Rr?Rr:hr.depth}Ut=Ie.havingStyle(Ct);var $r=Wi(pe.denom,Ut,Ie),ln,yn,Cn;pe.hasBarLine?(pe.barSize?(yn=vt(pe.barSize,Ie),ln=jr.makeLineSpan("frac-line",Ie,yn)):ln=jr.makeLineSpan("frac-line",Ie),yn=ln.height,Cn=ln.height):(ln=null,yn=0,Cn=Ie.fontMetrics().defaultRuleThickness);var Qn,ti,wi;Ne.size===H.DISPLAY.size||pe.size==="display"?(Qn=Ie.fontMetrics().num1,yn>0?ti=3*Cn:ti=7*Cn,wi=Ie.fontMetrics().denom1):(yn>0?(Qn=Ie.fontMetrics().num2,ti=Cn):(Qn=Ie.fontMetrics().num3,ti=3*Cn),wi=Ie.fontMetrics().denom2);var ea;if(ln){var Sa=Ie.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}]},Ie)}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}]},Ie)}Ut=Ie.havingStyle(Ne),ea.height*=Ut.sizeMultiplier/Ie.sizeMultiplier,ea.depth*=Ut.sizeMultiplier/Ie.sizeMultiplier;var Wa;Ne.size===H.DISPLAY.size?Wa=Ie.fontMetrics().delim1:Wa=Ie.fontMetrics().delim2;var yo,Ao;return pe.leftDelim==null?yo=Qa(Ie,["mopen"]):yo=hi.customSizedDelim(pe.leftDelim,Wa,!0,Ie.havingStyle(Ne),pe.mode,["mopen"]),pe.continued?Ao=jr.makeSpan([]):pe.rightDelim==null?Ao=Qa(Ie,["mclose"]):Ao=hi.customSizedDelim(pe.rightDelim,Wa,!0,Ie.havingStyle(Ne),pe.mode,["mclose"]),jr.makeSpan(["mord"].concat(Ut.sizingClasses(Ie)),[yo,jr.makeSpan(["mfrac"],[ea]),Ao],Ie)},wa=function(pe,Ie){var Ne=new Fn.MathNode("mfrac",[Tr(pe.numer,Ie),Tr(pe.denom,Ie)]);if(!pe.hasBarLine)Ne.setAttribute("linethickness","0px");else if(pe.barSize){var Qe=vt(pe.barSize,Ie);Ne.setAttribute("linethickness",Qe+"em")}var Ct=ba(pe.size,Ie.style);if(Ct.size!==Ie.style.size){Ne=new Fn.MathNode("mstyle",[Ne]);var Ut=Ct.size===H.DISPLAY.size?"true":"false";Ne.setAttribute("displaystyle",Ut),Ne.setAttribute("scriptlevel","0")}if(pe.leftDelim!=null||pe.rightDelim!=null){var hr=[];if(pe.leftDelim!=null){var gr=new Fn.MathNode("mo",[new Fn.TextNode(pe.leftDelim.replace("\\",""))]);gr.setAttribute("fence","true"),hr.push(gr)}if(hr.push(Ne),pe.rightDelim!=null){var Rr=new Fn.MathNode("mo",[new Fn.TextNode(pe.rightDelim.replace("\\",""))]);Rr.setAttribute("fence","true"),hr.push(Rr)}return eo(hr)}return Ne};Gn({type:"genfrac",names:["\\cfrac","\\dfrac","\\frac","\\tfrac","\\dbinom","\\binom","\\tbinom","\\\\atopfrac","\\\\bracefrac","\\\\brackfrac"],props:{numArgs:2,greediness:2},handler:function(pe,Ie){var Ne=pe.parser,Qe=pe.funcName,Ct=Ie[0],Ut=Ie[1],hr,gr=null,Rr=null,$r="auto";switch(Qe){case"\\cfrac":case"\\dfrac":case"\\frac":case"\\tfrac":hr=!0;break;case"\\\\atopfrac":hr=!1;break;case"\\dbinom":case"\\binom":case"\\tbinom":hr=!1,gr="(",Rr=")";break;case"\\\\bracefrac":hr=!1,gr="\\{",Rr="\\}";break;case"\\\\brackfrac":hr=!1,gr="[",Rr="]";break;default:throw new Error("Unrecognized genfrac command")}switch(Qe){case"\\cfrac":case"\\dfrac":case"\\dbinom":$r="display";break;case"\\tfrac":case"\\tbinom":$r="text";break}return{type:"genfrac",mode:Ne.mode,continued:Qe==="\\cfrac",numer:Ct,denom:Ut,hasBarLine:hr,leftDelim:gr,rightDelim:Rr,size:$r,barSize:null}},htmlBuilder:Ua,mathmlBuilder:wa}),Gn({type:"infix",names:["\\over","\\choose","\\atop","\\brace","\\brack"],props:{numArgs:0,infix:!0},handler:function(pe){var Ie=pe.parser,Ne=pe.funcName,Qe=pe.token,Ct;switch(Ne){case"\\over":Ct="\\frac";break;case"\\choose":Ct="\\binom";break;case"\\atop":Ct="\\\\atopfrac";break;case"\\brace":Ct="\\\\bracefrac";break;case"\\brack":Ct="\\\\brackfrac";break;default:throw new Error("Unrecognized infix genfrac command")}return{type:"infix",mode:Ie.mode,replaceWith:Ct,token:Qe}}});var vi=["display","text","script","scriptscript"],Ya=function(pe){var Ie=null;return pe.length>0&&(Ie=pe,Ie=Ie==="."?null:Ie),Ie};Gn({type:"genfrac",names:["\\genfrac"],props:{numArgs:6,greediness:6,argTypes:["math","math","size","text","math","math"]},handler:function(pe,Ie){var Ne=pe.parser,Qe=Ie[4],Ct=Ie[5],Ut=gn(Ie[0],"atom");Ut&&(Ut=Bn(Ie[0],"open"));var hr=Ut?Ya(Ut.text):null,gr=gn(Ie[1],"atom");gr&&(gr=Bn(Ie[1],"close"));var Rr=gr?Ya(gr.text):null,$r=Tn(Ie[2],"size"),ln,yn=null;$r.isBlank?ln=!0:(yn=$r.value,ln=yn.number>0);var Cn="auto",Qn=gn(Ie[3],"ordgroup");if(Qn){if(Qn.body.length>0){var ti=Tn(Qn.body[0],"textord");Cn=vi[Number(ti.text)]}}else Qn=Tn(Ie[3],"textord"),Cn=vi[Number(Qn.text)];return{type:"genfrac",mode:Ne.mode,numer:Qe,denom:Ct,continued:!1,hasBarLine:ln,barSize:yn,leftDelim:hr,rightDelim:Rr,size:Cn}},htmlBuilder:Ua,mathmlBuilder:wa}),Gn({type:"infix",names:["\\above"],props:{numArgs:1,argTypes:["size"],infix:!0},handler:function(pe,Ie){var Ne=pe.parser,Qe=pe.funcName,Ct=pe.token;return{type:"infix",mode:Ne.mode,replaceWith:"\\\\abovefrac",size:Tn(Ie[0],"size").value,token:Ct}}}),Gn({type:"genfrac",names:["\\\\abovefrac"],props:{numArgs:3,argTypes:["math","size","math"]},handler:function(pe,Ie){var Ne=pe.parser,Qe=pe.funcName,Ct=Ie[0],Ut=p(Tn(Ie[1],"infix").size),hr=Ie[2],gr=Ut.number>0;return{type:"genfrac",mode:Ne.mode,numer:Ct,denom:hr,continued:!1,hasBarLine:gr,barSize:Ut,leftDelim:null,rightDelim:null,size:"auto"}},htmlBuilder:Ua,mathmlBuilder:wa});var za=function(pe,Ie){var Ne=Ie.style,Qe,Ct,Ut=gn(pe,"supsub");Ut?(Qe=Ut.sup?Wi(Ut.sup,Ie.havingStyle(Ne.sup()),Ie):Wi(Ut.sub,Ie.havingStyle(Ne.sub()),Ie),Ct=Tn(Ut.base,"horizBrace")):Ct=Tn(pe,"horizBrace");var hr=Wi(Ct.base,Ie.havingBaseStyle(H.DISPLAY)),gr=Jr.svgSpan(Ct,Ie),Rr;if(Ct.isOver?(Rr=jr.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:hr},{type:"kern",size:.1},{type:"elem",elem:gr}]},Ie),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}]},Ie),Rr.children[0].children[0].children[0].classes.push("svg-align")),Qe){var $r=jr.makeSpan(["mord",Ct.isOver?"mover":"munder"],[Rr],Ie);Ct.isOver?Rr=jr.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:$r},{type:"kern",size:.2},{type:"elem",elem:Qe}]},Ie):Rr=jr.makeVList({positionType:"bottom",positionData:$r.depth+.2+Qe.height+Qe.depth,children:[{type:"elem",elem:Qe},{type:"kern",size:.2},{type:"elem",elem:$r}]},Ie)}return jr.makeSpan(["mord",Ct.isOver?"mover":"munder"],[Rr],Ie)},pa=function(pe,Ie){var Ne=Jr.mathMLnode(pe.label);return new Fn.MathNode(pe.isOver?"mover":"munder",[Tr(pe.base,Ie),Ne])};Gn({type:"horizBrace",names:["\\overbrace","\\underbrace"],props:{numArgs:1},handler:function(pe,Ie){var Ne=pe.parser,Qe=pe.funcName;return{type:"horizBrace",mode:Ne.mode,label:Qe,isOver:/^\\over/.test(Qe),base:Ie[0]}},htmlBuilder:za,mathmlBuilder:pa}),Gn({type:"href",names:["\\href"],props:{numArgs:2,argTypes:["url","original"],allowedInText:!0},handler:function(pe,Ie){var Ne=pe.parser,Qe=Ie[1],Ct=Tn(Ie[0],"url").url;return Ne.settings.isTrusted({command:"\\href",url:Ct})?{type:"href",mode:Ne.mode,href:Ct,body:mn(Qe)}:Ne.formatUnsupportedCmd("\\href")},htmlBuilder:function(pe,Ie){var Ne=di(pe.body,Ie,!1);return jr.makeAnchor(pe.href,[],Ne,Ie)},mathmlBuilder:function(pe,Ie){var Ne=rr(pe.body,Ie);return Ne instanceof ga||(Ne=new ga("mrow",[Ne])),Ne.setAttribute("href",pe.href),Ne}}),Gn({type:"href",names:["\\url"],props:{numArgs:1,argTypes:["url"],allowedInText:!0},handler:function(pe,Ie){var Ne=pe.parser,Qe=Tn(Ie[0],"url").url;if(!Ne.settings.isTrusted({command:"\\url",url:Qe}))return Ne.formatUnsupportedCmd("\\url");for(var Ct=[],Ut=0;Ut<Qe.length;Ut++){var hr=Qe[Ut];hr==="~"&&(hr="\\textasciitilde"),Ct.push({type:"textord",mode:"text",text:hr})}var gr={type:"text",mode:Ne.mode,font:"\\texttt",body:Ct};return{type:"href",mode:Ne.mode,href:Qe,body:mn(gr)}}}),Gn({type:"htmlmathml",names:["\\html@mathml"],props:{numArgs:2,allowedInText:!0},handler:function(pe,Ie){var Ne=pe.parser;return{type:"htmlmathml",mode:Ne.mode,html:mn(Ie[0]),mathml:mn(Ie[1])}},htmlBuilder:function(pe,Ie){var Ne=di(pe.html,Ie,!1);return jr.makeFragment(Ne)},mathmlBuilder:function(pe,Ie){return rr(pe.mathml,Ie)}});var Oi=function(pe){if(/^[-+]? *(\d+(\.\d*)?|\.\d+)$/.test(pe))return{number:+pe,unit:"bp"};var Ie=/([-+]?) *(\d+(?:\.\d*)?|\.\d+) *([a-z]{2})/.exec(pe);if(!Ie)throw new a("Invalid size: '"+pe+"' in \\includegraphics");var Ne={number:+(Ie[1]+Ie[2]),unit:Ie[3]};if(!pt(Ne))throw new a("Invalid unit: '"+Ne.unit+"' in \\includegraphics.");return Ne};Gn({type:"includegraphics",names:["\\includegraphics"],props:{numArgs:1,numOptionalArgs:1,argTypes:["raw","url"],allowedInText:!1},handler:function(pe,Ie,Ne){var Qe=pe.parser,Ct={number:0,unit:"em"},Ut={number:.9,unit:"em"},hr={number:0,unit:"em"},gr="";if(Ne[0])for(var Rr=Tn(Ne[0],"raw").string,$r=Rr.split(","),ln=0;ln<$r.length;ln++){var yn=$r[ln].split("=");if(yn.length===2){var Cn=yn[1].trim();switch(yn[0].trim()){case"alt":gr=Cn;break;case"width":Ct=Oi(Cn);break;case"height":Ut=Oi(Cn);break;case"totalheight":hr=Oi(Cn);break;default:throw new a("Invalid key: '"+yn[0]+"' in \\includegraphics.")}}}var Qn=Tn(Ie[0],"url").url;return gr===""&&(gr=Qn,gr=gr.replace(/^.*[\\/]/,""),gr=gr.substring(0,gr.lastIndexOf("."))),Qe.settings.isTrusted({command:"\\includegraphics",url:Qn})?{type:"includegraphics",mode:Qe.mode,alt:gr,width:Ct,height:Ut,totalheight:hr,src:Qn}:Qe.formatUnsupportedCmd("\\includegraphics")},htmlBuilder:function(pe,Ie){var Ne=vt(pe.height,Ie),Qe=0;pe.totalheight.number>0&&(Qe=vt(pe.totalheight,Ie)-Ne,Qe=Number(Qe.toFixed(2)));var Ct=0;pe.width.number>0&&(Ct=vt(pe.width,Ie));var Ut={height:Ne+Qe+"em"};Ct>0&&(Ut.width=Ct+"em"),Qe>0&&(Ut.verticalAlign=-Qe+"em");var hr=new fe(pe.src,pe.alt,Ut);return hr.height=Ne,hr.depth=Qe,hr},mathmlBuilder:function(pe,Ie){var Ne=new Fn.MathNode("mglyph",[]);Ne.setAttribute("alt",pe.alt);var Qe=vt(pe.height,Ie),Ct=0;if(pe.totalheight.number>0&&(Ct=vt(pe.totalheight,Ie)-Qe,Ct=Ct.toFixed(2),Ne.setAttribute("valign","-"+Ct+"em")),Ne.setAttribute("height",Qe+Ct+"em"),pe.width.number>0){var Ut=vt(pe.width,Ie);Ne.setAttribute("width",Ut+"em")}return Ne.setAttribute("src",pe.src),Ne}}),Gn({type:"kern",names:["\\kern","\\mkern","\\hskip","\\mskip"],props:{numArgs:1,argTypes:["size"],allowedInText:!0},handler:function(pe,Ie){var Ne=pe.parser,Qe=pe.funcName,Ct=Tn(Ie[0],"size");if(Ne.settings.strict){var Ut=Qe[1]==="m",hr=Ct.value.unit==="mu";Ut?(hr||Ne.settings.reportNonstrict("mathVsTextUnits","LaTeX's "+Qe+" supports only mu units, "+("not "+Ct.value.unit+" units")),Ne.mode!=="math"&&Ne.settings.reportNonstrict("mathVsTextUnits","LaTeX's "+Qe+" works only in math mode")):hr&&Ne.settings.reportNonstrict("mathVsTextUnits","LaTeX's "+Qe+" doesn't support mu units")}return{type:"kern",mode:Ne.mode,dimension:Ct.value}},htmlBuilder:function(pe,Ie){return jr.makeGlue(pe.dimension,Ie)},mathmlBuilder:function(pe,Ie){var Ne=vt(pe.dimension,Ie);return new Fn.SpaceNode(Ne)}}),Gn({type:"lap",names:["\\mathllap","\\mathrlap","\\mathclap"],props:{numArgs:1,allowedInText:!0},handler:function(pe,Ie){var Ne=pe.parser,Qe=pe.funcName,Ct=Ie[0];return{type:"lap",mode:Ne.mode,alignment:Qe.slice(5),body:Ct}},htmlBuilder:function(pe,Ie){var Ne;pe.alignment==="clap"?(Ne=jr.makeSpan([],[Wi(pe.body,Ie)]),Ne=jr.makeSpan(["inner"],[Ne],Ie)):Ne=jr.makeSpan(["inner"],[Wi(pe.body,Ie)]);var Qe=jr.makeSpan(["fix"],[]),Ct=jr.makeSpan([pe.alignment],[Ne,Qe],Ie),Ut=jr.makeSpan(["strut"]);return Ut.style.height=Ct.height+Ct.depth+"em",Ut.style.verticalAlign=-Ct.depth+"em",Ct.children.unshift(Ut),Ct=jr.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:Ct}]},Ie),jr.makeSpan(["mord"],[Ct],Ie)},mathmlBuilder:function(pe,Ie){var Ne=new Fn.MathNode("mpadded",[Tr(pe.body,Ie)]);if(pe.alignment!=="rlap"){var Qe=pe.alignment==="llap"?"-1":"-0.5";Ne.setAttribute("lspace",Qe+"width")}return Ne.setAttribute("width","0px"),Ne}}),Gn({type:"styling",names:["\\(","$"],props:{numArgs:0,allowedInText:!0,allowedInMath:!1},handler:function(pe,Ie){var Ne=pe.funcName,Qe=pe.parser,Ct=Qe.mode;Qe.switchMode("math");var Ut=Ne==="\\("?"\\)":"$",hr=Qe.parseExpression(!1,Ut);return Qe.expect(Ut),Qe.switchMode(Ct),{type:"styling",mode:Qe.mode,style:"text",body:hr}}}),Gn({type:"text",names:["\\)","\\]"],props:{numArgs:0,allowedInText:!0,allowedInMath:!1},handler:function(pe,Ie){throw new a("Mismatched "+pe.funcName)}});var So=function(pe,Ie){switch(Ie.style.size){case H.DISPLAY.size:return pe.display;case H.TEXT.size:return pe.text;case H.SCRIPT.size:return pe.script;case H.SCRIPTSCRIPT.size:return pe.scriptscript;default:return pe.text}};Gn({type:"mathchoice",names:["\\mathchoice"],props:{numArgs:4},handler:function(pe,Ie){var Ne=pe.parser;return{type:"mathchoice",mode:Ne.mode,display:mn(Ie[0]),text:mn(Ie[1]),script:mn(Ie[2]),scriptscript:mn(Ie[3])}},htmlBuilder:function(pe,Ie){var Ne=So(pe,Ie),Qe=di(Ne,Ie,!1);return jr.makeFragment(Qe)},mathmlBuilder:function(pe,Ie){var Ne=So(pe,Ie);return rr(Ne,Ie)}});var Ka=function(pe,Ie,Ne,Qe,Ct,Ut,hr){pe=jr.makeSpan([],[pe]);var gr,Rr;if(Ie){var $r=Wi(Ie,Qe.havingStyle(Ct.sup()),Qe);Rr={elem:$r,kern:Math.max(Qe.fontMetrics().bigOpSpacing1,Qe.fontMetrics().bigOpSpacing3-$r.depth)}}if(Ne){var ln=Wi(Ne,Qe.havingStyle(Ct.sub()),Qe);gr={elem:ln,kern:Math.max(Qe.fontMetrics().bigOpSpacing2,Qe.fontMetrics().bigOpSpacing4-ln.height)}}var yn;if(Rr&&gr){var Cn=Qe.fontMetrics().bigOpSpacing5+gr.elem.height+gr.elem.depth+gr.kern+pe.depth+hr;yn=jr.makeVList({positionType:"bottom",positionData:Cn,children:[{type:"kern",size:Qe.fontMetrics().bigOpSpacing5},{type:"elem",elem:gr.elem,marginLeft:-Ut+"em"},{type:"kern",size:gr.kern},{type:"elem",elem:pe},{type:"kern",size:Rr.kern},{type:"elem",elem:Rr.elem,marginLeft:Ut+"em"},{type:"kern",size:Qe.fontMetrics().bigOpSpacing5}]},Qe)}else if(gr){var Qn=pe.height-hr;yn=jr.makeVList({positionType:"top",positionData:Qn,children:[{type:"kern",size:Qe.fontMetrics().bigOpSpacing5},{type:"elem",elem:gr.elem,marginLeft:-Ut+"em"},{type:"kern",size:gr.kern},{type:"elem",elem:pe}]},Qe)}else if(Rr){var ti=pe.depth+hr;yn=jr.makeVList({positionType:"bottom",positionData:ti,children:[{type:"elem",elem:pe},{type:"kern",size:Rr.kern},{type:"elem",elem:Rr.elem,marginLeft:Ut+"em"},{type:"kern",size:Qe.fontMetrics().bigOpSpacing5}]},Qe)}else return pe;return jr.makeSpan(["mop","op-limits"],[yn],Qe)},ja=["\\smallint"],qa=function(pe,Ie){var Ne,Qe,Ct=!1,Ut,hr=gn(pe,"supsub");hr?(Ne=hr.sup,Qe=hr.sub,Ut=Tn(hr.base,"op"),Ct=!0):Ut=Tn(pe,"op");var gr=Ie.style,Rr=!1;gr.size===H.DISPLAY.size&&Ut.symbol&&!S.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",Ie,["mop","op-symbol",Rr?"large-op":"small-op"]),yn.length>0){var Cn=$r.italic,Qn=jr.staticSvg(yn+"Size"+(Rr?"2":"1"),Ie);$r=jr.makeVList({positionType:"individualShift",children:[{type:"elem",elem:$r,shift:0},{type:"elem",elem:Qn,shift:Rr?.08:0}]},Ie),Ut.name="\\"+yn,$r.classes.unshift("mop"),$r.italic=Cn}}else if(Ut.body){var ti=di(Ut.body,Ie,!0);ti.length===1&&ti[0]instanceof Le?($r=ti[0],$r.classes[0]="mop"):$r=jr.makeSpan(["mop"],jr.tryCombineChars(ti),Ie)}else{for(var wi=[],ea=1;ea<Ut.name.length;ea++)wi.push(jr.mathsym(Ut.name[ea],Ut.mode,Ie));$r=jr.makeSpan(["mop"],wi,Ie)}var ji=0,Sa=0;return($r instanceof Le||Ut.name==="\\oiint"||Ut.name==="\\oiiint")&&!Ut.suppressBaseShift&&(ji=($r.height-$r.depth)/2-Ie.fontMetrics().axisHeight,Sa=$r.italic),Ct?Ka($r,Ne,Qe,Ie,gr,Sa,ji):(ji&&($r.style.position="relative",$r.style.top=ji+"em"),$r)},ho=function(pe,Ie){var Ne;if(pe.symbol)Ne=new ga("mo",[$i(pe.name,pe.mode)]),S.contains(ja,pe.name)&&Ne.setAttribute("largeop","false");else if(pe.body)Ne=new ga("mo",uo(pe.body,Ie));else{Ne=new ga("mi",[new ha(pe.name.slice(1))]);var Qe=new ga("mo",[$i("\u2061","text")]);pe.parentIsSupSub?Ne=new ga("mo",[Ne,Qe]):Ne=Hi([Ne,Qe])}return Ne},Ca={"\u220F":"\\prod","\u2210":"\\coprod","\u2211":"\\sum","\u22C0":"\\bigwedge","\u22C1":"\\bigvee","\u22C2":"\\bigcap","\u22C3":"\\bigcup","\u2A00":"\\bigodot","\u2A01":"\\bigoplus","\u2A02":"\\bigotimes","\u2A04":"\\biguplus","\u2A06":"\\bigsqcup"};Gn({type:"op",names:["\\coprod","\\bigvee","\\bigwedge","\\biguplus","\\bigcap","\\bigcup","\\intop","\\prod","\\sum","\\bigotimes","\\bigoplus","\\bigodot","\\bigsqcup","\\smallint","\u220F","\u2210","\u2211","\u22C0","\u22C1","\u22C2","\u22C3","\u2A00","\u2A01","\u2A02","\u2A04","\u2A06"],props:{numArgs:0},handler:function(pe,Ie){var Ne=pe.parser,Qe=pe.funcName,Ct=Qe;return Ct.length===1&&(Ct=Ca[Ct]),{type:"op",mode:Ne.mode,limits:!0,parentIsSupSub:!1,symbol:!0,name:Ct}},htmlBuilder:qa,mathmlBuilder:ho}),Gn({type:"op",names:["\\mathop"],props:{numArgs:1},handler:function(pe,Ie){var Ne=pe.parser,Qe=Ie[0];return{type:"op",mode:Ne.mode,limits:!1,parentIsSupSub:!1,symbol:!1,body:mn(Qe)}},htmlBuilder:qa,mathmlBuilder:ho});var to={"\u222B":"\\int","\u222C":"\\iint","\u222D":"\\iiint","\u222E":"\\oint","\u222F":"\\oiint","\u2230":"\\oiiint"};Gn({type:"op",names:["\\arcsin","\\arccos","\\arctan","\\arctg","\\arcctg","\\arg","\\ch","\\cos","\\cosec","\\cosh","\\cot","\\cotg","\\coth","\\csc","\\ctg","\\cth","\\deg","\\dim","\\exp","\\hom","\\ker","\\lg","\\ln","\\log","\\sec","\\sin","\\sinh","\\sh","\\tan","\\tanh","\\tg","\\th"],props:{numArgs:0},handler:function(pe){var Ie=pe.parser,Ne=pe.funcName;return{type:"op",mode:Ie.mode,limits:!1,parentIsSupSub:!1,symbol:!1,name:Ne}},htmlBuilder:qa,mathmlBuilder:ho}),Gn({type:"op",names:["\\det","\\gcd","\\inf","\\lim","\\max","\\min","\\Pr","\\sup"],props:{numArgs:0},handler:function(pe){var Ie=pe.parser,Ne=pe.funcName;return{type:"op",mode:Ie.mode,limits:!0,parentIsSupSub:!1,symbol:!1,name:Ne}},htmlBuilder:qa,mathmlBuilder:ho}),Gn({type:"op",names:["\\int","\\iint","\\iiint","\\oint","\\oiint","\\oiiint","\u222B","\u222C","\u222D","\u222E","\u222F","\u2230"],props:{numArgs:0},handler:function(pe){var Ie=pe.parser,Ne=pe.funcName,Qe=Ne;return Qe.length===1&&(Qe=to[Qe]),{type:"op",mode:Ie.mode,limits:!1,parentIsSupSub:!1,symbol:!0,name:Qe}},htmlBuilder:qa,mathmlBuilder:ho});var _o=function(pe,Ie){var Ne,Qe,Ct=!1,Ut,hr=gn(pe,"supsub");hr?(Ne=hr.sup,Qe=hr.sub,Ut=Tn(hr.base,"operatorname"),Ct=!0):Ut=Tn(pe,"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,Ie.withFont("mathrm"),!0),ln=0;ln<$r.length;ln++){var yn=$r[ln];yn instanceof Le&&(yn.text=yn.text.replace(/\u2212/,"-").replace(/\u2217/,"*"))}gr=jr.makeSpan(["mop"],$r,Ie)}else gr=jr.makeSpan(["mop"],[],Ie);return Ct?Ka(gr,Ne,Qe,Ie,Ie.style,0,0):gr},Ia=function(pe,Ie){for(var Ne=uo(pe.body,Ie.withFont("mathrm")),Qe=!0,Ct=0;Ct<Ne.length;Ct++){var Ut=Ne[Ct];if(!(Ut instanceof Fn.SpaceNode))if(Ut instanceof Fn.MathNode)switch(Ut.type){case"mi":case"mn":case"ms":case"mspace":case"mtext":break;case"mo":{var hr=Ut.children[0];Ut.children.length===1&&hr instanceof Fn.TextNode?hr.text=hr.text.replace(/\u2212/,"-").replace(/\u2217/,"*"):Qe=!1;break}default:Qe=!1}else Qe=!1}if(Qe){var gr=Ne.map(function(ln){return ln.toText()}).join("");Ne=[new Fn.TextNode(gr)]}var Rr=new Fn.MathNode("mi",Ne);Rr.setAttribute("mathvariant","normal");var $r=new Fn.MathNode("mo",[$i("\u2061","text")]);return pe.parentIsSupSub?new Fn.MathNode("mo",[Rr,$r]):Fn.newDocumentFragment([Rr,$r])};Gn({type:"operatorname",names:["\\operatorname","\\operatorname*"],props:{numArgs:1},handler:function(pe,Ie){var Ne=pe.parser,Qe=pe.funcName,Ct=Ie[0];return{type:"operatorname",mode:Ne.mode,body:mn(Ct),alwaysHandleSupSub:Qe==="\\operatorname*",limits:!1,parentIsSupSub:!1}},htmlBuilder:_o,mathmlBuilder:Ia}),Oa({type:"ordgroup",htmlBuilder:function(pe,Ie){return pe.semisimple?jr.makeFragment(di(pe.body,Ie,!1)):jr.makeSpan(["mord"],di(pe.body,Ie,!0),Ie)},mathmlBuilder:function(pe,Ie){return rr(pe.body,Ie,!0)}}),Gn({type:"overline",names:["\\overline"],props:{numArgs:1},handler:function(pe,Ie){var Ne=pe.parser,Qe=Ie[0];return{type:"overline",mode:Ne.mode,body:Qe}},htmlBuilder:function(pe,Ie){var Ne=Wi(pe.body,Ie.havingCrampedStyle()),Qe=jr.makeLineSpan("overline-line",Ie),Ct=Ie.fontMetrics().defaultRuleThickness,Ut=jr.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:Ne},{type:"kern",size:3*Ct},{type:"elem",elem:Qe},{type:"kern",size:Ct}]},Ie);return jr.makeSpan(["mord","overline"],[Ut],Ie)},mathmlBuilder:function(pe,Ie){var Ne=new Fn.MathNode("mo",[new Fn.TextNode("\u203E")]);Ne.setAttribute("stretchy","true");var Qe=new Fn.MathNode("mover",[Tr(pe.body,Ie),Ne]);return Qe.setAttribute("accent","true"),Qe}}),Gn({type:"phantom",names:["\\phantom"],props:{numArgs:1,allowedInText:!0},handler:function(pe,Ie){var Ne=pe.parser,Qe=Ie[0];return{type:"phantom",mode:Ne.mode,body:mn(Qe)}},htmlBuilder:function(pe,Ie){var Ne=di(pe.body,Ie.withPhantom(),!1);return jr.makeFragment(Ne)},mathmlBuilder:function(pe,Ie){var Ne=uo(pe.body,Ie);return new Fn.MathNode("mphantom",Ne)}}),Gn({type:"hphantom",names:["\\hphantom"],props:{numArgs:1,allowedInText:!0},handler:function(pe,Ie){var Ne=pe.parser,Qe=Ie[0];return{type:"hphantom",mode:Ne.mode,body:Qe}},htmlBuilder:function(pe,Ie){var Ne=jr.makeSpan([],[Wi(pe.body,Ie.withPhantom())]);if(Ne.height=0,Ne.depth=0,Ne.children)for(var Qe=0;Qe<Ne.children.length;Qe++)Ne.children[Qe].height=0,Ne.children[Qe].depth=0;return Ne=jr.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:Ne}]},Ie),jr.makeSpan(["mord"],[Ne],Ie)},mathmlBuilder:function(pe,Ie){var Ne=uo(mn(pe.body),Ie),Qe=new Fn.MathNode("mphantom",Ne),Ct=new Fn.MathNode("mpadded",[Qe]);return Ct.setAttribute("height","0px"),Ct.setAttribute("depth","0px"),Ct}}),Gn({type:"vphantom",names:["\\vphantom"],props:{numArgs:1,allowedInText:!0},handler:function(pe,Ie){var Ne=pe.parser,Qe=Ie[0];return{type:"vphantom",mode:Ne.mode,body:Qe}},htmlBuilder:function(pe,Ie){var Ne=jr.makeSpan(["inner"],[Wi(pe.body,Ie.withPhantom())]),Qe=jr.makeSpan(["fix"],[]);return jr.makeSpan(["mord","rlap"],[Ne,Qe],Ie)},mathmlBuilder:function(pe,Ie){var Ne=uo(mn(pe.body),Ie),Qe=new Fn.MathNode("mphantom",Ne),Ct=new Fn.MathNode("mpadded",[Qe]);return Ct.setAttribute("width","0px"),Ct}}),Gn({type:"raisebox",names:["\\raisebox"],props:{numArgs:2,argTypes:["size","hbox"],allowedInText:!0},handler:function(pe,Ie){var Ne=pe.parser,Qe=Tn(Ie[0],"size").value,Ct=Ie[1];return{type:"raisebox",mode:Ne.mode,dy:Qe,body:Ct}},htmlBuilder:function(pe,Ie){var Ne=Wi(pe.body,Ie),Qe=vt(pe.dy,Ie);return jr.makeVList({positionType:"shift",positionData:-Qe,children:[{type:"elem",elem:Ne}]},Ie)},mathmlBuilder:function(pe,Ie){var Ne=new Fn.MathNode("mpadded",[Tr(pe.body,Ie)]),Qe=pe.dy.number+pe.dy.unit;return Ne.setAttribute("voffset",Qe),Ne}}),Gn({type:"rule",names:["\\rule"],props:{numArgs:2,numOptionalArgs:1,argTypes:["size","size","size"]},handler:function(pe,Ie,Ne){var Qe=pe.parser,Ct=Ne[0],Ut=Tn(Ie[0],"size"),hr=Tn(Ie[1],"size");return{type:"rule",mode:Qe.mode,shift:Ct&&Tn(Ct,"size").value,width:Ut.value,height:hr.value}},htmlBuilder:function(pe,Ie){var Ne=jr.makeSpan(["mord","rule"],[],Ie),Qe=vt(pe.width,Ie),Ct=vt(pe.height,Ie),Ut=pe.shift?vt(pe.shift,Ie):0;return Ne.style.borderRightWidth=Qe+"em",Ne.style.borderTopWidth=Ct+"em",Ne.style.bottom=Ut+"em",Ne.width=Qe,Ne.height=Ct+Ut,Ne.depth=-Ut,Ne.maxFontSize=Ct*1.125*Ie.sizeMultiplier,Ne},mathmlBuilder:function(pe,Ie){var Ne=vt(pe.width,Ie),Qe=vt(pe.height,Ie),Ct=pe.shift?vt(pe.shift,Ie):0,Ut=Ie.color&&Ie.getColor()||"black",hr=new Fn.MathNode("mspace");hr.setAttribute("mathbackground",Ut),hr.setAttribute("width",Ne+"em"),hr.setAttribute("height",Qe+"em");var gr=new Fn.MathNode("mpadded",[hr]);return Ct>=0?gr.setAttribute("height","+"+Ct+"em"):(gr.setAttribute("height",Ct+"em"),gr.setAttribute("depth","+"+-Ct+"em")),gr.setAttribute("voffset",Ct+"em"),gr}});function ki(Bt,pe,Ie){for(var Ne=di(Bt,pe,!1),Qe=pe.sizeMultiplier/Ie.sizeMultiplier,Ct=0;Ct<Ne.length;Ct++){var Ut=Ne[Ct].classes.indexOf("sizing");Ut<0?Array.prototype.push.apply(Ne[Ct].classes,pe.sizingClasses(Ie)):Ne[Ct].classes[Ut+1]==="reset-size"+pe.size&&(Ne[Ct].classes[Ut+1]="reset-size"+Ie.size),Ne[Ct].height*=Qe,Ne[Ct].depth*=Qe}return jr.makeFragment(Ne)}var Za=["\\tiny","\\sixptsize","\\scriptsize","\\footnotesize","\\small","\\normalsize","\\large","\\Large","\\LARGE","\\huge","\\Huge"],Da=function(pe,Ie){var Ne=Ie.havingSize(pe.size);return ki(pe.body,Ne,Ie)};Gn({type:"sizing",names:Za,props:{numArgs:0,allowedInText:!0},handler:function(pe,Ie){var Ne=pe.breakOnTokenText,Qe=pe.funcName,Ct=pe.parser,Ut=Ct.parseExpression(!1,Ne);return{type:"sizing",mode:Ct.mode,size:Za.indexOf(Qe)+1,body:Ut}},htmlBuilder:Da,mathmlBuilder:function(pe,Ie){var Ne=Ie.havingSize(pe.size),Qe=uo(pe.body,Ne),Ct=new Fn.MathNode("mstyle",Qe);return Ct.setAttribute("mathsize",Ne.sizeMultiplier+"em"),Ct}}),Gn({type:"smash",names:["\\smash"],props:{numArgs:1,numOptionalArgs:1,allowedInText:!0},handler:function(pe,Ie,Ne){var Qe=pe.parser,Ct=!1,Ut=!1,hr=Ne[0]&&Tn(Ne[0],"ordgroup");if(hr)for(var gr="",Rr=0;Rr<hr.body.length;++Rr){var $r=hr.body[Rr];if(gr=$r.text,gr==="t")Ct=!0;else if(gr==="b")Ut=!0;else{Ct=!1,Ut=!1;break}}else Ct=!0,Ut=!0;var ln=Ie[0];return{type:"smash",mode:Qe.mode,body:ln,smashHeight:Ct,smashDepth:Ut}},htmlBuilder:function(pe,Ie){var Ne=jr.makeSpan([],[Wi(pe.body,Ie)]);if(!pe.smashHeight&&!pe.smashDepth)return Ne;if(pe.smashHeight&&(Ne.height=0,Ne.children))for(var Qe=0;Qe<Ne.children.length;Qe++)Ne.children[Qe].height=0;if(pe.smashDepth&&(Ne.depth=0,Ne.children))for(var Ct=0;Ct<Ne.children.length;Ct++)Ne.children[Ct].depth=0;var Ut=jr.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:Ne}]},Ie);return jr.makeSpan(["mord"],[Ut],Ie)},mathmlBuilder:function(pe,Ie){var Ne=new Fn.MathNode("mpadded",[Tr(pe.body,Ie)]);return pe.smashHeight&&Ne.setAttribute("height","0px"),pe.smashDepth&&Ne.setAttribute("depth","0px"),Ne}}),Gn({type:"sqrt",names:["\\sqrt"],props:{numArgs:1,numOptionalArgs:1},handler:function(pe,Ie,Ne){var Qe=pe.parser,Ct=Ne[0],Ut=Ie[0];return{type:"sqrt",mode:Qe.mode,body:Ut,index:Ct}},htmlBuilder:function(pe,Ie){var Ne=Wi(pe.body,Ie.havingCrampedStyle());Ne.height===0&&(Ne.height=Ie.fontMetrics().xHeight),Ne=jr.wrapFragment(Ne,Ie);var Qe=Ie.fontMetrics(),Ct=Qe.defaultRuleThickness,Ut=Ct;Ie.style.id<H.TEXT.id&&(Ut=Ie.fontMetrics().xHeight);var hr=Ct+Ut/4,gr=Ne.height+Ne.depth+hr+Ct,Rr=hi.sqrtImage(gr,Ie),$r=Rr.span,ln=Rr.ruleWidth,yn=Rr.advanceWidth,Cn=$r.height-ln;Cn>Ne.height+Ne.depth+hr&&(hr=(hr+Cn-Ne.height-Ne.depth)/2);var Qn=$r.height-Ne.height-hr-ln;Ne.style.paddingLeft=yn+"em";var ti=jr.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:Ne,wrapperClasses:["svg-align"]},{type:"kern",size:-(Ne.height+Qn)},{type:"elem",elem:$r},{type:"kern",size:ln}]},Ie);if(pe.index){var wi=Ie.havingStyle(H.SCRIPTSCRIPT),ea=Wi(pe.index,wi,Ie),ji=.6*(ti.height-ti.depth),Sa=jr.makeVList({positionType:"shift",positionData:-ji,children:[{type:"elem",elem:ea}]},Ie),lo=jr.makeSpan(["root"],[Sa]);return jr.makeSpan(["mord","sqrt"],[lo,ti],Ie)}else return jr.makeSpan(["mord","sqrt"],[ti],Ie)},mathmlBuilder:function(pe,Ie){var Ne=pe.body,Qe=pe.index;return Qe?new Fn.MathNode("mroot",[Tr(Ne,Ie),Tr(Qe,Ie)]):new Fn.MathNode("msqrt",[Tr(Ne,Ie)])}});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(pe,Ie){var Ne=pe.breakOnTokenText,Qe=pe.funcName,Ct=pe.parser,Ut=Ct.parseExpression(!0,Ne),hr=Qe.slice(1,Qe.length-5);return{type:"styling",mode:Ct.mode,style:hr,body:Ut}},htmlBuilder:function(pe,Ie){var Ne=pi[pe.style],Qe=Ie.havingStyle(Ne).withFont("");return ki(pe.body,Qe,Ie)},mathmlBuilder:function(pe,Ie){var Ne=pi[pe.style],Qe=Ie.havingStyle(Ne),Ct=uo(pe.body,Qe),Ut=new Fn.MathNode("mstyle",Ct),hr={display:["0","true"],text:["0","false"],script:["1","false"],scriptscript:["2","false"]},gr=hr[pe.style];return Ut.setAttribute("scriptlevel",gr[0]),Ut.setAttribute("displaystyle",gr[1]),Ut}});var Gi=function(pe,Ie){var Ne=pe.base;if(Ne)if(Ne.type==="op"){var Qe=Ne.limits&&(Ie.style.size===H.DISPLAY.size||Ne.alwaysHandleSupSub);return Qe?qa:null}else if(Ne.type==="operatorname"){var Ct=Ne.alwaysHandleSupSub&&(Ie.style.size===H.DISPLAY.size||Ne.limits);return Ct?_o:null}else{if(Ne.type==="accent")return S.isCharacterBox(Ne.base)?an:null;if(Ne.type==="horizBrace"){var Ut=!pe.sub;return Ut===Ne.isOver?za:null}else return null}else return null};Oa({type:"supsub",htmlBuilder:function(pe,Ie){var Ne=Gi(pe,Ie);if(Ne)return Ne(pe,Ie);var Qe=pe.base,Ct=pe.sup,Ut=pe.sub,hr=Wi(Qe,Ie),gr,Rr,$r=Ie.fontMetrics(),ln=0,yn=0,Cn=Qe&&S.isCharacterBox(Qe);if(Ct){var Qn=Ie.havingStyle(Ie.style.sup());gr=Wi(Ct,Qn,Ie),Cn||(ln=hr.height-Qn.fontMetrics().supDrop*Qn.sizeMultiplier/Ie.sizeMultiplier)}if(Ut){var ti=Ie.havingStyle(Ie.style.sub());Rr=Wi(Ut,ti,Ie),Cn||(yn=hr.depth+ti.fontMetrics().subDrop*ti.sizeMultiplier/Ie.sizeMultiplier)}var wi;Ie.style===H.DISPLAY?wi=$r.sup1:Ie.style.cramped?wi=$r.sup3:wi=$r.sup2;var ea=Ie.sizeMultiplier,ji=.5/$r.ptPerEm/ea+"em",Sa=null;if(Rr){var lo=pe.base&&pe.base.type==="op"&&pe.base.name&&(pe.base.name==="\\oiint"||pe.base.name==="\\oiiint");(hr instanceof Le||lo)&&(Sa=-hr.italic+"em")}var Wa;if(gr&&Rr){ln=Math.max(ln,wi,gr.depth+.25*$r.xHeight),yn=Math.max(yn,$r.sub2);var yo=$r.defaultRuleThickness,Ao=4*yo;if(ln-gr.depth-(Rr.height-yn)<Ao){yn=Ao-(ln-gr.depth)+Rr.height;var $a=.8*$r.xHeight-(ln-gr.depth);$a>0&&(ln+=$a,yn-=$a)}var ko=[{type:"elem",elem:Rr,shift:yn,marginRight:ji,marginLeft:Sa},{type:"elem",elem:gr,shift:-ln,marginRight:ji}];Wa=jr.makeVList({positionType:"individualShift",children:ko},Ie)}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},Ie)}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}]},Ie);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])],Ie)},mathmlBuilder:function(pe,Ie){var Ne=!1,Qe,Ct,Ut=gn(pe.base,"horizBrace");Ut&&(Ct=!!pe.sup,Ct===Ut.isOver&&(Ne=!0,Qe=Ut.isOver)),pe.base&&(pe.base.type==="op"||pe.base.type==="operatorname")&&(pe.base.parentIsSupSub=!0);var hr=[Tr(pe.base,Ie)];pe.sub&&hr.push(Tr(pe.sub,Ie)),pe.sup&&hr.push(Tr(pe.sup,Ie));var gr;if(Ne)gr=Qe?"mover":"munder";else if(pe.sub)if(pe.sup){var ln=pe.base;ln&&ln.type==="op"&&ln.limits&&Ie.style===H.DISPLAY||ln&&ln.type==="operatorname"&&ln.alwaysHandleSupSub&&(Ie.style===H.DISPLAY||ln.limits)?gr="munderover":gr="msubsup"}else{var $r=pe.base;$r&&$r.type==="op"&&$r.limits&&(Ie.style===H.DISPLAY||$r.alwaysHandleSupSub)||$r&&$r.type==="operatorname"&&$r.alwaysHandleSupSub&&($r.limits||Ie.style===H.DISPLAY)?gr="munder":gr="msub"}else{var Rr=pe.base;Rr&&Rr.type==="op"&&Rr.limits&&(Ie.style===H.DISPLAY||Rr.alwaysHandleSupSub)||Rr&&Rr.type==="operatorname"&&Rr.alwaysHandleSupSub&&(Rr.limits||Ie.style===H.DISPLAY)?gr="mover":gr="msup"}var yn=new Fn.MathNode(gr,hr);return yn}}),Oa({type:"atom",htmlBuilder:function(pe,Ie){return jr.mathsym(pe.text,pe.mode,Ie,["m"+pe.family])},mathmlBuilder:function(pe,Ie){var Ne=new Fn.MathNode("mo",[$i(pe.text,pe.mode)]);if(pe.family==="bin"){var Qe=To(pe,Ie);Qe==="bold-italic"&&Ne.setAttribute("mathvariant",Qe)}else pe.family==="punct"?Ne.setAttribute("separator","true"):(pe.family==="open"||pe.family==="close")&&Ne.setAttribute("stretchy","false");return Ne}});var oo={mi:"italic",mn:"normal",mtext:"normal"};Oa({type:"mathord",htmlBuilder:function(pe,Ie){return jr.makeOrd(pe,Ie,"mathord")},mathmlBuilder:function(pe,Ie){var Ne=new Fn.MathNode("mi",[$i(pe.text,pe.mode,Ie)]),Qe=To(pe,Ie)||"italic";return Qe!==oo[Ne.type]&&Ne.setAttribute("mathvariant",Qe),Ne}}),Oa({type:"textord",htmlBuilder:function(pe,Ie){return jr.makeOrd(pe,Ie,"textord")},mathmlBuilder:function(pe,Ie){var Ne=$i(pe.text,pe.mode,Ie),Qe=To(pe,Ie)||"normal",Ct;return pe.mode==="text"?Ct=new Fn.MathNode("mtext",[Ne]):/[0-9]/.test(pe.text)?Ct=new Fn.MathNode("mn",[Ne]):pe.text==="\\prime"?Ct=new Fn.MathNode("mo",[Ne]):Ct=new Fn.MathNode("mi",[Ne]),Qe!==oo[Ct.type]&&Ct.setAttribute("mathvariant",Qe),Ct}});var go={"\\nobreak":"nobreak","\\allowbreak":"allowbreak"},fo={" ":{},"\\ ":{},"~":{className:"nobreak"},"\\space":{},"\\nobreakspace":{className:"nobreak"}};Oa({type:"spacing",htmlBuilder:function(pe,Ie){if(fo.hasOwnProperty(pe.text)){var Ne=fo[pe.text].className||"";if(pe.mode==="text"){var Qe=jr.makeOrd(pe,Ie,"textord");return Qe.classes.push(Ne),Qe}else return jr.makeSpan(["mspace",Ne],[jr.mathsym(pe.text,pe.mode,Ie)],Ie)}else{if(go.hasOwnProperty(pe.text))return jr.makeSpan(["mspace",go[pe.text]],[],Ie);throw new a('Unknown type of space "'+pe.text+'"')}},mathmlBuilder:function(pe,Ie){var Ne;if(fo.hasOwnProperty(pe.text))Ne=new Fn.MathNode("mtext",[new Fn.TextNode("\xA0")]);else{if(go.hasOwnProperty(pe.text))return new Fn.MathNode("mspace");throw new a('Unknown type of space "'+pe.text+'"')}return Ne}});var Ta=function(){var pe=new Fn.MathNode("mtd",[]);return pe.setAttribute("width","50%"),pe};Oa({type:"tag",mathmlBuilder:function(pe,Ie){var Ne=new Fn.MathNode("mtable",[new Fn.MathNode("mtr",[Ta(),new Fn.MathNode("mtd",[rr(pe.body,Ie)]),Ta(),new Fn.MathNode("mtd",[rr(pe.tag,Ie)])])]);return Ne.setAttribute("width","100%"),Ne}});var Fi={"\\text":void 0,"\\textrm":"textrm","\\textsf":"textsf","\\texttt":"texttt","\\textnormal":"textrm"},Ra={"\\textbf":"textbf","\\textmd":"textmd"},Vo={"\\textit":"textit","\\textup":"textup"},ro=function(pe,Ie){var Ne=pe.font;return Ne?Fi[Ne]?Ie.withTextFontFamily(Fi[Ne]):Ra[Ne]?Ie.withTextFontWeight(Ra[Ne]):Ie.withTextFontShape(Vo[Ne]):Ie};Gn({type:"text",names:["\\text","\\textrm","\\textsf","\\texttt","\\textnormal","\\textbf","\\textmd","\\textit","\\textup"],props:{numArgs:1,argTypes:["text"],greediness:2,allowedInText:!0},handler:function(pe,Ie){var Ne=pe.parser,Qe=pe.funcName,Ct=Ie[0];return{type:"text",mode:Ne.mode,body:mn(Ct),font:Qe}},htmlBuilder:function(pe,Ie){var Ne=ro(pe,Ie),Qe=di(pe.body,Ne,!0);return jr.makeSpan(["mord","text"],jr.tryCombineChars(Qe),Ne)},mathmlBuilder:function(pe,Ie){var Ne=ro(pe,Ie);return rr(pe.body,Ne)}}),Gn({type:"underline",names:["\\underline"],props:{numArgs:1,allowedInText:!0},handler:function(pe,Ie){var Ne=pe.parser;return{type:"underline",mode:Ne.mode,body:Ie[0]}},htmlBuilder:function(pe,Ie){var Ne=Wi(pe.body,Ie),Qe=jr.makeLineSpan("underline-line",Ie),Ct=Ie.fontMetrics().defaultRuleThickness,Ut=jr.makeVList({positionType:"top",positionData:Ne.height,children:[{type:"kern",size:Ct},{type:"elem",elem:Qe},{type:"kern",size:3*Ct},{type:"elem",elem:Ne}]},Ie);return jr.makeSpan(["mord","underline"],[Ut],Ie)},mathmlBuilder:function(pe,Ie){var Ne=new Fn.MathNode("mo",[new Fn.TextNode("\u203E")]);Ne.setAttribute("stretchy","true");var Qe=new Fn.MathNode("munder",[Tr(pe.body,Ie),Ne]);return Qe.setAttribute("accentunder","true"),Qe}}),Gn({type:"verb",names:["\\verb"],props:{numArgs:0,allowedInText:!0},handler:function(pe,Ie,Ne){throw new a("\\verb ended by end of line instead of matching delimiter")},htmlBuilder:function(pe,Ie){for(var Ne=vo(pe),Qe=[],Ct=Ie.havingStyle(Ie.style.text()),Ut=0;Ut<Ne.length;Ut++){var hr=Ne[Ut];hr==="~"&&(hr="\\textasciitilde"),Qe.push(jr.makeSymbol(hr,"Typewriter-Regular",pe.mode,Ct,["mord","texttt"]))}return jr.makeSpan(["mord","text"].concat(Ct.sizingClasses(Ie)),jr.tryCombineChars(Qe),Ct)},mathmlBuilder:function(pe,Ie){var Ne=new Fn.TextNode(vo(pe)),Qe=new Fn.MathNode("mtext",[Ne]);return Qe.setAttribute("mathvariant","monospace"),Qe}});var vo=function(pe){return pe.body.replace(/ /g,pe.star?"\u2423":"\xA0")},po=ta,Ji=po,xo=`[ \r
|
|
|
]`,is="\\\\[a-zA-Z@]+",Zo="\\\\[^\uD800-\uDFFF]",Ls=""+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\\*"+("|"+Ls)+("|"+Zo+")"),Ja=function(){function Bt(Ie,Ne){this.input=void 0,this.settings=void 0,this.tokenRegex=void 0,this.catcodes=void 0,this.input=Ie,this.settings=Ne,this.tokenRegex=new RegExp(bo,"g"),this.catcodes={"%":14}}var pe=Bt.prototype;return pe.setCatcode=function(Ne,Qe){this.catcodes[Ne]=Qe},pe.lex=function(){var Ne=this.input,Qe=this.tokenRegex.lastIndex;if(Qe===Ne.length)return new h("EOF",new v(this,Qe,Qe));var Ct=this.tokenRegex.exec(Ne);if(Ct===null||Ct.index!==Qe)throw new a("Unexpected character: '"+Ne[Qe]+"'",new h(Ne[Qe],new v(this,Qe,Qe+1)));var Ut=Ct[2]||" ";if(this.catcodes[Ut]===14){var hr=Ne.indexOf(`
|
|
|
`,this.tokenRegex.lastIndex);return hr===-1?(this.tokenRegex.lastIndex=Ne.length,this.settings.reportNonstrict("commentAtEnd","% comment has no terminating newline; LaTeX would fail because of commenting the end of math mode (e.g. $)")):this.tokenRegex.lastIndex=hr+1,this.lex()}var gr=Ut.match(Cs);return gr&&(Ut=gr[1]),new h(Ut,new v(this,Qe,this.tokenRegex.lastIndex))},Bt}(),Ga=function(){function Bt(Ie,Ne){Ie===void 0&&(Ie={}),Ne===void 0&&(Ne={}),this.current=void 0,this.builtins=void 0,this.undefStack=void 0,this.current=Ne,this.builtins=Ie,this.undefStack=[]}var pe=Bt.prototype;return pe.beginGroup=function(){this.undefStack.push({})},pe.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 Ne=this.undefStack.pop();for(var Qe in Ne)Ne.hasOwnProperty(Qe)&&(Ne[Qe]===void 0?delete this.current[Qe]:this.current[Qe]=Ne[Qe])},pe.has=function(Ne){return this.current.hasOwnProperty(Ne)||this.builtins.hasOwnProperty(Ne)},pe.get=function(Ne){return this.current.hasOwnProperty(Ne)?this.current[Ne]:this.builtins[Ne]},pe.set=function(Ne,Qe,Ct){if(Ct===void 0&&(Ct=!1),Ct){for(var Ut=0;Ut<this.undefStack.length;Ut++)delete this.undefStack[Ut][Ne];this.undefStack.length>0&&(this.undefStack[this.undefStack.length-1][Ne]=Qe)}else{var hr=this.undefStack[this.undefStack.length-1];hr&&!hr.hasOwnProperty(Ne)&&(hr[Ne]=this.current[Ne])}this.current[Ne]=Qe},Bt}(),so={},ps=so;function Sr(Bt,pe){so[Bt]=pe}Sr("\\@firstoftwo",function(Bt){var pe=Bt.consumeArgs(2);return{tokens:pe[0],numArgs:0}}),Sr("\\@secondoftwo",function(Bt){var pe=Bt.consumeArgs(2);return{tokens:pe[1],numArgs:0}}),Sr("\\@ifnextchar",function(Bt){var pe=Bt.consumeArgs(3),Ie=Bt.future();return pe[0].length===1&&pe[0][0].text===Ie.text?{tokens:pe[1],numArgs:0}:{tokens:pe[2],numArgs:0}}),Sr("\\@ifstar","\\@ifnextchar *{\\@firstoftwo{#1}}"),Sr("\\TextOrMath",function(Bt){var pe=Bt.consumeArgs(2);return Bt.mode==="text"?{tokens:pe[0],numArgs:0}:{tokens:pe[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 pe=Bt.popToken(),Ie,Ne="";if(pe.text==="'")Ie=8,pe=Bt.popToken();else if(pe.text==='"')Ie=16,pe=Bt.popToken();else if(pe.text==="`")if(pe=Bt.popToken(),pe.text[0]==="\\")Ne=pe.text.charCodeAt(1);else{if(pe.text==="EOF")throw new a("\\char` missing argument");Ne=pe.text.charCodeAt(0)}else Ie=10;if(Ie){if(Ne=Xo[pe.text],Ne==null||Ne>=Ie)throw new a("Invalid base-"+Ie+" digit "+pe.text);for(var Qe;(Qe=Xo[Bt.future().text])!=null&&Qe<Ie;)Ne*=Ie,Ne+=Qe,Bt.popToken()}return"\\@char{"+Ne+"}"});var ss=function(pe,Ie){var Ne=pe.consumeArgs(1)[0];if(Ne.length!==1)throw new a("\\gdef's first argument must be a macro name");var Qe=Ne[0].text,Ct=0;for(Ne=pe.consumeArgs(1)[0];Ne.length===1&&Ne[0].text==="#";){if(Ne=pe.consumeArgs(1)[0],Ne.length!==1)throw new a('Invalid argument number length "'+Ne.length+'"');if(!/^[1-9]$/.test(Ne[0].text))throw new a('Invalid argument number "'+Ne[0].text+'"');if(Ct++,parseInt(Ne[0].text)!==Ct)throw new a('Argument number "'+Ne[0].text+'" out of order');Ne=pe.consumeArgs(1)[0]}return pe.macros.set(Qe,{tokens:Ne,numArgs:Ct},Ie),""};Sr("\\gdef",function(Bt){return ss(Bt,!0)}),Sr("\\def",function(Bt){return ss(Bt,!1)}),Sr("\\global",function(Bt){var pe=Bt.consumeArgs(1)[0];if(pe.length!==1)throw new a("Invalid command after \\global");var Ie=pe[0].text;if(Ie==="\\def")return ss(Bt,!0);throw new a("Invalid command '"+Ie+"' after \\global")});var _s=function(pe,Ie,Ne){var Qe=pe.consumeArgs(1)[0];if(Qe.length!==1)throw new a("\\newcommand's first argument must be a macro name");var Ct=Qe[0].text,Ut=pe.isDefined(Ct);if(Ut&&!Ie)throw new a("\\newcommand{"+Ct+"} attempting to redefine "+(Ct+"; use \\renewcommand"));if(!Ut&&!Ne)throw new a("\\renewcommand{"+Ct+"} when command "+Ct+" does not yet exist; use \\newcommand");var hr=0;if(Qe=pe.consumeArgs(1)[0],Qe.length===1&&Qe[0].text==="["){for(var gr="",Rr=pe.expandNextToken();Rr.text!=="]"&&Rr.text!=="EOF";)gr+=Rr.text,Rr=pe.expandNextToken();if(!gr.match(/^\s*[0-9]+\s*$/))throw new a("Invalid number of arguments: "+gr);hr=parseInt(gr),Qe=pe.consumeArgs(1)[0]}return pe.macros.set(Ct,{tokens:Qe,numArgs:hr}),""};Sr("\\newcommand",function(Bt){return _s(Bt,!1,!0)}),Sr("\\renewcommand",function(Bt){return _s(Bt,!0,!1)}),Sr("\\providecommand",function(Bt){return _s(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 ka={",":"\\dotsc","\\not":"\\dotsb","+":"\\dotsb","=":"\\dotsb","<":"\\dotsb",">":"\\dotsb","-":"\\dotsb","*":"\\dotsb",":":"\\dotsb","\\DOTSB":"\\dotsb","\\coprod":"\\dotsb","\\bigvee":"\\dotsb","\\bigwedge":"\\dotsb","\\biguplus":"\\dotsb","\\bigcap":"\\dotsb","\\bigcup":"\\dotsb","\\prod":"\\dotsb","\\sum":"\\dotsb","\\bigotimes":"\\dotsb","\\bigoplus":"\\dotsb","\\bigodot":"\\dotsb","\\bigsqcup":"\\dotsb","\\And":"\\dotsb","\\longrightarrow":"\\dotsb","\\Longrightarrow":"\\dotsb","\\longleftarrow":"\\dotsb","\\Longleftarrow":"\\dotsb","\\longleftrightarrow":"\\dotsb","\\Longleftrightarrow":"\\dotsb","\\mapsto":"\\dotsb","\\longmapsto":"\\dotsb","\\hookrightarrow":"\\dotsb","\\doteq":"\\dotsb","\\mathbin":"\\dotsb","\\mathrel":"\\dotsb","\\relbar":"\\dotsb","\\Relbar":"\\dotsb","\\xrightarrow":"\\dotsb","\\xleftarrow":"\\dotsb","\\DOTSI":"\\dotsi","\\int":"\\dotsi","\\oint":"\\dotsi","\\iint":"\\dotsi","\\iiint":"\\dotsi","\\iiiint":"\\dotsi","\\idotsint":"\\dotsi","\\DOTSX":"\\dotsx"};Sr("\\dots",function(Bt){var pe="\\dotso",Ie=Bt.expandAfterFuture().text;return Ie in ka?pe=ka[Ie]:Ie.substr(0,4)==="\\not"?pe="\\dotsb":Ie in Ve.math&&(S.contains(["bin","rel"],Ve.math[Ie].group)&&(pe="\\dotsb")),pe});var _a={")":!0,"]":!0,"\\rbrack":!0,"\\}":!0,"\\rbrace":!0,"\\rangle":!0,"\\rceil":!0,"\\rfloor":!0,"\\rgroup":!0,"\\rmoustache":!0,"\\right":!0,"\\bigr":!0,"\\biggr":!0,"\\Bigr":!0,"\\Biggr":!0,$:!0,";":!0,".":!0,",":!0};Sr("\\dotso",function(Bt){var pe=Bt.future().text;return pe in _a?"\\ldots\\,":"\\ldots"}),Sr("\\dotsc",function(Bt){var pe=Bt.future().text;return pe in _a&&pe!==","?"\\ldots\\,":"\\ldots"}),Sr("\\cdots",function(Bt){var pe=Bt.future().text;return pe in _a?"\\@cdots\\,":"\\@cdots"}),Sr("\\dotsb","\\cdots"),Sr("\\dotsm","\\cdots"),Sr("\\dotsi","\\!\\cdots"),Sr("\\dotsx","\\ldots\\,"),Sr("\\DOTSI","\\relax"),Sr("\\DOTSB","\\relax"),Sr("\\DOTSX","\\relax"),Sr("\\tmspace","\\TextOrMath{\\kern#1#3}{\\mskip#1#2}\\relax"),Sr("\\,","\\tmspace+{3mu}{.1667em}"),Sr("\\thinspace","\\,"),Sr("\\>","\\mskip{4mu}"),Sr("\\:","\\tmspace+{4mu}{.2222em}"),Sr("\\medspace","\\:"),Sr("\\;","\\tmspace+{5mu}{.2777em}"),Sr("\\thickspace","\\;"),Sr("\\!","\\tmspace-{3mu}{.1667em}"),Sr("\\negthinspace","\\!"),Sr("\\negmedspace","\\tmspace-{4mu}{.2222em}"),Sr("\\negthickspace","\\tmspace-{5mu}{.277em}"),Sr("\\enspace","\\kern.5em "),Sr("\\enskip","\\hskip.5em\\relax"),Sr("\\quad","\\hskip1em\\relax"),Sr("\\qquad","\\hskip2em\\relax"),Sr("\\tag","\\@ifstar\\tag@literal\\tag@paren"),Sr("\\tag@paren","\\tag@literal{({#1})}"),Sr("\\tag@literal",function(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 Oo=ze["Main-Regular"]["T".charCodeAt(0)][1]-.7*ze["Main-Regular"]["A".charCodeAt(0)][1]+"em";Sr("\\LaTeX","\\textrm{\\html@mathml{"+("L\\kern-.36em\\raisebox{"+Oo+"}{\\scriptstyle A}")+"\\kern-.15em\\TeX}{LaTeX}}"),Sr("\\KaTeX","\\textrm{\\html@mathml{"+("K\\kern-.17em\\raisebox{"+Oo+"}{\\scriptstyle A}")+"\\kern-.15em\\TeX}{KaTeX}}"),Sr("\\hspace","\\@ifstar\\@hspacer\\@hspace"),Sr("\\@hspace","\\hskip #1\\relax"),Sr("\\@hspacer","\\rule{0pt}{0pt}\\hskip #1\\relax"),Sr("\\ordinarycolon",":"),Sr("\\vcentcolon","\\mathrel{\\mathop\\ordinarycolon}"),Sr("\\dblcolon",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-.9mu}\\vcentcolon}}{\\mathop{\\char"2237}}'),Sr("\\coloneqq",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}=}}{\\mathop{\\char"2254}}'),Sr("\\Coloneqq",'\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}=}}{\\mathop{\\char"2237\\char"3d}}'),Sr("\\coloneq",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}\\mathrel{-}}}{\\mathop{\\char"3a\\char"2212}}'),Sr("\\Coloneq",'\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}\\mathrel{-}}}{\\mathop{\\char"2237\\char"2212}}'),Sr("\\eqqcolon",'\\html@mathml{\\mathrel{=\\mathrel{\\mkern-1.2mu}\\vcentcolon}}{\\mathop{\\char"2255}}'),Sr("\\Eqqcolon",'\\html@mathml{\\mathrel{=\\mathrel{\\mkern-1.2mu}\\dblcolon}}{\\mathop{\\char"3d\\char"2237}}'),Sr("\\eqcolon",'\\html@mathml{\\mathrel{\\mathrel{-}\\mathrel{\\mkern-1.2mu}\\vcentcolon}}{\\mathop{\\char"2239}}'),Sr("\\Eqcolon",'\\html@mathml{\\mathrel{\\mathrel{-}\\mathrel{\\mkern-1.2mu}\\dblcolon}}{\\mathop{\\char"2212\\char"2237}}'),Sr("\\colonapprox",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}\\approx}}{\\mathop{\\char"3a\\char"2248}}'),Sr("\\Colonapprox",'\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}\\approx}}{\\mathop{\\char"2237\\char"2248}}'),Sr("\\colonsim",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}\\sim}}{\\mathop{\\char"3a\\char"223c}}'),Sr("\\Colonsim",'\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}\\sim}}{\\mathop{\\char"2237\\char"223c}}'),Sr("\u2237","\\dblcolon"),Sr("\u2239","\\eqcolon"),Sr("\u2254","\\coloneqq"),Sr("\u2255","\\eqqcolon"),Sr("\u2A74","\\Coloneqq"),Sr("\\ratio","\\vcentcolon"),Sr("\\coloncolon","\\dblcolon"),Sr("\\colonequals","\\coloneqq"),Sr("\\coloncolonequals","\\Coloneqq"),Sr("\\equalscolon","\\eqqcolon"),Sr("\\equalscoloncolon","\\Eqqcolon"),Sr("\\colonminus","\\coloneq"),Sr("\\coloncolonminus","\\Coloneq"),Sr("\\minuscolon","\\eqcolon"),Sr("\\minuscoloncolon","\\Eqcolon"),Sr("\\coloncolonapprox","\\Colonapprox"),Sr("\\coloncolonsim","\\Colonsim"),Sr("\\simcolon","\\mathrel{\\sim\\mathrel{\\mkern-1.2mu}\\vcentcolon}"),Sr("\\simcoloncolon","\\mathrel{\\sim\\mathrel{\\mkern-1.2mu}\\dblcolon}"),Sr("\\approxcolon","\\mathrel{\\approx\\mathrel{\\mkern-1.2mu}\\vcentcolon}"),Sr("\\approxcoloncolon","\\mathrel{\\approx\\mathrel{\\mkern-1.2mu}\\dblcolon}"),Sr("\\notni","\\html@mathml{\\not\\ni}{\\mathrel{\\char`\u220C}}"),Sr("\\limsup","\\DOTSB\\operatorname*{lim\\,sup}"),Sr("\\liminf","\\DOTSB\\operatorname*{lim\\,inf}"),Sr("\\gvertneqq","\\html@mathml{\\@gvertneqq}{\u2269}"),Sr("\\lvertneqq","\\html@mathml{\\@lvertneqq}{\u2268}"),Sr("\\ngeqq","\\html@mathml{\\@ngeqq}{\u2271}"),Sr("\\ngeqslant","\\html@mathml{\\@ngeqslant}{\u2271}"),Sr("\\nleqq","\\html@mathml{\\@nleqq}{\u2270}"),Sr("\\nleqslant","\\html@mathml{\\@nleqslant}{\u2270}"),Sr("\\nshortmid","\\html@mathml{\\@nshortmid}{\u2224}"),Sr("\\nshortparallel","\\html@mathml{\\@nshortparallel}{\u2226}"),Sr("\\nsubseteqq","\\html@mathml{\\@nsubseteqq}{\u2288}"),Sr("\\nsupseteqq","\\html@mathml{\\@nsupseteqq}{\u2289}"),Sr("\\varsubsetneq","\\html@mathml{\\@varsubsetneq}{\u228A}"),Sr("\\varsubsetneqq","\\html@mathml{\\@varsubsetneqq}{\u2ACB}"),Sr("\\varsupsetneq","\\html@mathml{\\@varsupsetneq}{\u228B}"),Sr("\\varsupsetneqq","\\html@mathml{\\@varsupsetneqq}{\u2ACC}"),Sr("\\llbracket","\\html@mathml{\\mathopen{[\\mkern-3.2mu[}}{\\mathopen{\\char`\u27E6}}"),Sr("\\rrbracket","\\html@mathml{\\mathclose{]\\mkern-3.2mu]}}{\\mathclose{\\char`\u27E7}}"),Sr("\u27E6","\\llbracket"),Sr("\u27E7","\\rrbracket"),Sr("\\lBrace","\\html@mathml{\\mathopen{\\{\\mkern-3.2mu[}}{\\mathopen{\\char`\u2983}}"),Sr("\\rBrace","\\html@mathml{\\mathclose{]\\mkern-3.2mu\\}}}{\\mathclose{\\char`\u2984}}"),Sr("\u2983","\\lBrace"),Sr("\u2984","\\rBrace"),Sr("\\darr","\\downarrow"),Sr("\\dArr","\\Downarrow"),Sr("\\Darr","\\Downarrow"),Sr("\\lang","\\langle"),Sr("\\rang","\\rangle"),Sr("\\uarr","\\uparrow"),Sr("\\uArr","\\Uparrow"),Sr("\\Uarr","\\Uparrow"),Sr("\\N","\\mathbb{N}"),Sr("\\R","\\mathbb{R}"),Sr("\\Z","\\mathbb{Z}"),Sr("\\alef","\\aleph"),Sr("\\alefsym","\\aleph"),Sr("\\Alpha","\\mathrm{A}"),Sr("\\Beta","\\mathrm{B}"),Sr("\\bull","\\bullet"),Sr("\\Chi","\\mathrm{X}"),Sr("\\clubs","\\clubsuit"),Sr("\\cnums","\\mathbb{C}"),Sr("\\Complex","\\mathbb{C}"),Sr("\\Dagger","\\ddagger"),Sr("\\diamonds","\\diamondsuit"),Sr("\\empty","\\emptyset"),Sr("\\Epsilon","\\mathrm{E}"),Sr("\\Eta","\\mathrm{H}"),Sr("\\exist","\\exists"),Sr("\\harr","\\leftrightarrow"),Sr("\\hArr","\\Leftrightarrow"),Sr("\\Harr","\\Leftrightarrow"),Sr("\\hearts","\\heartsuit"),Sr("\\image","\\Im"),Sr("\\infin","\\infty"),Sr("\\Iota","\\mathrm{I}"),Sr("\\isin","\\in"),Sr("\\Kappa","\\mathrm{K}"),Sr("\\larr","\\leftarrow"),Sr("\\lArr","\\Leftarrow"),Sr("\\Larr","\\Leftarrow"),Sr("\\lrarr","\\leftrightarrow"),Sr("\\lrArr","\\Leftrightarrow"),Sr("\\Lrarr","\\Leftrightarrow"),Sr("\\Mu","\\mathrm{M}"),Sr("\\natnums","\\mathbb{N}"),Sr("\\Nu","\\mathrm{N}"),Sr("\\Omicron","\\mathrm{O}"),Sr("\\plusmn","\\pm"),Sr("\\rarr","\\rightarrow"),Sr("\\rArr","\\Rightarrow"),Sr("\\Rarr","\\Rightarrow"),Sr("\\real","\\Re"),Sr("\\reals","\\mathbb{R}"),Sr("\\Reals","\\mathbb{R}"),Sr("\\Rho","\\mathrm{P}"),Sr("\\sdot","\\cdot"),Sr("\\sect","\\S"),Sr("\\spades","\\spadesuit"),Sr("\\sub","\\subset"),Sr("\\sube","\\subseteq"),Sr("\\supe","\\supseteq"),Sr("\\Tau","\\mathrm{T}"),Sr("\\thetasym","\\vartheta"),Sr("\\weierp","\\wp"),Sr("\\Zeta","\\mathrm{Z}"),Sr("\\argmin","\\DOTSB\\operatorname*{arg\\,min}"),Sr("\\argmax","\\DOTSB\\operatorname*{arg\\,max}"),Sr("\\plim","\\DOTSB\\mathop{\\operatorname{plim}}\\limits"),Sr("\\blue","\\textcolor{##6495ed}{#1}"),Sr("\\orange","\\textcolor{##ffa500}{#1}"),Sr("\\pink","\\textcolor{##ff00af}{#1}"),Sr("\\red","\\textcolor{##df0030}{#1}"),Sr("\\green","\\textcolor{##28ae7b}{#1}"),Sr("\\gray","\\textcolor{gray}{#1}"),Sr("\\purple","\\textcolor{##9d38bd}{#1}"),Sr("\\blueA","\\textcolor{##ccfaff}{#1}"),Sr("\\blueB","\\textcolor{##80f6ff}{#1}"),Sr("\\blueC","\\textcolor{##63d9ea}{#1}"),Sr("\\blueD","\\textcolor{##11accd}{#1}"),Sr("\\blueE","\\textcolor{##0c7f99}{#1}"),Sr("\\tealA","\\textcolor{##94fff5}{#1}"),Sr("\\tealB","\\textcolor{##26edd5}{#1}"),Sr("\\tealC","\\textcolor{##01d1c1}{#1}"),Sr("\\tealD","\\textcolor{##01a995}{#1}"),Sr("\\tealE","\\textcolor{##208170}{#1}"),Sr("\\greenA","\\textcolor{##b6ffb0}{#1}"),Sr("\\greenB","\\textcolor{##8af281}{#1}"),Sr("\\greenC","\\textcolor{##74cf70}{#1}"),Sr("\\greenD","\\textcolor{##1fab54}{#1}"),Sr("\\greenE","\\textcolor{##0d923f}{#1}"),Sr("\\goldA","\\textcolor{##ffd0a9}{#1}"),Sr("\\goldB","\\textcolor{##ffbb71}{#1}"),Sr("\\goldC","\\textcolor{##ff9c39}{#1}"),Sr("\\goldD","\\textcolor{##e07d10}{#1}"),Sr("\\goldE","\\textcolor{##a75a05}{#1}"),Sr("\\redA","\\textcolor{##fca9a9}{#1}"),Sr("\\redB","\\textcolor{##ff8482}{#1}"),Sr("\\redC","\\textcolor{##f9685d}{#1}"),Sr("\\redD","\\textcolor{##e84d39}{#1}"),Sr("\\redE","\\textcolor{##bc2612}{#1}"),Sr("\\maroonA","\\textcolor{##ffbde0}{#1}"),Sr("\\maroonB","\\textcolor{##ff92c6}{#1}"),Sr("\\maroonC","\\textcolor{##ed5fa6}{#1}"),Sr("\\maroonD","\\textcolor{##ca337c}{#1}"),Sr("\\maroonE","\\textcolor{##9e034e}{#1}"),Sr("\\purpleA","\\textcolor{##ddd7ff}{#1}"),Sr("\\purpleB","\\textcolor{##c6b9fc}{#1}"),Sr("\\purpleC","\\textcolor{##aa87ff}{#1}"),Sr("\\purpleD","\\textcolor{##7854ab}{#1}"),Sr("\\purpleE","\\textcolor{##543b78}{#1}"),Sr("\\mintA","\\textcolor{##f5f9e8}{#1}"),Sr("\\mintB","\\textcolor{##edf2df}{#1}"),Sr("\\mintC","\\textcolor{##e0e5cc}{#1}"),Sr("\\grayA","\\textcolor{##f6f7f7}{#1}"),Sr("\\grayB","\\textcolor{##f0f1f2}{#1}"),Sr("\\grayC","\\textcolor{##e3e5e6}{#1}"),Sr("\\grayD","\\textcolor{##d6d8da}{#1}"),Sr("\\grayE","\\textcolor{##babec2}{#1}"),Sr("\\grayF","\\textcolor{##888d93}{#1}"),Sr("\\grayG","\\textcolor{##626569}{#1}"),Sr("\\grayH","\\textcolor{##3b3e40}{#1}"),Sr("\\grayI","\\textcolor{##21242c}{#1}"),Sr("\\kaBlue","\\textcolor{##314453}{#1}"),Sr("\\kaGreen","\\textcolor{##71B307}{#1}");var Io={"\\relax":!0,"^":!0,_:!0,"\\limits":!0,"\\nolimits":!0},ts=function(){function Bt(Ie,Ne,Qe){this.settings=void 0,this.expansionCount=void 0,this.lexer=void 0,this.macros=void 0,this.stack=void 0,this.mode=void 0,this.settings=Ne,this.expansionCount=0,this.feed(Ie),this.macros=new Ga(ps,Ne.macros),this.mode=Qe,this.stack=[]}var pe=Bt.prototype;return pe.feed=function(Ne){this.lexer=new Ja(Ne,this.settings)},pe.switchMode=function(Ne){this.mode=Ne},pe.beginGroup=function(){this.macros.beginGroup()},pe.endGroup=function(){this.macros.endGroup()},pe.future=function(){return this.stack.length===0&&this.pushToken(this.lexer.lex()),this.stack[this.stack.length-1]},pe.popToken=function(){return this.future(),this.stack.pop()},pe.pushToken=function(Ne){this.stack.push(Ne)},pe.pushTokens=function(Ne){var Qe;(Qe=this.stack).push.apply(Qe,Ne)},pe.consumeSpaces=function(){for(;;){var Ne=this.future();if(Ne.text===" ")this.stack.pop();else break}},pe.consumeArgs=function(Ne){for(var Qe=[],Ct=0;Ct<Ne;++Ct){this.consumeSpaces();var Ut=this.popToken();if(Ut.text==="{"){for(var hr=[],gr=1;gr!==0;){var Rr=this.popToken();if(hr.push(Rr),Rr.text==="{")++gr;else if(Rr.text==="}")--gr;else if(Rr.text==="EOF")throw new a("End of input in macro argument",Ut)}hr.pop(),hr.reverse(),Qe[Ct]=hr}else{if(Ut.text==="EOF")throw new a("End of input expecting macro argument");Qe[Ct]=[Ut]}}return Qe},pe.expandOnce=function(){var Ne=this.popToken(),Qe=Ne.text,Ct=this._getExpansion(Qe);if(Ct==null)return this.pushToken(Ne),Ne;if(this.expansionCount++,this.expansionCount>this.settings.maxExpand)throw new a("Too many expansions: infinite loop or need to increase maxExpand setting");var Ut=Ct.tokens;if(Ct.numArgs){var hr=this.consumeArgs(Ct.numArgs);Ut=Ut.slice();for(var gr=Ut.length-1;gr>=0;--gr){var Rr=Ut[gr];if(Rr.text==="#"){if(gr===0)throw new 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},pe.expandAfterFuture=function(){return this.expandOnce(),this.future()},pe.expandNextToken=function(){for(;;){var Ne=this.expandOnce();if(Ne instanceof h)if(Ne.text==="\\relax")this.stack.pop();else return this.stack.pop()}throw new Error},pe.expandMacro=function(Ne){if(!this.macros.get(Ne))return;var Qe=[],Ct=this.stack.length;for(this.pushToken(new h(Ne));this.stack.length>Ct;){var Ut=this.expandOnce();Ut instanceof h&&Qe.push(this.stack.pop())}return Qe},pe.expandMacroAsText=function(Ne){var Qe=this.expandMacro(Ne);return Qe&&Qe.map(function(Ct){return Ct.text}).join("")},pe._getExpansion=function(Ne){var Qe=this.macros.get(Ne);if(Qe==null)return Qe;var Ct=typeof Qe=="function"?Qe(this):Qe;if(typeof Ct=="string"){var Ut=0;if(Ct.indexOf("#")!==-1)for(var hr=Ct.replace(/##/g,"");hr.indexOf("#"+(Ut+1))!==-1;)++Ut;for(var gr=new Ja(Ct,this.settings),Rr=[],$r=gr.lex();$r.text!=="EOF";)Rr.push($r),$r=gr.lex();Rr.reverse();var ln={tokens:Rr,numArgs:Ut};return ln}return Ct},pe.isDefined=function(Ne){return this.macros.has(Ne)||Ji.hasOwnProperty(Ne)||Ve.math.hasOwnProperty(Ne)||Ve.text.hasOwnProperty(Ne)||Io.hasOwnProperty(Ne)},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(Ie,Ne){this.mode=void 0,this.gullet=void 0,this.settings=void 0,this.leftrightDepth=void 0,this.nextToken=void 0,this.mode="math",this.gullet=new ts(Ie,Ne,this.mode),this.settings=Ne,this.leftrightDepth=0}var pe=Bt.prototype;return pe.expect=function(Ne,Qe){if(Qe===void 0&&(Qe=!0),this.fetch().text!==Ne)throw new a("Expected '"+Ne+"', got '"+this.fetch().text+"'",this.fetch());Qe&&this.consume()},pe.consume=function(){this.nextToken=null},pe.fetch=function(){return this.nextToken==null&&(this.nextToken=this.gullet.expandNextToken()),this.nextToken},pe.switchMode=function(Ne){this.mode=Ne,this.gullet.switchMode(Ne)},pe.parse=function(){this.gullet.beginGroup(),this.settings.colorIsTextColor&&this.gullet.macros.set("\\color","\\textcolor");var Ne=this.parseExpression(!1);return this.expect("EOF"),this.gullet.endGroup(),Ne},pe.parseExpression=function(Ne,Qe){for(var Ct=[];;){this.mode==="math"&&this.consumeSpaces();var Ut=this.fetch();if(Bt.endOfExpression.indexOf(Ut.text)!==-1)break;if(Qe&&Ut.text===Qe)break;if(Ne&&Ji[Ut.text]&&Ji[Ut.text].infix)break;var hr=this.parseAtom(Qe);if(!hr)break;Ct.push(hr)}return this.mode==="text"&&this.formLigatures(Ct),this.handleInfixNodes(Ct)},pe.handleInfixNodes=function(Ne){for(var Qe=-1,Ct,Ut=0;Ut<Ne.length;Ut++){var hr=gn(Ne[Ut],"infix");if(hr){if(Qe!==-1)throw new a("only one infix operator per group",hr.token);Qe=Ut,Ct=hr.replaceWith}}if(Qe!==-1&&Ct){var gr,Rr,$r=Ne.slice(0,Qe),ln=Ne.slice(Qe+1);$r.length===1&&$r[0].type==="ordgroup"?gr=$r[0]:gr={type:"ordgroup",mode:this.mode,body:$r},ln.length===1&&ln[0].type==="ordgroup"?Rr=ln[0]:Rr={type:"ordgroup",mode:this.mode,body:ln};var yn;return Ct==="\\\\abovefrac"?yn=this.callFunction(Ct,[gr,Ne[Qe],Rr],[]):yn=this.callFunction(Ct,[gr,Rr],[]),[yn]}else return Ne},pe.handleSupSubscript=function(Ne){var Qe=this.fetch(),Ct=Qe.text;this.consume();var Ut=this.parseGroup(Ne,!1,Bt.SUPSUB_GREEDINESS,void 0,void 0,!0);if(!Ut)throw new a("Expected group after '"+Ct+"'",Qe);return Ut},pe.formatUnsupportedCmd=function(Ne){for(var Qe=[],Ct=0;Ct<Ne.length;Ct++)Qe.push({type:"textord",mode:"text",text:Ne[Ct]});var Ut={type:"text",mode:this.mode,body:Qe},hr={type:"color",mode:this.mode,color:this.settings.errorColor,body:[Ut]};return hr},pe.parseAtom=function(Ne){var Qe=this.parseGroup("atom",!1,null,Ne);if(this.mode==="text")return Qe;for(var Ct,Ut;;){this.consumeSpaces();var hr=this.fetch();if(hr.text==="\\limits"||hr.text==="\\nolimits"){var gr=gn(Qe,"op");if(gr){var Rr=hr.text==="\\limits";gr.limits=Rr,gr.alwaysHandleSupSub=!0}else if(gr=gn(Qe,"operatorname"),gr&&gr.alwaysHandleSupSub){var $r=hr.text==="\\limits";gr.limits=$r}else throw new a("Limit controls must follow a math operator",hr);this.consume()}else if(hr.text==="^"){if(Ct)throw new a("Double superscript",hr);Ct=this.handleSupSubscript("superscript")}else if(hr.text==="_"){if(Ut)throw new a("Double subscript",hr);Ut=this.handleSupSubscript("subscript")}else if(hr.text==="'"){if(Ct)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")),Ct={type:"ordgroup",mode:this.mode,body:yn}}else break}return Ct||Ut?{type:"supsub",mode:this.mode,base:Qe,sup:Ct,sub:Ut}:Qe},pe.parseFunction=function(Ne,Qe,Ct){var Ut=this.fetch(),hr=Ut.text,gr=Ji[hr];if(!gr)return null;if(this.consume(),Ct!=null&&gr.greediness<=Ct)throw new a("Got function '"+hr+"' with no arguments"+(Qe?" as "+Qe:""),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,Ne)},pe.callFunction=function(Ne,Qe,Ct,Ut,hr){var gr={funcName:Ne,parser:this,token:Ut,breakOnTokenText:hr},Rr=Ji[Ne];if(Rr&&Rr.handler)return Rr.handler(gr,Qe,Ct);throw new a("No function handler for "+Ne)},pe.parseArguments=function(Ne,Qe){var Ct=Qe.numArgs+Qe.numOptionalArgs;if(Ct===0)return{args:[],optArgs:[]};for(var Ut=Qe.greediness,hr=[],gr=[],Rr=0;Rr<Ct;Rr++){var $r=Qe.argTypes&&Qe.argTypes[Rr],ln=Rr<Qe.numOptionalArgs,yn=Rr>0&&!ln||Rr===0&&!ln&&this.mode==="math",Cn=this.parseGroupOfType("argument to '"+Ne+"'",$r,ln,Ut,yn);if(!Cn){if(ln){gr.push(null);continue}throw new a("Expected group after '"+Ne+"'",this.fetch())}(ln?gr:hr).push(Cn)}return{args:hr,optArgs:gr}},pe.parseGroupOfType=function(Ne,Qe,Ct,Ut,hr){switch(Qe){case"color":return hr&&this.consumeSpaces(),this.parseColorGroup(Ct);case"size":return hr&&this.consumeSpaces(),this.parseSizeGroup(Ct);case"url":return this.parseUrlGroup(Ct,hr);case"math":case"text":return this.parseGroup(Ne,Ct,Ut,void 0,Qe,hr);case"hbox":{var gr=this.parseGroup(Ne,Ct,Ut,void 0,"text",hr);if(!gr)return gr;var Rr={type:"styling",mode:gr.mode,body:[gr],style:"text"};return Rr}case"raw":{if(hr&&this.consumeSpaces(),Ct&&this.fetch().text==="{")return null;var $r=this.parseStringGroup("raw",Ct,!0);if($r)return{type:"raw",mode:"text",string:$r.text};throw new a("Expected raw group",this.fetch())}case"original":case null:case void 0:return this.parseGroup(Ne,Ct,Ut,void 0,void 0,hr);default:throw new a("Unknown group type as "+Ne,this.fetch())}},pe.consumeSpaces=function(){for(;this.fetch().text===" ";)this.consume()},pe.parseStringGroup=function(Ne,Qe,Ct){var Ut=Qe?"[":"{",hr=Qe?"]":"}",gr=this.fetch();if(gr.text!==Ut){if(Qe)return null;if(Ct&&gr.text!=="EOF"&&/[^{}[\]]/.test(gr.text))return this.consume(),gr}var Rr=this.mode;this.mode="text",this.expect(Ut);for(var $r="",ln=this.fetch(),yn=0,Cn=ln,Qn;(Qn=this.fetch()).text!==hr||Ct&&yn>0;){switch(Qn.text){case"EOF":throw new a("Unexpected end of input in "+Ne,ln.range(Cn,$r));case Ut:yn++;break;case hr:yn--;break}Cn=Qn,$r+=Cn.text,this.consume()}return this.expect(hr),this.mode=Rr,ln.range(Cn,$r)},pe.parseRegexGroup=function(Ne,Qe){var Ct=this.mode;this.mode="text";for(var Ut=this.fetch(),hr=Ut,gr="",Rr;(Rr=this.fetch()).text!=="EOF"&&Ne.test(gr+Rr.text);)hr=Rr,gr+=hr.text,this.consume();if(gr==="")throw new a("Invalid "+Qe+": '"+Ut.text+"'",Ut);return this.mode=Ct,Ut.range(hr,gr)},pe.parseColorGroup=function(Ne){var Qe=this.parseStringGroup("color",Ne);if(!Qe)return null;var Ct=/^(#[a-f0-9]{3}|#?[a-f0-9]{6}|[a-z]+)$/i.exec(Qe.text);if(!Ct)throw new a("Invalid color: '"+Qe.text+"'",Qe);var Ut=Ct[0];return/^[0-9a-f]{6}$/i.test(Ut)&&(Ut="#"+Ut),{type:"color-token",mode:this.mode,color:Ut}},pe.parseSizeGroup=function(Ne){var Qe,Ct=!1;if(!Ne&&this.fetch().text!=="{"?Qe=this.parseRegexGroup(/^[-+]? *(?:$|\d+|\d+\.\d*|\.\d*) *[a-z]{0,2} *$/,"size"):Qe=this.parseStringGroup("size",Ne),!Qe)return null;!Ne&&Qe.text.length===0&&(Qe.text="0pt",Ct=!0);var Ut=/([-+]?) *(\d+(?:\.\d*)?|\.\d+) *([a-z]{2})/.exec(Qe.text);if(!Ut)throw new a("Invalid size: '"+Qe.text+"'",Qe);var hr={number:+(Ut[1]+Ut[2]),unit:Ut[3]};if(!pt(hr))throw new a("Invalid unit: '"+hr.unit+"'",Qe);return{type:"size",mode:this.mode,value:hr,isBlank:Ct}},pe.parseUrlGroup=function(Ne,Qe){this.gullet.lexer.setCatcode("%",13);var Ct=this.parseStringGroup("url",Ne,!0);if(this.gullet.lexer.setCatcode("%",14),!Ct)return null;var Ut=Ct.text.replace(/\\([#$%&~_^{}])/g,"$1");return{type:"url",mode:this.mode,url:Ut}},pe.parseGroup=function(Ne,Qe,Ct,Ut,hr,gr){var Rr=this.mode;hr&&this.switchMode(hr),gr&&this.consumeSpaces();var $r=this.fetch(),ln=$r.text,yn;if(Qe?ln==="[":ln==="{"||ln==="\\begingroup"){this.consume();var Cn=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(Qe)yn=null;else if(yn=this.parseFunction(Ut,Ne,Ct)||this.parseSymbol(),yn==null&&ln[0]==="\\"&&!Io.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},pe.formLigatures=function(Ne){for(var Qe=Ne.length-1,Ct=0;Ct<Qe;++Ct){var Ut=Ne[Ct],hr=Ut.text;hr==="-"&&Ne[Ct+1].text==="-"&&(Ct+1<Qe&&Ne[Ct+2].text==="-"?(Ne.splice(Ct,3,{type:"textord",mode:"text",loc:v.range(Ut,Ne[Ct+2]),text:"---"}),Qe-=2):(Ne.splice(Ct,2,{type:"textord",mode:"text",loc:v.range(Ut,Ne[Ct+1]),text:"--"}),Qe-=1)),(hr==="'"||hr==="`")&&Ne[Ct+1].text===hr&&(Ne.splice(Ct,2,{type:"textord",mode:"text",loc:v.range(Ut,Ne[Ct+1]),text:hr+hr}),Qe-=1)}},pe.parseSymbol=function(){var Ne=this.fetch(),Qe=Ne.text;if(/^\\verb[^a-zA-Z]/.test(Qe)){this.consume();var Ct=Qe.slice(5),Ut=Ct.charAt(0)==="*";if(Ut&&(Ct=Ct.slice(1)),Ct.length<2||Ct.charAt(0)!==Ct.slice(-1))throw new a(`\\verb assertion failed --
|
|
|
please report what input caused this bug`);return Ct=Ct.slice(1,-1),{type:"verb",mode:"text",body:Ct,star:Ut}}rs.hasOwnProperty(Qe[0])&&!Ve[this.mode][Qe[0]]&&(this.settings.strict&&this.mode==="math"&&this.settings.reportNonstrict("unicodeTextInMathMode",'Accented Unicode text character "'+Qe[0]+'" used in math mode',Ne),Qe=rs[Qe[0]]+Qe.substr(1));var hr=Go.exec(Qe);hr&&(Qe=Qe.substring(0,hr.index),Qe==="i"?Qe="\u0131":Qe==="j"&&(Qe="\u0237"));var gr;if(Ve[this.mode][Qe]){this.settings.strict&&this.mode==="math"&&rt.indexOf(Qe)>=0&&this.settings.reportNonstrict("unicodeTextInMathMode",'Latin-1/Unicode text character "'+Qe[0]+'" used in math mode',Ne);var Rr=Ve[this.mode][Qe].group,$r=v.range(Ne),ln;if(Je.hasOwnProperty(Rr)){var yn=Rr;ln={type:"atom",mode:this.mode,family:yn,loc:$r,text:Qe}}else ln={type:Rr,mode:this.mode,loc:$r,text:Qe};gr=ln}else if(Qe.charCodeAt(0)>=128)this.settings.strict&&(Y(Qe.charCodeAt(0))?this.mode==="math"&&this.settings.reportNonstrict("unicodeTextInMathMode",'Unicode text character "'+Qe[0]+'" used in math mode',Ne):this.settings.reportNonstrict("unknownSymbol",'Unrecognized Unicode character "'+Qe[0]+'"'+(" ("+Qe.charCodeAt(0)+")"),Ne)),gr={type:"textord",mode:"text",loc:v.range(Ne),text:Qe};else return null;if(this.consume(),hr)for(var Cn=0;Cn<hr[0].length;Cn++){var Qn=hr[0][Cn];if(!Po[Qn])throw new a("Unknown accent ' "+Qn+"'",Ne);var ti=Po[Qn][this.mode];if(!ti)throw new a("Accent "+Qn+" unsupported in "+this.mode+" mode",Ne);gr={type:"accent",mode:this.mode,loc:v.range(Ne),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(pe,Ie){if(!(typeof pe=="string"||pe instanceof String))throw new TypeError("KaTeX can only parse string typed expression");var Ne=new ms(pe,Ie);delete Ne.gullet.macros.current["\\df@tag"];var Qe=Ne.parse();if(Ne.gullet.macros.get("\\df@tag")){if(!Ie.displayMode)throw new a("\\tag works only in display equations");Ne.gullet.feed("\\df@tag"),Qe=[{type:"tag",mode:"text",body:Qe,tag:Ne.parse()}]}return Qe},Ns=ls,Ds=function(pe,Ie,Ne){Ie.textContent="";var Qe=Mo(pe,Ne).toNode();Ie.appendChild(Qe)};typeof document!="undefined"&&(document.compatMode!=="CSS1Compat"&&(typeof console!="undefined"&&console.warn("Warning: KaTeX doesn't work in quirks mode. Make sure your website has a suitable doctype."),Ds=function(){throw new a("KaTeX doesn't work in quirks mode.")}));var as=function(pe,Ie){var Ne=Mo(pe,Ie).toMarkup();return Ne},$s=function(pe,Ie){var Ne=new T(Ie);return Ns(pe,Ne)},cs=function(pe,Ie,Ne){if(Ne.throwOnError||!(pe instanceof a))throw pe;var Qe=jr.makeSpan(["katex-error"],[new Le(Ie)]);return Qe.setAttribute("title",pe.toString()),Qe.setAttribute("style","color:"+Ne.errorColor),Qe},Mo=function(pe,Ie){var Ne=new T(Ie);try{var Qe=Ns(pe,Ne);return it(Qe,pe,Ne)}catch(Ct){return cs(Ct,pe,Ne)}},Dn=function(pe,Ie){var Ne=new T(Ie);try{var Qe=Ns(pe,Ne);return jt(Qe,pe,Ne)}catch(Ct){return cs(Ct,pe,Ne)}},Vs={version:"0.11.1",render:Ds,renderToString:as,ParseError:a,__parse:$s,__renderToDomTree:Mo,__renderToHTMLTree:Dn,__setFontMetrics:Tt,__defineSymbol:le,__defineMacro:Sr,__domTree:{Span:V,Anchor:J,SymbolNode:Le,SvgNode:he,PathNode:te,LineNode:Z}},Os=f.default=Vs}]).default})},P2fV:function(R,D,e){"use strict";var g=e("cIOH"),f=e.n(g),A=e("Q9mQ"),m=e("+L6B"),v=e("sE09"),h=e.n(v)},P2ho:function(R,D,e){"use strict";Object.defineProperty(D,"__esModule",{value:!0}),D.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};D.default=g},P47w:function(R,D,e){var g=e("hydK"),f=g.createElement,A=e("IMiH"),m=e("mFDi"),v=e("Fofx"),h=e("6GrX"),c=e("pzxd"),a=e("dqUG"),i=A.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 x(X){return d(X*1e4)/1e4}function S(X){return X<p&&X>-p}function T(X,W){var Y=W?X.textFill:X.fill;return Y!=null&&Y!==o}function w(X,W){var Y=W?X.textStroke:X.stroke;return Y!=null&&Y!==o}function E(X,W){W&&C(X,"transform","matrix("+r.call(W,",")+")")}function C(X,W,Y){(!Y||Y.type!=="linear"&&Y.type!=="radial")&&X.setAttribute(W,Y)}function _(X,W,Y){X.setAttributeNS("http://www.w3.org/1999/xlink",W,Y)}function y(X,W,Y,q){if(T(W,Y)){var me=Y?W.textFill:W.fill;me=me==="transparent"?o:me,C(X,"fill",me),C(X,"fill-opacity",W.fillOpacity!=null?W.fillOpacity*W.opacity:W.opacity)}else C(X,"fill",o);if(w(W,Y)){var G=Y?W.textStroke:W.stroke;G=G==="transparent"?o:G,C(X,"stroke",G);var ye=Y?W.textStrokeWidth:W.lineWidth,Ae=!Y&&W.strokeNoScale?q.getLineScale():1;C(X,"stroke-width",ye/Ae),C(X,"paint-order",Y?"stroke":"fill"),C(X,"stroke-opacity",W.strokeOpacity!=null?W.strokeOpacity:W.opacity);var ve=W.lineDash;ve?(C(X,"stroke-dasharray",W.lineDash.join(",")),C(X,"stroke-dashoffset",d(W.lineDashOffset||0))):C(X,"stroke-dasharray",""),W.lineCap&&C(X,"stroke-linecap",W.lineCap),W.lineJoin&&C(X,"stroke-linejoin",W.lineJoin),W.miterLimit&&C(X,"stroke-miterlimit",W.miterLimit)}else C(X,"stroke",o)}function b(X){for(var W=[],Y=X.data,q=X.len(),me=0;me<q;){var G=Y[me++],ye="",Ae=0;switch(G){case i.M:ye="M",Ae=2;break;case i.L:ye="L",Ae=2;break;case i.Q:ye="Q",Ae=4;break;case i.C:ye="C",Ae=6;break;case i.A:var ve=Y[me++],Ue=Y[me++],Me=Y[me++],nt=Y[me++],ne=Y[me++],be=Y[me++],ot=Y[me++],ue=Y[me++],Q=Math.abs(be),V=S(Q-s)||(ue?be>=s:-be>=s),J=be>0?be%s:be%s+s,fe=!1;V?fe=!0:S(Q)?fe=!1:fe=J>=t===!!ue;var oe=x(ve+Me*l(ne)),Le=x(Ue+nt*n(ne));V&&(ue?be=s-1e-4:be=-s+1e-4,fe=!0,me===9&&W.push("M",oe,Le));var he=x(ve+Me*l(ne+be)),te=x(Ue+nt*n(ne+be));W.push("A",x(Me),x(nt),d(ot*u),+fe,+ue,he,te);break;case i.Z:ye="Z";break;case i.R:var he=x(Y[me++]),te=x(Y[me++]),Z=x(Y[me++]),ge=x(Y[me++]);W.push("M",he,te,"L",he+Z,te,"L",he+Z,te+ge,"L",he,te+ge,"L",he,te);break}ye&&W.push(ye);for(var Re=0;Re<Ae;Re++)W.push(x(Y[me++]))}return W.join(" ")}var O={};O.brush=function(X){var W=X.style,Y=X.__svgEl;Y||(Y=f("path"),X.__svgEl=Y),X.path||X.createPathProxy();var q=X.path;if(X.__dirtyPath){q.beginPath(),q.subPixelOptimize=!1,X.buildPath(q,X.shape),X.__dirtyPath=!1;var me=b(q);me.indexOf("NaN")<0&&C(Y,"d",me)}y(Y,W,!1,X),E(Y,X.transform),W.text!=null?N(X,X.getBoundingRect()):z(X)};var I={};I.brush=function(X){var W=X.style,Y=W.image;if(Y instanceof HTMLImageElement){var q=Y.src;Y=q}if(!Y)return;var me=W.x||0,G=W.y||0,ye=W.width,Ae=W.height,ve=X.__svgEl;ve||(ve=f("image"),X.__svgEl=ve),Y!==X.__imageSrc&&(_(ve,"href",Y),X.__imageSrc=Y),C(ve,"width",ye),C(ve,"height",Ae),C(ve,"x",me),C(ve,"y",G),E(ve,X.transform),W.text!=null?N(X,X.getBoundingRect()):z(X)};var M={},F=new m,P={},j=[],K={left:"start",right:"end",center:"middle",middle:"middle"},N=function(W,Y){var q=W.style,me=W.transform,G=W instanceof a||q.transformText;W.__dirty&&c.normalizeTextStyle(q,!0);var ye=q.text;if(ye!=null&&(ye+=""),!c.needDrawText(ye,q))return;ye==null&&(ye=""),!G&&me&&(F.copy(Y),F.applyTransform(me),Y=F);var Ae=W.__textSvgEl;Ae||(Ae=f("text"),W.__textSvgEl=Ae);var ve=Ae.style,Ue=q.font||h.DEFAULT_FONT,Me=Ae.__computedFont;Ue!==Ae.__styleFont&&(ve.font=Ae.__styleFont=Ue,Me=Ae.__computedFont=ve.font);var nt=q.textPadding,ne=q.textLineHeight,be=W.__textCotentBlock;(!be||W.__dirtyText)&&(be=W.__textCotentBlock=h.parsePlainText(ye,Me,nt,ne,q.truncate));var ot=be.outerHeight,ue=be.lineHeight;c.getBoxPosition(P,W,q,Y);var Q=P.baseX,V=P.baseY,J=P.textAlign||"left",fe=P.textVerticalAlign;B(Ae,G,me,q,Y,Q,V);var oe=h.adjustTextY(V,ot,fe),Le=Q,he=oe;nt&&(Le=U(Q,J,nt),he+=nt[0]),he+=ue/2,y(Ae,q,!0,W);var te=be.canCacheByTextString,Z=W.__tspanList||(W.__tspanList=[]),ge=Z.length;if(te&&W.__canCacheByTextString&&W.__text===ye){if(W.__dirtyText&&ge)for(var Re=0;Re<ge;++Re)H(Z[Re],J,Le,he+Re*ue)}else{W.__text=ye,W.__canCacheByTextString=te;for(var ze=be.lines,dt=ze.length,Re=0;Re<dt;Re++){var De=Z[Re],Tt=ze[Re];De?De.__zrText!==Tt&&(De.innerHTML="",De.appendChild(document.createTextNode(Tt))):(De=Z[Re]=f("tspan"),Ae.appendChild(De),De.appendChild(document.createTextNode(Tt))),H(De,J,Le,he+Re*ue)}if(ge>dt){for(;Re<ge;Re++)Ae.removeChild(Z[Re]);Z.length=dt}}};function B(X,W,Y,q,me,G,ye){v.identity(j),W&&Y&&v.copy(j,Y);var Ae=q.textRotation;if(me&&Ae){var ve=q.textOrigin;ve==="center"?(G=me.width/2+me.x,ye=me.height/2+me.y):ve&&(G=ve[0]+me.x,ye=ve[1]+me.y),j[4]-=G,j[5]-=ye,v.rotate(j,j,Ae),j[4]+=G,j[5]+=ye}E(X,j)}function U(X,W,Y){return W==="right"?X-Y[1]:W==="center"?X+Y[3]/2-Y[1]/2:X+Y[3]}function H(X,W,Y,q){C(X,"dominant-baseline","middle"),C(X,"text-anchor",K[W]),C(X,"x",Y),C(X,"y",q)}function z(X){X&&X.__textSvgEl&&(X.__textSvgEl.parentNode&&X.__textSvgEl.parentNode.removeChild(X.__textSvgEl),X.__textSvgEl=null,X.__tspanList=[],X.__text=null)}M.drawRectText=N,M.brush=function(X){var W=X.style;W.text!=null?N(X,!1):z(X)},D.path=O,D.image=I,D.text=M},P4Qj:function(R,D,e){"use strict";Object.defineProperty(D,"__esModule",{value:!0}),D.removeSensor=D.getSensor=void 0;var g=m(e("chpo")),f=e("FxDU"),A=e("24YM");function m(a){return a&&a.__esModule?a:{default:a}}var v={},h=function(i){var r=i.getAttribute(A.SizeSensorId);if(r&&v[r])return v[r];var o=(0,g.default)();i.setAttribute(A.SizeSensorId,o);var d=(0,f.createSensor)(i);return v[o]=d,d};D.getSensor=h;var c=function(i){var r=i.element.getAttribute(A.SizeSensorId);i.element.removeAttribute(A.SizeSensorId),i.destroy(),r&&v[r]&&delete v[r]};D.removeSensor=c},P5Jw:function(R,D,e){"use strict";var g=e("rHrb"),f=g.CopyToClipboard;f.CopyToClipboard=f,R.exports=f},PArb:function(R,D,e){"use strict";var g=e("pVnL"),f=e.n(g),A=e("lSNA"),m=e.n(A),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,x=n.type,S=x===void 0?"horizontal":x,T=n.orientation,w=T===void 0?"center":T,E=n.className,C=n.children,_=n.dashed,y=n.plain,b=r(n,["prefixCls","type","orientation","className","children","dashed","plain"]),O=s("divider",p),I=w.length>0?"-".concat(w):w,M=!!C,F=a()(E,O,"".concat(O,"-").concat(S),(t={},m()(t,"".concat(O,"-with-text"),M),m()(t,"".concat(O,"-with-text").concat(I),M),m()(t,"".concat(O,"-dashed"),!!_),m()(t,"".concat(O,"-plain"),!!y),m()(t,"".concat(O,"-rtl"),u==="rtl"),t));return v.createElement("div",f()({className:F},b,{role:"separator"}),C&&v.createElement("span",{className:"".concat(O,"-inner-text")},C))})};D.a=o},PD8m:function(R,D){R.exports={name:"memoryStorage",read:g,write:f,each:A,remove:m,clearAll:v};var e={};function g(h){return e[h]}function f(h,c){e[h]=c}function A(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(R,D,e){"use strict";e.d(D,"a",function(){return v}),e.d(D,"b",function(){return h});var g=e("RIqP"),f=e.n(g),A=e("xEkU"),m=e.n(A);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(R,D,e){"use strict";e.d(D,"a",function(){return T});var g=e("RIqP"),f=e.n(g),A=e("lSNA"),m=e.n(A),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),x=e("H84U"),S=function(I,M){var F={};for(var P in I)Object.prototype.hasOwnProperty.call(I,P)&&M.indexOf(P)<0&&(F[P]=I[P]);if(I!=null&&typeof Object.getOwnPropertySymbols=="function")for(var j=0,P=Object.getOwnPropertySymbols(I);j<P.length;j++)M.indexOf(P[j])<0&&Object.prototype.propertyIsEnumerable.call(I,P[j])&&(F[P[j]]=I[P[j]]);return F},T=t.createContext({siderHook:{addSider:function(){return null},removeSider:function(){return null}}});function w(I){var M=I.suffixCls,F=I.tagName,P=I.displayName;return function(j){var K;return K=function(N){d()(U,N);var B=l()(U);function U(){var H;return a()(this,U),H=B.apply(this,arguments),H.renderComponent=function(z){var X=z.getPrefixCls,W=H.props.prefixCls,Y=X(M,W);return t.createElement(j,h()({prefixCls:Y,tagName:F},H.props))},H}return r()(U,[{key:"render",value:function(){return t.createElement(x.a,null,this.renderComponent)}}]),U}(t.Component),K.displayName=P,K}}var E=function(M){var F=M.prefixCls,P=M.className,j=M.children,K=M.tagName,N=S(M,["prefixCls","className","children","tagName"]),B=p()(F,P);return t.createElement(K,h()({className:B},N),j)},C=function(I){d()(F,I);var M=l()(F);function F(){var P;return a()(this,F),P=M.apply(this,arguments),P.state={siders:[]},P.renderComponent=function(j){var K,N=j.direction,B=P.props,U=B.prefixCls,H=B.className,z=B.children,X=B.hasSider,W=B.tagName,Y=S(B,["prefixCls","className","children","hasSider","tagName"]),q=p()(U,(K={},m()(K,"".concat(U,"-has-sider"),typeof X=="boolean"?X:P.state.siders.length>0),m()(K,"".concat(U,"-rtl"),N==="rtl"),K),H);return t.createElement(T.Provider,{value:{siderHook:P.getSiderHook()}},t.createElement(W,h()({className:q},Y),z))},P}return r()(F,[{key:"getSiderHook",value:function(){var j=this;return{addSider:function(N){j.setState(function(B){return{siders:[].concat(f()(B.siders),[N])}})},removeSider:function(N){j.setState(function(B){return{siders:B.siders.filter(function(U){return U!==N})}})}}}},{key:"render",value:function(){return t.createElement(x.a,null,this.renderComponent)}}]),F}(t.Component),_=w({suffixCls:"layout",tagName:"section",displayName:"Layout"})(C),y=w({suffixCls:"layout-header",tagName:"header",displayName:"Header"})(E),b=w({suffixCls:"layout-footer",tagName:"footer",displayName:"Footer"})(E),O=w({suffixCls:"layout-content",tagName:"main",displayName:"Content"})(E);_.Header=y,_.Footer=b,_.Content=O,D.b=_},PNag:function(R,D,e){var g=e("bYtY"),f=e("SKnc"),A=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(C,_,y,b){(!b||b.type!=="selectDataRange"||b.from!==this.uid)&&this._buildView()},_buildView:function(){this.group.removeAll();var C=this.visualMapModel,_=this.group;this._orient=C.get("orient"),this._useHandle=C.get("calculable"),this._resetInterval(),this._renderBar(_);var y=C.get("text");this._renderEndsText(_,y,0),this._renderEndsText(_,y,1),this._updateView(!0),this.renderBackground(_),this._updateView(),this._enableHoverLinkToSeries(),this._enableHoverLinkFromSeries(),this.positionGroup(_)},_renderEndsText:function(C,_,y){if(!_)return;var b=_[1-y];b=b!=null?b+"":"";var O=this.visualMapModel,I=O.get("textGap"),M=O.itemSize,F=this._shapes.barGroup,P=this._applyTransform([M[0]/2,y===0?-I:M[1]+I],F),j=this._applyTransform(y===0?"bottom":"top",F),K=this._orient,N=this.visualMapModel.textStyleModel;this.group.add(new v.Text({style:{x:P[0],y:P[1],textVerticalAlign:K==="horizontal"?"middle":j,textAlign:K==="horizontal"?j:"center",text:b,textFont:N.getFont(),textFill:N.getTextColor()}}))},_renderBar:function(C){var _=this.visualMapModel,y=this._shapes,b=_.itemSize,O=this._orient,I=this._useHandle,M=a.getItemAlign(_,this.api,b),F=y.barGroup=this._createBarGroup(M);F.add(y.outOfRange=u()),F.add(y.inRange=u(null,I?w(this._orient):null,g.bind(this._dragHandle,this,"all",!1),g.bind(this._dragHandle,this,"all",!0)));var P=_.textStyleModel.getTextRect("\u56FD"),j=n(P.width,P.height);I&&(y.handleThumbs=[],y.handleLabels=[],y.handleLabelPoints=[],this._createHandle(F,0,b,j,O,M),this._createHandle(F,1,b,j,O,M)),this._createIndicator(F,b,j,O),C.add(F)},_createHandle:function(C,_,y,b,O){var I=g.bind(this._dragHandle,this,_,!1),M=g.bind(this._dragHandle,this,_,!0),F=u(p(_,b),w(this._orient),I,M);F.position[0]=y[0],C.add(F);var P=this.visualMapModel.textStyleModel,j=new v.Text({draggable:!0,drift:I,onmousemove:function(B){A.stop(B.event)},ondragend:M,style:{x:0,y:0,text:"",textFont:P.getFont(),textFill:P.getTextColor()}});this.group.add(j);var K=[O==="horizontal"?b/2:b*1.5,O==="horizontal"?_===0?-(b*1.5):b*1.5:_===0?-b/2:b/2],N=this._shapes;N.handleThumbs[_]=F,N.handleLabelPoints[_]=K,N.handleLabels[_]=j},_createIndicator:function(C,_,y,b){var O=u([[0,0]],"move");O.position[0]=_[0],O.attr({invisible:!0,silent:!0}),C.add(O);var I=this.visualMapModel.textStyleModel,M=new v.Text({silent:!0,invisible:!0,style:{x:0,y:0,text:"",textFont:I.getFont(),textFill:I.getTextColor()}});this.group.add(M);var F=[b==="horizontal"?y/2:t+3,0],P=this._shapes;P.indicator=O,P.indicatorLabel=M,P.indicatorLabelPoint=F},_dragHandle:function(C,_,y,b){if(!this._useHandle)return;if(this._dragging=!_,!_){var O=this._applyTransform([y,b],this._shapes.barGroup,!0);this._updateInterval(C,O[1]),this._updateView()}_===!this.visualMapModel.get("realtime")&&this.api.dispatchAction({type:"selectDataRange",from:this.uid,visualMapId:this.visualMapModel.id,selected:this._dataInterval.slice()}),_?!this._hovering&&this._clearHoverLinkToSeries():T(this.visualMapModel)&&this._doHoverLinkToSeries(this._handleEnds[C],!1)},_resetInterval:function(){var C=this.visualMapModel,_=this._dataInterval=C.getSelected(),y=C.getExtent(),b=[0,C.itemSize[1]];this._handleEnds=[r(_[0],y,b,!0),r(_[1],y,b,!0)]},_updateInterval:function(C,_){_=_||0;var y=this.visualMapModel,b=this._handleEnds,O=[0,y.itemSize[1]];c(_,b,O,C,0);var I=y.getExtent();this._dataInterval=[r(b[0],O,I,!0),r(b[1],O,I,!0)]},_updateView:function(C){var _=this.visualMapModel,y=_.getExtent(),b=this._shapes,O=[0,_.itemSize[1]],I=C?O:this._handleEnds,M=this._createBarVisual(this._dataInterval,y,I,"inRange"),F=this._createBarVisual(y,y,O,"outOfRange");b.inRange.setStyle({fill:M.barColor,opacity:M.opacity}).setShape("points",M.barPoints),b.outOfRange.setStyle({fill:F.barColor,opacity:F.opacity}).setShape("points",F.barPoints),this._updateHandle(I,M)},_createBarVisual:function(C,_,y,b){var O={forceState:b,convertOpacityToAlpha:!0},I=this._makeColorGradient(C,O),M=[this.getControllerVisual(C[0],"symbolSize",O),this.getControllerVisual(C[1],"symbolSize",O)],F=this._createBarPoints(y,M);return{barColor:new f(0,0,0,1,I),barPoints:F,handlesColor:[I[0].color,I[I.length-1].color]}},_makeColorGradient:function(C,_){var y=100,b=[],O=(C[1]-C[0])/y;b.push({color:this.getControllerVisual(C[0],"color",_),offset:0});for(var I=1;I<y;I++){var M=C[0]+O*I;if(M>C[1])break;b.push({color:this.getControllerVisual(M,"color",_),offset:I/y})}return b.push({color:this.getControllerVisual(C[1],"color",_),offset:1}),b},_createBarPoints:function(C,_){var y=this.visualMapModel.itemSize;return[[y[0]-_[0],C[0]],[y[0],C[0]],[y[0],C[1]],[y[0]-_[1],C[1]]]},_createBarGroup:function(C){var _=this._orient,y=this.visualMapModel.get("inverse");return new v.Group(_==="horizontal"&&!y?{scale:C==="bottom"?[1,1]:[-1,1],rotation:Math.PI/2}:_==="horizontal"&&y?{scale:C==="bottom"?[-1,1]:[1,1],rotation:-Math.PI/2}:_==="vertical"&&!y?{scale:C==="left"?[1,-1]:[-1,-1]}:{scale:C==="left"?[1,1]:[-1,1]})},_updateHandle:function(C,_){if(!this._useHandle)return;var y=this._shapes,b=this.visualMapModel,O=y.handleThumbs,I=y.handleLabels;o([0,1],function(M){var F=O[M];F.setStyle("fill",_.handlesColor[M]),F.position[1]=C[M];var P=v.applyTransform(y.handleLabelPoints[M],v.getTransform(F,this.group));I[M].setStyle({x:P[0],y:P[1],text:b.formatValueText(this._dataInterval[M]),textVerticalAlign:"middle",textAlign:this._applyTransform(this._orient==="horizontal"?M===0?"bottom":"top":"left",y.barGroup)})},this)},_showIndicator:function(C,_,y,b){var O=this.visualMapModel,I=O.getExtent(),M=O.itemSize,F=[0,M[1]],P=r(C,I,F,!0),j=this._shapes,K=j.indicator;if(!K)return;K.position[1]=P,K.attr("invisible",!1),K.setShape("points",x(!!y,b,P,M[1]));var N={convertOpacityToAlpha:!0},B=this.getControllerVisual(C,"color",N);K.setStyle("fill",B);var U=v.applyTransform(j.indicatorLabelPoint,v.getTransform(K,this.group)),H=j.indicatorLabel;H.attr("invisible",!1);var z=this._applyTransform("left",j.barGroup),X=this._orient;H.setStyle({text:(y||"")+O.formatValueText(_),textVerticalAlign:X==="horizontal"?z:"middle",textAlign:X==="horizontal"?"center":z,x:U[0],y:U[1]})},_enableHoverLinkToSeries:function(){var C=this;this._shapes.barGroup.on("mousemove",function(_){if(C._hovering=!0,!C._dragging){var y=C.visualMapModel.itemSize,b=C._applyTransform([_.offsetX,_.offsetY],C._shapes.barGroup,!0,!0);b[1]=d(n(0,b[1]),y[1]),C._doHoverLinkToSeries(b[1],0<=b[0]&&b[0]<=y[0])}}).on("mouseout",function(){C._hovering=!1,!C._dragging&&C._clearHoverLinkToSeries()})},_enableHoverLinkFromSeries:function(){var C=this.api.getZr();this.visualMapModel.option.hoverLink?(C.on("mouseover",this._hoverLinkFromSeriesMouseOver,this),C.on("mouseout",this._hideIndicator,this)):this._clearHoverLinkFromSeries()},_doHoverLinkToSeries:function(C,_){var y=this.visualMapModel,b=y.itemSize;if(!y.option.hoverLink)return;var O=[0,b[1]],I=y.getExtent();C=d(n(O[0],C),O[1]);var M=S(y,I,O),F=[C-M,C+M],P=r(C,O,I,!0),j=[r(F[0],O,I,!0),r(F[1],O,I,!0)];F[0]<O[0]&&(j[0]=-Infinity),F[1]>O[1]&&(j[1]=Infinity),_&&(j[0]===-Infinity?this._showIndicator(P,j[1],"< ",M):j[1]===Infinity?this._showIndicator(P,j[0],"> ",M):this._showIndicator(P,P,"\u2248 ",M));var K=this._hoverLinkDataIndices,N=[];(_||T(y))&&(N=this._hoverLinkDataIndices=y.findTargetDataIndices(j));var B=i.compressBatches(K,N);this._dispatchHighDown("downplay",a.makeHighDownBatch(B[0],y)),this._dispatchHighDown("highlight",a.makeHighDownBatch(B[1],y))},_hoverLinkFromSeriesMouseOver:function(C){var _=C.target,y=this.visualMapModel;if(!_||_.dataIndex==null)return;var b=this.ecModel.getSeriesByIndex(_.seriesIndex);if(!y.isTargetSeries(b))return;var O=b.getData(_.dataType),I=O.get(y.getDataDimension(O),_.dataIndex,!0);isNaN(I)||this._showIndicator(I,I)},_hideIndicator:function(){var C=this._shapes;C.indicator&&C.indicator.attr("invisible",!0),C.indicatorLabel&&C.indicatorLabel.attr("invisible",!0)},_clearHoverLinkToSeries:function(){this._hideIndicator();var C=this._hoverLinkDataIndices;this._dispatchHighDown("downplay",a.makeHighDownBatch(C,this.visualMapModel)),C.length=0},_clearHoverLinkFromSeries:function(){this._hideIndicator();var C=this.api.getZr();C.off("mouseover",this._hoverLinkFromSeriesMouseOver),C.off("mouseout",this._hideIndicator)},_applyTransform:function(C,_,y,b){var O=v.getTransform(_,b?null:this.group);return v[g.isArray(C)?"applyTransform":"transformDirection"](C,O,y)},_dispatchHighDown:function(C,_){_&&_.length&&this.api.dispatchAction({type:C,batch:_})},dispose:function(){this._clearHoverLinkFromSeries(),this._clearHoverLinkToSeries()},remove:function(){this._clearHoverLinkFromSeries(),this._clearHoverLinkToSeries()}});function u(C,_,y,b){return new v.Polygon({shape:{points:C},draggable:!!y,cursor:_,drift:y,onmousemove:function(O){A.stop(O.event)},ondragend:b})}function p(C,_){return C===0?[[0,0],[_,0],[_,-_]]:[[0,0],[_,0],[_,_]]}function x(C,_,y,b){return C?[[0,-d(_,n(y,0))],[t,0],[0,d(_,n(b-y,0))]]:[[0,0],[5,-5],[5,5]]}function S(C,_,y){var b=l/2,O=C.get("hoverLinkDataSize");return O&&(b=r(O,_,y,!0)/2),b}function T(C){var _=C.get("hoverLinkOnHandle");return!!(_==null?C.get("realtime"):_)}function w(C){return C==="vertical"?"ns-resize":"ew-resize"}var E=s;R.exports=E},PQMj:function(R,D,e){},PSzr:function(R,D,e){"use strict";Object.defineProperty(D,"__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"};D.default=g},ProS:function(R,D,e){var g=e("Tghj"),f=g.__DEV__,A=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"),x=e("IwbS"),S=e("4NO4"),T=e("iLNv"),w=T.throttle,E=e("/WM3"),C=e("uAnK"),_=e("mYwL"),y=e("af/B"),b=e("xTNl"),O=e("8hn6");e("A1Ka");var I=e("7DRL"),M=m.assert,F=m.each,P=m.isFunction,j=m.isObject,K=t.parseClassType,N="4.8.0",B={zrender:"4.3.1"},U=1,H=1e3,z=800,X=900,W=5e3,Y=1e3,q=1100,me=2e3,G=3e3,ye=3500,Ae=4e3,ve=5e3,Ue={PROCESSOR:{FILTER:H,SERIES_FILTER:z,STATISTIC:W},VISUAL:{LAYOUT:Y,PROGRESSIVE_LAYOUT:q,GLOBAL:me,CHART:G,POST_CHART_LAYOUT:ye,COMPONENT:Ae,BRUSH:ve}},Me="__flagInMainProcess",nt="__optionUpdated",ne=/^[a-zA-Z0-9_]+$/;function be(ht,Et){return function(pt,vt,Nt){if(!Et&&this._disposed){Xe(this.id);return}pt=pt&&pt.toLowerCase(),a.prototype[ht].call(this,pt,vt,Nt)}}function ot(){a.call(this)}ot.prototype.on=be("on",!0),ot.prototype.off=be("off",!0),ot.prototype.one=be("one",!0),m.mixin(ot,a);function ue(ht,Et,pt){pt=pt||{},typeof Et=="string"&&(Et=ft[Et]),this.id,this.group,this._dom=ht;var vt="canvas",Nt=this._zr=A.init(ht,{renderer:pt.renderer||vt,devicePixelRatio:pt.devicePixelRatio,width:pt.width,height:pt.height});this._throttledZrFlush=w(m.bind(Nt.flush,Nt),17);var Et=m.clone(Et);Et&&n(Et,!0),this._theme=Et,this._chartsViews=[],this._chartsMap={},this._componentsViews=[],this._componentsMap={},this._coordSysMgr=new o;var _t=this._api=Ve(this);function gt(Ht,kt){return Ht.__prio-kt.__prio}c(mt,gt),c(Ze,gt),this._scheduler=new y(this,_t,Ze,mt),a.call(this,this._ecEventProcessor=new le),this._messageCenter=new ot,this._initEvents(),this.resize=m.bind(this.resize,this),this._pendingActions=[],Nt.animation.on("frame",this._onframe,this),ge(Nt,this),m.setAsPrimitive(this)}var Q=ue.prototype;Q._onframe=function(){if(this._disposed)return;var ht=this._scheduler;if(this[nt]){var Et=this[nt].silent;this[Me]=!0,fe(this),J.update.call(this),this[Me]=!1,this[nt]=!1,te.call(this,Et),Z.call(this,Et)}else if(ht.unfinished){var pt=U,vt=this._model,Nt=this._api;ht.unfinished=!1;do{var _t=+new Date;ht.performSeriesTasks(vt),ht.performDataProcessorTasks(vt),Le(this,vt),ht.performVisualTasks(vt),Tt(this,this._model,Nt,"remain"),pt-=+new Date-_t}while(pt>0&&ht.unfinished);ht.unfinished||this._zr.flush()}},Q.getDom=function(){return this._dom},Q.getZr=function(){return this._zr},Q.setOption=function(ht,Et,pt){if(this._disposed){Xe(this.id);return}var vt;if(j(Et)&&(pt=Et.lazyUpdate,vt=Et.silent,Et=Et.notMerge),this[Me]=!0,!this._model||Et){var Nt=new d(this._api),_t=this._theme,gt=this._model=new i;gt.scheduler=this._scheduler,gt.init(null,null,_t,Nt)}this._model.setOption(ht,Te),pt?(this[nt]={silent:vt},this[Me]=!1):(fe(this),J.update.call(this),this._zr.flush(),this[nt]=!1,this[Me]=!1,te.call(this,vt),Z.call(this,vt))},Q.setTheme=function(){console.error("ECharts#setTheme() is DEPRECATED in ECharts 3.0")},Q.getModel=function(){return this._model},Q.getOption=function(){return this._model&&this._model.getOption()},Q.getWidth=function(){return this._zr.getWidth()},Q.getHeight=function(){return this._zr.getHeight()},Q.getDevicePixelRatio=function(){return this._zr.painter.dpr||window.devicePixelRatio||1},Q.getRenderedCanvas=function(ht){if(!h.canvasSupported)return;ht=ht||{},ht.pixelRatio=ht.pixelRatio||1,ht.backgroundColor=ht.backgroundColor||this._model.get("backgroundColor");var Et=this._zr;return Et.painter.getRenderedCanvas(ht)},Q.getSvgDataURL=function(){if(!h.svgSupported)return;var ht=this._zr,Et=ht.storage.getDisplayList();return m.each(Et,function(pt){pt.stopAnimation(!0)}),ht.painter.toDataURL()},Q.getDataURL=function(ht){if(this._disposed){Xe(this.id);return}ht=ht||{};var Et=ht.excludeComponents,pt=this._model,vt=[],Nt=this;F(Et,function(gt){pt.eachComponent({mainType:gt},function(Ht){var kt=Nt._componentsMap[Ht.__viewId];kt.group.ignore||(vt.push(kt),kt.group.ignore=!0)})});var _t=this._zr.painter.getType()==="svg"?this.getSvgDataURL():this.getRenderedCanvas(ht).toDataURL("image/"+(ht&&ht.type||"png"));return F(vt,function(gt){gt.group.ignore=!1}),_t},Q.getConnectedDataURL=function(ht){if(this._disposed){Xe(this.id);return}if(!h.canvasSupported)return;var Et=ht.type==="svg",pt=this.group,vt=Math.min,Nt=Math.max,_t=Infinity;if(or[pt]){var gt=_t,Ht=_t,kt=-_t,ir=-_t,Xt=[],mr=ht&&ht.pixelRatio||1;m.each(It,function(_r,Qr){if(_r.group===pt){var Lr=Et?_r.getZr().painter.getSvgDom().innerHTML:_r.getRenderedCanvas(m.clone(ht)),ur=_r.getDom().getBoundingClientRect();gt=vt(ur.left,gt),Ht=vt(ur.top,Ht),kt=Nt(ur.right,kt),ir=Nt(ur.bottom,ir),Xt.push({dom:Lr,left:ur.left,top:ur.top})}}),gt*=mr,Ht*=mr,kt*=mr,ir*=mr;var Ar=kt-gt,Nr=ir-Ht,kr=m.createCanvas(),tn=A.init(kr,{renderer:Et?"svg":"canvas"});if(tn.resize({width:Ar,height:Nr}),Et){var qr="";return F(Xt,function(_r){var Qr=_r.left-gt,Lr=_r.top-Ht;qr+='<g transform="translate('+Qr+","+Lr+')">'+_r.dom+"</g>"}),tn.painter.getSvgRoot().innerHTML=qr,ht.connectedBackgroundColor&&tn.painter.setBackgroundColor(ht.connectedBackgroundColor),tn.refreshImmediately(),tn.painter.toDataURL()}else return ht.connectedBackgroundColor&&tn.add(new x.Rect({shape:{x:0,y:0,width:Ar,height:Nr},style:{fill:ht.connectedBackgroundColor}})),F(Xt,function(_r){var Qr=new x.Image({style:{x:_r.left*mr-gt,y:_r.top*mr-Ht,image:_r.dom}});tn.add(Qr)}),tn.refreshImmediately(),kr.toDataURL("image/"+(ht&&ht.type||"png"))}else return this.getDataURL(ht)},Q.convertToPixel=m.curry(V,"convertToPixel"),Q.convertFromPixel=m.curry(V,"convertFromPixel");function V(ht,Et,pt){if(this._disposed){Xe(this.id);return}var vt=this._model,Nt=this._coordSysMgr.getCoordinateSystems(),_t;Et=S.parseFinder(vt,Et);for(var gt=0;gt<Nt.length;gt++){var Ht=Nt[gt];if(Ht[ht]&&(_t=Ht[ht](vt,Et,pt))!=null)return _t}}Q.containPixel=function(ht,Et){if(this._disposed){Xe(this.id);return}var pt=this._model,vt;return ht=S.parseFinder(pt,ht),m.each(ht,function(Nt,_t){_t.indexOf("Models")>=0&&m.each(Nt,function(gt){var Ht=gt.coordinateSystem;if(Ht&&Ht.containPoint)vt|=!!Ht.containPoint(Et);else if(_t==="seriesModels"){var kt=this._chartsMap[gt.__viewId];kt&&kt.containPoint&&(vt|=kt.containPoint(Et,gt))}},this)},this),!!vt},Q.getVisual=function(ht,Et){var pt=this._model;ht=S.parseFinder(pt,ht,{defaultMainType:"series"});var vt=ht.seriesModel,Nt=vt.getData(),_t=ht.hasOwnProperty("dataIndexInside")?ht.dataIndexInside:ht.hasOwnProperty("dataIndex")?Nt.indexOfRawIndex(ht.dataIndex):null;return _t!=null?Nt.getItemVisual(_t,Et):Nt.getVisual(Et)},Q.getViewOfComponentModel=function(ht){return this._componentsMap[ht.__viewId]},Q.getViewOfSeriesModel=function(ht){return this._chartsMap[ht.__viewId]};var J={prepareAndUpdate:function(ht){fe(this),J.update.call(this,ht)},update:function(ht){var Et=this._model,pt=this._api,vt=this._zr,Nt=this._coordSysMgr,_t=this._scheduler;if(!Et)return;_t.restoreData(Et,ht),_t.performSeriesTasks(Et),Nt.create(Et,pt),_t.performDataProcessorTasks(Et,ht),Le(this,Et),Nt.update(Et,pt),ze(Et),_t.performVisualTasks(Et,ht),dt(this,Et,pt,ht);var gt=Et.get("backgroundColor")||"transparent";if(h.canvasSupported)vt.setBackgroundColor(gt);else{var Ht=v.parse(gt);gt=v.stringify(Ht,"rgb"),Ht[3]===0&&(gt="transparent")}je(Et,pt)},updateTransform:function(ht){var Et=this._model,pt=this,vt=this._api;if(!Et)return;var Nt=[];Et.eachComponent(function(gt,Ht){var kt=pt.getViewOfComponentModel(Ht);if(kt&&kt.__alive)if(kt.updateTransform){var ir=kt.updateTransform(Ht,Et,vt,ht);ir&&ir.update&&Nt.push(kt)}else Nt.push(kt)});var _t=m.createHashMap();Et.eachSeries(function(gt){var Ht=pt._chartsMap[gt.__viewId];if(Ht.updateTransform){var kt=Ht.updateTransform(gt,Et,vt,ht);kt&&kt.update&&_t.set(gt.uid,1)}else _t.set(gt.uid,1)}),ze(Et),this._scheduler.performVisualTasks(Et,ht,{setDirty:!0,dirtyMap:_t}),Tt(pt,Et,vt,ht,_t),je(Et,this._api)},updateView:function(ht){var Et=this._model;if(!Et)return;p.markUpdateMethod(ht,"updateView"),ze(Et),this._scheduler.performVisualTasks(Et,ht,{setDirty:!0}),dt(this,this._model,this._api,ht),je(Et,this._api)},updateVisual:function(ht){J.update.call(this,ht)},updateLayout:function(ht){J.update.call(this,ht)}};function fe(ht){var Et=ht._model,pt=ht._scheduler;pt.restorePipelines(Et),pt.prepareStageTasks(),Re(ht,"component",Et,pt),Re(ht,"chart",Et,pt),pt.plan()}function oe(ht,Et,pt,vt,Nt){var _t=ht._model;if(!vt){F(ht._componentsViews.concat(ht._chartsViews),ir);return}var gt={};gt[vt+"Id"]=pt[vt+"Id"],gt[vt+"Index"]=pt[vt+"Index"],gt[vt+"Name"]=pt[vt+"Name"];var Ht={mainType:vt,query:gt};Nt&&(Ht.subType=Nt);var kt=pt.excludeSeriesId;kt!=null&&(kt=m.createHashMap(S.normalizeToArray(kt))),_t&&_t.eachComponent(Ht,function(Xt){(!kt||kt.get(Xt.id)==null)&&ir(ht[vt==="series"?"_chartsMap":"_componentsMap"][Xt.__viewId])},ht);function ir(Xt){Xt&&Xt.__alive&&Xt[Et]&&Xt[Et](Xt.__model,_t,ht._api,pt)}}Q.resize=function(ht){if(this._disposed){Xe(this.id);return}this._zr.resize(ht);var Et=this._model;if(this._loadingFX&&this._loadingFX.resize(),!Et)return;var pt=Et.resetOption("media"),vt=ht&&ht.silent;this[Me]=!0,pt&&fe(this),J.update.call(this),this[Me]=!1,te.call(this,vt),Z.call(this,vt)};function Le(ht,Et){var pt=ht._chartsMap,vt=ht._scheduler;Et.eachSeries(function(Nt){vt.updateStreamModes(Nt,pt[Nt.__viewId])})}Q.showLoading=function(ht,Et){if(this._disposed){Xe(this.id);return}if(j(ht)&&(Et=ht,ht=""),ht=ht||"default",this.hideLoading(),!bt[ht])return;var pt=bt[ht](this._api,Et),vt=this._zr;this._loadingFX=pt,vt.add(pt)},Q.hideLoading=function(){if(this._disposed){Xe(this.id);return}this._loadingFX&&this._zr.remove(this._loadingFX),this._loadingFX=null},Q.makeActionFromEvent=function(ht){var Et=m.extend({},ht);return Et.type=lt[ht.type],Et},Q.dispatchAction=function(ht,Et){if(this._disposed){Xe(this.id);return}if(j(Et)||(Et={silent:!!Et}),!ae[ht.type])return;if(!this._model)return;if(this[Me]){this._pendingActions.push(ht);return}he.call(this,ht,Et.silent),Et.flush?this._zr.flush(!0):Et.flush!==!1&&h.browser.weChat&&this._throttledZrFlush(),te.call(this,Et.silent),Z.call(this,Et.silent)};function he(ht,Et){var pt=ht.type,vt=ht.escapeConnect,Nt=ae[pt],_t=Nt.actionInfo,gt=(_t.update||"update").split(":"),Ht=gt.pop();gt=gt[0]!=null&&K(gt[0]),this[Me]=!0;var kt=[ht],ir=!1;ht.batch&&(ir=!0,kt=m.map(ht.batch,function(Nr){return Nr=m.defaults(m.extend({},Nr),ht),Nr.batch=null,Nr}));var Xt=[],mr,Ar=pt==="highlight"||pt==="downplay";F(kt,function(Nr){mr=Nt.action(Nr,this._model,this._api),mr=mr||m.extend({},Nr),mr.type=_t.event||mr.type,Xt.push(mr),Ar?oe(this,Ht,Nr,"series"):gt&&oe(this,Ht,Nr,gt.main,gt.sub)},this),Ht!=="none"&&!Ar&&!gt&&(this[nt]?(fe(this),J.update.call(this,ht),this[nt]=!1):J[Ht].call(this,ht)),ir?mr={type:_t.event||pt,escapeConnect:vt,batch:Xt}:mr=Xt[0],this[Me]=!1,!Et&&this._messageCenter.trigger(mr.type,mr)}function te(ht){for(var Et=this._pendingActions;Et.length;){var pt=Et.shift();he.call(this,pt,ht)}}function Z(ht){!ht&&this.trigger("updated")}function ge(ht,Et){ht.on("rendered",function(){Et.trigger("rendered"),ht.animation.isFinished()&&!Et[nt]&&!Et._scheduler.unfinished&&!Et._pendingActions.length&&Et.trigger("finished")})}Q.appendData=function(ht){if(this._disposed){Xe(this.id);return}var Et=ht.seriesIndex,pt=this.getModel(),vt=pt.getSeriesByIndex(Et);vt.appendData(ht),this._scheduler.unfinished=!0},Q.on=be("on",!1),Q.off=be("off",!1),Q.one=be("one",!1);function Re(ht,Et,pt,vt){for(var Nt=Et==="component",_t=Nt?ht._componentsViews:ht._chartsViews,gt=Nt?ht._componentsMap:ht._chartsMap,Ht=ht._zr,kt=ht._api,ir=0;ir<_t.length;ir++)_t[ir].__alive=!1;Nt?pt.eachComponent(function(Ar,Nr){Ar!=="series"&&Xt(Nr)}):pt.eachSeries(Xt);function Xt(Ar){var Nr="_ec_"+Ar.id+"_"+Ar.type,kr=gt[Nr];if(!kr){var tn=K(Ar.type),qr=Nt?u.getClass(tn.main,tn.sub):p.getClass(tn.sub);kr=new qr,kr.init(pt,kt),gt[Nr]=kr,_t.push(kr),Ht.add(kr.group)}Ar.__viewId=kr.__id=Nr,kr.__alive=!0,kr.__model=Ar,kr.group.__ecComponentInfo={mainType:Ar.mainType,index:Ar.componentIndex},!Nt&&vt.prepareView(kr,Ar,pt,kt)}for(var ir=0;ir<_t.length;){var mr=_t[ir];mr.__alive?ir++:(!Nt&&mr.renderTask.dispose(),Ht.remove(mr.group),mr.dispose(pt,kt),_t.splice(ir,1),delete gt[mr.__id],mr.__id=mr.group.__ecComponentInfo=null)}}function ze(ht){ht.clearColorPalette(),ht.eachSeries(function(Et){Et.clearColorPalette()})}function dt(ht,Et,pt,vt){De(ht,Et,pt,vt),F(ht._chartsViews,function(Nt){Nt.__alive=!1}),Tt(ht,Et,pt,vt),F(ht._chartsViews,function(Nt){Nt.__alive||Nt.remove(Et,pt)})}function De(ht,Et,pt,vt,Nt){F(Nt||ht._componentsViews,function(_t){var gt=_t.__model;_t.render(gt,Et,pt,vt),at(gt,_t)})}function Tt(ht,Et,pt,vt,Nt){var _t=ht._scheduler,gt;Et.eachSeries(function(Ht){var kt=ht._chartsMap[Ht.__viewId];kt.__alive=!0;var ir=kt.renderTask;_t.updatePayload(ir,vt),Nt&&Nt.get(Ht.uid)&&ir.dirty(),gt|=ir.perform(_t.getPerformArgs(ir)),kt.group.silent=!!Ht.get("silent"),at(Ht,kt),et(Ht,kt)}),_t.unfinished|=gt,Je(ht,Et),C(ht._zr.dom,Et)}function je(ht,Et){F(Jt,function(pt){pt(ht,Et)})}var st=["click","dblclick","mouseover","mouseout","mousemove","mousedown","mouseup","globalout","contextmenu"];Q._initEvents=function(){F(st,function(ht){var Et=function(pt){var vt=this.getModel(),Nt=pt.target,_t,gt=ht==="globalout";if(gt)_t={};else if(Nt&&Nt.dataIndex!=null){var Ht=Nt.dataModel||vt.getSeriesByIndex(Nt.seriesIndex);_t=Ht&&Ht.getDataParams(Nt.dataIndex,Nt.dataType,Nt)||{}}else Nt&&Nt.eventData&&(_t=m.extend({},Nt.eventData));if(_t){var kt=_t.componentType,ir=_t.componentIndex;(kt==="markLine"||kt==="markPoint"||kt==="markArea")&&(kt="series",ir=_t.seriesIndex);var Xt=kt&&ir!=null&&vt.getComponent(kt,ir),mr=Xt&&this[Xt.mainType==="series"?"_chartsMap":"_componentsMap"][Xt.__viewId];_t.event=pt,_t.type=ht,this._ecEventProcessor.eventInfo={targetEl:Nt,packedEvent:_t,model:Xt,view:mr},this.trigger(ht,_t)}};Et.zrEventfulCallAtLast=!0,this._zr.on(ht,Et,this)},this),F(lt,function(ht,Et){this._messageCenter.on(Et,function(pt){this.trigger(Et,pt)},this)},this)},Q.isDisposed=function(){return this._disposed},Q.clear=function(){if(this._disposed){Xe(this.id);return}this.setOption({series:[]},!0)},Q.dispose=function(){if(this._disposed){Xe(this.id);return}this._disposed=!0,S.setAttribute(this.getDom(),Ce,"");var ht=this._api,Et=this._model;F(this._componentsViews,function(pt){pt.dispose(Et,ht)}),F(this._chartsViews,function(pt){pt.dispose(Et,ht)}),this._zr.dispose(),delete It[this.id]},m.mixin(ue,a);function Xe(ht){}function Je(ht,Et){var pt=ht._zr,vt=pt.storage,Nt=0;vt.traverse(function(_t){Nt++}),Nt>Et.get("hoverLayerThreshold")&&!h.node&&Et.eachSeries(function(_t){if(_t.preventUsingHoverLayer)return;var gt=ht._chartsMap[_t.__viewId];gt.__alive&>.group.traverse(function(Ht){Ht.useHoverLayer=!0})})}function et(ht,Et){var pt=ht.get("blendMode")||null;Et.group.traverse(function(vt){vt.isGroup||vt.style.blend!==pt&&vt.setStyle("blend",pt),vt.eachPendingDisplayable&&vt.eachPendingDisplayable(function(Nt){Nt.setStyle("blend",pt)})})}function at(ht,Et){var pt=ht.get("z"),vt=ht.get("zlevel");Et.group.traverse(function(Nt){Nt.type!=="group"&&(pt!=null&&(Nt.z=pt),vt!=null&&(Nt.zlevel=vt))})}function Ve(ht){var Et=ht._coordSysMgr;return m.extend(new r(ht),{getCoordinateSystems:m.bind(Et.getCoordinateSystems,Et),getComponentByElement:function(pt){for(;pt;){var vt=pt.__ecComponentInfo;if(vt!=null)return ht._model.getComponent(vt.mainType,vt.index);pt=pt.parent}}})}function le(){this.eventInfo}le.prototype={constructor:le,normalizeQuery:function(ht){var Et={},pt={},vt={};if(m.isString(ht)){var Nt=K(ht);Et.mainType=Nt.main||null,Et.subType=Nt.sub||null}else{var _t=["Index","Name","Id"],gt={name:1,dataIndex:1,dataType:1};m.each(ht,function(Ht,kt){for(var ir=!1,Xt=0;Xt<_t.length;Xt++){var mr=_t[Xt],Ar=kt.lastIndexOf(mr);if(Ar>0&&Ar===kt.length-mr.length){var Nr=kt.slice(0,Ar);Nr!=="data"&&(Et.mainType=Nr,Et[mr.toLowerCase()]=Ht,ir=!0)}}gt.hasOwnProperty(kt)&&(pt[kt]=Ht,ir=!0),ir||(vt[kt]=Ht)})}return{cptQuery:Et,dataQuery:pt,otherQuery:vt}},filter:function(ht,Et,pt){var vt=this.eventInfo;if(!vt)return!0;var Nt=vt.targetEl,_t=vt.packedEvent,gt=vt.model,Ht=vt.view;if(!gt||!Ht)return!0;var kt=Et.cptQuery,ir=Et.dataQuery;return Xt(kt,gt,"mainType")&&Xt(kt,gt,"subType")&&Xt(kt,gt,"index","componentIndex")&&Xt(kt,gt,"name")&&Xt(kt,gt,"id")&&Xt(ir,_t,"name")&&Xt(ir,_t,"dataIndex")&&Xt(ir,_t,"dataType")&&(!Ht.filterForExposedEvent||Ht.filterForExposedEvent(ht,Et.otherQuery,Nt,_t));function Xt(mr,Ar,Nr,kr){return mr[Nr]==null||Ar[kr||Nr]===mr[Nr]}},afterTrigger:function(){this.eventInfo=null}};var ae={},lt={},Ze=[],Te=[],Jt=[],mt=[],ft={},bt={},It={},or={},Pt=new Date-0,_e=new Date-0,Ce="_echarts_instance_";function Ee(ht){var Et=0,pt=1,vt=2,Nt="__connectUpdateStatus";function _t(gt,Ht){for(var kt=0;kt<gt.length;kt++){var ir=gt[kt];ir[Nt]=Ht}}F(lt,function(gt,Ht){ht._messageCenter.on(Ht,function(kt){if(or[ht.group]&&ht[Nt]!==Et){if(kt&&kt.escapeConnect)return;var ir=ht.makeActionFromEvent(kt),Xt=[];F(It,function(mr){mr!==ht&&mr.group===ht.group&&Xt.push(mr)}),_t(Xt,Et),F(Xt,function(mr){mr[Nt]!==pt&&mr.dispatchAction(ir)}),_t(Xt,vt)}})})}function we(ht,Et,pt){var vt=Ke(ht);if(vt)return vt;var Nt=new ue(ht,Et,pt);return Nt.id="ec_"+Pt++,It[Nt.id]=Nt,S.setAttribute(ht,Ce,Nt.id),Ee(Nt),Nt}function Fe(ht){if(m.isArray(ht)){var Et=ht;ht=null,F(Et,function(pt){pt.group!=null&&(ht=pt.group)}),ht=ht||"g_"+_e++,F(Et,function(pt){pt.group=ht})}return or[ht]=!0,ht}function Ye(ht){or[ht]=!1}var Ge=Ye;function qe(ht){typeof ht=="string"?ht=It[ht]:ht instanceof ue||(ht=Ke(ht)),ht instanceof ue&&!ht.isDisposed()&&ht.dispose()}function Ke(ht){return It[S.getAttribute(ht,Ce)]}function ct(ht){return It[ht]}function wt(ht,Et){ft[ht]=Et}function Lt(ht){Te.push(ht)}function de(ht,Et){rt(Ze,ht,Et,H)}function xe(ht){Jt.push(ht)}function $(ht,Et,pt){typeof Et=="function"&&(pt=Et,Et="");var vt=j(ht)?ht.type:[ht,ht={event:Et}][0];ht.event=(ht.event||vt).toLowerCase(),Et=ht.event,M(ne.test(vt)&&ne.test(Et)),ae[vt]||(ae[vt]={action:pt,actionInfo:ht}),lt[Et]=vt}function se(ht,Et){o.register(ht,Et)}function Oe(ht){var Et=o.get(ht);if(Et)return Et.getDimensionsInfo?Et.getDimensionsInfo():Et.dimensions.slice()}function ke(ht,Et){rt(mt,ht,Et,Y,"layout")}function Pe(ht,Et){rt(mt,ht,Et,G,"visual")}function rt(ht,Et,pt,vt,Nt){(P(Et)||j(Et))&&(pt=Et,Et=vt);var _t=y.wrapStageHandler(pt,Nt);return _t.__prio=Et,_t.__raw=pt,ht.push(_t),_t}function At(ht,Et){bt[ht]=Et}function Wt(ht){return t.extend(ht)}function $t(ht){return u.extend(ht)}function Rt(ht){return s.extend(ht)}function zt(ht){return p.extend(ht)}function Gt(ht){m.$override("createCanvas",ht)}function Qt(ht,Et,pt){I.registerMap(ht,Et,pt)}function Mt(ht){var Et=I.retrieveMap(ht);return Et&&Et[0]&&{geoJson:Et[0].geoJSON,specialAreas:Et[0].specialAreas}}Pe(me,E),Lt(n),de(X,l),At("default",_),$({type:"highlight",event:"highlight",update:"highlight"},m.noop),$({type:"downplay",event:"downplay",update:"downplay"},m.noop),wt("light",b),wt("dark",O);var dr={};D.version=N,D.dependencies=B,D.PRIORITY=Ue,D.init=we,D.connect=Fe,D.disConnect=Ye,D.disconnect=Ge,D.dispose=qe,D.getInstanceByDom=Ke,D.getInstanceById=ct,D.registerTheme=wt,D.registerPreprocessor=Lt,D.registerProcessor=de,D.registerPostUpdate=xe,D.registerAction=$,D.registerCoordinateSystem=se,D.getCoordinateSystemDimensions=Oe,D.registerLayout=ke,D.registerVisual=Pe,D.registerLoading=At,D.extendComponentModel=Wt,D.extendComponentView=$t,D.extendSeriesModel=Rt,D.extendChartView=zt,D.setCanvasCreator=Gt,D.registerMap=Qt,D.getMap=Mt,D.dataTool=dr;var er=e("txkQ");(function(){for(var ht in er)er.hasOwnProperty(ht)&&(D[ht]=er[ht])})()},Q7if:function(R,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"}}}});R.exports=f},Q9mQ:function(R,D,e){"use strict";var g=e("cIOH"),f=e.n(g),A=e("UADf"),m=e.n(A)},"QB+1":function(R,D,e){"use strict";Object.defineProperty(D,"__esModule",{value:!0}),D.default=void 0;var g=f(e("Ywus"));function f(m){return m&&m.__esModule?m:{default:m}}var A=g;D.default=A,R.exports=A},QBsz:function(R,D){var e=typeof Float32Array=="undefined"?Array:Float32Array;function g(y,b){var O=new e(2);return y==null&&(y=0),b==null&&(b=0),O[0]=y,O[1]=b,O}function f(y,b){return y[0]=b[0],y[1]=b[1],y}function A(y){var b=new e(2);return b[0]=y[0],b[1]=y[1],b}function m(y,b,O){return y[0]=b,y[1]=O,y}function v(y,b,O){return y[0]=b[0]+O[0],y[1]=b[1]+O[1],y}function h(y,b,O,I){return y[0]=b[0]+O[0]*I,y[1]=b[1]+O[1]*I,y}function c(y,b,O){return y[0]=b[0]-O[0],y[1]=b[1]-O[1],y}function a(y){return Math.sqrt(r(y))}var i=a;function r(y){return y[0]*y[0]+y[1]*y[1]}var o=r;function d(y,b,O){return y[0]=b[0]*O[0],y[1]=b[1]*O[1],y}function n(y,b,O){return y[0]=b[0]/O[0],y[1]=b[1]/O[1],y}function l(y,b){return y[0]*b[0]+y[1]*b[1]}function t(y,b,O){return y[0]=b[0]*O,y[1]=b[1]*O,y}function s(y,b){var O=a(b);return O===0?(y[0]=0,y[1]=0):(y[0]=b[0]/O,y[1]=b[1]/O),y}function u(y,b){return Math.sqrt((y[0]-b[0])*(y[0]-b[0])+(y[1]-b[1])*(y[1]-b[1]))}var p=u;function x(y,b){return(y[0]-b[0])*(y[0]-b[0])+(y[1]-b[1])*(y[1]-b[1])}var S=x;function T(y,b){return y[0]=-b[0],y[1]=-b[1],y}function w(y,b,O,I){return y[0]=b[0]+I*(O[0]-b[0]),y[1]=b[1]+I*(O[1]-b[1]),y}function E(y,b,O){var I=b[0],M=b[1];return y[0]=O[0]*I+O[2]*M+O[4],y[1]=O[1]*I+O[3]*M+O[5],y}function C(y,b,O){return y[0]=Math.min(b[0],O[0]),y[1]=Math.min(b[1],O[1]),y}function _(y,b,O){return y[0]=Math.max(b[0],O[0]),y[1]=Math.max(b[1],O[1]),y}D.create=g,D.copy=f,D.clone=A,D.set=m,D.add=v,D.scaleAndAdd=h,D.sub=c,D.len=a,D.length=i,D.lenSquare=r,D.lengthSquare=o,D.mul=d,D.div=n,D.dot=l,D.scale=t,D.normalize=s,D.distance=u,D.dist=p,D.distanceSquare=x,D.distSquare=S,D.negate=T,D.lerp=w,D.applyTransform=E,D.min=C,D.max=_},"QO+J":function(R,D,e){"use strict";Object.defineProperty(D,"__esModule",{value:!0}),D.createSensor=void 0;var g=A(e("NohK")),f=e("24YM");function A(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}};D.createSensor=m},"QQZ/":function(R,D,e){var g=e("Sq3C"),f=e("Z1HP"),A=e("Sxd8"),m=e("dt0z");function v(h,c,a){h=m(h),c=A(c);var i=c?f(h):0;return c&&i<c?g(c-i,a)+h:h}R.exports=v},QUw5:function(R,D,e){var g=e("OlYY"),f=g.extend({type:"dataZoom.select"});R.exports=f},QV2g:function(R,D,e){"use strict";Object.defineProperty(D,"__esModule",{value:!0}),D.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 A(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(R,D,e){},Qe9p:function(R,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 A(b){return b=Math.round(b),b<0?0:b>255?255:b}function m(b){return b=Math.round(b),b<0?0:b>360?360:b}function v(b){return b<0?0:b>1?1:b}function h(b){return b.length&&b.charAt(b.length-1)==="%"?A(parseFloat(b)/100*255):A(parseInt(b,10))}function c(b){return b.length&&b.charAt(b.length-1)==="%"?v(parseFloat(b)/100):v(parseFloat(b))}function a(b,O,I){return I<0?I+=1:I>1&&(I-=1),I*6<1?b+(O-b)*I*6:I*2<1?O:I*3<2?b+(O-b)*(2/3-I)*6:b}function i(b,O,I){return b+(O-b)*I}function r(b,O,I,M,F){return b[0]=O,b[1]=I,b[2]=M,b[3]=F,b}function o(b,O){return b[0]=O[0],b[1]=O[1],b[2]=O[2],b[3]=O[3],b}var d=new g(20),n=null;function l(b,O){n&&o(n,O),n=d.put(b,n||O.slice())}function t(b,O){if(!b)return;O=O||[];var I=d.get(b);if(I)return o(O,I);b=b+"";var M=b.replace(/ /g,"").toLowerCase();if(M in f)return o(O,f[M]),l(b,O),O;if(M.charAt(0)==="#"){if(M.length===4){var F=parseInt(M.substr(1),16);if(!(F>=0&&F<=4095)){r(O,0,0,0,1);return}return r(O,(F&3840)>>4|(F&3840)>>8,F&240|(F&240)>>4,F&15|(F&15)<<4,1),l(b,O),O}else if(M.length===7){var F=parseInt(M.substr(1),16);if(!(F>=0&&F<=16777215)){r(O,0,0,0,1);return}return r(O,(F&16711680)>>16,(F&65280)>>8,F&255,1),l(b,O),O}return}var P=M.indexOf("("),j=M.indexOf(")");if(P!==-1&&j+1===M.length){var K=M.substr(0,P),N=M.substr(P+1,j-(P+1)).split(","),B=1;switch(K){case"rgba":if(N.length!==4){r(O,0,0,0,1);return}B=c(N.pop());case"rgb":if(N.length!==3){r(O,0,0,0,1);return}return r(O,h(N[0]),h(N[1]),h(N[2]),B),l(b,O),O;case"hsla":if(N.length!==4){r(O,0,0,0,1);return}return N[3]=c(N[3]),s(N,O),l(b,O),O;case"hsl":if(N.length!==3){r(O,0,0,0,1);return}return s(N,O),l(b,O),O;default:return}}r(O,0,0,0,1);return}function s(b,O){var I=(parseFloat(b[0])%360+360)%360/360,M=c(b[1]),F=c(b[2]),P=F<=.5?F*(M+1):F+M-F*M,j=F*2-P;return O=O||[],r(O,A(a(j,P,I+1/3)*255),A(a(j,P,I)*255),A(a(j,P,I-1/3)*255),1),b.length===4&&(O[3]=b[3]),O}function u(b){if(!b)return;var O=b[0]/255,I=b[1]/255,M=b[2]/255,F=Math.min(O,I,M),P=Math.max(O,I,M),j=P-F,K=(P+F)/2,N,B;if(j===0)N=0,B=0;else{K<.5?B=j/(P+F):B=j/(2-P-F);var U=((P-O)/6+j/2)/j,H=((P-I)/6+j/2)/j,z=((P-M)/6+j/2)/j;O===P?N=z-H:I===P?N=1/3+U-z:M===P&&(N=2/3+H-U),N<0&&(N+=1),N>1&&(N-=1)}var X=[N*360,B,K];return b[3]!=null&&X.push(b[3]),X}function p(b,O){var I=t(b);if(I){for(var M=0;M<3;M++)O<0?I[M]=I[M]*(1-O)|0:I[M]=(255-I[M])*O+I[M]|0,I[M]>255?I[M]=255:b[M]<0&&(I[M]=0);return y(I,I.length===4?"rgba":"rgb")}}function x(b){var O=t(b);if(O)return((1<<24)+(O[0]<<16)+(O[1]<<8)+ +O[2]).toString(16).slice(1)}function S(b,O,I){if(!(O&&O.length)||!(b>=0&&b<=1))return;I=I||[];var M=b*(O.length-1),F=Math.floor(M),P=Math.ceil(M),j=O[F],K=O[P],N=M-F;return I[0]=A(i(j[0],K[0],N)),I[1]=A(i(j[1],K[1],N)),I[2]=A(i(j[2],K[2],N)),I[3]=v(i(j[3],K[3],N)),I}var T=S;function w(b,O,I){if(!(O&&O.length)||!(b>=0&&b<=1))return;var M=b*(O.length-1),F=Math.floor(M),P=Math.ceil(M),j=t(O[F]),K=t(O[P]),N=M-F,B=y([A(i(j[0],K[0],N)),A(i(j[1],K[1],N)),A(i(j[2],K[2],N)),v(i(j[3],K[3],N))],"rgba");return I?{color:B,leftIndex:F,rightIndex:P,value:M}:B}var E=w;function C(b,O,I,M){if(b=t(b),b)return b=u(b),O!=null&&(b[0]=m(O)),I!=null&&(b[1]=c(I)),M!=null&&(b[2]=c(M)),y(s(b),"rgba")}function _(b,O){if(b=t(b),b&&O!=null)return b[3]=v(O),y(b,"rgba")}function y(b,O){if(!b||!b.length)return;var I=b[0]+","+b[1]+","+b[2];return(O==="rgba"||O==="hsva"||O==="hsla")&&(I+=","+b[3]),O+"("+I+")"}D.parse=t,D.lift=p,D.toHex=x,D.fastLerp=S,D.fastMapToColor=T,D.lerp=w,D.mapToColor=E,D.modifyHSL=C,D.modifyAlpha=_,D.stringify=y},Qi1f:function(R,D,e){"use strict";e.d(D,"g",function(){return r}),e.d(D,"c",function(){return o}),e.d(D,"a",function(){return n}),e.d(D,"b",function(){return l}),e.d(D,"d",function(){return t}),e.d(D,"e",function(){return s}),e.d(D,"f",function(){return x});var g=e("VTBJ"),f=e("U8pU"),A=e("HXN9"),m=e.n(A),v=e("q1tI"),h=e.n(v),c=e("Kwbf"),a=e("Gu+u"),i=e.n(a);function r(S,T){Object(c.a)(S,"[@ant-design/icons] ".concat(T))}function o(S){return Object(f.a)(S)==="object"&&typeof S.name=="string"&&typeof S.theme=="string"&&(Object(f.a)(S.icon)==="object"||typeof S.icon=="function")}function d(){var S=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};return Object.keys(S).reduce(function(T,w){var E=S[w];switch(w){case"class":T.className=E,delete T.class;break;default:T[w]=E}return T},{})}function n(S,T,w){return w?h.a.createElement(S.tag,Object(g.a)(Object(g.a)({key:T},d(S.attrs)),w),(S.children||[]).map(function(E,C){return n(E,"".concat(T,"-").concat(S.tag,"-").concat(C))})):h.a.createElement(S.tag,Object(g.a)({key:T},d(S.attrs)),(S.children||[]).map(function(E,C){return n(E,"".concat(T,"-").concat(S.tag,"-").concat(C))}))}function l(S){return Object(A.generate)(S)[0]}function t(S){return S?Array.isArray(S)?S:[S]:[]}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,x=function(){var T=arguments.length>0&&arguments[0]!==void 0?arguments[0]:u;Object(v.useEffect)(function(){p||(Object(a.insertCss)(T,{prepend:!0}),p=!0)},[])}},QkVE:function(R,D,e){var g=e("EpBk");function f(A,m){var v=A.__data__;return g(m)?v[typeof m=="string"?"string":"hash"]:v.map}R.exports=f},QoRX:function(R,D){function e(g,f){for(var A=-1,m=g==null?0:g.length;++A<m;)if(f(g[A],A,g))return!0;return!1}R.exports=e},QqLw:function(R,D,e){var g=e("tadb"),f=e("ebwN"),A=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(A),u=c(m),p=c(v),x=h;(g&&x(new g(new ArrayBuffer(1)))!=n||f&&x(new f)!=a||A&&x(A.resolve())!=r||m&&x(new m)!=o||v&&x(new v)!=d)&&(x=function(S){var T=h(S),w=T==i?S.constructor:void 0,E=w?c(w):"";if(E)switch(E){case l:return n;case t:return a;case s:return r;case u:return o;case p:return d}return T}),R.exports=x},Qs3X:function(R,D,e){"use strict";Object.defineProperty(D,"__esModule",{value:!0}),D.default=void 0;var g=f(e("X+im"));function f(m){return m&&m.__esModule?m:{default:m}}var A=g;D.default=A,R.exports=A},Qs9O:function(R,D,e){"use strict";Object.defineProperty(D,"__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"};D.default=g},QuXc:function(R,D){var e=function(A){this.colorStops=A||[]};e.prototype={constructor:e,addColorStop:function(A,m){this.colorStops.push({offset:A,color:m})}};var g=e;R.exports=g},Qvb6:function(R,D,e){var g=e("ProS"),f=e("bYtY"),A=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,x=c.parsePercent,S=new a.Rect({shape:{x:-1,y:-1,width:2,height:2}}),T=g.extendComponentView({type:"tooltip",init:function(O,I){if(A.node)return;var M=O.getComponent("tooltip"),F=M.get("renderMode");this._renderMode=s(F);var P;this._renderMode==="html"?(P=new m(I.getDom(),I,{appendToBody:M.get("appendToBody",!0)}),this._newLine="<br/>"):(P=new v(I),this._newLine=`
|
|
|
`),this._tooltipContent=P},render:function(O,I,M){if(A.node)return;this.group.removeAll(),this._tooltipModel=O,this._ecModel=I,this._api=M,this._lastDataByCoordSys=null,this._alwaysShowContent=O.get("alwaysShowContent");var F=this._tooltipContent;F.update(),F.setEnterable(O.get("enterable")),this._initGlobalListener(),this._keepShow()},_initGlobalListener:function(){var O=this._tooltipModel,I=O.get("triggerOn");d.register("itemTooltip",this._api,u(function(M,F,P){I!=="none"&&(I.indexOf(M)>=0?this._tryShow(F,P):M==="leave"&&this._hide(P))},this))},_keepShow:function(){var O=this._tooltipModel,I=this._ecModel,M=this._api;if(this._lastX!=null&&this._lastY!=null&&O.get("triggerOn")!=="none"){var F=this;clearTimeout(this._refreshUpdateTimeout),this._refreshUpdateTimeout=setTimeout(function(){!M.isDisposed()&&F.manuallyShowTip(O,I,M,{x:F._lastX,y:F._lastY})})}},manuallyShowTip:function(O,I,M,F){if(F.from===this.uid||A.node)return;var P=E(F,M);this._ticket="";var j=F.dataByCoordSys;if(F.tooltip&&F.x!=null&&F.y!=null){var K=S;K.position=[F.x,F.y],K.update(),K.tooltip=F.tooltip,this._tryShow({offsetX:F.x,offsetY:F.y,target:K},P)}else if(j)this._tryShow({offsetX:F.x,offsetY:F.y,position:F.position,dataByCoordSys:F.dataByCoordSys,tooltipOption:F.tooltipOption},P);else if(F.seriesIndex!=null){if(this._manuallyAxisShowTip(O,I,M,F))return;var N=i(F,I),B=N.point[0],U=N.point[1];B!=null&&U!=null&&this._tryShow({offsetX:B,offsetY:U,position:F.position,target:N.el},P)}else F.x!=null&&F.y!=null&&(M.dispatchAction({type:"updateAxisPointer",x:F.x,y:F.y}),this._tryShow({offsetX:F.x,offsetY:F.y,position:F.position,target:M.getZr().findHover(F.x,F.y).target},P))},manuallyHideTip:function(O,I,M,F){var P=this._tooltipContent;!this._alwaysShowContent&&this._tooltipModel&&P.hideLater(this._tooltipModel.get("hideDelay")),this._lastX=this._lastY=null,F.from!==this.uid&&this._hide(E(F,M))},_manuallyAxisShowTip:function(O,I,M,F){var P=F.seriesIndex,j=F.dataIndex,K=I.getComponent("axisPointer").coordSysAxesInfo;if(P==null||j==null||K==null)return;var N=I.getSeriesByIndex(P);if(!N)return;var B=N.getData(),O=w([B.getItemModel(j),N,(N.coordinateSystem||{}).model,O]);return O.get("trigger")!=="axis"?void 0:(M.dispatchAction({type:"updateAxisPointer",seriesIndex:P,dataIndex:j,position:F.position}),!0)},_tryShow:function(O,I){var M=O.target,F=this._tooltipModel;if(!F)return;this._lastX=O.offsetX,this._lastY=O.offsetY;var P=O.dataByCoordSys;P&&P.length?this._showAxisTooltip(P,O):M&&M.dataIndex!=null?(this._lastDataByCoordSys=null,this._showSeriesItemTooltip(O,M,I)):M&&M.tooltip?(this._lastDataByCoordSys=null,this._showComponentItemTooltip(O,M,I)):(this._lastDataByCoordSys=null,this._hide(I))},_showOrMove:function(O,I){var M=O.get("showDelay");I=f.bind(I,this),clearTimeout(this._showTimout),M>0?this._showTimout=setTimeout(I,M):I()},_showAxisTooltip:function(O,I){var M=this._ecModel,F=this._tooltipModel,P=[I.offsetX,I.offsetY],j=[],K=[],N=w([I.tooltipOption,F]),B=this._renderMode,U=this._newLine,H={};p(O,function(X){p(X.dataByAxis,function(W){var Y=M.getComponent(W.axisDim+"Axis",W.axisIndex),q=W.value,me=[];if(!Y||q==null)return;var G=l.getValueLabel(q,Y.axis,M,W.seriesDataIndices,W.valueLabelOpt);f.each(W.seriesDataIndices,function(Ae){var ve=M.getSeriesByIndex(Ae.seriesIndex),Ue=Ae.dataIndexInside,Me=ve&&ve.getDataParams(Ue);if(Me.axisDim=W.axisDim,Me.axisIndex=W.axisIndex,Me.axisType=W.axisType,Me.axisId=W.axisId,Me.axisValue=n.getAxisRawValue(Y.axis,q),Me.axisValueLabel=G,Me){K.push(Me);var nt=ve.formatTooltip(Ue,!0,null,B),ne;if(f.isObject(nt)){ne=nt.html;var be=nt.markers;f.merge(H,be)}else ne=nt;me.push(ne)}});var ye=G;B!=="html"?j.push(me.join(U)):j.push((ye?h.encodeHTML(ye)+U:"")+me.join(U))})},this),j.reverse(),j=j.join(this._newLine+this._newLine);var z=I.position;this._showOrMove(N,function(){this._updateContentNotChangedOnAxis(O)?this._updatePosition(N,z,P[0],P[1],this._tooltipContent,K):this._showTooltipContent(N,j,K,Math.random(),P[0],P[1],z,void 0,H)})},_showSeriesItemTooltip:function(O,I,M){var F=this._ecModel,P=I.seriesIndex,j=F.getSeriesByIndex(P),K=I.dataModel||j,N=I.dataIndex,B=I.dataType,U=K.getData(B),H=w([U.getItemModel(N),K,j&&(j.coordinateSystem||{}).model,this._tooltipModel]),z=H.get("trigger");if(z!=null&&z!=="item")return;var X=K.getDataParams(N,B),W=K.formatTooltip(N,!1,B,this._renderMode),Y,q;f.isObject(W)?(Y=W.html,q=W.markers):(Y=W,q=null);var me="item_"+K.name+"_"+N;this._showOrMove(H,function(){this._showTooltipContent(H,Y,X,me,O.offsetX,O.offsetY,O.position,O.target,q)}),M({type:"showTip",dataIndexInside:N,dataIndex:U.getRawIndex(N),seriesIndex:P,from:this.uid})},_showComponentItemTooltip:function(O,I,M){var F=I.tooltip;if(typeof F=="string"){var P=F;F={content:P,formatter:P}}var j=new o(F,this._tooltipModel,this._ecModel),K=j.get("content"),N=Math.random();this._showOrMove(j,function(){this._showTooltipContent(j,K,j.get("formatterParams")||{},N,O.offsetX,O.offsetY,O.position,I)}),M({type:"showTip",from:this.uid})},_showTooltipContent:function(O,I,M,F,P,j,K,N,B){if(this._ticket="",!O.get("showContent")||!O.get("show"))return;var U=this._tooltipContent,H=O.get("formatter");K=K||O.get("position");var z=I;if(H&&typeof H=="string")z=h.formatTpl(H,M,!0);else if(typeof H=="function"){var X=u(function(W,Y){W===this._ticket&&(U.setContent(Y,B,O),this._updatePosition(O,K,P,j,U,M,N))},this);this._ticket=F,z=H(M,F,X)}U.setContent(z,B,O),U.show(O),this._updatePosition(O,K,P,j,U,M,N)},_updatePosition:function(O,I,M,F,P,j,K){var N=this._api.getWidth(),B=this._api.getHeight();I=I||O.get("position");var U=P.getSize(),H=O.get("align"),z=O.get("verticalAlign"),X=K&&K.getBoundingRect().clone();if(K&&X.applyTransform(K.transform),typeof I=="function"&&(I=I([M,F],j,P.el,X,{viewSize:[N,B],contentSize:U.slice()})),f.isArray(I))M=x(I[0],N),F=x(I[1],B);else if(f.isObject(I)){I.width=U[0],I.height=U[1];var W=r.getLayoutRect(I,{width:N,height:B});M=W.x,F=W.y,H=null,z=null}else if(typeof I=="string"&&K){var Y=y(I,X,U);M=Y[0],F=Y[1]}else{var Y=C(M,F,P,N,B,H?null:20,z?null:20);M=Y[0],F=Y[1]}if(H&&(M-=b(H)?U[0]/2:H==="right"?U[0]:0),z&&(F-=b(z)?U[1]/2:z==="bottom"?U[1]:0),O.get("confine")){var Y=_(M,F,P,N,B);M=Y[0],F=Y[1]}P.moveTo(M,F)},_updateContentNotChangedOnAxis:function(O){var I=this._lastDataByCoordSys,M=!!I&&I.length===O.length;return M&&p(I,function(F,P){var j=F.dataByAxis||{},K=O[P]||{},N=K.dataByAxis||[];M&=j.length===N.length,M&&p(j,function(B,U){var H=N[U]||{},z=B.seriesDataIndices||[],X=H.seriesDataIndices||[];M&=B.value===H.value&&B.axisType===H.axisType&&B.axisId===H.axisId&&z.length===X.length,M&&p(z,function(W,Y){var q=X[Y];M&=W.seriesIndex===q.seriesIndex&&W.dataIndex===q.dataIndex})})}),this._lastDataByCoordSys=O,!!M},_hide:function(O){this._lastDataByCoordSys=null,O({type:"hideTip",from:this.uid})},dispose:function(O,I){if(A.node)return;this._tooltipContent.dispose(),d.unregister("itemTooltip",I)}});function w(O){for(var I=O.pop();O.length;){var M=O.pop();M&&(o.isInstance(M)&&(M=M.get("tooltip",!0)),typeof M=="string"&&(M={formatter:M}),I=new o(M,I,I.ecModel))}return I}function E(O,I){return O.dispatchAction||f.bind(I.dispatchAction,I)}function C(O,I,M,F,P,j,K){var N=M.getOuterSize(),B=N.width,U=N.height;return j!=null&&(O+B+j>F?O-=B+j:O+=j),K!=null&&(I+U+K>P?I-=U+K:I+=K),[O,I]}function _(O,I,M,F,P){var j=M.getOuterSize(),K=j.width,N=j.height;return O=Math.min(O+K,F)-K,I=Math.min(I+N,P)-N,O=Math.max(O,0),I=Math.max(I,0),[O,I]}function y(O,I,M){var F=M[0],P=M[1],j=5,K=0,N=0,B=I.width,U=I.height;switch(O){case"inside":K=I.x+B/2-F/2,N=I.y+U/2-P/2;break;case"top":K=I.x+B/2-F/2,N=I.y-P-j;break;case"bottom":K=I.x+B/2-F/2,N=I.y+U+j;break;case"left":K=I.x-F-j,N=I.y+U/2-P/2;break;case"right":K=I.x+B+j,N=I.y+U/2-P/2}return[K,N]}function b(O){return O==="center"||O==="middle"}R.exports=T},Qxkt:function(R,D,e){var g=e("bYtY"),f=e("ItGF"),A=e("4NO4"),m=A.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,x,S){this.parentModel=x,this.ecModel=S,this.option=p}l.prototype={constructor:l,init:null,mergeOption:function(p){g.merge(this.option,p,!0)},get:function(p,x){return p==null?this.option:t(this.option,this.parsePath(p),!x&&s(this,p))},getShallow:function(p,x){var S=this.option,T=S==null?S:S[p],w=!x&&s(this,p);return T==null&&w&&(T=w.getShallow(p)),T},getModel:function(p,x){var S=p==null?this.option:t(this.option,p=this.parsePath(p)),T;return x=x||(T=s(this,p))&&T.getModel(p),new l(S,x,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,x,S){for(var T=0;T<x.length;T++){if(!x[T])continue;if(p=p&&typeof p=="object"?p[x[T]]:null,p==null)break}return p==null&&S&&(p=S.get(x)),p}function s(p,x){var S=n(p).getParent;return S?S.call(p,x):p.parentModel}h(l),c(l),d(l,a),d(l,i),d(l,r),d(l,o);var u=l;R.exports=u},QyFq:function(R,D,e){"use strict";Object.defineProperty(D,"__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"};D.default=g},QzjZ:function(R,D,e){var g=e("S/Yl"),f=e("IDmD");function A(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:A,dimensions:g.prototype.dimensions})},R4Th:function(R,D,e){var g=e("ProS"),f=e("9wZj"),A=e("yO87"),m=e("Fofx"),v=e("h8O9"),h=g.extendChartView({type:"effectScatter",init:function(){this._symbolDraw=new f(A)},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(){}});R.exports=h},R9oj:function(R,D,e){"use strict";var g=e("cIOH"),f=e.n(g),A=e("pwpV"),m=e.n(A)},RBEP:function(R,D,e){for(var g=e("ProS"),f=e("VaxA"),A=function(){},m=["treemapZoomToNode","treemapRender","treemapMove"],v=0;v<m.length;v++)g.registerAction({type:m[v],update:"updateView"},A);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(R,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"},A=f,m=e("6VBw"),v=function(a,i){return g.createElement(m.a,Object.assign({},a,{ref:i,icon:A}))};v.displayName="ExclamationCircleOutlined";var h=D.a=g.forwardRef(v)},RDYZ:function(R,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 A=f;R.exports=A},RELg:function(R,D,e){var g=e("MFOe"),f=g.Global;R.exports={name:"oldIE-userDataStorage",write:c,read:a,each:i,remove:r,clearAll:o};var A="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(A)})}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 x=u[p];t(s.getAttribute(x.name),x.name)}})}function r(t){var s=n(t);v(function(u){u.removeAttribute(s),u.save(A)})}function o(){v(function(t){var s=t.XMLDocument.documentElement.attributes;t.load(A);for(var u=s.length-1;u>=0;u--)t.removeAttribute(s[u].name);t.save(A)})}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(x){p=m.createElement("div"),s=m.body}return function(x){var S=[].slice.call(arguments,0);S.unshift(p),s.appendChild(p),p.addBehavior("#default#userData"),p.load(A),x.apply(this,S),s.removeChild(p);return}}},RPvy:function(R,D,e){var g=e("ProS"),f=e("VaxA"),A="sunburstRootToNode";g.registerAction({type:A,update:"updateView"},function(h,c){c.eachComponent({mainType:"series",subType:"sunburst",query:h},a);function a(i,r){var o=f.retrieveTargetInfo(h,[A],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(R,D,e){var g=e("IwbS"),f=e("bYtY");function A(h,c,a){g.Group.call(this),this._createPolyline(h,c,a)}var m=A.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(A,g.Group);var v=A;R.exports=v},RXMa:function(R,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)}});R.exports=f},RZPm:function(R,D,e){"use strict";var g=e("TqRt"),f=e("284h");Object.defineProperty(D,"__esModule",{value:!0}),D.default=void 0;var A=f(e("q1tI")),m=g(e("JgUQ")),v=g(e("KQxl")),h=function(i,r){return A.createElement(v.default,Object.assign({},i,{ref:r,icon:m.default}))};h.displayName="FileOutlined";var c=A.forwardRef(h);D.default=c},RlCK:function(R,D,e){var g=e("ProS"),f=e("bYtY");function A(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(A,"toggleSelected")),g.registerAction("legendAllSelect","legendselectall",f.curry(A,"allSelect")),g.registerAction("legendInverseSelect","legendinverseselect",f.curry(A,"inverseSelect")),g.registerAction("legendSelect","legendselected",f.curry(A,"select")),g.registerAction("legendUnSelect","legendunselected",f.curry(A,"unSelect"))},RotF:function(R,D,e){R.exports=e("LSTS")},Rx6q:function(R,D){function e(g){var f=g.getRect(),A=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:A.start,end:A.end,weeks:A.weeks,dayCount:A.allDay}},api:{coord:function(m,v){return g.dataToPoint(m,v)}}}}R.exports=e},"S/Yl":function(R,D,e){var g=e("Zvw2"),f=e("aX7z"),A=e("+TT/"),m=A.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;R.exports=a},"SA+Z":function(R,D,e){var g=e("wTVA"),f=e("EbDI"),A=e("ZhPi"),m=e("wkBT");function v(h){return g(h)||f(h)||A(h)||m()}R.exports=v},"SA4+":function(R,D,e){var g=e("Tghj"),f=g.__DEV__,A=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 x=d[p].interval;if(x[0]<=u&&u<=x[1]){s=p;break}}if(p===t)for(var p=s-1;p>=0;p--){var x=d[p].interval;if(x[0]<=u&&u<=x[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=A.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 x=s.getAxis("x"),S=s.getAxis("y");u=x.getBandWidth(),p=S.getBandWidth()}for(var T=this.group,w=o.getData(),E="itemStyle",C="emphasis.itemStyle",_="label",y="emphasis.label",b=o.getModel(E).getItemStyle(["color"]),O=o.getModel(C).getItemStyle(),I=o.getModel(_),M=o.getModel(y),F=s.type,P=F==="cartesian2d"?[w.mapDimension("x"),w.mapDimension("y"),w.mapDimension("value")]:[w.mapDimension("time"),w.mapDimension("value")],j=n;j<l;j++){var K;if(F==="cartesian2d"){if(isNaN(w.get(P[2],j)))continue;var N=s.dataToPoint([w.get(P[0],j),w.get(P[1],j)]);K=new m.Rect({shape:{x:Math.floor(Math.round(N[0])-u/2),y:Math.floor(Math.round(N[1])-p/2),width:Math.ceil(u),height:Math.ceil(p)},style:{fill:w.getItemVisual(j,"color"),opacity:w.getItemVisual(j,"opacity")}})}else{if(isNaN(w.get(P[1],j)))continue;K=new m.Rect({z2:1,shape:s.dataToRect([w.get(P[0],j)]).contentShape,style:{fill:w.getItemVisual(j,"color"),opacity:w.getItemVisual(j,"opacity")}})}var B=w.getItemModel(j);w.hasItemOption&&(b=B.getModel(E).getItemStyle(["color"]),O=B.getModel(C).getItemStyle(),I=B.getModel(_),M=B.getModel(y));var U=o.getRawValue(j),H="-";U&&U[2]!=null&&(H=U[2]),m.setLabelStyle(b,O,I,M,{labelFetcher:o,labelDataIndex:j,defaultText:H,isRectText:!0}),K.setStyle(b),m.setHoverStyle(K,w.hasItemOption?O:h.extend({},O)),K.incremental=t,t&&(K.useHoverLayer=!0),T.add(K),w.setItemGraphicEl(j,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 x=o.getViewRect().clone(),S=o.getRoamTransform();x.applyTransform(S);var T=Math.max(x.x,0),w=Math.max(x.y,0),E=Math.min(x.width+x.x,l.getWidth()),C=Math.min(x.height+x.y,l.getHeight()),_=E-T,y=C-w,b=[u.mapDimension("lng"),u.mapDimension("lat"),u.mapDimension("value")],O=u.mapArray(b,function(P,j,K){var N=o.dataToPoint([P,j]);return N[0]-=T,N[1]-=w,N.push(K),N}),I=n.getExtent(),M=n.type==="visualMap.continuous"?a(I,n.option.range):c(I,n.getPieceList(),n.option.selected);p.update(O,_,y,t.color.getNormalizer(),{inRange:t.color.getColorMapper(),outOfRange:s.color.getColorMapper()},M);var F=new m.Image({style:{width:_,height:y,x:T,y:w,image:p.canvas},silent:!0});this.group.add(F)},dispose:function(){}});R.exports=r},SA8n:function(R,D,e){var g=e("Sj9i"),f=e("QBsz"),A=e("U/Mo"),m=A.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],x=Infinity,S,T=t*t,w=.1,E=.1;E<=.9;E+=.1){v[0]=a(s[0],u[0],p[0],E),v[1]=a(s[1],u[1],p[1],E);var C=r(i(v,l)-T);C<x&&(x=C,S=E)}for(var _=0;_<32;_++){var y=S+w;h[0]=a(s[0],u[0],p[0],S),h[1]=a(s[1],u[1],p[1],S),c[0]=a(s[0],u[0],p[0],y),c[1]=a(s[1],u[1],p[1],y);var C=i(h,l)-T;if(r(C)<.01)break;var b=i(c,l)-T;w/=2,C<0?b>=0?S=S+w:S=S-w:b>=0?S=S-w:S=S+w}return S}function d(n,l){var t=[],s=g.quadraticSubdivide,u=[[],[],[]],p=[[],[]],x=[];l/=2,n.eachEdge(function(S,T){var w=S.getLayout(),E=S.getVisual("fromSymbol"),C=S.getVisual("toSymbol");w.__original||(w.__original=[f.clone(w[0]),f.clone(w[1])],w[2]&&w.__original.push(f.clone(w[2])));var _=w.__original;if(w[2]!=null){if(f.copy(u[0],_[0]),f.copy(u[1],_[2]),f.copy(u[2],_[1]),E&&E!=="none"){var y=m(S.node1),b=o(u,_[0],y*l);s(u[0][0],u[1][0],u[2][0],b,t),u[0][0]=t[3],u[1][0]=t[4],s(u[0][1],u[1][1],u[2][1],b,t),u[0][1]=t[3],u[1][1]=t[4]}if(C&&C!=="none"){var y=m(S.node2),b=o(u,_[1],y*l);s(u[0][0],u[1][0],u[2][0],b,t),u[1][0]=t[1],u[2][0]=t[2],s(u[0][1],u[1][1],u[2][1],b,t),u[1][1]=t[1],u[2][1]=t[2]}f.copy(w[0],u[0]),f.copy(w[1],u[2]),f.copy(w[2],u[1])}else{if(f.copy(p[0],_[0]),f.copy(p[1],_[1]),f.sub(x,p[1],p[0]),f.normalize(x,x),E&&E!=="none"){var y=m(S.node1);f.scaleAndAdd(p[0],p[0],x,y*l)}if(C&&C!=="none"){var y=m(S.node2);f.scaleAndAdd(p[1],p[1],x,-y*l)}f.copy(w[0],p[0]),f.copy(w[1],p[1])}})}R.exports=d},SJMd:function(R,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,A=!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"],x=[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"],S=[i,"case,done,elif,esac,eval,fi,function,in,local,set,then,until"],T=[d,l,n,s,u,p,x,S],w=/^(DIR|FILE|array|vector|(de|priority_)?queue|(forward_)?list|stack|(const_)?(reverse_)?iterator|(unordered_)?(multi)?(set|map)|bitset|u?(int|float)\d*)\b/,E="str",C="kwd",_="com",y="typ",b="lit",O="pun",I="pln",M="tag",F="dec",P="src",j="atn",K="atv",N="nocode",B="(?:^^\\.?|[+-]|[!=]=?=?|\\#|%=?|&&?=?|\\(|\\*=?|[+\\-]=|->|\\/=?|::?|<<?=?|>>?>?=?|,|;|\\?|@|\\[|~|{|\\^\\^?=?|\\|\\|?=?|break|case|continue|delete|do|else|finally|instanceof|return|throw|try|typeof)\\s*";function U(ue){for(var Q=0,V=!1,J=!1,fe=0,oe=ue.length;fe<oe;++fe){var Le=ue[fe];if(Le.ignoreCase)J=!0;else if(/[a-z]/i.test(Le.source.replace(/\\u[0-9a-f]{4}|\\x[0-9a-f]{2}|\\[^ux]/gi,""))){V=!0,J=!1;break}}var he={b:8,t:9,n:10,v:11,f:12,r:13};function te(dt){var De=dt.charCodeAt(0);if(De!==92)return De;var Tt=dt.charAt(1);return De=he[Tt],De||("0"<=Tt&&Tt<="7"?parseInt(dt.substring(1),8):Tt==="u"||Tt==="x"?parseInt(dt.substring(2),16):dt.charCodeAt(1))}function Z(dt){if(dt<32)return(dt<16?"\\x0":"\\x")+dt.toString(16);var De=String.fromCharCode(dt);return De==="\\"||De==="-"||De==="]"||De==="^"?"\\"+De:De}function ge(dt){var De=dt.substring(1,dt.length-1).match(new RegExp("\\\\u[0-9A-Fa-f]{4}|\\\\x[0-9A-Fa-f]{2}|\\\\[0-3][0-7]{0,2}|\\\\[0-7]{1,2}|\\\\[\\s\\S]|-|[^-\\\\]","g")),Tt=[],je=De[0]==="^",st=["["];je&&st.push("^");for(var Xe=je?1:0,Je=De.length;Xe<Je;++Xe){var et=De[Xe];if(/\\[bdsw]/i.test(et))st.push(et);else{var at=te(et),Ve;Xe+2<Je&&De[Xe+1]==="-"?(Ve=te(De[Xe+2]),Xe+=2):Ve=at,Tt.push([at,Ve]),Ve<65||at>122||(Ve<65||at>90||Tt.push([Math.max(65,at)|32,Math.min(Ve,90)|32]),Ve<97||at>122||Tt.push([Math.max(97,at)&~32,Math.min(Ve,122)&~32]))}}Tt.sort(function(Ze,Te){return Ze[0]-Te[0]||Te[1]-Ze[1]});for(var le=[],ae=[],Xe=0;Xe<Tt.length;++Xe){var lt=Tt[Xe];lt[0]<=ae[1]+1?ae[1]=Math.max(ae[1],lt[1]):le.push(ae=lt)}for(var Xe=0;Xe<le.length;++Xe){var lt=le[Xe];st.push(Z(lt[0])),lt[1]>lt[0]&&(lt[1]+1>lt[0]&&st.push("-"),st.push(Z(lt[1])))}return st.push("]"),st.join("")}function Re(dt){for(var De=dt.source.match(new RegExp("(?:\\[(?:[^\\x5C\\x5D]|\\\\[\\s\\S])*\\]|\\\\u[A-Fa-f0-9]{4}|\\\\x[A-Fa-f0-9]{2}|\\\\[0-9]+|\\\\[^ux0-9]|\\(\\?[:!=]|[\\(\\)\\^]|[^\\x5B\\x5C\\(\\)\\^]+)","g")),Tt=De.length,je=[],st=0,Xe=0;st<Tt;++st){var Je=De[st];if(Je==="(")++Xe;else if(Je.charAt(0)==="\\"){var et=+Je.substring(1);et&&(et<=Xe?je[et]=-1:De[st]=Z(et))}}for(var st=1;st<je.length;++st)je[st]===-1&&(je[st]=++Q);for(var st=0,Xe=0;st<Tt;++st){var Je=De[st];if(Je==="(")++Xe,je[Xe]||(De[st]="(?:");else if(Je.charAt(0)==="\\"){var et=+Je.substring(1);et&&et<=Xe&&(De[st]="\\"+je[et])}}for(var st=0;st<Tt;++st)De[st]==="^"&&De[st+1]!=="^"&&(De[st]="");if(dt.ignoreCase&&V)for(var st=0;st<Tt;++st){var Je=De[st],at=Je.charAt(0);Je.length>=2&&at==="["?De[st]=ge(Je):at!=="\\"&&(De[st]=Je.replace(/[a-zA-Z]/g,function(ae){var lt=ae.charCodeAt(0);return"["+String.fromCharCode(lt&~32,lt|32)+"]"}))}return De.join("")}for(var ze=[],fe=0,oe=ue.length;fe<oe;++fe){var Le=ue[fe];if(Le.global||Le.multiline)throw new Error(""+Le);ze.push("(?:"+Re(Le)+")")}return new RegExp(ze.join("|"),J?"gi":"g")}function H(ue,Q){var V=/(?:^|\s)nocode(?:\s|$)/,J=[],fe=0,oe=[],Le=0;function he(te){var Z=te.nodeType;if(Z==1){if(V.test(te.className))return;for(var ge=te.firstChild;ge;ge=ge.nextSibling)he(ge);var Re=te.nodeName.toLowerCase();(Re==="br"||Re==="li")&&(J[Le]=`
|
|
|
`,oe[Le<<1]=fe++,oe[Le++<<1|1]=te)}else if(Z==3||Z==4){var ze=te.nodeValue;ze.length&&(Q?ze=ze.replace(/\r\n?/g,`
|
|
|
`):ze=ze.replace(/[ \t\r\n]+/g," "),J[Le]=ze,oe[Le<<1]=fe,fe+=ze.length,oe[Le++<<1|1]=te)}}return he(ue),{sourceCode:J.join("").replace(/\n$/,""),spans:oe}}function z(ue,Q,V,J,fe){if(!V)return;var oe={sourceNode:ue,pre:1,langExtension:null,numberLines:null,sourceCode:V,spans:null,basePos:Q,decorations:null};J(oe),fe.push.apply(fe,oe.decorations)}var X=/\S/;function W(ue){for(var Q=void 0,V=ue.firstChild;V;V=V.nextSibling){var J=V.nodeType;Q=J===1?Q?ue:V:J===3&&X.test(V.nodeValue)?ue:Q}return Q===ue?void 0:Q}function Y(ue,Q){var V={},J;(function(){for(var Le=ue.concat(Q),he=[],te={},Z=0,ge=Le.length;Z<ge;++Z){var Re=Le[Z],ze=Re[3];if(ze)for(var dt=ze.length;--dt>=0;)V[ze.charAt(dt)]=Re;var De=Re[1],Tt=""+De;te.hasOwnProperty(Tt)||(he.push(De),te[Tt]=null)}he.push(/[\0-\uffff]/),J=U(he)})();var fe=Q.length,oe=function Le(he){for(var te=he.sourceCode,Z=he.basePos,ge=he.sourceNode,Re=[Z,I],ze=0,dt=te.match(J)||[],De={},Tt=0,je=dt.length;Tt<je;++Tt){var st=dt[Tt],Xe=De[st],Je=void 0,et;if(typeof Xe=="string")et=!1;else{var at=V[st.charAt(0)];if(at)Je=st.match(at[1]),Xe=at[0];else{for(var Ve=0;Ve<fe;++Ve)if(at=Q[Ve],Je=st.match(at[1]),Je){Xe=at[0];break}Je||(Xe=I)}et=Xe.length>=5&&Xe.substring(0,5)==="lang-",et&&!(Je&&typeof Je[1]=="string")&&(et=!1,Xe=P),et||(De[st]=Xe)}var le=ze;if(ze+=st.length,!et)Re.push(Z+le,Xe);else{var ae=Je[1],lt=st.indexOf(ae),Ze=lt+ae.length;Je[2]&&(Ze=st.length-Je[2].length,lt=Ze-ae.length);var Te=Xe.substring(5);z(ge,Z+le,st.substring(0,lt),Le,Re),z(ge,Z+le+lt,ae,Ue(Te,ae),Re),z(ge,Z+le+Ze,st.substring(Ze),Le,Re)}}he.decorations=Re};return oe}function q(ue){var Q=[],V=[];ue.tripleQuotedStrings?Q.push([E,/^(?:\'\'\'(?:[^\'\\]|\\[\s\S]|\'{1,2}(?=[^\']))*(?:\'\'\'|$)|\"\"\"(?:[^\"\\]|\\[\s\S]|\"{1,2}(?=[^\"]))*(?:\"\"\"|$)|\'(?:[^\\\']|\\[\s\S])*(?:\'|$)|\"(?:[^\\\"]|\\[\s\S])*(?:\"|$))/,null,`'"`]):ue.multiLineStrings?Q.push([E,/^(?:\'(?:[^\\\']|\\[\s\S])*(?:\'|$)|\"(?:[^\\\"]|\\[\s\S])*(?:\"|$)|\`(?:[^\\\`]|\\[\s\S])*(?:\`|$))/,null,"'\"`"]):Q.push([E,/^(?:\'(?:[^\\\'\r\n]|\\.)*(?:\'|$)|\"(?:[^\\\"\r\n]|\\.)*(?:\"|$))/,null,`"'`]),ue.verbatimStrings&&V.push([E,/^@\"(?:[^\"]|\"\")*(?:\"|$)/,null]);var J=ue.hashComments;J&&(ue.cStyleComments?(J>1?Q.push([_,/^#(?:##(?:[^#]|#(?!##))*(?:###|$)|.*)/,null,"#"]):Q.push([_,/^#(?:(?:define|e(?:l|nd)if|else|error|ifn?def|include|line|pragma|undef|warning)\b|[^\r\n]*)/,null,"#"]),V.push([E,/^<(?:(?:(?:\.\.\/)*|\/?)(?:[\w-]+(?:\/[\w-]+)+)?[\w-]+\.h(?:h|pp|\+\+)?|[a-z]\w*)>/,null])):Q.push([_,/^#[^\r\n]*/,null,"#"])),ue.cStyleComments&&(V.push([_,/^\/\/[^\r\n]*/,null]),V.push([_,/^\/\*[\s\S]*?(?:\*\/|$)/,null]));var fe=ue.regexLiterals;if(fe){var oe=fe>1?"":`
|
|
|
\r`,Le=oe?".":"[\\S\\s]",he="/(?=[^/*"+oe+"])(?:[^/\\x5B\\x5C"+oe+"]|\\x5C"+Le+"|\\x5B(?:[^\\x5C\\x5D"+oe+"]|\\x5C"+Le+")*(?:\\x5D|$))+/";V.push(["lang-regex",RegExp("^"+B+"("+he+")")])}var te=ue.types;te&&V.push([y,te]);var Z=(""+ue.keywords).replace(/^ | $/g,"");Z.length&&V.push([C,new RegExp("^(?:"+Z.replace(/[\s,]+/g,"|")+")\\b"),null]),Q.push([I,/^\s+/,null,` \r
|
|
|
\xA0`]);var ge="^.[^\\s\\w.$@'\"`/\\\\]*";return ue.regexLiterals&&(ge+="(?!s*/)"),V.push([b,/^@[a-z_$][a-z_$@0-9]*/i,null],[y,/^(?:[@_]?[A-Z]+[a-z][A-Za-z_$@0-9]*|\w+_t\b)/,null],[I,/^[a-z_$][a-z_$@0-9]*/i,null],[b,new RegExp("^(?:0x[a-f0-9]+|(?:\\d(?:_\\d+)*\\d*(?:\\.\\d*)?|\\.\\d\\+)(?:e[+\\-]?\\d+)?)[a-z]*","i"),null,"0123456789"],[I,/^\\[\s\S]?/,null],[O,new RegExp(ge),null]),Y(Q,V)}var me=q({keywords:T,hashComments:!0,cStyleComments:!0,multiLineStrings:!0,regexLiterals:!0});function G(ue,Q,V){for(var J=/(?:^|\s)nocode(?:\s|$)/,fe=/\r\n?|\n/,oe=ue.ownerDocument,Le=oe.createElement("li");ue.firstChild;)Le.appendChild(ue.firstChild);var he=[Le];function te(De){var Tt=De.nodeType;if(Tt==1&&!J.test(De.className))if(De.nodeName==="br")Z(De),De.parentNode&&De.parentNode.removeChild(De);else for(var je=De.firstChild;je;je=je.nextSibling)te(je);else if((Tt==3||Tt==4)&&V){var st=De.nodeValue,Xe=st.match(fe);if(Xe){var Je=st.substring(0,Xe.index);De.nodeValue=Je;var et=st.substring(Xe.index+Xe[0].length);if(et){var at=De.parentNode;at.insertBefore(oe.createTextNode(et),De.nextSibling)}Z(De),Je||De.parentNode.removeChild(De)}}}function Z(De){for(;!De.nextSibling;)if(De=De.parentNode,!De)return;function Tt(Xe,Je){var et=Je?Xe.cloneNode(!1):Xe,at=Xe.parentNode;if(at){var Ve=Tt(at,1),le=Xe.nextSibling;Ve.appendChild(et);for(var ae=le;ae;ae=le)le=ae.nextSibling,Ve.appendChild(ae)}return et}for(var je=Tt(De.nextSibling,0),st;(st=je.parentNode)&&st.nodeType===1;)je=st;he.push(je)}for(var ge=0;ge<he.length;++ge)te(he[ge]);Q===(Q|0)&&he[0].setAttribute("value",Q);var Re=oe.createElement("ol");Re.className="linenums";for(var ze=Math.max(0,Q-1|0)||0,ge=0,dt=he.length;ge<dt;++ge)Le=he[ge],Le.className="L"+(ge+ze)%10,Le.firstChild||Le.appendChild(oe.createTextNode("\xA0")),Re.appendChild(Le);ue.appendChild(Re)}function ye(ue){var Q=/\bMSIE\s(\d+)/.exec(navigator.userAgent);Q=Q&&+Q[1]<=8;var V=/\n/g,J=ue.sourceCode,fe=J.length,oe=0,Le=ue.spans,he=Le.length,te=0,Z=ue.decorations,ge=Z.length,Re=0;Z[ge]=fe;var ze,dt;for(dt=ze=0;dt<ge;)Z[dt]!==Z[dt+2]?(Z[ze++]=Z[dt++],Z[ze++]=Z[dt++]):dt+=2;for(ge=ze,dt=ze=0;dt<ge;){for(var De=Z[dt],Tt=Z[dt+1],je=dt+2;je+2<=ge&&Z[je+1]===Tt;)je+=2;Z[ze++]=De,Z[ze++]=Tt,dt=je}ge=Z.length=ze;var st=ue.sourceNode,Xe="";st&&(Xe=st.style.display,st.style.display="none");try{for(var Je=null;te<he;){var et=Le[te],at=Le[te+2]||fe,Ve=Z[Re+2]||fe,je=Math.min(at,Ve),le=Le[te+1],ae;if(le.nodeType!==1&&(ae=J.substring(oe,je))){Q&&(ae=ae.replace(V,"\r")),le.nodeValue=ae;var lt=le.ownerDocument,Ze=lt.createElement("span");Ze.className=Z[Re+1];var Te=le.parentNode;Te.replaceChild(Ze,le),Ze.appendChild(le),oe<at&&(Le[te+1]=le=lt.createTextNode(J.substring(je,at)),Te.insertBefore(le,Ze.nextSibling))}oe=je,oe>=at&&(te+=2),oe>=Ve&&(Re+=2)}}finally{st&&(st.style.display=Xe)}}var Ae={};function ve(ue,Q){for(var V=Q.length;--V>=0;){var J=Q[V];Ae.hasOwnProperty(J)?a.console&&console.warn("cannot override language handler %s",J):Ae[J]=ue}}function Ue(ue,Q){return ue&&Ae.hasOwnProperty(ue)||(ue=/^\s*</.test(Q)?"default-markup":"default-code"),Ae[ue]}ve(me,["default-code"]),ve(Y([],[[I,/^[^<?]+/],[F,/^<!\w[^>]*(?:>|$)/],[_,/^<\!--[\s\S]*?(?:-\->|$)/],["lang-",/^<\?([\s\S]+?)(?:\?>|$)/],["lang-",/^<%([\s\S]+?)(?:%>|$)/],[O,/^(?:<[%?]|[%?]>)/],["lang-",/^<xmp\b[^>]*>([\s\S]+?)<\/xmp\b[^>]*>/i],["lang-js",/^<script\b[^>]*>([\s\S]*?)(<\/script\b[^>]*>)/i],["lang-css",/^<style\b[^>]*>([\s\S]*?)(<\/style\b[^>]*>)/i],["lang-in.tag",/^(<\/?[a-z][^<>]*>)/i]]),["default-markup","htm","html","mxml","xhtml","xml","xsl"]),ve(Y([[I,/^[\s]+/,null,` \r
|
|
|
`],[K,/^(?:\"[^\"]*\"?|\'[^\']*\'?)/,null,`"'`]],[[M,/^^<\/?[a-z](?:[\w.:-]*\w)?|\/?>$/i],[j,/^(?!style[\s=]|on)[a-z](?:[\w:-]*\w)?/i],["lang-uq.val",/^=\s*([^>\'\"\s]*(?:[^>\'\"\s\/]|\/(?=\s)))/],[O,/^[=<>\/]+/],["lang-js",/^on\w+\s*=\s*\"([^\"]+)\"/i],["lang-js",/^on\w+\s*=\s*\'([^\']+)\'/i],["lang-js",/^on\w+\s*=\s*([^\"\'>\s]+)/i],["lang-css",/^style\s*=\s*\"([^\"]+)\"/i],["lang-css",/^style\s*=\s*\'([^\']+)\'/i],["lang-css",/^style\s*=\s*([^\"\'>\s]+)/i]]),["in.tag"]),ve(Y([],[[K,/^[\s\S]+/]]),["uq.val"]),ve(q({keywords:d,hashComments:!0,cStyleComments:!0,types:w}),["c","cc","cpp","cxx","cyc","m"]),ve(q({keywords:"null,true,false"}),["json"]),ve(q({keywords:l,hashComments:!0,cStyleComments:!0,verbatimStrings:!0,types:w}),["cs"]),ve(q({keywords:n,cStyleComments:!0}),["java"]),ve(q({keywords:S,hashComments:!0,multiLineStrings:!0}),["bash","bsh","csh","sh"]),ve(q({keywords:p,hashComments:!0,multiLineStrings:!0,tripleQuotedStrings:!0}),["cv","py","python"]),ve(q({keywords:u,hashComments:!0,multiLineStrings:!0,regexLiterals:2}),["perl","pl","pm"]),ve(q({keywords:x,hashComments:!0,multiLineStrings:!0,regexLiterals:!0}),["rb","ruby"]),ve(q({keywords:s,cStyleComments:!0,regexLiterals:!0}),["javascript","js","ts","typescript"]),ve(q({keywords:t,hashComments:3,cStyleComments:!0,multilineStrings:!0,tripleQuotedStrings:!0,regexLiterals:!0}),["coffee"]),ve(Y([],[[E,/^[\s\S]+/]]),["regex"]);function Me(ue){var Q=ue.langExtension;try{var V=H(ue.sourceNode,ue.pre),J=V.sourceCode;ue.sourceCode=J,ue.spans=V.spans,ue.basePos=0,Ue(Q,J)(ue),ye(ue)}catch(fe){a.console&&console.log(fe&&fe.stack||fe)}}function nt(ue,Q,V){var J=V||!1,fe=Q||null,oe=document.createElement("div");oe.innerHTML="<pre>"+ue+"</pre>",oe=oe.firstChild,J&&G(oe,J,!0);var Le={langExtension:fe,numberLines:J,sourceNode:oe,pre:1,sourceCode:null,basePos:null,spans:null,decorations:null};return Me(Le),oe.innerHTML}function ne(ue,Q){var V=Q||document.body,J=V.ownerDocument||document;function fe(et){return V.getElementsByTagName(et)}for(var oe=[fe("pre"),fe("code"),fe("xmp")],Le=[],he=0;he<oe.length;++he)for(var te=0,Z=oe[he].length;te<Z;++te)Le.push(oe[he][te]);oe=null;var ge=Date;ge.now||(ge={now:function(){return+new Date}});var Re=0,ze=/\blang(?:uage)?-([\w.]+)(?!\S)/,dt=/\bprettyprint\b/,De=/\bprettyprinted\b/,Tt=/pre|xmp/i,je=/^code$/i,st=/^(?:pre|code|xmp)$/i,Xe={};function Je(){for(var et=a.PR_SHOULD_USE_CONTINUATION?ge.now()+250:Infinity;Re<Le.length&&ge.now()<et;Re++){for(var at=Le[Re],Ve=Xe,le=at;le=le.previousSibling;){var ae=le.nodeType,lt=(ae===7||ae===8)&&le.nodeValue;if(lt?!/^\??prettify\b/.test(lt):ae!==3||/\S/.test(le.nodeValue))break;if(lt){Ve={},lt.replace(/\b(\w+)=([\w:.%+-]+)/g,function(we,Fe,Ye){Ve[Fe]=Ye});break}}var Ze=at.className;if((Ve!==Xe||dt.test(Ze))&&!De.test(Ze)){for(var Te=!1,Jt=at.parentNode;Jt;Jt=Jt.parentNode){var mt=Jt.tagName;if(st.test(mt)&&Jt.className&&dt.test(Jt.className)){Te=!0;break}}if(!Te){at.className+=" prettyprinted";var ft=Ve.lang;if(!ft){ft=Ze.match(ze);var bt;!ft&&(bt=W(at))&&je.test(bt.tagName)&&(ft=bt.className.match(ze)),ft&&(ft=ft[1])}var It;if(Tt.test(at.tagName))It=1;else{var or=at.currentStyle,Pt=J.defaultView,_e=or?or.whiteSpace:Pt&&Pt.getComputedStyle?Pt.getComputedStyle(at,null).getPropertyValue("white-space"):0;It=_e&&_e.substring(0,3)==="pre"}var Ce=Ve.linenums;(Ce=Ce==="true"||+Ce)||(Ce=Ze.match(/\blinenums\b(?::(\d+))?/),Ce=Ce?Ce[1]&&Ce[1].length?+Ce[1]:!0:!1),Ce&&G(at,Ce,It);var Ee={langExtension:ft,sourceNode:at,numberLines:Ce,pre:It,sourceCode:null,basePos:null,spans:null,decorations:null};Me(Ee)}}}Re<Le.length?a.setTimeout(Je,250):typeof ue=="function"&&ue()}Je()}var be=a.PR={createSimpleLexer:Y,registerLangHandler:ve,sourceDecorator:q,PR_ATTRIB_NAME:j,PR_ATTRIB_VALUE:K,PR_COMMENT:_,PR_DECLARATION:F,PR_KEYWORD:C,PR_LITERAL:b,PR_NOCODE:N,PR_PLAIN:I,PR_PUNCTUATION:O,PR_SOURCE:P,PR_STRING:E,PR_TAG:M,PR_TYPE:y,prettyPrintOne:A?a.prettyPrintOne=nt:h=nt,prettyPrint:c=A?a.prettyPrint=ne:c=ne},ot=a.define;typeof ot=="function"&&ot.amd&&ot("google-code-prettify",[],function(){return be})})()},SKnc:function(R,D,e){var g=e("bYtY"),f=e("QuXc"),A=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)};A.prototype={constructor:A},g.inherits(A,f);var m=A;R.exports=m},"SKx+":function(R,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}}}),A=f;R.exports=A},SMc4:function(R,D,e){var g=e("bYtY"),f=e("bLfw"),A=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};A("x",v,h,c),A("y",v,h,c);var a=v;R.exports=a},SRve:function(R,D,e){"use strict";Object.defineProperty(D,"__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"};D.default=g},SUKs:function(R,D,e){var g=e("LPTA"),f=g.debugMode,A=function(){};f===1&&(A=console.error);var m=A;R.exports=m},SZEN:function(R,D,e){"use strict";Object.defineProperty(D,"__esModule",{value:!0}),D.clientToElement=g;function g(f,A,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,A<v.top?h.y=0:A>=v.bottom?h.y=v.height-1:h.y=A-v.top,h}},Sdc0:function(R,D,e){"use strict";var g=e("pVnL"),f=e.n(g),A=e("lSNA"),m=e.n(A),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(C,_){var y,b=C.prefixCls,O=b===void 0?"rc-switch":b,I=C.className,M=C.checked,F=C.defaultChecked,P=C.disabled,j=C.loadingIcon,K=C.checkedChildren,N=C.unCheckedChildren,B=C.onClick,U=C.onChange,H=C.onKeyDown,z=Object(a.a)(C,["prefixCls","className","checked","defaultChecked","disabled","loadingIcon","checkedChildren","unCheckedChildren","onClick","onChange","onKeyDown"]),X=Object(o.a)(!1,{value:M,defaultValue:F}),W=Object(c.a)(X,2),Y=W[0],q=W[1];function me(ve,Ue){var Me=Y;return P||(Me=ve,q(Me),U==null||U(Me,Ue)),Me}function G(ve){ve.which===d.a.LEFT?me(!1,ve):ve.which===d.a.RIGHT&&me(!0,ve),H==null||H(ve)}function ye(ve){var Ue=me(!Y,ve);B==null||B(Ue,ve)}var Ae=r()(O,I,(y={},Object(h.a)(y,"".concat(O,"-checked"),Y),Object(h.a)(y,"".concat(O,"-disabled"),P),y));return v.createElement("button",Object.assign({},z,{type:"button",role:"switch","aria-checked":Y,disabled:P,className:Ae,ref:_,onKeyDown:G,onClick:ye}),j,v.createElement("span",{className:"".concat(O,"-inner")},Y?K:N))});n.displayName="Switch";var l=n,t=e("gZBC"),s=e.n(t),u=e("g0mS"),p=e("H84U"),x=e("3Nzz"),S=e("uaoM"),T=function(C,_){var y={};for(var b in C)Object.prototype.hasOwnProperty.call(C,b)&&_.indexOf(b)<0&&(y[b]=C[b]);if(C!=null&&typeof Object.getOwnPropertySymbols=="function")for(var O=0,b=Object.getOwnPropertySymbols(C);O<b.length;O++)_.indexOf(b[O])<0&&Object.prototype.propertyIsEnumerable.call(C,b[O])&&(y[b[O]]=C[b[O]]);return y},w=v.forwardRef(function(C,_){var y,b=C.prefixCls,O=C.size,I=C.loading,M=C.className,F=M===void 0?"":M,P=C.disabled,j=T(C,["prefixCls","size","loading","className","disabled"]);Object(S.a)("checked"in j||!("value"in j),"Switch","`value` is not a valid prop, do you mean `checked`?");var K=v.useContext(p.b),N=K.getPrefixCls,B=K.direction,U=v.useContext(x.b),H=N("switch",b),z=v.createElement("div",{className:"".concat(H,"-handle")},I&&v.createElement(s.a,{className:"".concat(H,"-loading-icon")})),X=r()(F,(y={},m()(y,"".concat(H,"-small"),(O||U)==="small"),m()(y,"".concat(H,"-loading"),I),m()(y,"".concat(H,"-rtl"),B==="rtl"),y));return v.createElement(u.a,{insertExtraNode:!0},v.createElement(l,f()({},j,{prefixCls:H,className:X,disabled:P||I,ref:_,loadingIcon:z})))});w.__ANT_SWITCH=!0,w.displayName="Switch";var E=D.a=w},SehX:function(R,D,e){var g=e("ProS"),f=e("bYtY"),A=e("2B6p"),m=A.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(R,D,e){var g=e("YESw");function f(){this.__data__=g?g(null):{},this.size=0}R.exports=f},SgGq:function(R,D,e){var g=e("bYtY"),f=e("H6uX"),A=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),x=s(a,this),S=s(i,this),T=s(r,this);f.call(this),this.setPointerChecker=function(w){this.pointerChecker=w},this.enable=function(w,E){this.disable(),this._opt=g.defaults(g.clone(E)||{},{zoomOnMouseWheel:!0,moveOnMouseMove:!0,moveOnMouseWheel:!1,preventDefaultMouseMove:!0}),w==null&&(w=!0),(w===!0||w==="move"||w==="pan")&&(t.on("mousedown",u),t.on("mousemove",p),t.on("mouseup",x)),(w===!0||w==="scale"||w==="zoom")&&(t.on("mousewheel",S),t.on("pinch",T))},this.disable=function(){t.off("mousedown",u),t.off("mousemove",p),t.off("mouseup",x),t.off("mousewheel",S),t.off("pinch",T)},this.dispose=this.disable,this.isDragging=function(){return this._dragging},this.isPinching=function(){return this._pinching}}g.mixin(v,f);function h(t){if(A.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,x=this._y,S=s-p,T=u-x;this._x=s,this._y=u,this._opt.preventDefaultMouseMove&&A.stop(t.event),d(this,"pan","moveOnMouseMove",t,{dx:S,dy:T,oldX:p,oldY:x,newX:s,newY:u})}function a(t){A.isMiddleOrRightButtonOnMouseUpDown(t)||(this._dragging=!1)}function i(t){var s=n("zoomOnMouseWheel",t,this._opt),u=n("moveOnMouseWheel",t,this._opt),p=t.wheelDelta,x=Math.abs(p),S=t.offsetX,T=t.offsetY;if(p===0||!s&&!u)return;if(s){var w=x>3?1.4:x>1?1.2:1.1,E=p>0?w:1/w;o(this,"zoom","zoomOnMouseWheel",t,{scale:E,originX:S,originY:T})}if(u){var C=Math.abs(p),_=(p>0?1:-1)*(C>3?.4:C>1?.15:.05);o(this,"scrollMove","moveOnMouseWheel",t,{scrollDelta:_,originX:S,originY:T})}}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,x){t.pointerChecker&&t.pointerChecker(p,x.originX,x.originY)&&(A.stop(p.event),d(t,s,u,p,x))}function d(t,s,u,p,x){x.isAvailableBehavior=g.bind(n,null,u,p),t.trigger(s,x)}function n(t,s,u){var p=u[t];return!t||p&&(!g.isString(p)||s.event[p+"Key"])}var l=v;R.exports=l},SgaC:function(R,D,e){"use strict";Object.defineProperty(D,"__esModule",{value:!0}),D.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 A(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 A(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(),x=o.rQshift16();d.fillRect(c+s,a+u,p,x,t),this._subrects--}return!0}}]),v}();D.default=m},Sj0X:function(R,D,e){"use strict";var g=e("TqRt"),f=e("284h");Object.defineProperty(D,"__esModule",{value:!0}),D.default=void 0;var A=f(e("q1tI")),m=g(e("XuBP")),v=g(e("KQxl")),h=function(i,r){return A.createElement(v.default,Object.assign({},i,{ref:r,icon:m.default}))};h.displayName="DownOutlined";var c=A.forwardRef(h);D.default=c},Sj9i:function(R,D,e){var g=e("QBsz"),f=g.create,A=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(b){return b>-h&&b<h}function l(b){return b>h||b<-h}function t(b,O,I,M,F){var P=1-F;return P*P*(P*b+3*F*O)+F*F*(F*M+3*P*I)}function s(b,O,I,M,F){var P=1-F;return 3*(((O-b)*P+2*(I-O)*F)*P+(M-I)*F*F)}function u(b,O,I,M,F,P){var j=M+3*(O-I)-b,K=3*(I-O*2+b),N=3*(O-b),B=b-F,U=K*K-3*j*N,H=K*N-9*j*B,z=N*N-3*K*B,X=0;if(n(U)&&n(H))if(n(K))P[0]=0;else{var W=-N/K;W>=0&&W<=1&&(P[X++]=W)}else{var Y=H*H-4*U*z;if(n(Y)){var q=H/U,W=-K/j+q,me=-q/2;W>=0&&W<=1&&(P[X++]=W),me>=0&&me<=1&&(P[X++]=me)}else if(Y>0){var G=v(Y),ye=U*K+1.5*j*(-H+G),Ae=U*K+1.5*j*(-H-G);ye<0?ye=-m(-ye,i):ye=m(ye,i),Ae<0?Ae=-m(-Ae,i):Ae=m(Ae,i);var W=(-K-(ye+Ae))/(3*j);W>=0&&W<=1&&(P[X++]=W)}else{var ve=(2*U*K-3*j*H)/(2*v(U*U*U)),Ue=Math.acos(ve)/3,Me=v(U),nt=Math.cos(Ue),W=(-K-2*Me*nt)/(3*j),me=(-K+Me*(nt+a*Math.sin(Ue)))/(3*j),ne=(-K+Me*(nt-a*Math.sin(Ue)))/(3*j);W>=0&&W<=1&&(P[X++]=W),me>=0&&me<=1&&(P[X++]=me),ne>=0&&ne<=1&&(P[X++]=ne)}}return X}function p(b,O,I,M,F){var P=6*I-12*O+6*b,j=9*O+3*M-3*b-9*I,K=3*O-3*b,N=0;if(n(j)){if(l(P)){var B=-K/P;B>=0&&B<=1&&(F[N++]=B)}}else{var U=P*P-4*j*K;if(n(U))F[0]=-P/(2*j);else if(U>0){var H=v(U),B=(-P+H)/(2*j),z=(-P-H)/(2*j);B>=0&&B<=1&&(F[N++]=B),z>=0&&z<=1&&(F[N++]=z)}}return N}function x(b,O,I,M,F,P){var j=(O-b)*F+b,K=(I-O)*F+O,N=(M-I)*F+I,B=(K-j)*F+j,U=(N-K)*F+K,H=(U-B)*F+B;P[0]=b,P[1]=j,P[2]=B,P[3]=H,P[4]=H,P[5]=U,P[6]=N,P[7]=M}function S(b,O,I,M,F,P,j,K,N,B,U){var H,z=.005,X=Infinity,W,Y,q,me;r[0]=N,r[1]=B;for(var G=0;G<1;G+=.05)o[0]=t(b,I,F,j,G),o[1]=t(O,M,P,K,G),q=A(r,o),q<X&&(H=G,X=q);X=Infinity;for(var ye=0;ye<32&&!(z<c);ye++)W=H-z,Y=H+z,o[0]=t(b,I,F,j,W),o[1]=t(O,M,P,K,W),q=A(o,r),W>=0&&q<X?(H=W,X=q):(d[0]=t(b,I,F,j,Y),d[1]=t(O,M,P,K,Y),me=A(d,r),Y<=1&&me<X?(H=Y,X=me):z*=.5);return U&&(U[0]=t(b,I,F,j,H),U[1]=t(O,M,P,K,H)),v(X)}function T(b,O,I,M){var F=1-M;return F*(F*b+2*M*O)+M*M*I}function w(b,O,I,M){return 2*((1-M)*(O-b)+M*(I-O))}function E(b,O,I,M,F){var P=b-2*O+I,j=2*(O-b),K=b-M,N=0;if(n(P)){if(l(j)){var B=-K/j;B>=0&&B<=1&&(F[N++]=B)}}else{var U=j*j-4*P*K;if(n(U)){var B=-j/(2*P);B>=0&&B<=1&&(F[N++]=B)}else if(U>0){var H=v(U),B=(-j+H)/(2*P),z=(-j-H)/(2*P);B>=0&&B<=1&&(F[N++]=B),z>=0&&z<=1&&(F[N++]=z)}}return N}function C(b,O,I){var M=b+I-2*O;return M===0?.5:(b-O)/M}function _(b,O,I,M,F){var P=(O-b)*M+b,j=(I-O)*M+O,K=(j-P)*M+P;F[0]=b,F[1]=P,F[2]=K,F[3]=K,F[4]=j,F[5]=I}function y(b,O,I,M,F,P,j,K,N){var B,U=.005,H=Infinity;r[0]=j,r[1]=K;for(var z=0;z<1;z+=.05){o[0]=T(b,I,F,z),o[1]=T(O,M,P,z);var X=A(r,o);X<H&&(B=z,H=X)}H=Infinity;for(var W=0;W<32&&!(U<c);W++){var Y=B-U,q=B+U;o[0]=T(b,I,F,Y),o[1]=T(O,M,P,Y);var X=A(o,r);if(Y>=0&&X<H)B=Y,H=X;else{d[0]=T(b,I,F,q),d[1]=T(O,M,P,q);var me=A(d,r);q<=1&&me<H?(B=q,H=me):U*=.5}}return N&&(N[0]=T(b,I,F,B),N[1]=T(O,M,P,B)),v(H)}D.cubicAt=t,D.cubicDerivativeAt=s,D.cubicRootAt=u,D.cubicExtrema=p,D.cubicSubdivide=x,D.cubicProjectPoint=S,D.quadraticAt=T,D.quadraticDerivativeAt=w,D.quadraticRootAt=E,D.quadraticExtremum=C,D.quadraticSubdivide=_,D.quadraticProjectPoint=y},Sp2Z:function(R,D,e){var g=e("3LNs"),f=e("/y7N"),A=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(),x=t.toGlobalCoord(t.dataToCoord(o,!0));if(u&&u!=="none"){var S=f.buildElStyle(n),T=c[u](t,x,p);T.style=S,r.graphicKey=T.type,r.pointer=T}var w=A.layout(s.model,d);f.buildCartesianSingleLabelElOption(o,r,w,d,n,l)},getHandleTransform:function(r,o,d){var n=A.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,x=r.position;x[p]+=o[p],x[p]=Math.min(s[1],x[p]),x[p]=Math.max(s[0],x[p]);var S=(u[1]+u[0])/2,T=[S,S];T[p]=x[p];var w=[{verticalAlign:"middle"},{align:"center"}];return{position:x,rotation:r.rotation,cursorPoint:T,tooltipOption:w[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;R.exports=i},Sq3C:function(R,D,e){var g=e("sKgW"),f=e("zoYe"),A=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)?A(h(d),0,i).join(""):d.slice(0,i)}R.exports=a},SqI9:function(R,D,e){var g=e("y+Vt"),f=e("iXp4"),A=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()}});R.exports=A},SrGk:function(R,D,e){var g=e("hydK"),f=g.createElement,A=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,x){this._zrId=t,this._svgRoot=s,this._tagNames=typeof u=="string"?[u]:u,this._markLabel=p,this._domName=x||"_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 x=u.children;if(!x)return!1;for(var S=x.length-1;S>=0;--S)if(x[S]===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 A.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;A.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;A.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;R.exports=l},Swgg:function(R,D,e){var g=e("fc+c"),f=g.extend({type:"dataZoom.select"});R.exports=f},Sxd8:function(R,D,e){var g=e("ZCgT");function f(A){var m=g(A),v=m%1;return m===m?v?m-v:m:0}R.exports=f},T1rO:function(R,D,e){"use strict";Object.defineProperty(D,"__esModule",{value:!0}),D.default=void 0;var g=f(e("zdCA"));function f(m){return m&&m.__esModule?m:{default:m}}var A=g;D.default=A,R.exports=A},T4UG:function(R,D,e){var g=e("Tghj"),f=g.__DEV__,A=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,x=e("D5nY"),S=x.prepareSource,T=x.getSource,w=e("KxfA"),E=w.retrieveRawValue,C=r.makeInner(),_=o.extend({type:"series.__base__",seriesIndex:0,coordinateSystem:null,defaultOption:null,legendVisualProvider:null,visualColorAccessPath:"itemStyle.color",visualBorderColorAccessPath:"itemStyle.borderColor",layoutMode:null,init:function(N,B,U,H){this.seriesIndex=this.componentIndex,this.dataTask=p({count:O,reset:I}),this.dataTask.context={model:this},this.mergeDefaultAndTheme(N,U),S(this);var z=this.getInitialData(N,U);F(z,this),this.dataTask.context.data=z,C(this).dataBeforeProcessed=z,y(this)},mergeDefaultAndTheme:function(N,B){var U=this.layoutMode,H=U?t(N):{},z=this.subType;o.hasClass(z)&&(z+="Series"),A.merge(N,B.getTheme().get(this.subType)),A.merge(N,this.getDefaultOption()),r.defaultEmphasis(N,"label",["show"]),this.fillDataTextStyle(N.data),U&&s(N,H,U)},mergeOption:function(N,B){N=A.merge(this.option,N,!0),this.fillDataTextStyle(N.data);var U=this.layoutMode;U&&s(this.option,N,U),S(this);var H=this.getInitialData(N,B);F(H,this),this.dataTask.dirty(),this.dataTask.context.data=H,C(this).dataBeforeProcessed=H,y(this)},fillDataTextStyle:function(N){if(N&&!A.isTypedArray(N))for(var B=["show"],U=0;U<N.length;U++)N[U]&&N[U].label&&r.defaultEmphasis(N[U],"label",B)},getInitialData:function(){},appendData:function(N){var B=this.getRawData();B.appendData(N.data)},getData:function(N){var B=j(this);if(B){var U=B.context.data;return N==null?U:U.getLinkedData(N)}else return C(this).data},setData:function(N){var B=j(this);if(B){var U=B.context;U.data!==N&&B.modifyOutputEnd&&B.setOutputEnd(N.count()),U.outputData=N,B!==this.dataTask&&(U.data=N)}C(this).data=N},getSource:function(){return T(this)},getRawData:function(){return C(this).dataBeforeProcessed},getBaseAxis:function(){var N=this.coordinateSystem;return N&&N.getBaseAxis&&N.getBaseAxis()},formatTooltip:function(N,B,U,H){var z=this;H=H||"html";var X=H==="html"?"<br/>":`
|
|
|
`,W=H==="richText",Y={},q=0;function me(oe){var Le=A.reduce(oe,function(Re,ze,dt){var De=ye.getDimensionInfo(dt);return Re|=De&&De.tooltip!==!1&&De.displayName!=null},0),he=[];Ae.length?A.each(Ae,function(Re){te(E(ye,N,Re),Re)}):A.each(oe,te);function te(Re,ze){var dt=ye.getDimensionInfo(ze);if(!dt||dt.otherDims.tooltip===!1)return;var De=dt.type,Tt="sub"+z.seriesIndex+"at"+q,je=i({color:nt,type:"subItem",renderMode:H,markerId:Tt}),st=typeof je=="string"?je:je.content,Xe=(Le?st+c(dt.displayName||"-")+": ":"")+c(De==="ordinal"?Re+"":De==="time"?B?"":h("yyyy/MM/dd hh:mm:ss",Re):a(Re));Xe&&he.push(Xe),W&&(Y[Tt]=nt,++q)}var Z=Le?W?`
|
|
|
`:"<br/>":"",ge=Z+he.join(Z||", ");return{renderMode:H,content:ge,style:Y}}function G(oe){return{renderMode:H,content:c(a(oe)),style:Y}}var ye=this.getData(),Ae=ye.mapDimension("defaultedTooltip",!0),ve=Ae.length,Ue=this.getRawValue(N),Me=A.isArray(Ue),nt=ye.getItemVisual(N,"color");A.isObject(nt)&&nt.colorStops&&(nt=(nt.colorStops[0]||{}).color),nt=nt||"transparent";var ne=ve>1||Me&&!ve?me(Ue):G(ve?E(ye,N,Ae[0]):Me?Ue[0]:Ue),be=ne.content,ot=z.seriesIndex+"at"+q,ue=i({color:nt,type:"item",renderMode:H,markerId:ot});Y[ot]=nt,++q;var Q=ye.getName(N),V=this.name;r.isNameSpecified(this)||(V=""),V=V?c(V)+(B?": ":X):"";var J=typeof ue=="string"?ue:ue.content,fe=B?J+V+be:V+J+(Q?c(Q)+": "+be:be);return{html:fe,markers:Y}},isAnimationEnabled:function(){if(m.node)return!1;var N=this.getShallow("animation");return N&&(this.getData().count()>this.getShallow("animationThreshold")&&(N=!1)),N},restoreData:function(){this.dataTask.dirty()},getColorFromPalette:function(N,B,U){var H=this.ecModel,z=d.getColorFromPalette.call(this,N,B,U);return z||(z=H.getColorFromPalette(N,B,U)),z},coordDimToDataDim:function(N){return this.getRawData().mapDimension(N,!0)},getProgressive:function(){return this.get("progressive")},getProgressiveThreshold:function(){return this.get("progressiveThreshold")},getAxisTooltipData:null,getTooltipPosition:null,pipeTask:null,preventIncremental:null,pipelineContext:null});A.mixin(_,n),A.mixin(_,d);function y(N){var B=N.name;r.isNameSpecified(N)||(N.name=b(N)||B)}function b(N){var B=N.getRawData(),U=B.mapDimension("seriesName",!0),H=[];return A.each(U,function(z){var X=B.getDimensionInfo(z);X.displayName&&H.push(X.displayName)}),H.join(" ")}function O(N){return N.model.getRawData().count()}function I(N){var B=N.model;return B.setData(B.getRawData().cloneShallow()),M}function M(N,B){B.outputData&&N.end>B.outputData.count()&&B.model.getRawData().cloneShallow(B.outputData)}function F(N,B){A.each(N.CHANGABLE_METHODS,function(U){N.wrapMethod(U,A.curry(P,B))})}function P(N){var B=j(N);B&&B.setOutputEnd(this.count())}function j(N){var B=(N.ecModel||{}).scheduler,U=B&&B.getPipeline(N.uid);if(U){var H=U.currentTask;if(H){var z=H.agentStubMap;z&&(H=z.get(N.uid))}return H}}var K=_;R.exports=K},T6xi:function(R,D,e){var g=e("YgsL"),f=e("nCxF");function A(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()}}D.buildPath=A},TIY9:function(R,D,e){var g=e("bYtY"),f=g.each,A=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,x;try{x=p?A(p,t):[]}catch(S){throw new Error(`Invalid geoJson format
|
|
|
`+S.message)}return h(n,x),f(x,function(S){var T=S.name;c(n,S),a(n,S),i(n,S);var w=u[T];w&&S.transformTo(w.left,w.top,w.width,w.height)}),r(l).parsed={regions:x,boundingRect:d(x)}}};function d(n){for(var l,t=0;t<n.length;t++){var s=n[t].getBoundingRect();l=l||s.clone(),l.union(s)}return l}R.exports=o},TJmX:function(R,D,e){var g=e("zM3Q"),f=["itemStyle","borderColor"],A=["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:A)}}};R.exports=h},TWL2:function(R,D,e){var g=e("IwbS"),f=e("bYtY"),A=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"),x=l.getModel("emphasis.label"),S=l.getModel("labelLine"),T=l.getModel("emphasis.labelLine"),u=i.getItemVisual(r,"color");g.setLabelStyle(d.style,d.hoverStyle={},p,x,{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=!x.get("show"),o.ignore=o.normalIgnore=!S.get("show"),o.hoverIgnore=!T.get("show"),o.setStyle({stroke:u}),o.setStyle(S.getModel("lineStyle").getLineStyle()),o.hoverStyle=T.getModel("lineStyle").getLineStyle()},f.inherits(m,g.Group);var c=A.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;R.exports=a},TYVI:function(R,D,e){var g=e("5GtS"),f=e("T4UG"),A=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=A;R.exports=m},Tghj:function(R,D,e){(function(g){var f;typeof window!="undefined"?f=window.__DEV__:typeof g!="undefined"&&(f=g.__DEV__),typeof f=="undefined"&&(f=!0);var A=f;D.__DEV__=A}).call(this,e("yLpj"))},ThAp:function(R,D,e){var g=e("bYtY"),f=e("5GtS"),A=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=A.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(),x=[],S=[],T=0,w=s.count();T<w;T++){var E=s.getName(T);p.set(E,!0),x.push({name:E,value:s.get(u,T),selected:i(s,T,"selected")})}var C=r.load(this.getMapType(),this.option.nameMap,this.option.nameProperty);return g.each(C.regions,function(_){var y=_.name;p.get(y)||(x.push({name:y}),S.push(y))}),this.updateSelectedMap(x),s.appendValues([],S),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),x=this.seriesGroup,S=[],T=0;T<x.length;T++){var w=x[T].originalData.indexOfName(p),E=s.mapDimension("value");isNaN(x[T].originalData.get(E,w))||S.push(v(x[T].name))}return S.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;R.exports=l},TkdX:function(R,D,e){var g=e("bYtY"),f=e("IwbS"),A={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 x(){u.ignore=u.normalIgnore}this.on("emphasis",p).on("normal",x).on("mouseover",p).on("mouseout",x)}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 x=l.getModel(),S=l.getLayout(),T=g.extend({},S);T.label=null;var w=i(l,s,u);d(l,s,w);var E=x.getModel("itemStyle").getItemStyle(),C;if(t==="normal")C=E;else{var _=x.getModel(t+".itemStyle").getItemStyle();C=g.merge(_,E)}C=g.defaults({lineJoin:"bevel",fill:C.fill||w},C),n?(p.setShape(T),p.shape.r=S.r0,f.updateProps(p,{shape:{r:S.r}},s,l.dataIndex),p.useStyle(C)):typeof C.fill=="object"&&C.fill.type||typeof p.style.fill=="object"&&p.style.fill.type?(f.updateProps(p,{shape:T},s),p.useStyle(C)):f.updateProps(p,{shape:T,style:C},s),this._updateLabel(s,w,t);var y=x.getShallow("cursor");if(y&&p.attr("cursor",y),n){var b=s.getShallow("highlightPolicy");this._initEvents(p,l,s,b)}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!==A.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"),x=s.getModel("emphasis.label"),S=g.retrieve(n.getFormattedLabel(this.node.dataIndex,t,null,null,"label"),this.node.name);B("show")===!1&&(S="");var T=this.node.getLayout(),w=p.get("minAngle");w==null&&(w=u.get("minAngle")),w=w/180*Math.PI;var E=T.endAngle-T.startAngle;w!=null&&Math.abs(E)<w&&(S="");var C=this.childAt(1);f.setLabelStyle(C.style,C.hoverStyle||{},u,x,{defaultText:p.getShallow("show")?S:null,autoColor:l,useInsideStyle:!0});var _=(T.startAngle+T.endAngle)/2,y=Math.cos(_),b=Math.sin(_),O,I=B("position"),M=B("distance")||0,F=B("align");I==="outside"?(O=T.r+M,F=_>Math.PI/2?"right":"left"):!F||F==="center"?(O=(T.r+T.r0)/2,F="center"):F==="left"?(O=T.r0+M,_>Math.PI/2&&(F="right")):F==="right"&&(O=T.r-M,_>Math.PI/2&&(F="left")),C.attr("style",{text:S,textAlign:F,textVerticalAlign:B("verticalAlign")||"middle",opacity:B("opacity")});var P=O*y+T.cx,j=O*b+T.cy;C.attr("position",[P,j]);var K=B("rotate"),N=0;K==="radial"?(N=-_,N<-Math.PI/2&&(N+=Math.PI)):K==="tangential"?(N=Math.PI/2-_,N>Math.PI/2?N-=Math.PI:N<-Math.PI/2&&(N+=Math.PI)):typeof K=="number"&&(N=K*Math.PI/180),C.attr("rotation",N);function B(U){var H=p.get(U);return H==null?u.get(U):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)},x=function(){u.onNormal()},S=function(){u.onDownplay()},T=function(){u.onHighlight()};t.isAnimationEnabled()&&n.on("mouseover",p).on("mouseout",x).on("emphasis",p).on("normal",x).on("downplay",S).on("highlight",T)},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 x=t.option.color.length;return p=t.option.color[r(n)%x],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===A.NONE?!1:t===A.SELF?n===l:t===A.ANCESTOR?n===l||n.isAncestorOf(l):n===l||n.isDescendantOf(l)}function d(n,l,t){var s=l.getData();s.setItemVisual(n.dataIndex,"color",t)}R.exports=a},Tp9H:function(R,D,e){var g=e("ItGF"),f=e("Kagy"),A=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,x=new Uint8Array(p);p--;)x[p]=u.charCodeAt(p);var S=new Blob([x]);window.navigator.msSaveOrOpenBlob(S,o+"."+n)}else{var T=r.get("lang"),w='<body style="margin:0;"><img src="'+l+'" style="max-width:100%;" title="'+(T&&T[0]||"")+'" /></body>',E=window.open();E.document.write(w)}},A.register("saveAsImage",v);var c=v;R.exports=c},"U/Mo":function(R,D){function e(f){var A=f.coordinateSystem;if(A.type!=="view")return 1;var m=f.option.nodeScaleRatio,v=A.scale,h=v&&v[0]||1,c=A.getZoom(),a=(c-1)*m+1;return a/h}function g(f){var A=f.getVisual("symbolSize");return A instanceof Array&&(A=(A[0]+A[1])/2),+A}D.getNodeGlobalScale=e,D.getSymbolSize=g},UADf:function(R,D,e){},UESt:function(R,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"},A=f,m=e("6VBw"),v=function(a,i){return g.createElement(m.a,Object.assign({},a,{ref:i,icon:A}))};v.displayName="RightOutlined";var h=D.a=g.forwardRef(v)},"UNi/":function(R,D){function e(g,f){for(var A=-1,m=Array(g);++A<g;)m[A]=f(A);return m}R.exports=e},UOVi:function(R,D,e){var g=e("bYtY"),f=e("7aKB"),A=["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(A,["axisIndex","axis","index","id"]);function a(i,r,o){return function(t){var s={nodes:[],records:{}};if(r(function(x){s.records[x.name]={}}),!t)return s;l(t,s);var u;do u=!1,i(p);while(u);function p(x){!d(x,s)&&n(x,s)&&(l(x,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(x){s.records[p.name][x]&&(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})})}}D.isCoordSupported=v,D.createNameEach=h,D.eachAxisDim=c,D.createLinkedNodesFinder=a},Uc92:function(R,D,e){"use strict";Object.defineProperty(D,"__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"};D.default=g},UmKh:function(R,D,e){"use strict";var g=e("q1tI"),f=e.n(g),A=e("aGtg");function m(K){var N=[];return f.a.Children.forEach(K,function(B){N.push(B)}),N}function v(K,N){var B=null;return K&&K.forEach(function(U){if(B)return;U&&U.key===N&&(B=U)}),B}function h(K,N,B){var U=null;return K&&K.forEach(function(H){if(H&&H.key===N&&H.props[B]){if(U)throw new Error("two child with same key for <rc-animate> children");U=H}}),U}function c(K,N,B){var U=0;return K&&K.forEach(function(H){if(U)return;U=H&&H.key===N&&!H.props[B]}),U}function a(K,N,B){var U=K.length===N.length;return U&&K.forEach(function(H,z){var X=N[z];H&&X&&((H&&!X||!H&&X||(H.key!==X.key||B&&H.props[B]!==X.props[B]))&&(U=!1))}),U}function i(K,N){var B=[],U={},H=[];return K.forEach(function(z){z&&v(N,z.key)?H.length&&(U[z.key]=H,H=[]):H.push(z)}),N.forEach(function(z){z&&Object.prototype.hasOwnProperty.call(U,z.key)&&(B=B.concat(U[z.key])),B.push(z)}),B=B.concat(H),B}var r=e("i8i4"),o=e.n(r),d=e("UwPn"),n={isAppearSupported:function(N){return N.transitionName&&N.transitionAppear||N.animation.appear},isEnterSupported:function(N){return N.transitionName&&N.transitionEnter||N.animation.enter},isLeaveSupported:function(N){return N.transitionName&&N.transitionLeave||N.animation.leave},allowAppearCallback:function(N){return N.transitionAppear||N.animation.appear},allowEnterCallback:function(N){return N.transitionEnter||N.animation.enter},allowLeaveCallback:function(N){return N.transitionLeave||N.animation.leave}},l=n,t=function(){function K(N,B){for(var U=0;U<B.length;U++){var H=B[U];H.enumerable=H.enumerable||!1,H.configurable=!0,"value"in H&&(H.writable=!0),Object.defineProperty(N,H.key,H)}}return function(N,B,U){return B&&K(N.prototype,B),U&&K(N,U),N}}();function s(K,N){if(!(K instanceof N))throw new TypeError("Cannot call a class as a function")}function u(K,N){if(!K)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return N&&(typeof N=="object"||typeof N=="function")?N:K}function p(K,N){if(typeof N!="function"&&N!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof N);K.prototype=Object.create(N&&N.prototype,{constructor:{value:K,enumerable:!1,writable:!0,configurable:!0}}),N&&(Object.setPrototypeOf?Object.setPrototypeOf(K,N):K.__proto__=N)}var x={enter:"transitionEnter",appear:"transitionAppear",leave:"transitionLeave"},S=function(K){p(N,K);function N(){return s(this,N),u(this,(N.__proto__||Object.getPrototypeOf(N)).apply(this,arguments))}return t(N,[{key:"componentWillUnmount",value:function(){this.stop()}},{key:"componentWillEnter",value:function(U){l.isEnterSupported(this.props)?this.transition("enter",U):U()}},{key:"componentWillAppear",value:function(U){l.isAppearSupported(this.props)?this.transition("appear",U):U()}},{key:"componentWillLeave",value:function(U){l.isLeaveSupported(this.props)?this.transition("leave",U):U()}},{key:"transition",value:function(U,H){var z=this,X=o.a.findDOMNode(this),W=this.props,Y=W.transitionName,q=typeof Y=="object";this.stop();var me=function(){z.stopper=null,H()};if((d.b||!W.animation[U])&&Y&&W[x[U]]){var G=q?Y[U]:Y+"-"+U,ye=G+"-active";q&&Y[U+"Active"]&&(ye=Y[U+"Active"]),this.stopper=Object(d.a)(X,{name:G,active:ye},me)}else this.stopper=W.animation[U](X,me)}},{key:"stop",value:function(){var U=this.stopper;U&&(this.stopper=null,U.stop())}},{key:"render",value:function(){return this.props.children}}]),N}(f.a.Component),T=S,w=Object.assign||function(K){for(var N=1;N<arguments.length;N++){var B=arguments[N];for(var U in B)Object.prototype.hasOwnProperty.call(B,U)&&(K[U]=B[U])}return K},E=function(){function K(N,B){for(var U=0;U<B.length;U++){var H=B[U];H.enumerable=H.enumerable||!1,H.configurable=!0,"value"in H&&(H.writable=!0),Object.defineProperty(N,H.key,H)}}return function(N,B,U){return B&&K(N.prototype,B),U&&K(N,U),N}}();function C(K,N,B){return N in K?Object.defineProperty(K,N,{value:B,enumerable:!0,configurable:!0,writable:!0}):K[N]=B,K}function _(K,N){if(!(K instanceof N))throw new TypeError("Cannot call a class as a function")}function y(K,N){if(!K)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return N&&(typeof N=="object"||typeof N=="function")?N:K}function b(K,N){if(typeof N!="function"&&N!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof N);K.prototype=Object.create(N&&N.prototype,{constructor:{value:K,enumerable:!1,writable:!0,configurable:!0}}),N&&(Object.setPrototypeOf?Object.setPrototypeOf(K,N):K.__proto__=N)}var O="rc_animate_"+Date.now();function I(K){var N=K.children;return f.a.isValidElement(N)&&!N.key?f.a.cloneElement(N,{key:O}):N}function M(){}var F=function(K){b(N,K);function N(B){_(this,N);var U=y(this,(N.__proto__||Object.getPrototypeOf(N)).call(this,B));return P.call(U),U.currentlyAnimatingKeys={},U.keysToEnter=[],U.keysToLeave=[],U.state={children:m(I(B))},U.childrenRefs={},U}return E(N,[{key:"componentDidMount",value:function(){var U=this,H=this.props.showProp,z=this.state.children;H&&(z=z.filter(function(X){return!!X.props[H]})),z.forEach(function(X){X&&U.performAppear(X.key)})}},{key:"componentWillReceiveProps",value:function(U){var H=this;this.nextProps=U;var z=m(I(U)),X=this.props;X.exclusive&&Object.keys(this.currentlyAnimatingKeys).forEach(function(G){H.stop(G)});var W=X.showProp,Y=this.currentlyAnimatingKeys,q=X.exclusive?m(I(X)):this.state.children,me=[];W?(q.forEach(function(G){var ye=G&&v(z,G.key),Ae=void 0;(!ye||!ye.props[W])&&G.props[W]?Ae=f.a.cloneElement(ye||G,C({},W,!0)):Ae=ye,Ae&&me.push(Ae)}),z.forEach(function(G){(!G||!v(q,G.key))&&me.push(G)})):me=i(q,z),this.setState({children:me}),z.forEach(function(G){var ye=G&&G.key;if(G&&Y[ye])return;var Ae=G&&v(q,ye);if(W){var ve=G.props[W];if(Ae){var Ue=h(q,ye,W);!Ue&&ve&&H.keysToEnter.push(ye)}else ve&&H.keysToEnter.push(ye)}else Ae||H.keysToEnter.push(ye)}),q.forEach(function(G){var ye=G&&G.key;if(G&&Y[ye])return;var Ae=G&&v(z,ye);if(W){var ve=G.props[W];if(Ae){var Ue=h(z,ye,W);!Ue&&ve&&H.keysToLeave.push(ye)}else ve&&H.keysToLeave.push(ye)}else Ae||H.keysToLeave.push(ye)})}},{key:"componentDidUpdate",value:function(){var U=this.keysToEnter;this.keysToEnter=[],U.forEach(this.performEnter);var H=this.keysToLeave;this.keysToLeave=[],H.forEach(this.performLeave)}},{key:"isValidChildByKey",value:function(U,H){var z=this.props.showProp;return z?h(U,H,z):v(U,H)}},{key:"stop",value:function(U){delete this.currentlyAnimatingKeys[U];var H=this.childrenRefs[U];H&&H.stop()}},{key:"render",value:function(){var U=this,H=this.props;this.nextProps=H;var z=this.state.children,X=null;z&&(X=z.map(function(q){if(q==null)return q;if(!q.key)throw new Error("must set key for <rc-animate> children");return f.a.createElement(T,{key:q.key,ref:function(G){U.childrenRefs[q.key]=G},animation:H.animation,transitionName:H.transitionName,transitionEnter:H.transitionEnter,transitionAppear:H.transitionAppear,transitionLeave:H.transitionLeave},q)}));var W=H.component;if(W){var Y=H;return typeof W=="string"&&(Y=w({className:H.className,style:H.style},H.componentProps)),f.a.createElement(W,Y,X)}return X[0]||null}}]),N}(f.a.Component);F.isAnimate=!0,F.defaultProps={animation:{},component:"span",componentProps:{},transitionEnter:!0,transitionLeave:!0,transitionAppear:!1,onEnd:M,onEnter:M,onLeave:M,onAppear:M};var P=function(){var N=this;this.performEnter=function(B){N.childrenRefs[B]&&(N.currentlyAnimatingKeys[B]=!0,N.childrenRefs[B].componentWillEnter(N.handleDoneAdding.bind(N,B,"enter")))},this.performAppear=function(B){N.childrenRefs[B]&&(N.currentlyAnimatingKeys[B]=!0,N.childrenRefs[B].componentWillAppear(N.handleDoneAdding.bind(N,B,"appear")))},this.handleDoneAdding=function(B,U){var H=N.props;if(delete N.currentlyAnimatingKeys[B],H.exclusive&&H!==N.nextProps)return;var z=m(I(H));N.isValidChildByKey(z,B)?U==="appear"?l.allowAppearCallback(H)&&(H.onAppear(B),H.onEnd(B,!0)):l.allowEnterCallback(H)&&(H.onEnter(B),H.onEnd(B,!0)):N.performLeave(B)},this.performLeave=function(B){N.childrenRefs[B]&&(N.currentlyAnimatingKeys[B]=!0,N.childrenRefs[B].componentWillLeave(N.handleDoneLeaving.bind(N,B)))},this.handleDoneLeaving=function(B){var U=N.props;if(delete N.currentlyAnimatingKeys[B],U.exclusive&&U!==N.nextProps)return;var H=m(I(U));if(N.isValidChildByKey(H,B))N.performEnter(B);else{var z=function(){l.allowLeaveCallback(U)&&(U.onLeave(B),U.onEnd(B,!1))};a(N.state.children,H,U.showProp)?z():N.setState({children:H},z)}}},j=D.a=Object(A.a)(F)},UnoB:function(R,D,e){var g=e("bYtY"),f=e("OELB");function A(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(w){return g.map(w.indices,function(E){var C=i.dataToPoint(h.get(o,E));return C[1]=h.get(d,E),C})}),l=v(n),t=l.y0,s=a/l.max,u=r.length,p=r[0].indices.length,x,S=0;S<p;++S){x=t[S]*s,h.setItemLayout(r[0].indices[S],{layerIndex:0,x:n[0][S][0],y0:x,y:n[0][S][1]*s});for(var T=1;T<u;++T)x+=n[T-1][S][1]*s,h.setItemLayout(r[T].indices[S],{layerIndex:T,x:n[T][S][0],y0:x,y:n[T][S][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}R.exports=A},Urep:function(R,D,e){},V6Ve:function(R,D,e){var g=e("kekF"),f=g(Object.keys,Object);R.exports=f},V7ic:function(R,D,e){"use strict";var g=e("TqRt"),f=e("284h");Object.defineProperty(D,"__esModule",{value:!0}),D.default=void 0;var A=f(e("q1tI")),m=g(e("digP")),v=g(e("KQxl")),h=function(i,r){return A.createElement(v.default,Object.assign({},i,{ref:r,icon:m.default}))};h.displayName="FileTwoTone";var c=A.forwardRef(h);D.default=c},VFCP:function(R,D,e){e("dBmv"),e("KamJ")},VPsl:function(R,D){function e(g){g.eachSeriesByType("map",function(f){var A=f.get("color"),m=f.getModel("itemStyle"),v=m.get("areaColor"),h=m.get("color")||A[f.seriesIndex%A.length];f.getData().setVisual({areaColor:v,color:h})})}R.exports=e},VR9l:function(R,D,e){var g=e("KCsZ"),f=g([["fill","color"],["stroke","borderColor"],["lineWidth","borderWidth"],["opacity"],["shadowBlur"],["shadowOffsetX"],["shadowOffsetY"],["shadowColor"],["textPosition"],["textAlign"]]),A={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]}};R.exports=A},VSLf:function(R,D,e){e("I+Bx"),e("F0hE"),e("bBKM")},VSMT:function(R,D,e){"use strict";Object.defineProperty(D,"__esModule",{value:!0}),D.decodeUTF8=g,D.encodeUTF8=f;function g(A){var m=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;try{return decodeURIComponent(escape(A))}catch(v){if(v instanceof URIError&&m)return A;throw v}}function f(A){return unescape(encodeURIComponent(A))}},VXYp:function(R,D,e){var g=e("bYtY"),f=e("SgGq"),A=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(S,T){var w=S.dataZoomInfos;w[s]&&g.indexOf(l.allCoordIds,u)<0&&(delete w[s],S.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 x=d(p.dataZoomInfos);p.controller.enable(x.controlType,x.opt),p.controller.setPointerChecker(l.containsPoint),A.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(x){if(!u.isAvailableBehavior(x.dataZoomModel.option))return;var S=(x.getRange||{})[s],T=S&&S(l.controller,u);!x.dataZoomModel.get("disabled",!0)&&T&&p.push({dataZoomId:x.dataZoomId,start:T[0],end:T[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 x=p.dataZoomModel,S=x.get("disabled",!0)?!1:x.get("zoomLock",!0)?"move":!0;s[t+S]>s[t+l]&&(l=S),u&=x.get("preventDefaultMouseMove",!0)}),{controlType:l,opt:{zoomOnMouseWheel:!0,moveOnMouseMove:!0,moveOnMouseWheel:!0,preventDefaultMouseMove:!!u}}}D.register=v,D.unregister=h,D.generateCoordId=c},VaNO:function(R,D){function e(g){return this.__data__.has(g)}R.exports=e},VaxA:function(R,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 A(h){for(var c=[];h;)h=h.parentNode,h&&c.push(h);return c.reverse()}function m(h,c){var a=A(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}D.retrieveTargetInfo=f,D.getPathToRoot=A,D.aboveViewRoot=m,D.wrapTreePathInfo=v},Vi4m:function(R,D,e){var g=e("bYtY");function f(m){m!=null&&g.extend(this,m),this.otherDims={}}var A=f;R.exports=A},Vl3Y:function(R,D,e){"use strict";var g=e("pVnL"),f=e.n(g),A=e("J4zp"),m=e.n(A),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(ft){var bt=Object(d.default)(ft,["prefixCls"]);return c.createElement(r.FormProvider,bt)};function s(mt){return mt!=null&&typeof mt=="object"&&mt.nodeType===1}function u(mt,ft){return ft&&mt==="hidden"?!1:mt!=="visible"&&mt!=="clip"}function p(mt){if(!mt.ownerDocument||!mt.ownerDocument.defaultView)return null;try{return mt.ownerDocument.defaultView.frameElement}catch(ft){return null}}function x(mt){var ft=p(mt);return ft?ft.clientHeight<mt.scrollHeight||ft.clientWidth<mt.scrollWidth:!1}function S(mt,ft){if(mt.clientHeight<mt.scrollHeight||mt.clientWidth<mt.scrollWidth){var bt=getComputedStyle(mt,null);return u(bt.overflowY,ft)||u(bt.overflowX,ft)||x(mt)}return!1}function T(mt,ft,bt,It,or,Pt,_e,Ce){return Pt<mt&&_e>ft||Pt>mt&&_e<ft?0:Pt<=mt&&Ce<=bt||_e>=ft&&Ce>=bt?Pt-mt-It:_e>ft&&Ce<bt||Pt<mt&&Ce>bt?_e-ft+or:0}var w=function(mt,ft){var bt=ft.scrollMode,It=ft.block,or=ft.inline,Pt=ft.boundary,_e=ft.skipOverflowHiddenElements,Ce=typeof Pt=="function"?Pt:function(ir){return ir!==Pt};if(!s(mt))throw new TypeError("Invalid target");for(var Ee=document.scrollingElement||document.documentElement,we=[],Fe=mt;s(Fe)&&Ce(Fe);){if(Fe=Fe.parentNode,Fe===Ee){we.push(Fe);break}if(Fe===document.body&&S(Fe)&&!S(document.documentElement))continue;S(Fe,_e)&&we.push(Fe)}for(var Ye=window.visualViewport?visualViewport.width:innerWidth,Ge=window.visualViewport?visualViewport.height:innerHeight,qe=window.scrollX||pageXOffset,Ke=window.scrollY||pageYOffset,ct=mt.getBoundingClientRect(),wt=ct.height,Lt=ct.width,de=ct.top,xe=ct.right,$=ct.bottom,se=ct.left,Oe=It==="start"||It==="nearest"?de:It==="end"?$:de+wt/2,ke=or==="center"?se+Lt/2:or==="end"?xe:se,Pe=[],rt=0;rt<we.length;rt++){var At=we[rt],Wt=At.getBoundingClientRect(),$t=Wt.height,Rt=Wt.width,zt=Wt.top,Gt=Wt.right,Qt=Wt.bottom,Mt=Wt.left;if(bt==="if-needed"&&de>=0&&se>=0&&$<=Ge&&xe<=Ye&&de>=zt&&$<=Qt&&se>=Mt&&xe<=Gt)return Pe;var dr=getComputedStyle(At),er=parseInt(dr.borderLeftWidth,10),ht=parseInt(dr.borderTopWidth,10),Et=parseInt(dr.borderRightWidth,10),pt=parseInt(dr.borderBottomWidth,10),vt=0,Nt=0,_t="offsetWidth"in At?At.offsetWidth-At.clientWidth-er-Et:0,gt="offsetHeight"in At?At.offsetHeight-At.clientHeight-ht-pt:0;if(Ee===At)It==="start"?vt=Oe:It==="end"?vt=Oe-Ge:It==="nearest"?vt=T(Ke,Ke+Ge,Ge,ht,pt,Ke+Oe,Ke+Oe+wt,wt):vt=Oe-Ge/2,or==="start"?Nt=ke:or==="center"?Nt=ke-Ye/2:or==="end"?Nt=ke-Ye:Nt=T(qe,qe+Ye,Ye,er,Et,qe+ke,qe+ke+Lt,Lt),vt=Math.max(0,vt+Ke),Nt=Math.max(0,Nt+qe);else{It==="start"?vt=Oe-zt-ht:It==="end"?vt=Oe-Qt+pt+gt:It==="nearest"?vt=T(zt,Qt,$t,ht,pt+gt,Oe,Oe+wt,wt):vt=Oe-(zt+$t/2)+gt/2,or==="start"?Nt=ke-Mt-er:or==="center"?Nt=ke-(Mt+Rt/2)+_t/2:or==="end"?Nt=ke-Gt+Et+_t:Nt=T(Mt,Gt,Rt,er,Et+_t,ke,ke+Lt,Lt);var Ht=At.scrollLeft,kt=At.scrollTop;vt=Math.max(0,Math.min(kt+vt,At.scrollHeight-$t+gt)),Nt=Math.max(0,Math.min(Ht+Nt,At.scrollWidth-Rt+_t)),Oe+=kt-vt,ke+=Ht-Nt}Pe.push({el:At,top:vt,left:Nt})}return Pe};function E(mt){return mt===Object(mt)&&Object.keys(mt).length!==0}function C(mt,ft){ft===void 0&&(ft="auto");var bt="scrollBehavior"in document.body.style;mt.forEach(function(It){var or=It.el,Pt=It.top,_e=It.left;or.scroll&&bt?or.scroll({top:Pt,left:_e,behavior:ft}):(or.scrollTop=Pt,or.scrollLeft=_e)})}function _(mt){return mt===!1?{block:"end",inline:"nearest"}:E(mt)?mt:{block:"start",inline:"nearest"}}function y(mt,ft){var bt=!mt.ownerDocument.documentElement.contains(mt);if(E(ft)&&typeof ft.behavior=="function")return ft.behavior(bt?[]:w(mt,ft));if(bt)return;var It=_(ft);return C(w(mt,It),It.behavior)}var b=y;function O(mt){return mt===void 0||mt===!1?[]:Array.isArray(mt)?mt:[mt]}function I(mt,ft){if(!mt.length)return;var bt=mt.join("_");return ft?"".concat(ft,"_").concat(bt):bt}function M(mt){var ft=O(mt);return ft.join("_")}function F(mt){var ft=Object(r.useForm)(),bt=m()(ft,1),It=bt[0],or=Object(c.useRef)({}),Pt=Object(c.useMemo)(function(){return mt||f()(f()({},It),{__INTERNAL__:{itemRef:function(Ce){return function(Ee){var we=M(Ce);Ee?or.current[we]=Ee:delete or.current[we]}}},scrollToField:function(Ce){var Ee=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},we=O(Ce),Fe=I(we,Pt.__INTERNAL__.name),Ye=Fe?document.getElementById(Fe):null;Ye&&b(Ye,f()({scrollMode:"if-needed",block:"nearest"},Ee))},getFieldInstance:function(Ce){var Ee=M(Ce);return or.current[Ee]}})},[mt,It]);return[Pt]}var P=e("3Nzz"),j=function(mt,ft){var bt={};for(var It in mt)Object.prototype.hasOwnProperty.call(mt,It)&&ft.indexOf(It)<0&&(bt[It]=mt[It]);if(mt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var or=0,It=Object.getOwnPropertySymbols(mt);or<It.length;or++)ft.indexOf(It[or])<0&&Object.prototype.propertyIsEnumerable.call(mt,It[or])&&(bt[It[or]]=mt[It[or]]);return bt},K=function(ft,bt){var It,or=c.useContext(P.b),Pt=c.useContext(o.b),_e=Pt.getPrefixCls,Ce=Pt.direction,Ee=ft.name,we=ft.prefixCls,Fe=ft.className,Ye=Fe===void 0?"":Fe,Ge=ft.size,qe=Ge===void 0?or:Ge,Ke=ft.form,ct=ft.colon,wt=ft.labelAlign,Lt=ft.labelCol,de=ft.wrapperCol,xe=ft.hideRequiredMark,$=ft.layout,se=$===void 0?"horizontal":$,Oe=ft.scrollToFirstError,ke=ft.requiredMark,Pe=ft.onFinishFailed,rt=j(ft,["prefixCls","className","size","form","colon","labelAlign","labelCol","wrapperCol","hideRequiredMark","layout","scrollToFirstError","requiredMark","onFinishFailed"]),At=Object(c.useMemo)(function(){return ke!==void 0?ke:!xe},[xe,ke]),Wt=_e("form",we),$t=i()(Wt,(It={},h()(It,"".concat(Wt,"-").concat(se),!0),h()(It,"".concat(Wt,"-hide-required-mark"),At===!1),h()(It,"".concat(Wt,"-rtl"),Ce==="rtl"),h()(It,"".concat(Wt,"-").concat(qe),qe),It),Ye),Rt=F(Ke),zt=m()(Rt,1),Gt=zt[0],Qt=Gt.__INTERNAL__;Qt.name=Ee;var Mt=Object(c.useMemo)(function(){return{name:Ee,labelAlign:wt,labelCol:Lt,wrapperCol:de,vertical:se==="vertical",colon:ct,requiredMark:At,itemRef:Qt.itemRef}},[Ee,wt,Lt,de,se,ct,At]);c.useImperativeHandle(bt,function(){return Gt});var dr=function(ht){Pe&&Pe(ht),Oe&&ht.errorFields.length&&Gt.scrollToField(ht.errorFields[0].name)};return c.createElement(P.a,{size:qe},c.createElement(n.Provider,{value:Mt},c.createElement(r.default,f()({id:Ee},rt,{onFinishFailed:dr,form:Gt,className:$t}))))},N=c.forwardRef(K),B=N,U=e("cDf5"),H=e.n(U),z=e("RIqP"),X=e.n(z),W=e("Y+p1"),Y=e.n(W),q=e("KW7l"),me=e("c+Xe"),G=e("qrJ5"),ye=e("CWQg"),Ae=e("uaoM"),ve=e("/kpp"),Ue=e("YMnH"),Me=e("ZvpZ"),nt=function(ft){var bt=ft.prefixCls,It=ft.label,or=ft.htmlFor,Pt=ft.labelCol,_e=ft.labelAlign,Ce=ft.colon,Ee=ft.required,we=ft.requiredMark,Fe=Object(Ue.b)("Form"),Ye=m()(Fe,1),Ge=Ye[0];return It?c.createElement(n.Consumer,{key:"label"},function(qe){var Ke,ct=qe.vertical,wt=qe.labelAlign,Lt=qe.labelCol,de=qe.colon,xe,$=Pt||Lt||{},se=_e||wt,Oe="".concat(bt,"-item-label"),ke=i()(Oe,se==="left"&&"".concat(Oe,"-left"),$.className),Pe=It,rt=Ce===!0||de!==!1&&Ce!==!1,At=rt&&!ct;At&&typeof It=="string"&&It.trim()!==""&&(Pe=It.replace(/[:|:]\s*$/,"")),we==="optional"&&!Ee&&(Pe=c.createElement(c.Fragment,null,Pe,c.createElement("span",{className:"".concat(bt,"-item-optional")},(Ge==null?void 0:Ge.optional)||((xe=Me.a.Form)===null||xe===void 0?void 0:xe.optional))));var Wt=i()((Ke={},h()(Ke,"".concat(bt,"-item-required"),Ee),h()(Ke,"".concat(bt,"-item-required-mark-optional"),we==="optional"),h()(Ke,"".concat(bt,"-item-no-colon"),!rt),Ke));return c.createElement(ve.a,f()({},$,{className:ke}),c.createElement("label",{htmlFor:or,className:Wt,title:typeof It=="string"?It:""},Pe))}):null},ne=nt,be=e("gZBC"),ot=e.n(be),ue=e("kbBi"),Q=e.n(ue),V=e("J84W"),J=e.n(V),fe=e("sKbD"),oe=e.n(fe),Le=e("YrtM"),he=e("8XRh"),te=e("hkKa");function Z(mt,ft,bt){var It=c.useRef({errors:mt,visible:!!mt.length}),or=Object(te.a)(),Pt=function(){var Ce=It.current.visible,Ee=!!mt.length,we=It.current.errors;It.current.errors=mt,It.current.visible=Ee,Ce!==Ee?ft(Ee):(we.length!==mt.length||we.some(function(Fe,Ye){return Fe!==mt[Ye]}))&&or()};return c.useEffect(function(){if(!bt){var _e=setTimeout(Pt,10);return function(){return clearTimeout(_e)}}},[mt]),bt&&Pt(),[It.current.visible,It.current.errors]}var ge={success:J.a,warning:oe.a,error:Q.a,validating:ot.a},Re=function(ft){var bt=ft.prefixCls,It=ft.wrapperCol,or=ft.children,Pt=ft.help,_e=ft.errors,Ce=ft.onDomErrorVisibleChange,Ee=ft.hasFeedback,we=ft.validateStatus,Fe=ft.extra,Ye=Object(te.a)(),Ge="".concat(bt,"-item"),qe=c.useContext(n),Ke=It||qe.wrapperCol||{},ct=i()("".concat(Ge,"-control"),Ke.className),wt=Z(_e,function(Pe){Pe&&Promise.resolve().then(function(){Ce(!0)}),Ye()},!!Pt),Lt=m()(wt,2),de=Lt[0],xe=Lt[1];c.useEffect(function(){return function(){Ce(!1)}},[]);var $=Object(Le.a)(function(){return xe},de,function(Pe,rt){return rt}),se=we&&ge[we],Oe=Ee&&se?c.createElement("span",{className:"".concat(Ge,"-children-icon")},c.createElement(se,null)):null,ke=f()({},qe);return delete ke.labelCol,delete ke.wrapperCol,c.createElement(n.Provider,{value:ke},c.createElement(ve.a,f()({},Ke,{className:ct}),c.createElement("div",{className:"".concat(Ge,"-control-input")},c.createElement("div",{className:"".concat(Ge,"-control-input-content")},or),Oe),c.createElement(he.default,{motionDeadline:500,visible:de,motionName:"show-help",onLeaveEnd:function(){Ce(!1)},motionAppear:!0,removeOnLeave:!0},function(Pe){var rt=Pe.className;return c.createElement("div",{className:i()("".concat(Ge,"-explain"),rt),key:"help"},$.map(function(At,Wt){return c.createElement("div",{key:Wt,role:"alert"},At)}))}),Fe&&c.createElement("div",{className:"".concat(Ge,"-extra")},Fe)))},ze=Re,dt=e("0n0R"),De=e("xEkU"),Tt=e.n(De);function je(mt){var ft=c.useState(mt),bt=m()(ft,2),It=bt[0],or=bt[1],Pt=Object(c.useRef)(null),_e=Object(c.useRef)([]),Ce=Object(c.useRef)(!1);c.useEffect(function(){return function(){Ce.current=!0,Tt.a.cancel(Pt.current)}},[]);function Ee(we){if(Ce.current)return;Pt.current===null&&(_e.current=[],Pt.current=Tt()(function(){Pt.current=null,or(function(Fe){var Ye=Fe;return _e.current.forEach(function(Ge){Ye=Ge(Ye)}),Ye})})),_e.current.push(we)}return[It,Ee]}function st(){var mt=c.useContext(n),ft=mt.itemRef,bt=c.useRef({});function It(or,Pt){var _e=Pt&&H()(Pt)==="object"&&Pt.ref,Ce=or.join("_");return(bt.current.name!==Ce||bt.current.originRef!==_e)&&(bt.current.name=Ce,bt.current.originRef=_e,bt.current.ref=Object(me.a)(ft(or),_e)),bt.current.ref}return It}var Xe=function(mt,ft){var bt={};for(var It in mt)Object.prototype.hasOwnProperty.call(mt,It)&&ft.indexOf(It)<0&&(bt[It]=mt[It]);if(mt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var or=0,It=Object.getOwnPropertySymbols(mt);or<It.length;or++)ft.indexOf(It[or])<0&&Object.prototype.propertyIsEnumerable.call(mt,It[or])&&(bt[It[or]]=mt[It[or]]);return bt},Je=Object(ye.a)("success","warning","error","validating",""),et=c.memo(function(mt){var ft=mt.children;return ft},function(mt,ft){return mt.value===ft.value&&mt.update===ft.update});function at(mt){return mt===null&&Object(Ae.a)(!1,"Form.Item","`null` is passed as `name` property"),!(mt==null)}function Ve(mt){var ft=mt.name,bt=mt.fieldKey,It=mt.noStyle,or=mt.dependencies,Pt=mt.prefixCls,_e=mt.style,Ce=mt.className,Ee=mt.shouldUpdate,we=mt.hasFeedback,Fe=mt.help,Ye=mt.rules,Ge=mt.validateStatus,qe=mt.children,Ke=mt.required,ct=mt.label,wt=mt.trigger,Lt=wt===void 0?"onChange":wt,de=mt.validateTrigger,xe=mt.hidden,$=Xe(mt,["name","fieldKey","noStyle","dependencies","prefixCls","style","className","shouldUpdate","hasFeedback","help","rules","validateStatus","children","required","label","trigger","validateTrigger","hidden"]),se=c.useRef(!1),Oe=c.useContext(o.b),ke=Oe.getPrefixCls,Pe=c.useContext(n),rt=Pe.name,At=Pe.requiredMark,Wt=c.useContext(l),$t=Wt.updateItemErrors,Rt=c.useState(!!Fe),zt=m()(Rt,2),Gt=zt[0],Qt=zt[1],Mt=c.useRef(Ge),dr=je({}),er=m()(dr,2),ht=er[0],Et=er[1],pt=c.useContext(q.b),vt=pt.validateTrigger,Nt=de!==void 0?de:vt;function _t(tn){se.current||Qt(tn)}var gt=at(ft),Ht=c.useRef([]);c.useEffect(function(){return function(){se.current=!0,$t(Ht.current.join("__SPLIT__"),[])}},[]);var kt=ke("form",Pt),ir=It?$t:function(tn,qr){Et(function(){var _r=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};return Y()(_r[tn],qr)?_r:f()(f()({},_r),h()({},tn,qr))})},Xt=st();function mr(tn,qr,_r,Qr){var Lr,ur;if(It&&!xe)return tn;var pr=[];Object.keys(ht).forEach(function(Yr){pr=[].concat(X()(pr),X()(ht[Yr]||[]))});var cr;Fe!=null?cr=O(Fe):(cr=_r?_r.errors:[],cr=[].concat(X()(cr),X()(pr)));var fr="";Ge!==void 0?fr=Ge:(_r==null?void 0:_r.validating)?fr="validating":((ur=_r==null?void 0:_r.errors)===null||ur===void 0?void 0:ur.length)||pr.length?fr="error":(_r==null?void 0:_r.touched)&&(fr="success"),Gt&&Fe&&(Mt.current=fr);var xr=(Lr={},h()(Lr,"".concat(kt,"-item"),!0),h()(Lr,"".concat(kt,"-item-with-help"),Gt||Fe),h()(Lr,"".concat(Ce),!!Ce),h()(Lr,"".concat(kt,"-item-has-feedback"),fr&&we),h()(Lr,"".concat(kt,"-item-has-success"),fr==="success"),h()(Lr,"".concat(kt,"-item-has-warning"),fr==="warning"),h()(Lr,"".concat(kt,"-item-has-error"),fr==="error"),h()(Lr,"".concat(kt,"-item-has-error-leave"),!Fe&&Gt&&Mt.current==="error"),h()(Lr,"".concat(kt,"-item-is-validating"),fr==="validating"),h()(Lr,"".concat(kt,"-item-hidden"),xe),Lr);return c.createElement(G.a,f()({className:i()(xr),style:_e,key:"row"},Object(d.default)($,["colon","extra","getValueFromEvent","getValueProps","hasFeedback","help","htmlFor","id","initialValue","isListField","label","labelAlign","labelCol","normalize","preserve","required","validateFirst","validateStatus","valuePropName","wrapperCol"])),c.createElement(ne,f()({htmlFor:qr,required:Qr,requiredMark:At},mt,{prefixCls:kt})),c.createElement(ze,f()({},mt,_r,{errors:cr,prefixCls:kt,onDomErrorVisibleChange:_t,validateStatus:fr}),c.createElement(l.Provider,{value:{updateItemErrors:ir}},tn)))}var Ar=typeof qe=="function",Nr=c.useRef(0);if(Nr.current+=1,!gt&&!Ar&&!or)return mr(qe);var kr={};return typeof ct=="string"&&(kr.label=ct),c.createElement(r.Field,f()({},mt,{messageVariables:kr,trigger:Lt,validateTrigger:Nt,onReset:function(){_t(!1)}}),function(tn,qr,_r){var Qr=qr.errors,Lr=O(ft).length&&qr?qr.name:[],ur=I(Lr,rt);if(It){if(Ht.current=X()(Lr),bt){var pr=Array.isArray(bt)?bt:[bt];Ht.current=[].concat(X()(Lr.slice(0,-1)),X()(pr))}$t(Ht.current.join("__SPLIT__"),Qr)}var cr=Ke!==void 0?Ke:!!(Ye&&Ye.some(function(Nn){if(Nn&&H()(Nn)==="object"&&Nn.required)return!0;if(typeof Nn=="function"){var jr=Nn(_r);return jr&&jr.required}return!1})),fr=f()({},tn),xr=null;if(Object(Ae.a)(!(Ee&&or),"Form.Item","`shouldUpdate` and `dependencies` shouldn't be used together. See https://ant.design/components/form/#dependencies."),Array.isArray(qe)&>)Object(Ae.a)(!1,"Form.Item","`children` is array of render props cannot have `name`."),xr=qe;else if(Ar&&(!(Ee||or)||gt))Object(Ae.a)(!!(Ee||or),"Form.Item","`children` of render props only work with `shouldUpdate` or `dependencies`."),Object(Ae.a)(!gt,"Form.Item","Do not use `name` with `children` of render props since it's not a field.");else if(or&&!Ar&&!gt)Object(Ae.a)(!1,"Form.Item","Must set `name` or use render props when `dependencies` is set.");else if(Object(dt.b)(qe)){Object(Ae.a)(qe.props.defaultValue===void 0,"Form.Item","`defaultValue` will not work on controlled Field. You should use `initialValues` of Form instead.");var Yr=f()(f()({},qe.props),fr);Yr.id||(Yr.id=ur),Object(me.c)(qe)&&(Yr.ref=Xt(Lr,qe));var un=new Set([].concat(X()(O(Lt)),X()(O(Nt))));un.forEach(function(Nn){Yr[Nn]=function(){for(var jr,Tn,gn,Bn,Kn,qn=arguments.length,Yn=new Array(qn),Vn=0;Vn<qn;Vn++)Yn[Vn]=arguments[Vn];(gn=fr[Nn])===null||gn===void 0||(jr=gn).call.apply(jr,[fr].concat(Yn)),(Kn=(Bn=qe.props)[Nn])===null||Kn===void 0||(Tn=Kn).call.apply(Tn,[Bn].concat(Yn))}}),xr=c.createElement(et,{value:fr[mt.valuePropName||"value"],update:Nr.current},Object(dt.a)(qe,Yr))}else Ar&&(Ee||or)&&!gt?xr=qe(_r):(Object(Ae.a)(!Lr.length,"Form.Item","`name` is only used for validate React element. If you are using Form.Item as layout display, please remove `name` instead."),xr=qe);return mr(xr,ur,qr,cr)})}var le=Ve,ae=function(mt,ft){var bt={};for(var It in mt)Object.prototype.hasOwnProperty.call(mt,It)&&ft.indexOf(It)<0&&(bt[It]=mt[It]);if(mt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var or=0,It=Object.getOwnPropertySymbols(mt);or<It.length;or++)ft.indexOf(It[or])<0&&Object.prototype.propertyIsEnumerable.call(mt,It[or])&&(bt[It[or]]=mt[It[or]]);return bt},lt=function(ft){var bt=ft.children,It=ae(ft,["children"]);return Object(Ae.a)(!!It.name,"Form.List","Miss `name` prop."),c.createElement(r.List,It,function(or,Pt){return bt(or.map(function(_e){return f()(f()({},_e),{fieldKey:_e.key})}),Pt)})},Ze=lt,Te=B;Te.Item=le,Te.List=Ze,Te.useForm=F,Te.Provider=t,Te.create=function(){Object(Ae.a)(!1,"Form","antd v4 removed `Form.create`. Please remove or use `@ant-design/compatible` instead.")};var Jt=D.a=Te},VpOo:function(R,D){function e(g,f){var A=f.x,m=f.y,v=f.width,h=f.height,c=f.r,a,i,r,o;v<0&&(A=A+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(A+a,m),g.lineTo(A+v-i,m),i!==0&&g.arc(A+v-i,m+i,i,-Math.PI/2,0),g.lineTo(A+v,m+h-r),r!==0&&g.arc(A+v-r,m+h-r,r,0,Math.PI/2),g.lineTo(A+o,m+h),o!==0&&g.arc(A+o,m+h-o,o,Math.PI/2,Math.PI),g.lineTo(A,m+a),a!==0&&g.arc(A+a,m+a,a,Math.PI,Math.PI*1.5)}D.buildPath=e},"VrN/":function(R,D,e){(function(g,f){R.exports=f()})(this,function(){"use strict";var g=navigator.userAgent,f=navigator.platform,A=/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),x=s||/Mac/.test(f),S=/\bCrOS\b/.test(g),T=/win/i.test(f),w=d&&g.match(/Version\/(\d*\.\d*)/);w&&(w=Number(w[1])),w&&w>=15&&(d=!1,i=!0);var E=x&&(r||d&&(w==null||w<12.11)),C=A||c&&a>=9;function _(L){return new RegExp("(^|\\s)"+L+"(?:$|\\s)\\s*")}var y=function(k,ee){var re=k.className,ce=_(ee).exec(re);if(ce){var Be=re.slice(ce.index+ce[0].length);k.className=re.slice(0,ce.index)+(Be?ce[1]+Be:"")}};function b(L){for(var k=L.childNodes.length;k>0;--k)L.removeChild(L.firstChild);return L}function O(L,k){return b(L).appendChild(k)}function I(L,k,ee,re){var ce=document.createElement(L);if(ee&&(ce.className=ee),re&&(ce.style.cssText=re),typeof k=="string")ce.appendChild(document.createTextNode(k));else if(k)for(var Be=0;Be<k.length;++Be)ce.appendChild(k[Be]);return ce}function M(L,k,ee,re){var ce=I(L,k,ee,re);return ce.setAttribute("role","presentation"),ce}var F;document.createRange?F=function(k,ee,re,ce){var Be=document.createRange();return Be.setEnd(ce||k,re),Be.setStart(k,ee),Be}:F=function(k,ee,re){var ce=document.body.createTextRange();try{ce.moveToElementText(k.parentNode)}catch(Be){return ce}return ce.collapse(!0),ce.moveEnd("character",re),ce.moveStart("character",ee),ce};function P(L,k){if(k.nodeType==3&&(k=k.parentNode),L.contains)return L.contains(k);do if(k.nodeType==11&&(k=k.host),k==L)return!0;while(k=k.parentNode)}function j(){var L;try{L=document.activeElement}catch(k){L=document.body||null}for(;L&&L.shadowRoot&&L.shadowRoot.activeElement;)L=L.shadowRoot.activeElement;return L}function K(L,k){var ee=L.className;_(k).test(ee)||(L.className+=(ee?" ":"")+k)}function N(L,k){for(var ee=L.split(" "),re=0;re<ee.length;re++)ee[re]&&!_(ee[re]).test(k)&&(k+=" "+ee[re]);return k}var B=function(k){k.select()};s?B=function(k){k.selectionStart=0,k.selectionEnd=k.value.length}:c&&(B=function(k){try{k.select()}catch(ee){}});function U(L){var k=Array.prototype.slice.call(arguments,1);return function(){return L.apply(null,k)}}function H(L,k,ee){k||(k={});for(var re in L)L.hasOwnProperty(re)&&(ee!==!1||!k.hasOwnProperty(re))&&(k[re]=L[re]);return k}function z(L,k,ee,re,ce){k==null&&(k=L.search(/[^\s\u00a0]/),k==-1&&(k=L.length));for(var Be=re||0,yt=ce||0;;){var Dt=L.indexOf(" ",Be);if(Dt<0||Dt>=k)return yt+(k-Be);yt+=Dt-Be,yt+=ee-yt%ee,Be=Dt+1}}var X=function(){this.id=null,this.f=null,this.time=0,this.handler=U(this.onTimeout,this)};X.prototype.onTimeout=function(L){L.id=0,L.time<=+new Date?L.f():setTimeout(L.handler,L.time-+new Date)},X.prototype.set=function(L,k){this.f=k;var ee=+new Date+L;(!this.id||ee<this.time)&&(clearTimeout(this.id),this.id=setTimeout(this.handler,L),this.time=ee)};function W(L,k){for(var ee=0;ee<L.length;++ee)if(L[ee]==k)return ee;return-1}var Y=50,q={toString:function(){return"CodeMirror.Pass"}},me={scroll:!1},G={origin:"*mouse"},ye={origin:"+move"};function Ae(L,k,ee){for(var re=0,ce=0;;){var Be=L.indexOf(" ",re);Be==-1&&(Be=L.length);var yt=Be-re;if(Be==L.length||ce+yt>=k)return re+Math.min(yt,k-ce);if(ce+=Be-re,ce+=ee-ce%ee,re=Be+1,ce>=k)return re}}var ve=[""];function Ue(L){for(;ve.length<=L;)ve.push(Me(ve)+" ");return ve[L]}function Me(L){return L[L.length-1]}function nt(L,k){for(var ee=[],re=0;re<L.length;re++)ee[re]=k(L[re],re);return ee}function ne(L,k,ee){for(var re=0,ce=ee(k);re<L.length&&ee(L[re])<=ce;)re++;L.splice(re,0,k)}function be(){}function ot(L,k){var ee;return Object.create?ee=Object.create(L):(be.prototype=L,ee=new be),k&&H(k,ee),ee}var ue=/[\u00df\u0587\u0590-\u05f4\u0600-\u06ff\u3040-\u309f\u30a0-\u30ff\u3400-\u4db5\u4e00-\u9fcc\uac00-\ud7af]/;function Q(L){return/\w/.test(L)||L>"\x80"&&(L.toUpperCase()!=L.toLowerCase()||ue.test(L))}function V(L,k){return k?k.source.indexOf("\\w")>-1&&Q(L)?!0:k.test(L):Q(L)}function J(L){for(var k in L)if(L.hasOwnProperty(k)&&L[k])return!1;return!0}var fe=/[\u0300-\u036f\u0483-\u0489\u0591-\u05bd\u05bf\u05c1\u05c2\u05c4\u05c5\u05c7\u0610-\u061a\u064b-\u065e\u0670\u06d6-\u06dc\u06de-\u06e4\u06e7\u06e8\u06ea-\u06ed\u0711\u0730-\u074a\u07a6-\u07b0\u07eb-\u07f3\u0816-\u0819\u081b-\u0823\u0825-\u0827\u0829-\u082d\u0900-\u0902\u093c\u0941-\u0948\u094d\u0951-\u0955\u0962\u0963\u0981\u09bc\u09be\u09c1-\u09c4\u09cd\u09d7\u09e2\u09e3\u0a01\u0a02\u0a3c\u0a41\u0a42\u0a47\u0a48\u0a4b-\u0a4d\u0a51\u0a70\u0a71\u0a75\u0a81\u0a82\u0abc\u0ac1-\u0ac5\u0ac7\u0ac8\u0acd\u0ae2\u0ae3\u0b01\u0b3c\u0b3e\u0b3f\u0b41-\u0b44\u0b4d\u0b56\u0b57\u0b62\u0b63\u0b82\u0bbe\u0bc0\u0bcd\u0bd7\u0c3e-\u0c40\u0c46-\u0c48\u0c4a-\u0c4d\u0c55\u0c56\u0c62\u0c63\u0cbc\u0cbf\u0cc2\u0cc6\u0ccc\u0ccd\u0cd5\u0cd6\u0ce2\u0ce3\u0d3e\u0d41-\u0d44\u0d4d\u0d57\u0d62\u0d63\u0dca\u0dcf\u0dd2-\u0dd4\u0dd6\u0ddf\u0e31\u0e34-\u0e3a\u0e47-\u0e4e\u0eb1\u0eb4-\u0eb9\u0ebb\u0ebc\u0ec8-\u0ecd\u0f18\u0f19\u0f35\u0f37\u0f39\u0f71-\u0f7e\u0f80-\u0f84\u0f86\u0f87\u0f90-\u0f97\u0f99-\u0fbc\u0fc6\u102d-\u1030\u1032-\u1037\u1039\u103a\u103d\u103e\u1058\u1059\u105e-\u1060\u1071-\u1074\u1082\u1085\u1086\u108d\u109d\u135f\u1712-\u1714\u1732-\u1734\u1752\u1753\u1772\u1773\u17b7-\u17bd\u17c6\u17c9-\u17d3\u17dd\u180b-\u180d\u18a9\u1920-\u1922\u1927\u1928\u1932\u1939-\u193b\u1a17\u1a18\u1a56\u1a58-\u1a5e\u1a60\u1a62\u1a65-\u1a6c\u1a73-\u1a7c\u1a7f\u1b00-\u1b03\u1b34\u1b36-\u1b3a\u1b3c\u1b42\u1b6b-\u1b73\u1b80\u1b81\u1ba2-\u1ba5\u1ba8\u1ba9\u1c2c-\u1c33\u1c36\u1c37\u1cd0-\u1cd2\u1cd4-\u1ce0\u1ce2-\u1ce8\u1ced\u1dc0-\u1de6\u1dfd-\u1dff\u200c\u200d\u20d0-\u20f0\u2cef-\u2cf1\u2de0-\u2dff\u302a-\u302f\u3099\u309a\ua66f-\ua672\ua67c\ua67d\ua6f0\ua6f1\ua802\ua806\ua80b\ua825\ua826\ua8c4\ua8e0-\ua8f1\ua926-\ua92d\ua947-\ua951\ua980-\ua982\ua9b3\ua9b6-\ua9b9\ua9bc\uaa29-\uaa2e\uaa31\uaa32\uaa35\uaa36\uaa43\uaa4c\uaab0\uaab2-\uaab4\uaab7\uaab8\uaabe\uaabf\uaac1\uabe5\uabe8\uabed\udc00-\udfff\ufb1e\ufe00-\ufe0f\ufe20-\ufe26\uff9e\uff9f]/;function oe(L){return L.charCodeAt(0)>=768&&fe.test(L)}function Le(L,k,ee){for(;(ee<0?k>0:k<L.length)&&oe(L.charAt(k));)k+=ee;return k}function he(L,k,ee){for(var re=k>ee?-1:1;;){if(k==ee)return k;var ce=(k+ee)/2,Be=re<0?Math.ceil(ce):Math.floor(ce);if(Be==k)return L(Be)?k:ee;L(Be)?ee=Be:k=Be+re}}function te(L,k,ee,re){if(!L)return re(k,ee,"ltr",0);for(var ce=!1,Be=0;Be<L.length;++Be){var yt=L[Be];(yt.from<ee&&yt.to>k||k==ee&&yt.to==k)&&(re(Math.max(yt.from,k),Math.min(yt.to,ee),yt.level==1?"rtl":"ltr",Be),ce=!0)}ce||re(k,ee,"ltr")}var Z=null;function ge(L,k,ee){var re;Z=null;for(var ce=0;ce<L.length;++ce){var Be=L[ce];if(Be.from<k&&Be.to>k)return ce;Be.to==k&&(Be.from!=Be.to&&ee=="before"?re=ce:Z=ce),Be.from==k&&(Be.from!=Be.to&&ee!="before"?re=ce:Z=ce)}return re!=null?re:Z}var Re=function(){var L="bbbbbbbbbtstwsbbbbbbbbbbbbbbssstwNN%%%NNNNNN,N,N1111111111NNNNNNNLLLLLLLLLLLLLLLLLLLLLLLLLLNNNNNNLLLLLLLLLLLLLLLLLLLLLLLLLLNNNNbbbbbbsbbbbbbbbbbbbbbbbbbbbbbbbbb,N%%%%NNNNLNNNNN%%11NLNNN1LNNNNNLLLLLLLLLLLLLLLLLLLLLLLNLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLN",k="nnnnnnNNr%%r,rNNmmmmmmmmmmmrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrmmmmmmmmmmmmmmmmmmmmmnnnnnnnnnn%nnrrrmrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrmmmmmmmnNmmmmmmrrmmNmmmmrr1111111111";function ee(Yt){return Yt<=247?L.charAt(Yt):1424<=Yt&&Yt<=1524?"R":1536<=Yt&&Yt<=1785?k.charAt(Yt-1536):1774<=Yt&&Yt<=2220?"r":8192<=Yt&&Yt<=8203?"w":Yt==8204?"b":"L"}var re=/[\u0590-\u05f4\u0600-\u06ff\u0700-\u08ac]/,ce=/[stwN]/,Be=/[LRr]/,yt=/[Lb1n]/,Dt=/[1n]/;function Kt(Yt,Cr,Ur){this.level=Yt,this.from=Cr,this.to=Ur}return function(Yt,Cr){var Ur=Cr=="ltr"?"L":"R";if(Yt.length==0||Cr=="ltr"&&!re.test(Yt))return!1;for(var en=Yt.length,nn=[],xn=0;xn<en;++xn)nn.push(ee(Yt.charCodeAt(xn)));for(var Pn=0,Jn=Ur;Pn<en;++Pn){var Zn=nn[Pn];Zn=="m"?nn[Pn]=Jn:Jn=Zn}for(var oi=0,li=Ur;oi<en;++oi){var $e=nn[oi];$e=="1"&&li=="r"?nn[oi]="n":Be.test($e)&&(li=$e,$e=="r"&&(nn[oi]="R"))}for(var ie=1,He=nn[0];ie<en-1;++ie){var tt=nn[ie];tt=="+"&&He=="1"&&nn[ie+1]=="1"?nn[ie]="1":tt==","&&He==nn[ie+1]&&(He=="1"||He=="n")&&(nn[ie]=He),He=tt}for(var Ot=0;Ot<en;++Ot){var tr=nn[Ot];if(tr==",")nn[Ot]="N";else if(tr=="%"){var vr=void 0;for(vr=Ot+1;vr<en&&nn[vr]=="%";++vr);for(var Ir=Ot&&nn[Ot-1]=="!"||vr<en&&nn[vr]=="1"?"1":"N",Hr=Ot;Hr<vr;++Hr)nn[Hr]=Ir;Ot=vr-1}}for(var zr=0,cn=Ur;zr<en;++zr){var sn=nn[zr];cn=="L"&&sn=="1"?nn[zr]="L":Be.test(sn)&&(cn=sn)}for(var kn=0;kn<en;++kn)if(ce.test(nn[kn])){var si=void 0;for(si=kn+1;si<en&&ce.test(nn[si]);++si);for(var zn=(kn?nn[kn-1]:Ur)=="L",fi=(si<en?nn[si]:Ur)=="L",da=zn==fi?zn?"L":"R":Ur,Ti=kn;Ti<si;++Ti)nn[Ti]=da;kn=si-1}for(var na=[],La,Bi=0;Bi<en;)if(yt.test(nn[Bi])){var Lo=Bi;for(++Bi;Bi<en&&yt.test(nn[Bi]);++Bi);na.push(new Kt(0,Lo,Bi))}else{var no=Bi,Ko=na.length,Bo=Cr=="rtl"?1:0;for(++Bi;Bi<en&&nn[Bi]!="L";++Bi);for(var Fa=no;Fa<Bi;)if(Dt.test(nn[Fa])){no<Fa&&(na.splice(Ko,0,new Kt(1,no,Fa)),Ko+=Bo);var Wo=Fa;for(++Fa;Fa<Bi&&Dt.test(nn[Fa]);++Fa);na.splice(Ko,0,new Kt(2,Wo,Fa)),Ko+=Bo,no=Fa}else++Fa;no<Bi&&na.splice(Ko,0,new Kt(1,no,Bi))}return Cr=="ltr"&&(na[0].level==1&&(La=Yt.match(/^\s+/))&&(na[0].from=La[0].length,na.unshift(new Kt(0,0,La[0].length))),Me(na).level==1&&(La=Yt.match(/\s+$/))&&(Me(na).to-=La[0].length,na.push(new Kt(0,en-La[0].length,en)))),Cr=="rtl"?na.reverse():na}}();function ze(L,k){var ee=L.order;return ee==null&&(ee=L.order=Re(L.text,k)),ee}var dt=[],De=function(k,ee,re){if(k.addEventListener)k.addEventListener(ee,re,!1);else if(k.attachEvent)k.attachEvent("on"+ee,re);else{var ce=k._handlers||(k._handlers={});ce[ee]=(ce[ee]||dt).concat(re)}};function Tt(L,k){return L._handlers&&L._handlers[k]||dt}function je(L,k,ee){if(L.removeEventListener)L.removeEventListener(k,ee,!1);else if(L.detachEvent)L.detachEvent("on"+k,ee);else{var re=L._handlers,ce=re&&re[k];if(ce){var Be=W(ce,ee);Be>-1&&(re[k]=ce.slice(0,Be).concat(ce.slice(Be+1)))}}}function st(L,k){var ee=Tt(L,k);if(!ee.length)return;for(var re=Array.prototype.slice.call(arguments,2),ce=0;ce<ee.length;++ce)ee[ce].apply(null,re)}function Xe(L,k,ee){return typeof k=="string"&&(k={type:k,preventDefault:function(){this.defaultPrevented=!0}}),st(L,ee||k.type,L,k),ae(k)||k.codemirrorIgnore}function Je(L){var k=L._handlers&&L._handlers.cursorActivity;if(!k)return;for(var ee=L.curOp.cursorActivityHandlers||(L.curOp.cursorActivityHandlers=[]),re=0;re<k.length;++re)W(ee,k[re])==-1&&ee.push(k[re])}function et(L,k){return Tt(L,k).length>0}function at(L){L.prototype.on=function(k,ee){De(this,k,ee)},L.prototype.off=function(k,ee){je(this,k,ee)}}function Ve(L){L.preventDefault?L.preventDefault():L.returnValue=!1}function le(L){L.stopPropagation?L.stopPropagation():L.cancelBubble=!0}function ae(L){return L.defaultPrevented!=null?L.defaultPrevented:L.returnValue==!1}function lt(L){Ve(L),le(L)}function Ze(L){return L.target||L.srcElement}function Te(L){var k=L.which;return k==null&&(L.button&1?k=1:L.button&2?k=3:L.button&4&&(k=2)),x&&L.ctrlKey&&k==1&&(k=3),k}var Jt=function(){if(c&&a<9)return!1;var L=I("div");return"draggable"in L||"dragDrop"in L}(),mt;function ft(L){if(mt==null){var k=I("span","\u200B");O(L,I("span",[k,document.createTextNode("x")])),L.firstChild.offsetHeight!=0&&(mt=k.offsetWidth<=1&&k.offsetHeight>2&&!(c&&a<8))}var ee=mt?I("span","\u200B"):I("span","\xA0",null,"display: inline-block; width: 1px; margin-right: -1px");return ee.setAttribute("cm-text",""),ee}var bt;function It(L){if(bt!=null)return bt;var k=O(L,document.createTextNode("A\u062EA")),ee=F(k,0,1).getBoundingClientRect(),re=F(k,1,2).getBoundingClientRect();return b(L),!ee||ee.left==ee.right?!1:bt=re.right-ee.right<3}var or=`
|
|
|
|
|
|
b`.split(/\n/).length!=3?function(L){for(var k=0,ee=[],re=L.length;k<=re;){var ce=L.indexOf(`
|
|
|
`,k);ce==-1&&(ce=L.length);var Be=L.slice(k,L.charAt(ce-1)=="\r"?ce-1:ce),yt=Be.indexOf("\r");yt!=-1?(ee.push(Be.slice(0,yt)),k+=yt+1):(ee.push(Be),k=ce+1)}return ee}:function(L){return L.split(/\r\n?|\n/)},Pt=window.getSelection?function(L){try{return L.selectionStart!=L.selectionEnd}catch(k){return!1}}:function(L){var k;try{k=L.ownerDocument.selection.createRange()}catch(ee){}return!k||k.parentElement()!=L?!1:k.compareEndPoints("StartToEnd",k)!=0},_e=function(){var L=I("div");return"oncopy"in L?!0:(L.setAttribute("oncopy","return;"),typeof L.oncopy=="function")}(),Ce=null;function Ee(L){if(Ce!=null)return Ce;var k=O(L,I("span","x")),ee=k.getBoundingClientRect(),re=F(k,0,1).getBoundingClientRect();return Ce=Math.abs(ee.left-re.left)>1}var we={},Fe={};function Ye(L,k){arguments.length>2&&(k.dependencies=Array.prototype.slice.call(arguments,2)),we[L]=k}function Ge(L,k){Fe[L]=k}function qe(L){if(typeof L=="string"&&Fe.hasOwnProperty(L))L=Fe[L];else if(L&&typeof L.name=="string"&&Fe.hasOwnProperty(L.name)){var k=Fe[L.name];typeof k=="string"&&(k={name:k}),L=ot(k,L),L.name=k.name}else{if(typeof L=="string"&&/^[\w\-]+\/[\w\-]+\+xml$/.test(L))return qe("application/xml");if(typeof L=="string"&&/^[\w\-]+\/[\w\-]+\+json$/.test(L))return qe("application/json")}return typeof L=="string"?{name:L}:L||{name:"null"}}function Ke(L,k){k=qe(k);var ee=we[k.name];if(!ee)return Ke(L,"text/plain");var re=ee(L,k);if(ct.hasOwnProperty(k.name)){var ce=ct[k.name];for(var Be in ce){if(!ce.hasOwnProperty(Be))continue;re.hasOwnProperty(Be)&&(re["_"+Be]=re[Be]),re[Be]=ce[Be]}}if(re.name=k.name,k.helperType&&(re.helperType=k.helperType),k.modeProps)for(var yt in k.modeProps)re[yt]=k.modeProps[yt];return re}var ct={};function wt(L,k){var ee=ct.hasOwnProperty(L)?ct[L]:ct[L]={};H(k,ee)}function Lt(L,k){if(k===!0)return k;if(L.copyState)return L.copyState(k);var ee={};for(var re in k){var ce=k[re];ce instanceof Array&&(ce=ce.concat([])),ee[re]=ce}return ee}function de(L,k){for(var ee;L.innerMode&&!(ee=L.innerMode(k),!ee||ee.mode==L);)k=ee.state,L=ee.mode;return ee||{mode:L,state:k}}function xe(L,k,ee){return L.startState?L.startState(k,ee):!0}var $=function(k,ee,re){this.pos=this.start=0,this.string=k,this.tabSize=ee||8,this.lastColumnPos=this.lastColumnValue=0,this.lineStart=0,this.lineOracle=re};$.prototype.eol=function(){return this.pos>=this.string.length},$.prototype.sol=function(){return this.pos==this.lineStart},$.prototype.peek=function(){return this.string.charAt(this.pos)||void 0},$.prototype.next=function(){if(this.pos<this.string.length)return this.string.charAt(this.pos++)},$.prototype.eat=function(L){var k=this.string.charAt(this.pos),ee;if(typeof L=="string"?ee=k==L:ee=k&&(L.test?L.test(k):L(k)),ee)return++this.pos,k},$.prototype.eatWhile=function(L){for(var k=this.pos;this.eat(L););return this.pos>k},$.prototype.eatSpace=function(){for(var L=this.pos;/[\s\u00a0]/.test(this.string.charAt(this.pos));)++this.pos;return this.pos>L},$.prototype.skipToEnd=function(){this.pos=this.string.length},$.prototype.skipTo=function(L){var k=this.string.indexOf(L,this.pos);if(k>-1)return this.pos=k,!0},$.prototype.backUp=function(L){this.pos-=L},$.prototype.column=function(){return this.lastColumnPos<this.start&&(this.lastColumnValue=z(this.string,this.start,this.tabSize,this.lastColumnPos,this.lastColumnValue),this.lastColumnPos=this.start),this.lastColumnValue-(this.lineStart?z(this.string,this.lineStart,this.tabSize):0)},$.prototype.indentation=function(){return z(this.string,null,this.tabSize)-(this.lineStart?z(this.string,this.lineStart,this.tabSize):0)},$.prototype.match=function(L,k,ee){if(typeof L=="string"){var re=function(Dt){return ee?Dt.toLowerCase():Dt},ce=this.string.substr(this.pos,L.length);if(re(ce)==re(L))return k!==!1&&(this.pos+=L.length),!0}else{var Be=this.string.slice(this.pos).match(L);return Be&&Be.index>0?null:(Be&&k!==!1&&(this.pos+=Be[0].length),Be)}},$.prototype.current=function(){return this.string.slice(this.start,this.pos)},$.prototype.hideFirstChars=function(L,k){this.lineStart+=L;try{return k()}finally{this.lineStart-=L}},$.prototype.lookAhead=function(L){var k=this.lineOracle;return k&&k.lookAhead(L)},$.prototype.baseToken=function(){var L=this.lineOracle;return L&&L.baseToken(this.pos)};function se(L,k){if(k-=L.first,k<0||k>=L.size)throw new Error("There is no line "+(k+L.first)+" in the document.");for(var ee=L;!ee.lines;)for(var re=0;;++re){var ce=ee.children[re],Be=ce.chunkSize();if(k<Be){ee=ce;break}k-=Be}return ee.lines[k]}function Oe(L,k,ee){var re=[],ce=k.line;return L.iter(k.line,ee.line+1,function(Be){var yt=Be.text;ce==ee.line&&(yt=yt.slice(0,ee.ch)),ce==k.line&&(yt=yt.slice(k.ch)),re.push(yt),++ce}),re}function ke(L,k,ee){var re=[];return L.iter(k,ee,function(ce){re.push(ce.text)}),re}function Pe(L,k){var ee=k-L.height;if(ee)for(var re=L;re;re=re.parent)re.height+=ee}function rt(L){if(L.parent==null)return null;for(var k=L.parent,ee=W(k.lines,L),re=k.parent;re;k=re,re=re.parent)for(var ce=0;!(re.children[ce]==k);++ce)ee+=re.children[ce].chunkSize();return ee+k.first}function At(L,k){var ee=L.first;e:do{for(var re=0;re<L.children.length;++re){var ce=L.children[re],Be=ce.height;if(k<Be){L=ce;continue e}k-=Be,ee+=ce.chunkSize()}return ee}while(!L.lines);for(var yt=0;yt<L.lines.length;++yt){var Dt=L.lines[yt],Kt=Dt.height;if(k<Kt)break;k-=Kt}return ee+yt}function Wt(L,k){return k>=L.first&&k<L.first+L.size}function $t(L,k){return String(L.lineNumberFormatter(k+L.firstLineNumber))}function Rt(L,k,ee){if(ee===void 0&&(ee=null),!(this instanceof Rt))return new Rt(L,k,ee);this.line=L,this.ch=k,this.sticky=ee}function zt(L,k){return L.line-k.line||L.ch-k.ch}function Gt(L,k){return L.sticky==k.sticky&&zt(L,k)==0}function Qt(L){return Rt(L.line,L.ch)}function Mt(L,k){return zt(L,k)<0?k:L}function dr(L,k){return zt(L,k)<0?L:k}function er(L,k){return Math.max(L.first,Math.min(k,L.first+L.size-1))}function ht(L,k){if(k.line<L.first)return Rt(L.first,0);var ee=L.first+L.size-1;return k.line>ee?Rt(ee,se(L,ee).text.length):Et(k,se(L,k.line).text.length)}function Et(L,k){var ee=L.ch;return ee==null||ee>k?Rt(L.line,k):ee<0?Rt(L.line,0):L}function pt(L,k){for(var ee=[],re=0;re<k.length;re++)ee[re]=ht(L,k[re]);return ee}var vt=function(k,ee){this.state=k,this.lookAhead=ee},Nt=function(k,ee,re,ce){this.state=ee,this.doc=k,this.line=re,this.maxLookAhead=ce||0,this.baseTokens=null,this.baseTokenPos=1};Nt.prototype.lookAhead=function(L){var k=this.doc.getLine(this.line+L);return k!=null&&L>this.maxLookAhead&&(this.maxLookAhead=L),k},Nt.prototype.baseToken=function(L){if(!this.baseTokens)return null;for(;this.baseTokens[this.baseTokenPos]<=L;)this.baseTokenPos+=2;var k=this.baseTokens[this.baseTokenPos+1];return{type:k&&k.replace(/( |^)overlay .*/,""),size:this.baseTokens[this.baseTokenPos]-L}},Nt.prototype.nextLine=function(){this.line++,this.maxLookAhead>0&&this.maxLookAhead--},Nt.fromSaved=function(L,k,ee){return k instanceof vt?new Nt(L,Lt(L.mode,k.state),ee,k.lookAhead):new Nt(L,Lt(L.mode,k),ee)},Nt.prototype.save=function(L){var k=L!==!1?Lt(this.doc.mode,this.state):this.state;return this.maxLookAhead>0?new vt(k,this.maxLookAhead):k};function _t(L,k,ee,re){var ce=[L.state.modeGen],Be={};kr(L,k.text,L.doc.mode,ee,function(Yt,Cr){return ce.push(Yt,Cr)},Be,re);for(var yt=ee.state,Dt=function(Cr){ee.baseTokens=ce;var Ur=L.state.overlays[Cr],en=1,nn=0;ee.state=!0,kr(L,k.text,Ur.mode,ee,function(xn,Pn){for(var Jn=en;nn<xn;){var Zn=ce[en];Zn>xn&&ce.splice(en,1,xn,ce[en+1],Zn),en+=2,nn=Math.min(xn,Zn)}if(!Pn)return;if(Ur.opaque)ce.splice(Jn,en-Jn,xn,"overlay "+Pn),en=Jn+2;else for(;Jn<en;Jn+=2){var oi=ce[Jn+1];ce[Jn+1]=(oi?oi+" ":"")+"overlay "+Pn}},Be),ee.state=yt,ee.baseTokens=null,ee.baseTokenPos=1},Kt=0;Kt<L.state.overlays.length;++Kt)Dt(Kt);return{styles:ce,classes:Be.bgClass||Be.textClass?Be:null}}function gt(L,k,ee){if(!k.styles||k.styles[0]!=L.state.modeGen){var re=Ht(L,rt(k)),ce=k.text.length>L.options.maxHighlightLength&&Lt(L.doc.mode,re.state),Be=_t(L,k,re);ce&&(re.state=ce),k.stateAfter=re.save(!ce),k.styles=Be.styles,Be.classes?k.styleClasses=Be.classes:k.styleClasses&&(k.styleClasses=null),ee===L.doc.highlightFrontier&&(L.doc.modeFrontier=Math.max(L.doc.modeFrontier,++L.doc.highlightFrontier))}return k.styles}function Ht(L,k,ee){var re=L.doc,ce=L.display;if(!re.mode.startState)return new Nt(re,!0,k);var Be=tn(L,k,ee),yt=Be>re.first&&se(re,Be-1).stateAfter,Dt=yt?Nt.fromSaved(re,yt,Be):new Nt(re,xe(re.mode),Be);return re.iter(Be,k,function(Kt){kt(L,Kt.text,Dt);var Yt=Dt.line;Kt.stateAfter=Yt==k-1||Yt%5==0||Yt>=ce.viewFrom&&Yt<ce.viewTo?Dt.save():null,Dt.nextLine()}),ee&&(re.modeFrontier=Dt.line),Dt}function kt(L,k,ee,re){var ce=L.doc.mode,Be=new $(k,L.options.tabSize,ee);for(Be.start=Be.pos=re||0,k==""&&ir(ce,ee.state);!Be.eol();)Xt(ce,Be,ee.state),Be.start=Be.pos}function ir(L,k){if(L.blankLine)return L.blankLine(k);if(!L.innerMode)return;var ee=de(L,k);if(ee.mode.blankLine)return ee.mode.blankLine(ee.state)}function Xt(L,k,ee,re){for(var ce=0;ce<10;ce++){re&&(re[0]=de(L,ee).mode);var Be=L.token(k,ee);if(k.pos>k.start)return Be}throw new Error("Mode "+L.name+" failed to advance stream.")}var mr=function(k,ee,re){this.start=k.start,this.end=k.pos,this.string=k.current(),this.type=ee||null,this.state=re};function Ar(L,k,ee,re){var ce=L.doc,Be=ce.mode,yt;k=ht(ce,k);var Dt=se(ce,k.line),Kt=Ht(L,k.line,ee),Yt=new $(Dt.text,L.options.tabSize,Kt),Cr;for(re&&(Cr=[]);(re||Yt.pos<k.ch)&&!Yt.eol();)Yt.start=Yt.pos,yt=Xt(Be,Yt,Kt.state),re&&Cr.push(new mr(Yt,yt,Lt(ce.mode,Kt.state)));return re?Cr:new mr(Yt,yt,Kt.state)}function Nr(L,k){if(L)for(;;){var ee=L.match(/(?:^|\s+)line-(background-)?(\S+)/);if(!ee)break;L=L.slice(0,ee.index)+L.slice(ee.index+ee[0].length);var re=ee[1]?"bgClass":"textClass";k[re]==null?k[re]=ee[2]:new RegExp("(?:^|\\s)"+ee[2]+"(?:$|\\s)").test(k[re])||(k[re]+=" "+ee[2])}return L}function kr(L,k,ee,re,ce,Be,yt){var Dt=ee.flattenSpans;Dt==null&&(Dt=L.options.flattenSpans);var Kt=0,Yt=null,Cr=new $(k,L.options.tabSize,re),Ur,en=L.options.addModeClass&&[null];for(k==""&&Nr(ir(ee,re.state),Be);!Cr.eol();){if(Cr.pos>L.options.maxHighlightLength?(Dt=!1,yt&&kt(L,k,re,Cr.pos),Cr.pos=k.length,Ur=null):Ur=Nr(Xt(ee,Cr,re.state,en),Be),en){var nn=en[0].name;nn&&(Ur="m-"+(Ur?nn+" "+Ur:nn))}if(!Dt||Yt!=Ur){for(;Kt<Cr.start;)Kt=Math.min(Cr.start,Kt+5e3),ce(Kt,Yt);Yt=Ur}Cr.start=Cr.pos}for(;Kt<Cr.pos;){var xn=Math.min(Cr.pos,Kt+5e3);ce(xn,Yt),Kt=xn}}function tn(L,k,ee){for(var re,ce,Be=L.doc,yt=ee?-1:k-(L.doc.mode.innerMode?1e3:100),Dt=k;Dt>yt;--Dt){if(Dt<=Be.first)return Be.first;var Kt=se(Be,Dt-1),Yt=Kt.stateAfter;if(Yt&&(!ee||Dt+(Yt instanceof vt?Yt.lookAhead:0)<=Be.modeFrontier))return Dt;var Cr=z(Kt.text,null,L.options.tabSize);(ce==null||re>Cr)&&(ce=Dt-1,re=Cr)}return ce}function qr(L,k){if(L.modeFrontier=Math.min(L.modeFrontier,k),L.highlightFrontier<k-10)return;for(var ee=L.first,re=k-1;re>ee;re--){var ce=se(L,re).stateAfter;if(ce&&(!(ce instanceof vt)||re+ce.lookAhead<k)){ee=re+1;break}}L.highlightFrontier=Math.min(L.highlightFrontier,ee)}var _r=!1,Qr=!1;function Lr(){_r=!0}function ur(){Qr=!0}function pr(L,k,ee){this.marker=L,this.from=k,this.to=ee}function cr(L,k){if(L)for(var ee=0;ee<L.length;++ee){var re=L[ee];if(re.marker==k)return re}}function fr(L,k){for(var ee,re=0;re<L.length;++re)L[re]!=k&&(ee||(ee=[])).push(L[re]);return ee}function xr(L,k){L.markedSpans=L.markedSpans?L.markedSpans.concat([k]):[k],k.marker.attachLine(L)}function Yr(L,k,ee){var re;if(L)for(var ce=0;ce<L.length;++ce){var Be=L[ce],yt=Be.marker,Dt=Be.from==null||(yt.inclusiveLeft?Be.from<=k:Be.from<k);if(Dt||Be.from==k&&yt.type=="bookmark"&&(!ee||!Be.marker.insertLeft)){var Kt=Be.to==null||(yt.inclusiveRight?Be.to>=k:Be.to>k);(re||(re=[])).push(new pr(yt,Be.from,Kt?null:Be.to))}}return re}function un(L,k,ee){var re;if(L)for(var ce=0;ce<L.length;++ce){var Be=L[ce],yt=Be.marker,Dt=Be.to==null||(yt.inclusiveRight?Be.to>=k:Be.to>k);if(Dt||Be.from==k&&yt.type=="bookmark"&&(!ee||Be.marker.insertLeft)){var Kt=Be.from==null||(yt.inclusiveLeft?Be.from<=k:Be.from<k);(re||(re=[])).push(new pr(yt,Kt?null:Be.from-k,Be.to==null?null:Be.to-k))}}return re}function Nn(L,k){if(k.full)return null;var ee=Wt(L,k.from.line)&&se(L,k.from.line).markedSpans,re=Wt(L,k.to.line)&&se(L,k.to.line).markedSpans;if(!ee&&!re)return null;var ce=k.from.ch,Be=k.to.ch,yt=zt(k.from,k.to)==0,Dt=Yr(ee,ce,yt),Kt=un(re,Be,yt),Yt=k.text.length==1,Cr=Me(k.text).length+(Yt?ce:0);if(Dt)for(var Ur=0;Ur<Dt.length;++Ur){var en=Dt[Ur];if(en.to==null){var nn=cr(Kt,en.marker);nn?Yt&&(en.to=nn.to==null?null:nn.to+Cr):en.to=ce}}if(Kt)for(var xn=0;xn<Kt.length;++xn){var Pn=Kt[xn];if(Pn.to!=null&&(Pn.to+=Cr),Pn.from==null){var Jn=cr(Dt,Pn.marker);Jn||(Pn.from=Cr,Yt&&(Dt||(Dt=[])).push(Pn))}else Pn.from+=Cr,Yt&&(Dt||(Dt=[])).push(Pn)}Dt&&(Dt=jr(Dt)),Kt&&Kt!=Dt&&(Kt=jr(Kt));var Zn=[Dt];if(!Yt){var oi=k.text.length-2,li;if(oi>0&&Dt)for(var $e=0;$e<Dt.length;++$e)Dt[$e].to==null&&(li||(li=[])).push(new pr(Dt[$e].marker,null,null));for(var ie=0;ie<oi;++ie)Zn.push(li);Zn.push(Kt)}return Zn}function jr(L){for(var k=0;k<L.length;++k){var ee=L[k];ee.from!=null&&ee.from==ee.to&&ee.marker.clearWhenEmpty!==!1&&L.splice(k--,1)}return L.length?L:null}function Tn(L,k,ee){var re=null;if(L.iter(k.line,ee.line+1,function(nn){if(nn.markedSpans)for(var xn=0;xn<nn.markedSpans.length;++xn){var Pn=nn.markedSpans[xn].marker;Pn.readOnly&&(!re||W(re,Pn)==-1)&&(re||(re=[])).push(Pn)}}),!re)return null;for(var ce=[{from:k,to:ee}],Be=0;Be<re.length;++Be)for(var yt=re[Be],Dt=yt.find(0),Kt=0;Kt<ce.length;++Kt){var Yt=ce[Kt];if(zt(Yt.to,Dt.from)<0||zt(Yt.from,Dt.to)>0)continue;var Cr=[Kt,1],Ur=zt(Yt.from,Dt.from),en=zt(Yt.to,Dt.to);(Ur<0||!yt.inclusiveLeft&&!Ur)&&Cr.push({from:Yt.from,to:Dt.from}),(en>0||!yt.inclusiveRight&&!en)&&Cr.push({from:Dt.to,to:Yt.to}),ce.splice.apply(ce,Cr),Kt+=Cr.length-3}return ce}function gn(L){var k=L.markedSpans;if(!k)return;for(var ee=0;ee<k.length;++ee)k[ee].marker.detachLine(L);L.markedSpans=null}function Bn(L,k){if(!k)return;for(var ee=0;ee<k.length;++ee)k[ee].marker.attachLine(L);L.markedSpans=k}function Kn(L){return L.inclusiveLeft?-1:0}function qn(L){return L.inclusiveRight?1:0}function Yn(L,k){var ee=L.lines.length-k.lines.length;if(ee!=0)return ee;var re=L.find(),ce=k.find(),Be=zt(re.from,ce.from)||Kn(L)-Kn(k);if(Be)return-Be;var yt=zt(re.to,ce.to)||qn(L)-qn(k);return yt||k.id-L.id}function Vn(L,k){var ee=Qr&&L.markedSpans,re;if(ee)for(var ce=void 0,Be=0;Be<ee.length;++Be)ce=ee[Be],ce.marker.collapsed&&(k?ce.from:ce.to)==null&&(!re||Yn(re,ce.marker)<0)&&(re=ce.marker);return re}function An(L){return Vn(L,!0)}function on(L){return Vn(L,!1)}function ia(L,k){var ee=Qr&&L.markedSpans,re;if(ee)for(var ce=0;ce<ee.length;++ce){var Be=ee[ce];Be.marker.collapsed&&(Be.from==null||Be.from<k)&&(Be.to==null||Be.to>k)&&(!re||Yn(re,Be.marker)<0)&&(re=Be.marker)}return re}function xa(L,k,ee,re,ce){var Be=se(L,k),yt=Qr&&Be.markedSpans;if(yt)for(var Dt=0;Dt<yt.length;++Dt){var Kt=yt[Dt];if(!Kt.marker.collapsed)continue;var Yt=Kt.marker.find(0),Cr=zt(Yt.from,ee)||Kn(Kt.marker)-Kn(ce),Ur=zt(Yt.to,re)||qn(Kt.marker)-qn(ce);if(Cr>=0&&Ur<=0||Cr<=0&&Ur>=0)continue;if(Cr<=0&&(Kt.marker.inclusiveRight&&ce.inclusiveLeft?zt(Yt.to,ee)>=0:zt(Yt.to,ee)>0)||Cr>=0&&(Kt.marker.inclusiveRight&&ce.inclusiveLeft?zt(Yt.from,re)<=0:zt(Yt.from,re)<0))return!0}}function ta(L){for(var k;k=An(L);)L=k.find(-1,!0).line;return L}function Li(L){for(var k;k=on(L);)L=k.find(1,!0).line;return L}function Ci(L){for(var k,ee;k=on(L);)L=k.find(1,!0).line,(ee||(ee=[])).push(L);return ee}function Gn(L,k){var ee=se(L,k),re=ta(ee);return ee==re?k:rt(re)}function Oa(L,k){if(k>L.lastLine())return k;var ee=se(L,k),re;if(!mn(L,ee))return k;for(;re=on(ee);)ee=re.find(1,!0).line;return rt(ee)+1}function mn(L,k){var ee=Qr&&k.markedSpans;if(ee)for(var re=void 0,ce=0;ce<ee.length;++ce){if(re=ee[ce],!re.marker.collapsed)continue;if(re.from==null)return!0;if(re.marker.widgetNode)continue;if(re.from==0&&re.marker.inclusiveLeft&&On(L,k,re))return!0}}function On(L,k,ee){if(ee.to==null){var re=ee.marker.find(1,!0);return On(L,re.line,cr(re.line.markedSpans,ee.marker))}if(ee.marker.inclusiveRight&&ee.to==k.text.length)return!0;for(var ce=void 0,Be=0;Be<k.markedSpans.length;++Be)if(ce=k.markedSpans[Be],ce.marker.collapsed&&!ce.marker.widgetNode&&ce.from==ee.to&&(ce.to==null||ce.to!=ee.from)&&(ce.marker.inclusiveLeft||ee.marker.inclusiveRight)&&On(L,k,ce))return!0}function _n(L){L=ta(L);for(var k=0,ee=L.parent,re=0;re<ee.lines.length;++re){var ce=ee.lines[re];if(ce==L)break;k+=ce.height}for(var Be=ee.parent;Be;ee=Be,Be=ee.parent)for(var yt=0;yt<Be.children.length;++yt){var Dt=Be.children[yt];if(Dt==ee)break;k+=Dt.height}return k}function Ln(L){if(L.height==0)return 0;for(var k=L.text.length,ee,re=L;ee=An(re);){var ce=ee.find(0,!0);re=ce.from.line,k+=ce.from.ch-ce.to.ch}for(re=L;ee=on(re);){var Be=ee.find(0,!0);k-=re.text.length-Be.from.ch,re=Be.to.line,k+=re.text.length-Be.to.ch}return k}function jn(L){var k=L.display,ee=L.doc;k.maxLine=se(ee,ee.first),k.maxLineLength=Ln(k.maxLine),k.maxLineChanged=!0,ee.iter(function(re){var ce=Ln(re);ce>k.maxLineLength&&(k.maxLineLength=ce,k.maxLine=re)})}var ni=function(k,ee,re){this.text=k,Bn(this,ee),this.height=re?re(this):1};ni.prototype.lineNo=function(){return rt(this)},at(ni);function di(L,k,ee,re){L.text=k,L.stateAfter&&(L.stateAfter=null),L.styles&&(L.styles=null),L.order!=null&&(L.order=null),gn(L),Bn(L,ee);var ce=re?re(L):1;ce!=L.height&&Pe(L,ce)}function Na(L){L.parent=null,gn(L)}var Qi={},ma={};function Pa(L,k){if(!L||/^\s*$/.test(L))return null;var ee=k.addModeClass?ma:Qi;return ee[L]||(ee[L]=L.replace(/\S+/g,"cm-$&"))}function Qa(L,k){var ee=M("span",null,null,i?"padding-right: .1px":null),re={pre:M("pre",[ee],"CodeMirror-line"),content:ee,col:0,pos:0,cm:L,trailingSpace:!1,splitSpaces:L.getOption("lineWrapping")};k.measure={};for(var ce=0;ce<=(k.rest?k.rest.length:0);ce++){var Be=ce?k.rest[ce-1]:k.line,yt=void 0;re.pos=0,re.addToken=Co,It(L.display.measure)&&(yt=ze(Be,L.doc.direction))&&(re.addToken=Hi(re.addToken,yt)),re.map=[];var Dt=k!=L.display.externalMeasured&&rt(Be);ha(Be,re,gt(L,Be,Dt)),Be.styleClasses&&(Be.styleClasses.bgClass&&(re.bgClass=N(Be.styleClasses.bgClass,re.bgClass||"")),Be.styleClasses.textClass&&(re.textClass=N(Be.styleClasses.textClass,re.textClass||""))),re.map.length==0&&re.map.push(0,0,re.content.appendChild(ft(L.display.measure))),ce==0?(k.measure.map=re.map,k.measure.cache={}):((k.measure.maps||(k.measure.maps=[])).push(re.map),(k.measure.caches||(k.measure.caches=[])).push({}))}if(i){var Kt=re.content.lastChild;(/\bcm-tab\b/.test(Kt.className)||Kt.querySelector&&Kt.querySelector(".cm-tab"))&&(re.content.className="cm-tab-wrap-hack")}return st(L,"renderLine",L,k.line,re.pre),re.pre.className&&(re.textClass=N(re.pre.className,re.textClass||"")),re}function Wi(L){var k=I("span","\u2022","cm-invalidchar");return k.title="\\u"+L.charCodeAt(0).toString(16),k.setAttribute("aria-label",k.title),k}function Co(L,k,ee,re,ce,Be,yt){if(!k)return;var Dt=L.splitSpaces?aa(k,L.trailingSpace):k,Kt=L.cm.state.specialChars,Yt=!1,Cr;if(!Kt.test(k))L.col+=k.length,Cr=document.createTextNode(Dt),L.map.push(L.pos,L.pos+k.length,Cr),c&&a<9&&(Yt=!0),L.pos+=k.length;else{Cr=document.createDocumentFragment();for(var Ur=0;;){Kt.lastIndex=Ur;var en=Kt.exec(k),nn=en?en.index-Ur:k.length-Ur;if(nn){var xn=document.createTextNode(Dt.slice(Ur,Ur+nn));c&&a<9?Cr.appendChild(I("span",[xn])):Cr.appendChild(xn),L.map.push(L.pos,L.pos+nn,xn),L.col+=nn,L.pos+=nn}if(!en)break;Ur+=nn+1;var Pn=void 0;if(en[0]==" "){var Jn=L.cm.options.tabSize,Zn=Jn-L.col%Jn;Pn=Cr.appendChild(I("span",Ue(Zn),"cm-tab")),Pn.setAttribute("role","presentation"),Pn.setAttribute("cm-text"," "),L.col+=Zn}else en[0]=="\r"||en[0]==`
|
|
|
`?(Pn=Cr.appendChild(I("span",en[0]=="\r"?"\u240D":"\u2424","cm-invalidchar")),Pn.setAttribute("cm-text",en[0]),L.col+=1):(Pn=L.cm.options.specialCharPlaceholder(en[0]),Pn.setAttribute("cm-text",en[0]),c&&a<9?Cr.appendChild(I("span",[Pn])):Cr.appendChild(Pn),L.col+=1);L.map.push(L.pos,L.pos+1,Pn),L.pos++}}if(L.trailingSpace=Dt.charCodeAt(k.length-1)==32,ee||re||ce||Yt||Be||yt){var oi=ee||"";re&&(oi+=re),ce&&(oi+=ce);var li=I("span",[Cr],oi,Be);if(yt)for(var $e in yt)yt.hasOwnProperty($e)&&$e!="style"&&$e!="class"&&li.setAttribute($e,yt[$e]);return L.content.appendChild(li)}L.content.appendChild(Cr)}function aa(L,k){if(L.length>1&&!/ /.test(L))return L;for(var ee=k,re="",ce=0;ce<L.length;ce++){var Be=L.charAt(ce);Be==" "&&ee&&(ce==L.length-1||L.charCodeAt(ce+1)==32)&&(Be="\xA0"),re+=Be,ee=Be==" "}return re}function Hi(L,k){return function(ee,re,ce,Be,yt,Dt,Kt){ce=ce?ce+" cm-force-border":"cm-force-border";for(var Yt=ee.pos,Cr=Yt+re.length;;){for(var Ur=void 0,en=0;en<k.length&&!(Ur=k[en],Ur.to>Yt&&Ur.from<=Yt);en++);if(Ur.to>=Cr)return L(ee,re,ce,Be,yt,Dt,Kt);L(ee,re.slice(0,Ur.to-Yt),ce,Be,null,Dt,Kt),Be=null,re=re.slice(Ur.to-Yt),Yt=Ur.to}}}function ga(L,k,ee,re){var ce=!re&&ee.widgetNode;ce&&L.map.push(L.pos,L.pos+k,ce),!re&&L.cm.display.input.needsContentAttribute&&(ce||(ce=L.content.appendChild(document.createElement("span"))),ce.setAttribute("cm-marker",ee.id)),ce&&(L.cm.display.input.setUneditable(ce),L.content.appendChild(ce)),L.pos+=k,L.trailingSpace=!1}function ha(L,k,ee){var re=L.markedSpans,ce=L.text,Be=0;if(!re){for(var yt=1;yt<ee.length;yt+=2)k.addToken(k,ce.slice(Be,Be=ee[yt]),Pa(ee[yt+1],k.cm.options));return}for(var Dt=ce.length,Kt=0,Yt=1,Cr="",Ur,en,nn=0,xn,Pn,Jn,Zn,oi;;){if(nn==Kt){xn=Pn=Jn=en="",oi=null,Zn=null,nn=Infinity;for(var li=[],$e=void 0,ie=0;ie<re.length;++ie){var He=re[ie],tt=He.marker;if(tt.type=="bookmark"&&He.from==Kt&&tt.widgetNode)li.push(tt);else if(He.from<=Kt&&(He.to==null||He.to>Kt||tt.collapsed&&He.to==Kt&&He.from==Kt)){if(He.to!=null&&He.to!=Kt&&nn>He.to&&(nn=He.to,Pn=""),tt.className&&(xn+=" "+tt.className),tt.css&&(en=(en?en+";":"")+tt.css),tt.startStyle&&He.from==Kt&&(Jn+=" "+tt.startStyle),tt.endStyle&&He.to==nn&&($e||($e=[])).push(tt.endStyle,He.to),tt.title&&((oi||(oi={})).title=tt.title),tt.attributes)for(var Ot in tt.attributes)(oi||(oi={}))[Ot]=tt.attributes[Ot];tt.collapsed&&(!Zn||Yn(Zn.marker,tt)<0)&&(Zn=He)}else He.from>Kt&&nn>He.from&&(nn=He.from)}if($e)for(var tr=0;tr<$e.length;tr+=2)$e[tr+1]==nn&&(Pn+=" "+$e[tr]);if(!Zn||Zn.from==Kt)for(var vr=0;vr<li.length;++vr)ga(k,0,li[vr]);if(Zn&&(Zn.from||0)==Kt){if(ga(k,(Zn.to==null?Dt+1:Zn.to)-Kt,Zn.marker,Zn.from==null),Zn.to==null)return;Zn.to==Kt&&(Zn=!1)}}if(Kt>=Dt)break;for(var Ir=Math.min(Dt,nn);;){if(Cr){var Hr=Kt+Cr.length;if(!Zn){var zr=Hr>Ir?Cr.slice(0,Ir-Kt):Cr;k.addToken(k,zr,Ur?Ur+xn:xn,Jn,Kt+zr.length==nn?Pn:"",en,oi)}if(Hr>=Ir){Cr=Cr.slice(Ir-Kt),Kt=Ir;break}Kt=Hr,Jn=""}Cr=ce.slice(Be,Be=ee[Yt++]),Ur=Pa(ee[Yt++],k.cm.options)}}}function mo(L,k,ee){this.line=k,this.rest=Ci(k),this.size=this.rest?rt(Me(this.rest))-ee+1:1,this.node=this.text=null,this.hidden=mn(L,k)}function Fn(L,k,ee){for(var re=[],ce,Be=k;Be<ee;Be=ce){var yt=new mo(L.doc,se(L.doc,Be),Be);ce=Be+yt.size,re.push(yt)}return re}var $i=null;function eo(L){$i?$i.ops.push(L):L.ownsGroup=$i={ops:[L],delayedCallbacks:[]}}function To(L){var k=L.delayedCallbacks,ee=0;do{for(;ee<k.length;ee++)k[ee].call(null);for(var re=0;re<L.ops.length;re++){var ce=L.ops[re];if(ce.cursorActivityHandlers)for(;ce.cursorActivityCalled<ce.cursorActivityHandlers.length;)ce.cursorActivityHandlers[ce.cursorActivityCalled++].call(null,ce.cm)}}while(ee<k.length)}function uo(L,k){var ee=L.ownsGroup;if(!ee)return;try{To(ee)}finally{$i=null,k(ee)}}var rr=null;function Tr(L,k){var ee=Tt(L,k);if(!ee.length)return;var re=Array.prototype.slice.call(arguments,2),ce;$i?ce=$i.delayedCallbacks:rr?ce=rr:(ce=rr=[],setTimeout(Br,0));for(var Be=function(Kt){ce.push(function(){return ee[Kt].apply(null,re)})},yt=0;yt<ee.length;++yt)Be(yt)}function Br(){var L=rr;rr=null;for(var k=0;k<L.length;++k)L[k]()}function Wr(L,k,ee,re){for(var ce=0;ce<k.changes.length;ce++){var Be=k.changes[ce];Be=="text"?Zt(L,k):Be=="gutter"?Or(L,k,ee,re):Be=="class"?nr(L,k):Be=="widget"&&wr(L,k,re)}k.changes=null}function hn(L){return L.node==L.text&&(L.node=I("div",null,null,"position: relative"),L.text.parentNode&&L.text.parentNode.replaceChild(L.node,L.text),L.node.appendChild(L.text),c&&a<8&&(L.node.style.zIndex=2)),L.node}function it(L,k){var ee=k.bgClass?k.bgClass+" "+(k.line.bgClass||""):k.line.bgClass;if(ee&&(ee+=" CodeMirror-linebackground"),k.background)ee?k.background.className=ee:(k.background.parentNode.removeChild(k.background),k.background=null);else if(ee){var re=hn(k);k.background=re.insertBefore(I("div",null,ee),re.firstChild),L.display.input.setUneditable(k.background)}}function jt(L,k){var ee=L.display.externalMeasured;return ee&&ee.line==k.line?(L.display.externalMeasured=null,k.measure=ee.measure,ee.built):Qa(L,k)}function Zt(L,k){var ee=k.text.className,re=jt(L,k);k.text==k.node&&(k.node=re.pre),k.text.parentNode.replaceChild(re.pre,k.text),k.text=re.pre,re.bgClass!=k.bgClass||re.textClass!=k.textClass?(k.bgClass=re.bgClass,k.textClass=re.textClass,nr(L,k)):ee&&(k.text.className=ee)}function nr(L,k){it(L,k),k.line.wrapClass?hn(k).className=k.line.wrapClass:k.node!=k.text&&(k.node.className="");var ee=k.textClass?k.textClass+" "+(k.line.textClass||""):k.line.textClass;k.text.className=ee||""}function Or(L,k,ee,re){if(k.gutter&&(k.node.removeChild(k.gutter),k.gutter=null),k.gutterBackground&&(k.node.removeChild(k.gutterBackground),k.gutterBackground=null),k.line.gutterClass){var ce=hn(k);k.gutterBackground=I("div",null,"CodeMirror-gutter-background "+k.line.gutterClass,"left: "+(L.options.fixedGutter?re.fixedPos:-re.gutterTotalWidth)+"px; width: "+re.gutterTotalWidth+"px"),L.display.input.setUneditable(k.gutterBackground),ce.insertBefore(k.gutterBackground,k.text)}var Be=k.line.gutterMarkers;if(L.options.lineNumbers||Be){var yt=hn(k),Dt=k.gutter=I("div",null,"CodeMirror-gutter-wrapper","left: "+(L.options.fixedGutter?re.fixedPos:-re.gutterTotalWidth)+"px");if(L.display.input.setUneditable(Dt),yt.insertBefore(Dt,k.text),k.line.gutterClass&&(Dt.className+=" "+k.line.gutterClass),L.options.lineNumbers&&(!Be||!Be["CodeMirror-linenumbers"])&&(k.lineNumber=Dt.appendChild(I("div",$t(L.options,ee),"CodeMirror-linenumber CodeMirror-gutter-elt","left: "+re.gutterLeft["CodeMirror-linenumbers"]+"px; width: "+L.display.lineNumInnerWidth+"px"))),Be)for(var Kt=0;Kt<L.display.gutterSpecs.length;++Kt){var Yt=L.display.gutterSpecs[Kt].className,Cr=Be.hasOwnProperty(Yt)&&Be[Yt];Cr&&Dt.appendChild(I("div",[Cr],"CodeMirror-gutter-elt","left: "+re.gutterLeft[Yt]+"px; width: "+re.gutterWidth[Yt]+"px"))}}}function wr(L,k,ee){k.alignable&&(k.alignable=null);for(var re=_("CodeMirror-linewidget"),ce=k.node.firstChild,Be=void 0;ce;ce=Be)Be=ce.nextSibling,re.test(ce.className)&&k.node.removeChild(ce);Kr(L,k,ee)}function Er(L,k,ee,re){var ce=jt(L,k);return k.text=k.node=ce.pre,ce.bgClass&&(k.bgClass=ce.bgClass),ce.textClass&&(k.textClass=ce.textClass),nr(L,k),Or(L,k,ee,re),Kr(L,k,re),k.node}function Kr(L,k,ee){if(Zr(L,k.line,k,ee,!0),k.rest)for(var re=0;re<k.rest.length;re++)Zr(L,k.rest[re],k,ee,!1)}function Zr(L,k,ee,re,ce){if(!k.widgets)return;for(var Be=hn(ee),yt=0,Dt=k.widgets;yt<Dt.length;++yt){var Kt=Dt[yt],Yt=I("div",[Kt.node],"CodeMirror-linewidget"+(Kt.className?" "+Kt.className:""));Kt.handleMouseEvents||Yt.setAttribute("cm-ignore-events","true"),Jr(Kt,Yt,ee,re),L.display.input.setUneditable(Yt),ce&&Kt.above?Be.insertBefore(Yt,ee.gutter||ee.text):Be.appendChild(Yt),Tr(Kt,"redraw")}}function Jr(L,k,ee,re){if(L.noHScroll){(ee.alignable||(ee.alignable=[])).push(k);var ce=re.wrapperWidth;k.style.left=re.fixedPos+"px",L.coverGutter||(ce-=re.gutterTotalWidth,k.style.paddingLeft=re.gutterTotalWidth+"px"),k.style.width=ce+"px"}L.coverGutter&&(k.style.zIndex=5,k.style.position="relative",L.noHScroll||(k.style.marginLeft=-re.gutterTotalWidth+"px"))}function an(L){if(L.height!=null)return L.height;var k=L.doc.cm;if(!k)return 0;if(!P(document.body,L.node)){var ee="position: relative;";L.coverGutter&&(ee+="margin-left: -"+k.display.gutters.offsetWidth+"px;"),L.noHScroll&&(ee+="width: "+k.display.wrapper.clientWidth+"px;"),O(k.display.measure,I("div",[L.node],null,ee))}return L.height=L.node.parentNode.offsetHeight}function xt(L,k){for(var ee=Ze(k);ee!=L.wrapper;ee=ee.parentNode)if(!ee||ee.nodeType==1&&ee.getAttribute("cm-ignore-events")=="true"||ee.parentNode==L.sizer&&ee!=L.mover)return!0}function Vt(L){return L.lineSpace.offsetTop}function sr(L){return L.mover.offsetHeight-L.lineSpace.offsetHeight}function br(L){if(L.cachedPaddingH)return L.cachedPaddingH;var k=O(L.measure,I("pre","x","CodeMirror-line-like")),ee=window.getComputedStyle?window.getComputedStyle(k):k.currentStyle,re={left:parseInt(ee.paddingLeft),right:parseInt(ee.paddingRight)};return!isNaN(re.left)&&!isNaN(re.right)&&(L.cachedPaddingH=re),re}function Mr(L){return Y-L.display.nativeBarWidth}function Dr(L){return L.display.scroller.clientWidth-Mr(L)-L.display.barWidth}function rn(L){return L.display.scroller.clientHeight-Mr(L)-L.display.barHeight}function fn(L,k,ee){var re=L.options.lineWrapping,ce=re&&Dr(L);if(!k.measure.heights||re&&k.measure.width!=ce){var Be=k.measure.heights=[];if(re){k.measure.width=ce;for(var yt=k.text.firstChild.getClientRects(),Dt=0;Dt<yt.length-1;Dt++){var Kt=yt[Dt],Yt=yt[Dt+1];Math.abs(Kt.bottom-Yt.bottom)>2&&Be.push((Kt.bottom+Yt.top)/2-ee.top)}}Be.push(ee.bottom-ee.top)}}function wn(L,k,ee){if(L.line==k)return{map:L.measure.map,cache:L.measure.cache};for(var re=0;re<L.rest.length;re++)if(L.rest[re]==k)return{map:L.measure.maps[re],cache:L.measure.caches[re]};for(var ce=0;ce<L.rest.length;ce++)if(rt(L.rest[ce])>ee)return{map:L.measure.maps[ce],cache:L.measure.caches[ce],before:!0}}function Hn(L,k){k=ta(k);var ee=rt(k),re=L.display.externalMeasured=new mo(L.doc,k,ee);re.lineN=ee;var ce=re.built=Qa(L,re);return re.text=ce.pre,O(L.display.lineMeasure,ce.pre),re}function Sn(L,k,ee,re){return vn(L,Mn(L,k),ee,re)}function bn(L,k){if(k>=L.display.viewFrom&&k<L.display.viewTo)return L.display.view[la(L,k)];var ee=L.display.externalMeasured;if(ee&&k>=ee.lineN&&k<ee.lineN+ee.size)return ee}function Mn(L,k){var ee=rt(k),re=bn(L,ee);re&&!re.text?re=null:re&&re.changes&&(Wr(L,re,ee,Vi(L)),L.curOp.forceUpdate=!0),re||(re=Hn(L,k));var ce=wn(re,k,ee);return{line:k,view:re,rect:null,map:ce.map,cache:ce.cache,before:ce.before,hasHeights:!1}}function vn(L,k,ee,re,ce){k.before&&(ee=-1);var Be=ee+(re||""),yt;return k.cache.hasOwnProperty(Be)?yt=k.cache[Be]:(k.rect||(k.rect=k.view.text.getBoundingClientRect()),k.hasHeights||(fn(L,k.view,k.rect),k.hasHeights=!0),yt=Xn(L,k,ee,re),yt.bogus||(k.cache[Be]=yt)),{left:yt.left,right:yt.right,top:ce?yt.rtop:yt.top,bottom:ce?yt.rbottom:yt.bottom}}var Rn={left:0,right:0,top:0,bottom:0};function En(L,k,ee){for(var re,ce,Be,yt,Dt,Kt,Yt=0;Yt<L.length;Yt+=3)if(Dt=L[Yt],Kt=L[Yt+1],k<Dt?(ce=0,Be=1,yt="left"):k<Kt?(ce=k-Dt,Be=ce+1):(Yt==L.length-3||k==Kt&&L[Yt+3]>k)&&(Be=Kt-Dt,ce=Be-1,k>=Kt&&(yt="right")),ce!=null){if(re=L[Yt+2],Dt==Kt&&ee==(re.insertLeft?"left":"right")&&(yt=ee),ee=="left"&&ce==0)for(;Yt&&L[Yt-2]==L[Yt-3]&&L[Yt-1].insertLeft;)re=L[(Yt-=3)+2],yt="left";if(ee=="right"&&ce==Kt-Dt)for(;Yt<L.length-3&&L[Yt+3]==L[Yt+4]&&!L[Yt+5].insertLeft;)re=L[(Yt+=3)+2],yt="right";break}return{node:re,start:ce,end:Be,collapse:yt,coverStart:Dt,coverEnd:Kt}}function In(L,k){var ee=Rn;if(k=="left")for(var re=0;re<L.length&&!((ee=L[re]).left!=ee.right);re++);else for(var ce=L.length-1;ce>=0&&!((ee=L[ce]).left!=ee.right);ce--);return ee}function Xn(L,k,ee,re){var ce=En(k.map,ee,re),Be=ce.node,yt=ce.start,Dt=ce.end,Kt=ce.collapse,Yt;if(Be.nodeType==3){for(var Cr=0;Cr<4;Cr++){for(;yt&&oe(k.line.text.charAt(ce.coverStart+yt));)--yt;for(;ce.coverStart+Dt<ce.coverEnd&&oe(k.line.text.charAt(ce.coverStart+Dt));)++Dt;if(c&&a<9&&yt==0&&Dt==ce.coverEnd-ce.coverStart?Yt=Be.parentNode.getBoundingClientRect():Yt=In(F(Be,yt,Dt).getClientRects(),re),Yt.left||Yt.right||yt==0)break;Dt=yt,yt=yt-1,Kt="right"}c&&a<11&&(Yt=ai(L.display.measure,Yt))}else{yt>0&&(Kt=re="right");var Ur;L.options.lineWrapping&&(Ur=Be.getClientRects()).length>1?Yt=Ur[re=="right"?Ur.length-1:0]:Yt=Be.getBoundingClientRect()}if(c&&a<9&&!yt&&(!Yt||!Yt.left&&!Yt.right)){var en=Be.parentNode.getClientRects()[0];en?Yt={left:en.left,right:en.left+Ii(L.display),top:en.top,bottom:en.bottom}:Yt=Rn}for(var nn=Yt.top-k.rect.top,xn=Yt.bottom-k.rect.top,Pn=(nn+xn)/2,Jn=k.view.measure.heights,Zn=0;Zn<Jn.length-1&&!(Pn<Jn[Zn]);Zn++);var oi=Zn?Jn[Zn-1]:0,li=Jn[Zn],$e={left:(Kt=="right"?Yt.right:Yt.left)-k.rect.left,right:(Kt=="left"?Yt.left:Yt.right)-k.rect.left,top:oi,bottom:li};return!Yt.left&&!Yt.right&&($e.bogus=!0),L.options.singleCursorHeightPerLine||($e.rtop=nn,$e.rbottom=xn),$e}function ai(L,k){if(!window.screen||screen.logicalXDPI==null||screen.logicalXDPI==screen.deviceXDPI||!Ee(L))return k;var ee=screen.logicalXDPI/screen.deviceXDPI,re=screen.logicalYDPI/screen.deviceYDPI;return{left:k.left*ee,right:k.right*ee,top:k.top*re,bottom:k.bottom*re}}function ri(L){if(L.measure&&(L.measure.cache={},L.measure.heights=null,L.rest))for(var k=0;k<L.rest.length;k++)L.measure.caches[k]={}}function Di(L){L.display.externalMeasure=null,b(L.display.lineMeasure);for(var k=0;k<L.display.view.length;k++)ri(L.display.view[k])}function yi(L){Di(L),L.display.cachedCharWidth=L.display.cachedTextHeight=L.display.cachedPaddingH=null,L.options.lineWrapping||(L.display.maxLineChanged=!0),L.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 _i(){return o&&u?-(document.body.getBoundingClientRect().top-parseInt(getComputedStyle(document.body).marginTop)):window.pageYOffset||(document.documentElement||document.body).scrollTop}function Un(L){var k=0;if(L.widgets)for(var ee=0;ee<L.widgets.length;++ee)L.widgets[ee].above&&(k+=an(L.widgets[ee]));return k}function Ri(L,k,ee,re,ce){if(!ce){var Be=Un(k);ee.top+=Be,ee.bottom+=Be}if(re=="line")return ee;re||(re="local");var yt=_n(k);if(re=="local"?yt+=Vt(L.display):yt-=L.display.viewOffset,re=="page"||re=="window"){var Dt=L.display.lineSpace.getBoundingClientRect();yt+=Dt.top+(re=="window"?0:_i());var Kt=Dt.left+(re=="window"?0:xi());ee.left+=Kt,ee.right+=Kt}return ee.top+=yt,ee.bottom+=yt,ee}function fa(L,k,ee){if(ee=="div")return k;var re=k.left,ce=k.top;if(ee=="page")re-=xi(),ce-=_i();else if(ee=="local"||!ee){var Be=L.display.sizer.getBoundingClientRect();re+=Be.left,ce+=Be.top}var yt=L.display.lineSpace.getBoundingClientRect();return{left:re-yt.left,top:ce-yt.top}}function Ui(L,k,ee,re,ce){return re||(re=se(L.doc,k.line)),Ri(L,re,Sn(L,re,k.ch,ce),ee)}function Mi(L,k,ee,re,ce,Be){re=re||se(L.doc,k.line),ce||(ce=Mn(L,re));function yt(xn,Pn){var Jn=vn(L,ce,xn,Pn?"right":"left",Be);return Pn?Jn.left=Jn.right:Jn.right=Jn.left,Ri(L,re,Jn,ee)}var Dt=ze(re,L.doc.direction),Kt=k.ch,Yt=k.sticky;if(Kt>=re.text.length?(Kt=re.text.length,Yt="before"):Kt<=0&&(Kt=0,Yt="after"),!Dt)return yt(Yt=="before"?Kt-1:Kt,Yt=="before");function Cr(xn,Pn,Jn){var Zn=Dt[Pn],oi=Zn.level==1;return yt(Jn?xn-1:xn,oi!=Jn)}var Ur=ge(Dt,Kt,Yt),en=Z,nn=Cr(Kt,Ur,Yt=="before");return en!=null&&(nn.other=Cr(Kt,en,Yt!="before")),nn}function mi(L,k){var ee=0;k=ht(L.doc,k),L.options.lineWrapping||(ee=Ii(L.display)*k.ch);var re=se(L.doc,k.line),ce=_n(re)+Vt(L.display);return{left:ee,right:ee,top:ce,bottom:ce+re.height}}function hi(L,k,ee,re,ce){var Be=Rt(L,k,ee);return Be.xRel=ce,re&&(Be.outside=re),Be}function qi(L,k,ee){var re=L.doc;if(ee+=L.display.viewOffset,ee<0)return hi(re.first,0,null,-1,-1);var ce=At(re,ee),Be=re.first+re.size-1;if(ce>Be)return hi(re.first+re.size-1,se(re,Be).text.length,null,1,1);k<0&&(k=0);for(var yt=se(re,ce);;){var Dt=oa(L,yt,ce,k,ee),Kt=ia(yt,Dt.ch+(Dt.xRel>0||Dt.outside>0?1:0));if(!Kt)return Dt;var Yt=Kt.find(1);if(Yt.line==ce)return Yt;yt=se(re,ce=Yt.line)}}function va(L,k,ee,re){re-=Un(k);var ce=k.text.length,Be=he(function(yt){return vn(L,ee,yt-1).bottom<=re},ce,0);return ce=he(function(yt){return vn(L,ee,yt).top>re},Be,ce),{begin:Be,end:ce}}function Ea(L,k,ee,re){ee||(ee=Mn(L,k));var ce=Ri(L,k,vn(L,ee,re),"line").top;return va(L,k,ee,ce)}function ya(L,k,ee,re){return L.bottom<=ee?!1:L.top>ee?!0:(re?L.left:L.right)>k}function oa(L,k,ee,re,ce){ce-=_n(k);var Be=Mn(L,k),yt=Un(k),Dt=0,Kt=k.text.length,Yt=!0,Cr=ze(k,L.doc.direction);if(Cr){var Ur=(L.options.lineWrapping?Ni:sa)(L,k,ee,Be,Cr,re,ce);Yt=Ur.level!=1,Dt=Yt?Ur.from:Ur.to-1,Kt=Yt?Ur.to:Ur.from-1}var en=null,nn=null,xn=he(function(ie){var He=vn(L,Be,ie);return He.top+=yt,He.bottom+=yt,ya(He,re,ce,!1)?(He.top<=ce&&He.left<=re&&(en=ie,nn=He),!0):!1},Dt,Kt),Pn,Jn,Zn=!1;if(nn){var oi=re-nn.left<nn.right-re,li=oi==Yt;xn=en+(li?0:1),Jn=li?"after":"before",Pn=oi?nn.left:nn.right}else{!Yt&&(xn==Kt||xn==Dt)&&xn++,Jn=xn==0?"after":xn==k.text.length?"before":vn(L,Be,xn-(Yt?1:0)).bottom+yt<=ce==Yt?"after":"before";var $e=Mi(L,Rt(ee,xn,Jn),"line",k,Be);Pn=$e.left,Zn=ce<$e.top?-1:ce>=$e.bottom?1:0}return xn=Le(k.text,xn,1),hi(ee,xn,Jn,Zn,re-Pn)}function sa(L,k,ee,re,ce,Be,yt){var Dt=he(function(Ur){var en=ce[Ur],nn=en.level!=1;return ya(Mi(L,Rt(ee,nn?en.to:en.from,nn?"before":"after"),"line",k,re),Be,yt,!0)},0,ce.length-1),Kt=ce[Dt];if(Dt>0){var Yt=Kt.level!=1,Cr=Mi(L,Rt(ee,Yt?Kt.from:Kt.to,Yt?"after":"before"),"line",k,re);ya(Cr,Be,yt,!0)&&Cr.top>yt&&(Kt=ce[Dt-1])}return Kt}function Ni(L,k,ee,re,ce,Be,yt){var Dt=va(L,k,re,yt),Kt=Dt.begin,Yt=Dt.end;/\s/.test(k.text.charAt(Yt-1))&&Yt--;for(var Cr=null,Ur=null,en=0;en<ce.length;en++){var nn=ce[en];if(nn.from>=Yt||nn.to<=Kt)continue;var xn=nn.level!=1,Pn=vn(L,re,xn?Math.min(Yt,nn.to)-1:Math.max(Kt,nn.from)).right,Jn=Pn<Be?Be-Pn+1e9:Pn-Be;(!Cr||Ur>Jn)&&(Cr=nn,Ur=Jn)}return Cr||(Cr=ce[ce.length-1]),Cr.from<Kt&&(Cr={from:Kt,to:Cr.to,level:Cr.level}),Cr.to>Yt&&(Cr={from:Cr.from,to:Yt,level:Cr.level}),Cr}var $n;function Ai(L){if(L.cachedTextHeight!=null)return L.cachedTextHeight;if($n==null){$n=I("pre",null,"CodeMirror-line-like");for(var k=0;k<49;++k)$n.appendChild(document.createTextNode("x")),$n.appendChild(I("br"));$n.appendChild(document.createTextNode("x"))}O(L.measure,$n);var ee=$n.offsetHeight/50;return ee>3&&(L.cachedTextHeight=ee),b(L.measure),ee||1}function Ii(L){if(L.cachedCharWidth!=null)return L.cachedCharWidth;var k=I("span","xxxxxxxxxx"),ee=I("pre",[k],"CodeMirror-line-like");O(L.measure,ee);var re=k.getBoundingClientRect(),ce=(re.right-re.left)/10;return ce>2&&(L.cachedCharWidth=ce),ce||10}function Vi(L){for(var k=L.display,ee={},re={},ce=k.gutters.clientLeft,Be=k.gutters.firstChild,yt=0;Be;Be=Be.nextSibling,++yt){var Dt=L.display.gutterSpecs[yt].className;ee[Dt]=Be.offsetLeft+Be.clientLeft+ce,re[Dt]=Be.clientWidth}return{fixedPos:Xi(k),gutterTotalWidth:k.gutters.offsetWidth,gutterLeft:ee,gutterWidth:re,wrapperWidth:k.wrapper.clientWidth}}function Xi(L){return L.scroller.getBoundingClientRect().left-L.sizer.getBoundingClientRect().left}function bi(L){var k=Ai(L.display),ee=L.options.lineWrapping,re=ee&&Math.max(5,L.display.scroller.clientWidth/Ii(L.display)-3);return function(ce){if(mn(L.doc,ce))return 0;var Be=0;if(ce.widgets)for(var yt=0;yt<ce.widgets.length;yt++)ce.widgets[yt].height&&(Be+=ce.widgets[yt].height);return ee?Be+(Math.ceil(ce.text.length/re)||1)*k:Be+k}}function Aa(L){var k=L.doc,ee=bi(L);k.iter(function(re){var ce=ee(re);ce!=re.height&&Pe(re,ce)})}function ca(L,k,ee,re){var ce=L.display;if(!ee&&Ze(k).getAttribute("cm-not-content")=="true")return null;var Be,yt,Dt=ce.lineSpace.getBoundingClientRect();try{Be=k.clientX-Dt.left,yt=k.clientY-Dt.top}catch(Ur){return null}var Kt=qi(L,Be,yt),Yt;if(re&&Kt.xRel>0&&(Yt=se(L.doc,Kt.line).text).length==Kt.ch){var Cr=z(Yt,Yt.length,L.options.tabSize)-Yt.length;Kt=Rt(Kt.line,Math.max(0,Math.round((Be-br(L.display).left)/Ii(L.display))-Cr))}return Kt}function la(L,k){if(k>=L.display.viewTo)return null;if(k-=L.display.viewFrom,k<0)return null;for(var ee=L.display.view,re=0;re<ee.length;re++)if(k-=ee[re].size,k<0)return re}function gi(L,k,ee,re){k==null&&(k=L.doc.first),ee==null&&(ee=L.doc.first+L.doc.size),re||(re=0);var ce=L.display;if(re&&ee<ce.viewTo&&(ce.updateLineNumbers==null||ce.updateLineNumbers>k)&&(ce.updateLineNumbers=k),L.curOp.viewChanged=!0,k>=ce.viewTo)Qr&&Gn(L.doc,k)<ce.viewTo&&Ma(L);else if(ee<=ce.viewFrom)Qr&&Oa(L.doc,ee+re)>ce.viewFrom?Ma(L):(ce.viewFrom+=re,ce.viewTo+=re);else if(k<=ce.viewFrom&&ee>=ce.viewTo)Ma(L);else if(k<=ce.viewFrom){var Be=ra(L,ee,ee+re,1);Be?(ce.view=ce.view.slice(Be.index),ce.viewFrom=Be.lineN,ce.viewTo+=re):Ma(L)}else if(ee>=ce.viewTo){var yt=ra(L,k,k,-1);yt?(ce.view=ce.view.slice(0,yt.index),ce.viewTo=yt.lineN):Ma(L)}else{var Dt=ra(L,k,k,-1),Kt=ra(L,ee,ee+re,1);Dt&&Kt?(ce.view=ce.view.slice(0,Dt.index).concat(Fn(L,Dt.lineN,Kt.lineN)).concat(ce.view.slice(Kt.index)),ce.viewTo+=re):Ma(L)}var Yt=ce.externalMeasured;Yt&&(ee<Yt.lineN?Yt.lineN+=re:k<Yt.lineN+Yt.size&&(ce.externalMeasured=null))}function Ba(L,k,ee){L.curOp.viewChanged=!0;var re=L.display,ce=L.display.externalMeasured;if(ce&&k>=ce.lineN&&k<ce.lineN+ce.size&&(re.externalMeasured=null),k<re.viewFrom||k>=re.viewTo)return;var Be=re.view[la(L,k)];if(Be.node==null)return;var yt=Be.changes||(Be.changes=[]);W(yt,ee)==-1&&yt.push(ee)}function Ma(L){L.display.viewFrom=L.display.viewTo=L.doc.first,L.display.view=[],L.display.viewOffset=0}function ra(L,k,ee,re){var ce=la(L,k),Be,yt=L.display.view;if(!Qr||ee==L.doc.first+L.doc.size)return{index:ce,lineN:ee};for(var Dt=L.display.viewFrom,Kt=0;Kt<ce;Kt++)Dt+=yt[Kt].size;if(Dt!=k){if(re>0){if(ce==yt.length-1)return null;Be=Dt+yt[ce].size-k,ce++}else Be=Dt-k;k+=Be,ee+=Be}for(;Gn(L.doc,ee)!=ee;){if(ce==(re<0?0:yt.length-1))return null;ee+=re*yt[ce-(re<0?1:0)].size,ce+=re}return{index:ce,lineN:ee}}function Yi(L,k,ee){var re=L.display,ce=re.view;ce.length==0||k>=re.viewTo||ee<=re.viewFrom?(re.view=Fn(L,k,ee),re.viewFrom=k):(re.viewFrom>k?re.view=Fn(L,k,re.viewFrom).concat(re.view):re.viewFrom<k&&(re.view=re.view.slice(la(L,k))),re.viewFrom=k,re.viewTo<ee?re.view=re.view.concat(Fn(L,re.viewTo,ee)):re.viewTo>ee&&(re.view=re.view.slice(0,la(L,ee)))),re.viewTo=ee}function Xa(L){for(var k=L.display.view,ee=0,re=0;re<k.length;re++){var ce=k[re];!ce.hidden&&(!ce.node||ce.changes)&&++ee}return ee}function zi(L){L.display.input.showSelection(L.display.input.prepareSelection())}function Ki(L,k){k===void 0&&(k=!0);for(var ee=L.doc,re={},ce=re.cursors=document.createDocumentFragment(),Be=re.selection=document.createDocumentFragment(),yt=0;yt<ee.sel.ranges.length;yt++){if(!k&&yt==ee.sel.primIndex)continue;var Dt=ee.sel.ranges[yt];if(Dt.from().line>=L.display.viewTo||Dt.to().line<L.display.viewFrom)continue;var Kt=Dt.empty();(Kt||L.options.showCursorWhenSelecting)&&ba(L,Dt.head,ce),Kt||wa(L,Dt,Be)}return re}function ba(L,k,ee){var re=Mi(L,k,"div",null,null,!L.options.singleCursorHeightPerLine),ce=ee.appendChild(I("div","\xA0","CodeMirror-cursor"));if(ce.style.left=re.left+"px",ce.style.top=re.top+"px",ce.style.height=Math.max(0,re.bottom-re.top)*L.options.cursorHeight+"px",re.other){var Be=ee.appendChild(I("div","\xA0","CodeMirror-cursor CodeMirror-secondarycursor"));Be.style.display="",Be.style.left=re.other.left+"px",Be.style.top=re.other.top+"px",Be.style.height=(re.other.bottom-re.other.top)*.85+"px"}}function Ua(L,k){return L.top-k.top||L.left-k.left}function wa(L,k,ee){var re=L.display,ce=L.doc,Be=document.createDocumentFragment(),yt=br(L.display),Dt=yt.left,Kt=Math.max(re.sizerWidth,Dr(L)-re.sizer.offsetLeft)-yt.right,Yt=ce.direction=="ltr";function Cr(li,$e,ie,He){$e<0&&($e=0),$e=Math.round($e),He=Math.round(He),Be.appendChild(I("div",null,"CodeMirror-selected","position: absolute; left: "+li+`px;
|
|
|
top: `+$e+"px; width: "+(ie==null?Kt-li:ie)+`px;
|
|
|
height: `+(He-$e)+"px"))}function Ur(li,$e,ie){var He=se(ce,li),tt=He.text.length,Ot,tr;function vr(zr,cn){return Ui(L,Rt(li,zr),"div",He,cn)}function Ir(zr,cn,sn){var kn=Ea(L,He,null,zr),si=cn=="ltr"==(sn=="after")?"left":"right",zn=sn=="after"?kn.begin:kn.end-(/\s/.test(He.text.charAt(kn.end-1))?2:1);return vr(zn,si)[si]}var Hr=ze(He,ce.direction);return te(Hr,$e||0,ie==null?tt:ie,function(zr,cn,sn,kn){var si=sn=="ltr",zn=vr(zr,si?"left":"right"),fi=vr(cn-1,si?"right":"left"),da=$e==null&&zr==0,Ti=ie==null&&cn==tt,na=kn==0,La=!Hr||kn==Hr.length-1;if(fi.top-zn.top<=3){var Bi=(Yt?da:Ti)&&na,Lo=(Yt?Ti:da)&&La,no=Bi?Dt:(si?zn:fi).left,Ko=Lo?Kt:(si?fi:zn).right;Cr(no,zn.top,Ko-no,zn.bottom)}else{var Bo,Fa,Wo,fs;si?(Bo=Yt&&da&&na?Dt:zn.left,Fa=Yt?Kt:Ir(zr,sn,"before"),Wo=Yt?Dt:Ir(cn,sn,"after"),fs=Yt&&Ti&&La?Kt:fi.right):(Bo=Yt?Ir(zr,sn,"before"):Dt,Fa=!Yt&&da&&na?Kt:zn.right,Wo=!Yt&&Ti&&La?Dt:fi.left,fs=Yt?Ir(cn,sn,"after"):Kt),Cr(Bo,zn.top,Fa-Bo,zn.bottom),zn.bottom<fi.top&&Cr(Dt,zn.bottom,null,fi.top),Cr(Wo,fi.top,fs-Wo,fi.bottom)}(!Ot||Ua(zn,Ot)<0)&&(Ot=zn),Ua(fi,Ot)<0&&(Ot=fi),(!tr||Ua(zn,tr)<0)&&(tr=zn),Ua(fi,tr)<0&&(tr=fi)}),{start:Ot,end:tr}}var en=k.from(),nn=k.to();if(en.line==nn.line)Ur(en.line,en.ch,nn.ch);else{var xn=se(ce,en.line),Pn=se(ce,nn.line),Jn=ta(xn)==ta(Pn),Zn=Ur(en.line,en.ch,Jn?xn.text.length+1:null).end,oi=Ur(nn.line,Jn?0:null,nn.ch).start;Jn&&(Zn.top<oi.top-2?(Cr(Zn.right,Zn.top,null,Zn.bottom),Cr(Dt,oi.top,oi.left,oi.bottom)):Cr(Zn.right,Zn.top,oi.left-Zn.right,Zn.bottom)),Zn.bottom<oi.top&&Cr(Dt,Zn.bottom,null,oi.top)}ee.appendChild(Be)}function vi(L){if(!L.state.focused)return;var k=L.display;clearInterval(k.blinker);var ee=!0;k.cursorDiv.style.visibility="",L.options.cursorBlinkRate>0?k.blinker=setInterval(function(){L.hasFocus()||Oi(L),k.cursorDiv.style.visibility=(ee=!ee)?"":"hidden"},L.options.cursorBlinkRate):L.options.cursorBlinkRate<0&&(k.cursorDiv.style.visibility="hidden")}function Ya(L){L.state.focused||(L.display.input.focus(),pa(L))}function za(L){L.state.delayingBlurEvent=!0,setTimeout(function(){L.state.delayingBlurEvent&&(L.state.delayingBlurEvent=!1,Oi(L))},100)}function pa(L,k){if(L.state.delayingBlurEvent&&(L.state.delayingBlurEvent=!1),L.options.readOnly=="nocursor")return;L.state.focused||(st(L,"focus",L,k),L.state.focused=!0,K(L.display.wrapper,"CodeMirror-focused"),!L.curOp&&L.display.selForContextMenu!=L.doc.sel&&(L.display.input.reset(),i&&setTimeout(function(){return L.display.input.reset(!0)},20)),L.display.input.receivedFocus()),vi(L)}function Oi(L,k){if(L.state.delayingBlurEvent)return;L.state.focused&&(st(L,"blur",L,k),L.state.focused=!1,y(L.display.wrapper,"CodeMirror-focused")),clearInterval(L.display.blinker),setTimeout(function(){L.state.focused||(L.display.shift=!1)},150)}function So(L){for(var k=L.display,ee=k.lineDiv.offsetTop,re=0;re<k.view.length;re++){var ce=k.view[re],Be=L.options.lineWrapping,yt=void 0,Dt=0;if(ce.hidden)continue;if(c&&a<8){var Kt=ce.node.offsetTop+ce.node.offsetHeight;yt=Kt-ee,ee=Kt}else{var Yt=ce.node.getBoundingClientRect();yt=Yt.bottom-Yt.top,!Be&&ce.text.firstChild&&(Dt=ce.text.firstChild.getBoundingClientRect().right-Yt.left-1)}var Cr=ce.line.height-yt;if((Cr>.005||Cr<-.005)&&(Pe(ce.line,yt),Ka(ce.line),ce.rest))for(var Ur=0;Ur<ce.rest.length;Ur++)Ka(ce.rest[Ur]);if(Dt>L.display.sizerWidth){var en=Math.ceil(Dt/Ii(L.display));en>L.display.maxLineLength&&(L.display.maxLineLength=en,L.display.maxLine=ce.line,L.display.maxLineChanged=!0)}}}function Ka(L){if(L.widgets)for(var k=0;k<L.widgets.length;++k){var ee=L.widgets[k],re=ee.node.parentNode;re&&(ee.height=re.offsetHeight)}}function ja(L,k,ee){var re=ee&&ee.top!=null?Math.max(0,ee.top):L.scroller.scrollTop;re=Math.floor(re-Vt(L));var ce=ee&&ee.bottom!=null?ee.bottom:re+L.wrapper.clientHeight,Be=At(k,re),yt=At(k,ce);if(ee&&ee.ensure){var Dt=ee.ensure.from.line,Kt=ee.ensure.to.line;Dt<Be?(Be=Dt,yt=At(k,_n(se(k,Dt))+L.wrapper.clientHeight)):Math.min(Kt,k.lastLine())>=yt&&(Be=At(k,_n(se(k,Kt))-L.wrapper.clientHeight),yt=Kt)}return{from:Be,to:Math.max(yt,Be+1)}}function qa(L,k){if(Xe(L,"scrollCursorIntoView"))return;var ee=L.display,re=ee.sizer.getBoundingClientRect(),ce=null;if(k.top+re.top<0?ce=!0:k.bottom+re.top>(window.innerHeight||document.documentElement.clientHeight)&&(ce=!1),ce!=null&&!t){var Be=I("div","\u200B",null,`position: absolute;
|
|
|
top: `+(k.top-ee.viewOffset-Vt(L.display))+`px;
|
|
|
height: `+(k.bottom-k.top+Mr(L)+ee.barHeight)+`px;
|
|
|
left: `+k.left+"px; width: "+Math.max(2,k.right-k.left)+"px;");L.display.lineSpace.appendChild(Be),Be.scrollIntoView(ce),L.display.lineSpace.removeChild(Be)}}function ho(L,k,ee,re){re==null&&(re=0);var ce;!L.options.lineWrapping&&k==ee&&(k=k.ch?Rt(k.line,k.sticky=="before"?k.ch-1:k.ch,"after"):k,ee=k.sticky=="before"?Rt(k.line,k.ch+1,"before"):k);for(var Be=0;Be<5;Be++){var yt=!1,Dt=Mi(L,k),Kt=!ee||ee==k?Dt:Mi(L,ee);ce={left:Math.min(Dt.left,Kt.left),top:Math.min(Dt.top,Kt.top)-re,right:Math.max(Dt.left,Kt.left),bottom:Math.max(Dt.bottom,Kt.bottom)+re};var Yt=to(L,ce),Cr=L.doc.scrollTop,Ur=L.doc.scrollLeft;if(Yt.scrollTop!=null&&(Gi(L,Yt.scrollTop),Math.abs(L.doc.scrollTop-Cr)>1&&(yt=!0)),Yt.scrollLeft!=null&&(go(L,Yt.scrollLeft),Math.abs(L.doc.scrollLeft-Ur)>1&&(yt=!0)),!yt)break}return ce}function Ca(L,k){var ee=to(L,k);ee.scrollTop!=null&&Gi(L,ee.scrollTop),ee.scrollLeft!=null&&go(L,ee.scrollLeft)}function to(L,k){var ee=L.display,re=Ai(L.display);k.top<0&&(k.top=0);var ce=L.curOp&&L.curOp.scrollTop!=null?L.curOp.scrollTop:ee.scroller.scrollTop,Be=rn(L),yt={};k.bottom-k.top>Be&&(k.bottom=k.top+Be);var Dt=L.doc.height+sr(ee),Kt=k.top<re,Yt=k.bottom>Dt-re;if(k.top<ce)yt.scrollTop=Kt?0:k.top;else if(k.bottom>ce+Be){var Cr=Math.min(k.top,(Yt?Dt:k.bottom)-Be);Cr!=ce&&(yt.scrollTop=Cr)}var Ur=L.options.fixedGutter?0:ee.gutters.offsetWidth,en=L.curOp&&L.curOp.scrollLeft!=null?L.curOp.scrollLeft:ee.scroller.scrollLeft-Ur,nn=Dr(L)-ee.gutters.offsetWidth,xn=k.right-k.left>nn;return xn&&(k.right=k.left+nn),k.left<10?yt.scrollLeft=0:k.left<en?yt.scrollLeft=Math.max(0,k.left+Ur-(xn?0:10)):k.right>nn+en-3&&(yt.scrollLeft=k.right+(xn?0:10)-nn),yt}function _o(L,k){if(k==null)return;Da(L),L.curOp.scrollTop=(L.curOp.scrollTop==null?L.doc.scrollTop:L.curOp.scrollTop)+k}function Ia(L){Da(L);var k=L.getCursor();L.curOp.scrollToPos={from:k,to:k,margin:L.options.cursorScrollMargin}}function ki(L,k,ee){(k!=null||ee!=null)&&Da(L),k!=null&&(L.curOp.scrollLeft=k),ee!=null&&(L.curOp.scrollTop=ee)}function Za(L,k){Da(L),L.curOp.scrollToPos=k}function Da(L){var k=L.curOp.scrollToPos;if(k){L.curOp.scrollToPos=null;var ee=mi(L,k.from),re=mi(L,k.to);pi(L,ee,re,k.margin)}}function pi(L,k,ee,re){var ce=to(L,{left:Math.min(k.left,ee.left),top:Math.min(k.top,ee.top)-re,right:Math.max(k.right,ee.right),bottom:Math.max(k.bottom,ee.bottom)+re});ki(L,ce.scrollLeft,ce.scrollTop)}function Gi(L,k){if(Math.abs(L.doc.scrollTop-k)<2)return;A||Io(L,{top:k}),oo(L,k,!0),A&&Io(L),ps(L,100)}function oo(L,k,ee){if(k=Math.max(0,Math.min(L.display.scroller.scrollHeight-L.display.scroller.clientHeight,k)),L.display.scroller.scrollTop==k&&!ee)return;L.doc.scrollTop=k,L.display.scrollbars.setScrollTop(k),L.display.scroller.scrollTop!=k&&(L.display.scroller.scrollTop=k)}function go(L,k,ee,re){if(k=Math.max(0,Math.min(k,L.display.scroller.scrollWidth-L.display.scroller.clientWidth)),(ee?k==L.doc.scrollLeft:Math.abs(L.doc.scrollLeft-k)<2)&&!re)return;L.doc.scrollLeft=k,ms(L),L.display.scroller.scrollLeft!=k&&(L.display.scroller.scrollLeft=k),L.display.scrollbars.setScrollLeft(k)}function fo(L){var k=L.display,ee=k.gutters.offsetWidth,re=Math.round(L.doc.height+sr(L.display));return{clientHeight:k.scroller.clientHeight,viewHeight:k.wrapper.clientHeight,scrollWidth:k.scroller.scrollWidth,clientWidth:k.scroller.clientWidth,viewWidth:k.wrapper.clientWidth,barLeft:L.options.fixedGutter?ee:0,docHeight:re,scrollHeight:re+Mr(L)+k.barHeight,nativeBarWidth:k.nativeBarWidth,gutterWidth:ee}}var Ta=function(k,ee,re){this.cm=re;var ce=this.vert=I("div",[I("div",null,null,"min-width: 1px")],"CodeMirror-vscrollbar"),Be=this.horiz=I("div",[I("div",null,null,"height: 100%; min-height: 1px")],"CodeMirror-hscrollbar");ce.tabIndex=Be.tabIndex=-1,k(ce),k(Be),De(ce,"scroll",function(){ce.clientHeight&&ee(ce.scrollTop,"vertical")}),De(Be,"scroll",function(){Be.clientWidth&&ee(Be.scrollLeft,"horizontal")}),this.checkedZeroWidth=!1,c&&a<8&&(this.horiz.style.minHeight=this.vert.style.minWidth="18px")};Ta.prototype.update=function(L){var k=L.scrollWidth>L.clientWidth+1,ee=L.scrollHeight>L.clientHeight+1,re=L.nativeBarWidth;if(ee){this.vert.style.display="block",this.vert.style.bottom=k?re+"px":"0";var ce=L.viewHeight-(k?re:0);this.vert.firstChild.style.height=Math.max(0,L.scrollHeight-L.clientHeight+ce)+"px"}else this.vert.style.display="",this.vert.firstChild.style.height="0";if(k){this.horiz.style.display="block",this.horiz.style.right=ee?re+"px":"0",this.horiz.style.left=L.barLeft+"px";var Be=L.viewWidth-L.barLeft-(ee?re:0);this.horiz.firstChild.style.width=Math.max(0,L.scrollWidth-L.clientWidth+Be)+"px"}else this.horiz.style.display="",this.horiz.firstChild.style.width="0";return!this.checkedZeroWidth&&L.clientHeight>0&&(re==0&&this.zeroWidthHack(),this.checkedZeroWidth=!0),{right:ee?re:0,bottom:k?re:0}},Ta.prototype.setScrollLeft=function(L){this.horiz.scrollLeft!=L&&(this.horiz.scrollLeft=L),this.disableHoriz&&this.enableZeroWidthBar(this.horiz,this.disableHoriz,"horiz")},Ta.prototype.setScrollTop=function(L){this.vert.scrollTop!=L&&(this.vert.scrollTop=L),this.disableVert&&this.enableZeroWidthBar(this.vert,this.disableVert,"vert")},Ta.prototype.zeroWidthHack=function(){var L=x&&!l?"12px":"18px";this.horiz.style.height=this.vert.style.width=L,this.horiz.style.pointerEvents=this.vert.style.pointerEvents="none",this.disableHoriz=new X,this.disableVert=new X},Ta.prototype.enableZeroWidthBar=function(L,k,ee){L.style.pointerEvents="auto";function re(){var ce=L.getBoundingClientRect(),Be=ee=="vert"?document.elementFromPoint(ce.right-1,(ce.top+ce.bottom)/2):document.elementFromPoint((ce.right+ce.left)/2,ce.bottom-1);Be!=L?L.style.pointerEvents="none":k.set(1e3,re)}k.set(1e3,re)},Ta.prototype.clear=function(){var L=this.horiz.parentNode;L.removeChild(this.horiz),L.removeChild(this.vert)};var Fi=function(){};Fi.prototype.update=function(){return{bottom:0,right:0}},Fi.prototype.setScrollLeft=function(){},Fi.prototype.setScrollTop=function(){},Fi.prototype.clear=function(){};function Ra(L,k){k||(k=fo(L));var ee=L.display.barWidth,re=L.display.barHeight;Vo(L,k);for(var ce=0;ce<4&&ee!=L.display.barWidth||re!=L.display.barHeight;ce++)ee!=L.display.barWidth&&L.options.lineWrapping&&So(L),Vo(L,fo(L)),ee=L.display.barWidth,re=L.display.barHeight}function Vo(L,k){var ee=L.display,re=ee.scrollbars.update(k);ee.sizer.style.paddingRight=(ee.barWidth=re.right)+"px",ee.sizer.style.paddingBottom=(ee.barHeight=re.bottom)+"px",ee.heightForcer.style.borderBottom=re.bottom+"px solid transparent",re.right&&re.bottom?(ee.scrollbarFiller.style.display="block",ee.scrollbarFiller.style.height=re.bottom+"px",ee.scrollbarFiller.style.width=re.right+"px"):ee.scrollbarFiller.style.display="",re.bottom&&L.options.coverGutterNextToScrollbar&&L.options.fixedGutter?(ee.gutterFiller.style.display="block",ee.gutterFiller.style.height=re.bottom+"px",ee.gutterFiller.style.width=k.gutterWidth+"px"):ee.gutterFiller.style.display=""}var ro={native:Ta,null:Fi};function vo(L){L.display.scrollbars&&(L.display.scrollbars.clear(),L.display.scrollbars.addClass&&y(L.display.wrapper,L.display.scrollbars.addClass)),L.display.scrollbars=new ro[L.options.scrollbarStyle](function(k){L.display.wrapper.insertBefore(k,L.display.scrollbarFiller),De(k,"mousedown",function(){L.state.focused&&setTimeout(function(){return L.display.input.focus()},0)}),k.setAttribute("cm-not-content","true")},function(k,ee){ee=="horizontal"?go(L,k):Gi(L,k)},L),L.display.scrollbars.addClass&&K(L.display.wrapper,L.display.scrollbars.addClass)}var po=0;function Ji(L){L.curOp={cm:L,viewChanged:!1,startHeight:L.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(L.curOp)}function xo(L){var k=L.curOp;k&&uo(k,function(ee){for(var re=0;re<ee.ops.length;re++)ee.ops[re].cm.curOp=null;is(ee)})}function is(L){for(var k=L.ops,ee=0;ee<k.length;ee++)Zo(k[ee]);for(var re=0;re<k.length;re++)Ls(k[re]);for(var ce=0;ce<k.length;ce++)Cs(k[ce]);for(var Be=0;Be<k.length;Be++)Ts(k[Be]);for(var yt=0;yt<k.length;yt++)Go(k[yt])}function Zo(L){var k=L.cm,ee=k.display;ss(k),L.updateMaxLine&&jn(k),L.mustUpdate=L.viewChanged||L.forceUpdate||L.scrollTop!=null||L.scrollToPos&&(L.scrollToPos.from.line<ee.viewFrom||L.scrollToPos.to.line>=ee.viewTo)||ee.maxLineChanged&&k.options.lineWrapping,L.update=L.mustUpdate&&new Xo(k,L.mustUpdate&&{top:L.scrollTop,ensure:L.scrollToPos},L.forceUpdate)}function Ls(L){L.updatedDisplay=L.mustUpdate&&_a(L.cm,L.update)}function Cs(L){var k=L.cm,ee=k.display;L.updatedDisplay&&So(k),L.barMeasure=fo(k),ee.maxLineChanged&&!k.options.lineWrapping&&(L.adjustWidthTo=Sn(k,ee.maxLine,ee.maxLine.text.length).left+3,k.display.sizerWidth=L.adjustWidthTo,L.barMeasure.scrollWidth=Math.max(ee.scroller.clientWidth,ee.sizer.offsetLeft+L.adjustWidthTo+Mr(k)+k.display.barWidth),L.maxScrollLeft=Math.max(0,ee.sizer.offsetLeft+L.adjustWidthTo-Dr(k))),(L.updatedDisplay||L.selectionChanged)&&(L.preparedSelection=ee.input.prepareSelection())}function Ts(L){var k=L.cm;L.adjustWidthTo!=null&&(k.display.sizer.style.minWidth=L.adjustWidthTo+"px",L.maxScrollLeft<k.doc.scrollLeft&&go(k,Math.min(k.display.scroller.scrollLeft,L.maxScrollLeft),!0),k.display.maxLineChanged=!1);var ee=L.focus&&L.focus==j();L.preparedSelection&&k.display.input.showSelection(L.preparedSelection,ee),(L.updatedDisplay||L.startHeight!=k.doc.height)&&Ra(k,L.barMeasure),L.updatedDisplay&&rs(k,L.barMeasure),L.selectionChanged&&vi(k),k.state.focused&&L.updateInput&&k.display.input.reset(L.typing),ee&&Ya(L.cm)}function Go(L){var k=L.cm,ee=k.display,re=k.doc;if(L.updatedDisplay&&Oo(k,L.update),ee.wheelStartX!=null&&(L.scrollTop!=null||L.scrollLeft!=null||L.scrollToPos)&&(ee.wheelStartX=ee.wheelStartY=null),L.scrollTop!=null&&oo(k,L.scrollTop,L.forceScroll),L.scrollLeft!=null&&go(k,L.scrollLeft,!0,!0),L.scrollToPos){var ce=ho(k,ht(re,L.scrollToPos.from),ht(re,L.scrollToPos.to),L.scrollToPos.margin);qa(k,ce)}var Be=L.maybeHiddenMarkers,yt=L.maybeUnhiddenMarkers;if(Be)for(var Dt=0;Dt<Be.length;++Dt)Be[Dt].lines.length||st(Be[Dt],"hide");if(yt)for(var Kt=0;Kt<yt.length;++Kt)yt[Kt].lines.length&&st(yt[Kt],"unhide");ee.wrapper.offsetHeight&&(re.scrollTop=k.display.scroller.scrollTop),L.changeObjs&&st(k,"changes",k,L.changeObjs),L.update&&L.update.finish()}function bo(L,k){if(L.curOp)return k();Ji(L);try{return k()}finally{xo(L)}}function Ja(L,k){return function(){if(L.curOp)return k.apply(L,arguments);Ji(L);try{return k.apply(L,arguments)}finally{xo(L)}}}function Ga(L){return function(){if(this.curOp)return L.apply(this,arguments);Ji(this);try{return L.apply(this,arguments)}finally{xo(this)}}}function so(L){return function(){var k=this.cm;if(!k||k.curOp)return L.apply(this,arguments);Ji(k);try{return L.apply(this,arguments)}finally{xo(k)}}}function ps(L,k){L.doc.highlightFrontier<L.display.viewTo&&L.state.highlight.set(k,U(Sr,L))}function Sr(L){var k=L.doc;if(k.highlightFrontier>=L.display.viewTo)return;var ee=+new Date+L.options.workTime,re=Ht(L,k.highlightFrontier),ce=[];k.iter(re.line,Math.min(k.first+k.size,L.display.viewTo+500),function(Be){if(re.line>=L.display.viewFrom){var yt=Be.styles,Dt=Be.text.length>L.options.maxHighlightLength?Lt(k.mode,re.state):null,Kt=_t(L,Be,re,!0);Dt&&(re.state=Dt),Be.styles=Kt.styles;var Yt=Be.styleClasses,Cr=Kt.classes;Cr?Be.styleClasses=Cr:Yt&&(Be.styleClasses=null);for(var Ur=!yt||yt.length!=Be.styles.length||Yt!=Cr&&(!Yt||!Cr||Yt.bgClass!=Cr.bgClass||Yt.textClass!=Cr.textClass),en=0;!Ur&&en<yt.length;++en)Ur=yt[en]!=Be.styles[en];Ur&&ce.push(re.line),Be.stateAfter=re.save(),re.nextLine()}else Be.text.length<=L.options.maxHighlightLength&&kt(L,Be.text,re),Be.stateAfter=re.line%5==0?re.save():null,re.nextLine();if(+new Date>ee)return ps(L,L.options.workDelay),!0}),k.highlightFrontier=re.line,k.modeFrontier=Math.max(k.modeFrontier,re.line),ce.length&&bo(L,function(){for(var Be=0;Be<ce.length;Be++)Ba(L,ce[Be],"text")})}var Xo=function(k,ee,re){var ce=k.display;this.viewport=ee,this.visible=ja(ce,k.doc,ee),this.editorIsHidden=!ce.wrapper.offsetWidth,this.wrapperHeight=ce.wrapper.clientHeight,this.wrapperWidth=ce.wrapper.clientWidth,this.oldDisplayWidth=Dr(k),this.force=re,this.dims=Vi(k),this.events=[]};Xo.prototype.signal=function(L,k){et(L,k)&&this.events.push(arguments)},Xo.prototype.finish=function(){for(var L=0;L<this.events.length;L++)st.apply(null,this.events[L])};function ss(L){var k=L.display;!k.scrollbarsClipped&&k.scroller.offsetWidth&&(k.nativeBarWidth=k.scroller.offsetWidth-k.scroller.clientWidth,k.heightForcer.style.height=Mr(L)+"px",k.sizer.style.marginBottom=-k.nativeBarWidth+"px",k.sizer.style.borderRightWidth=Mr(L)+"px",k.scrollbarsClipped=!0)}function _s(L){if(L.hasFocus())return null;var k=j();if(!k||!P(L.display.lineDiv,k))return null;var ee={activeElt:k};if(window.getSelection){var re=window.getSelection();re.anchorNode&&re.extend&&P(L.display.lineDiv,re.anchorNode)&&(ee.anchorNode=re.anchorNode,ee.anchorOffset=re.anchorOffset,ee.focusNode=re.focusNode,ee.focusOffset=re.focusOffset)}return ee}function ka(L){if(!L||!L.activeElt||L.activeElt==j())return;if(L.activeElt.focus(),!/^(INPUT|TEXTAREA)$/.test(L.activeElt.nodeName)&&L.anchorNode&&P(document.body,L.anchorNode)&&P(document.body,L.focusNode)){var k=window.getSelection(),ee=document.createRange();ee.setEnd(L.anchorNode,L.anchorOffset),ee.collapse(!1),k.removeAllRanges(),k.addRange(ee),k.extend(L.focusNode,L.focusOffset)}}function _a(L,k){var ee=L.display,re=L.doc;if(k.editorIsHidden)return Ma(L),!1;if(!k.force&&k.visible.from>=ee.viewFrom&&k.visible.to<=ee.viewTo&&(ee.updateLineNumbers==null||ee.updateLineNumbers>=ee.viewTo)&&ee.renderedView==ee.view&&Xa(L)==0)return!1;ls(L)&&(Ma(L),k.dims=Vi(L));var ce=re.first+re.size,Be=Math.max(k.visible.from-L.options.viewportMargin,re.first),yt=Math.min(ce,k.visible.to+L.options.viewportMargin);ee.viewFrom<Be&&Be-ee.viewFrom<20&&(Be=Math.max(re.first,ee.viewFrom)),ee.viewTo>yt&&ee.viewTo-yt<20&&(yt=Math.min(ce,ee.viewTo)),Qr&&(Be=Gn(L.doc,Be),yt=Oa(L.doc,yt));var Dt=Be!=ee.viewFrom||yt!=ee.viewTo||ee.lastWrapHeight!=k.wrapperHeight||ee.lastWrapWidth!=k.wrapperWidth;Yi(L,Be,yt),ee.viewOffset=_n(se(L.doc,ee.viewFrom)),L.display.mover.style.top=ee.viewOffset+"px";var Kt=Xa(L);if(!Dt&&Kt==0&&!k.force&&ee.renderedView==ee.view&&(ee.updateLineNumbers==null||ee.updateLineNumbers>=ee.viewTo))return!1;var Yt=_s(L);return Kt>4&&(ee.lineDiv.style.display="none"),ts(L,ee.updateLineNumbers,k.dims),Kt>4&&(ee.lineDiv.style.display=""),ee.renderedView=ee.view,ka(Yt),b(ee.cursorDiv),b(ee.selectionDiv),ee.gutters.style.height=ee.sizer.style.minHeight=0,Dt&&(ee.lastWrapHeight=k.wrapperHeight,ee.lastWrapWidth=k.wrapperWidth,ps(L,400)),ee.updateLineNumbers=null,!0}function Oo(L,k){for(var ee=k.viewport,re=!0;;re=!1){if(!re||!L.options.lineWrapping||k.oldDisplayWidth==Dr(L)){if(ee&&ee.top!=null&&(ee={top:Math.min(L.doc.height+sr(L.display)-rn(L),ee.top)}),k.visible=ja(L.display,L.doc,ee),k.visible.from>=L.display.viewFrom&&k.visible.to<=L.display.viewTo)break}else re&&(k.visible=ja(L.display,L.doc,ee));if(!_a(L,k))break;So(L);var ce=fo(L);zi(L),Ra(L,ce),rs(L,ce),k.force=!1}k.signal(L,"update",L),(L.display.viewFrom!=L.display.reportedViewFrom||L.display.viewTo!=L.display.reportedViewTo)&&(k.signal(L,"viewportChange",L,L.display.viewFrom,L.display.viewTo),L.display.reportedViewFrom=L.display.viewFrom,L.display.reportedViewTo=L.display.viewTo)}function Io(L,k){var ee=new Xo(L,k);if(_a(L,ee)){So(L),Oo(L,ee);var re=fo(L);zi(L),Ra(L,re),rs(L,re),ee.finish()}}function ts(L,k,ee){var re=L.display,ce=L.options.lineNumbers,Be=re.lineDiv,yt=Be.firstChild;function Dt(xn){var Pn=xn.nextSibling;return i&&x&&L.display.currentWheelTarget==xn?xn.style.display="none":xn.parentNode.removeChild(xn),Pn}for(var Kt=re.view,Yt=re.viewFrom,Cr=0;Cr<Kt.length;Cr++){var Ur=Kt[Cr];if(!Ur.hidden)if(!Ur.node||Ur.node.parentNode!=Be){var en=Er(L,Ur,Yt,ee);Be.insertBefore(en,yt)}else{for(;yt!=Ur.node;)yt=Dt(yt);var nn=ce&&k!=null&&k<=Yt&&Ur.lineNumber;Ur.changes&&(W(Ur.changes,"gutter")>-1&&(nn=!1),Wr(L,Ur,Yt,ee)),nn&&(b(Ur.lineNumber),Ur.lineNumber.appendChild(document.createTextNode($t(L.options,Yt)))),yt=Ur.node.nextSibling}Yt+=Ur.size}for(;yt;)yt=Dt(yt)}function Po(L){var k=L.gutters.offsetWidth;L.sizer.style.marginLeft=k+"px"}function rs(L,k){L.display.sizer.style.minHeight=k.docHeight+"px",L.display.heightForcer.style.top=k.docHeight+"px",L.display.gutters.style.height=k.docHeight+L.display.barHeight+Mr(L)+"px"}function ms(L){var k=L.display,ee=k.view;if(!k.alignWidgets&&(!k.gutters.firstChild||!L.options.fixedGutter))return;for(var re=Xi(k)-k.scroller.scrollLeft+L.doc.scrollLeft,ce=k.gutters.offsetWidth,Be=re+"px",yt=0;yt<ee.length;yt++)if(!ee[yt].hidden){L.options.fixedGutter&&(ee[yt].gutter&&(ee[yt].gutter.style.left=Be),ee[yt].gutterBackground&&(ee[yt].gutterBackground.style.left=Be));var Dt=ee[yt].alignable;if(Dt)for(var Kt=0;Kt<Dt.length;Kt++)Dt[Kt].style.left=Be}L.options.fixedGutter&&(k.gutters.style.left=re+ce+"px")}function ls(L){if(!L.options.lineNumbers)return!1;var k=L.doc,ee=$t(L.options,k.first+k.size-1),re=L.display;if(ee.length!=re.lineNumChars){var ce=re.measure.appendChild(I("div",[I("div",ee)],"CodeMirror-linenumber CodeMirror-gutter-elt")),Be=ce.firstChild.offsetWidth,yt=ce.offsetWidth-Be;return re.lineGutter.style.width="",re.lineNumInnerWidth=Math.max(Be,re.lineGutter.offsetWidth-yt)+1,re.lineNumWidth=re.lineNumInnerWidth+yt,re.lineNumChars=re.lineNumInnerWidth?ee.length:-1,re.lineGutter.style.width=re.lineNumWidth+"px",Po(L.display),!0}return!1}function Ns(L,k){for(var ee=[],re=!1,ce=0;ce<L.length;ce++){var Be=L[ce],yt=null;if(typeof Be!="string"&&(yt=Be.style,Be=Be.className),Be=="CodeMirror-linenumbers")if(k)re=!0;else continue;ee.push({className:Be,style:yt})}return k&&!re&&ee.push({className:"CodeMirror-linenumbers",style:null}),ee}function Ds(L){var k=L.gutters,ee=L.gutterSpecs;b(k),L.lineGutter=null;for(var re=0;re<ee.length;++re){var ce=ee[re],Be=ce.className,yt=ce.style,Dt=k.appendChild(I("div",null,"CodeMirror-gutter "+Be));yt&&(Dt.style.cssText=yt),Be=="CodeMirror-linenumbers"&&(L.lineGutter=Dt,Dt.style.width=(L.lineNumWidth||1)+"px")}k.style.display=ee.length?"":"none",Po(L)}function as(L){Ds(L.display),gi(L),ms(L)}function $s(L,k,ee,re){var ce=this;this.input=ee,ce.scrollbarFiller=I("div",null,"CodeMirror-scrollbar-filler"),ce.scrollbarFiller.setAttribute("cm-not-content","true"),ce.gutterFiller=I("div",null,"CodeMirror-gutter-filler"),ce.gutterFiller.setAttribute("cm-not-content","true"),ce.lineDiv=M("div",null,"CodeMirror-code"),ce.selectionDiv=I("div",null,null,"position: relative; z-index: 1"),ce.cursorDiv=I("div",null,"CodeMirror-cursors"),ce.measure=I("div",null,"CodeMirror-measure"),ce.lineMeasure=I("div",null,"CodeMirror-measure"),ce.lineSpace=M("div",[ce.measure,ce.lineMeasure,ce.selectionDiv,ce.cursorDiv,ce.lineDiv],null,"position: relative; outline: none");var Be=M("div",[ce.lineSpace],"CodeMirror-lines");ce.mover=I("div",[Be],null,"position: relative"),ce.sizer=I("div",[ce.mover],"CodeMirror-sizer"),ce.sizerWidth=null,ce.heightForcer=I("div",null,null,"position: absolute; height: "+Y+"px; width: 1px;"),ce.gutters=I("div",null,"CodeMirror-gutters"),ce.lineGutter=null,ce.scroller=I("div",[ce.sizer,ce.heightForcer,ce.gutters],"CodeMirror-scroll"),ce.scroller.setAttribute("tabIndex","-1"),ce.wrapper=I("div",[ce.scrollbarFiller,ce.gutterFiller,ce.scroller],"CodeMirror"),c&&a<8&&(ce.gutters.style.zIndex=-1,ce.scroller.style.paddingRight=0),!i&&!(A&&p)&&(ce.scroller.draggable=!0),L&&(L.appendChild?L.appendChild(ce.wrapper):L(ce.wrapper)),ce.viewFrom=ce.viewTo=k.first,ce.reportedViewFrom=ce.reportedViewTo=k.first,ce.view=[],ce.renderedView=null,ce.externalMeasured=null,ce.viewOffset=0,ce.lastWrapHeight=ce.lastWrapWidth=0,ce.updateLineNumbers=null,ce.nativeBarWidth=ce.barHeight=ce.barWidth=0,ce.scrollbarsClipped=!1,ce.lineNumWidth=ce.lineNumInnerWidth=ce.lineNumChars=null,ce.alignWidgets=!1,ce.cachedCharWidth=ce.cachedTextHeight=ce.cachedPaddingH=null,ce.maxLine=null,ce.maxLineLength=0,ce.maxLineChanged=!1,ce.wheelDX=ce.wheelDY=ce.wheelStartX=ce.wheelStartY=null,ce.shift=!1,ce.selForContextMenu=null,ce.activeTouch=null,ce.gutterSpecs=Ns(re.gutters,re.lineNumbers),Ds(ce),ee.init(ce)}var cs=0,Mo=null;c?Mo=-.53:A?Mo=15:o?Mo=-.7:n&&(Mo=-1/3);function Dn(L){var k=L.wheelDeltaX,ee=L.wheelDeltaY;return k==null&&L.detail&&L.axis==L.HORIZONTAL_AXIS&&(k=L.detail),ee==null&&L.detail&&L.axis==L.VERTICAL_AXIS?ee=L.detail:ee==null&&(ee=L.wheelDelta),{x:k,y:ee}}function Vs(L){var k=Dn(L);return k.x*=Mo,k.y*=Mo,k}function Os(L,k){var ee=Dn(k),re=ee.x,ce=ee.y,Be=L.display,yt=Be.scroller,Dt=yt.scrollWidth>yt.clientWidth,Kt=yt.scrollHeight>yt.clientHeight;if(!(re&&Dt||ce&&Kt))return;if(ce&&x&&i){e:for(var Yt=k.target,Cr=Be.view;Yt!=yt;Yt=Yt.parentNode)for(var Ur=0;Ur<Cr.length;Ur++)if(Cr[Ur].node==Yt){L.display.currentWheelTarget=Yt;break e}}if(re&&!A&&!d&&Mo!=null){ce&&Kt&&Gi(L,Math.max(0,yt.scrollTop+ce*Mo)),go(L,Math.max(0,yt.scrollLeft+re*Mo)),(!ce||ce&&Kt)&&Ve(k),Be.wheelStartX=null;return}if(ce&&Mo!=null){var en=ce*Mo,nn=L.doc.scrollTop,xn=nn+Be.wrapper.clientHeight;en<0?nn=Math.max(0,nn+en-50):xn=Math.min(L.doc.height,xn+en+50),Io(L,{top:nn,bottom:xn})}cs<20&&(Be.wheelStartX==null?(Be.wheelStartX=yt.scrollLeft,Be.wheelStartY=yt.scrollTop,Be.wheelDX=re,Be.wheelDY=ce,setTimeout(function(){if(Be.wheelStartX==null)return;var Pn=yt.scrollLeft-Be.wheelStartX,Jn=yt.scrollTop-Be.wheelStartY,Zn=Jn&&Be.wheelDY&&Jn/Be.wheelDY||Pn&&Be.wheelDX&&Pn/Be.wheelDX;if(Be.wheelStartX=Be.wheelStartY=null,!Zn)return;Mo=(Mo*cs+Zn)/(cs+1),++cs},200)):(Be.wheelDX+=re,Be.wheelDY+=ce))}var Bt=function(k,ee){this.ranges=k,this.primIndex=ee};Bt.prototype.primary=function(){return this.ranges[this.primIndex]},Bt.prototype.equals=function(L){if(L==this)return!0;if(L.primIndex!=this.primIndex||L.ranges.length!=this.ranges.length)return!1;for(var k=0;k<this.ranges.length;k++){var ee=this.ranges[k],re=L.ranges[k];if(!Gt(ee.anchor,re.anchor)||!Gt(ee.head,re.head))return!1}return!0},Bt.prototype.deepCopy=function(){for(var L=[],k=0;k<this.ranges.length;k++)L[k]=new pe(Qt(this.ranges[k].anchor),Qt(this.ranges[k].head));return new Bt(L,this.primIndex)},Bt.prototype.somethingSelected=function(){for(var L=0;L<this.ranges.length;L++)if(!this.ranges[L].empty())return!0;return!1},Bt.prototype.contains=function(L,k){k||(k=L);for(var ee=0;ee<this.ranges.length;ee++){var re=this.ranges[ee];if(zt(k,re.from())>=0&&zt(L,re.to())<=0)return ee}return-1};var pe=function(k,ee){this.anchor=k,this.head=ee};pe.prototype.from=function(){return dr(this.anchor,this.head)},pe.prototype.to=function(){return Mt(this.anchor,this.head)},pe.prototype.empty=function(){return this.head.line==this.anchor.line&&this.head.ch==this.anchor.ch};function Ie(L,k,ee){var re=L&&L.options.selectionsMayTouch,ce=k[ee];k.sort(function(en,nn){return zt(en.from(),nn.from())}),ee=W(k,ce);for(var Be=1;Be<k.length;Be++){var yt=k[Be],Dt=k[Be-1],Kt=zt(Dt.to(),yt.from());if(re&&!yt.empty()?Kt>0:Kt>=0){var Yt=dr(Dt.from(),yt.from()),Cr=Mt(Dt.to(),yt.to()),Ur=Dt.empty()?yt.from()==yt.head:Dt.from()==Dt.head;Be<=ee&&--ee,k.splice(--Be,2,new pe(Ur?Cr:Yt,Ur?Yt:Cr))}}return new Bt(k,ee)}function Ne(L,k){return new Bt([new pe(L,k||L)],0)}function Qe(L){return L.text?Rt(L.from.line+L.text.length-1,Me(L.text).length+(L.text.length==1?L.from.ch:0)):L.to}function Ct(L,k){if(zt(L,k.from)<0)return L;if(zt(L,k.to)<=0)return Qe(k);var ee=L.line+k.text.length-(k.to.line-k.from.line)-1,re=L.ch;return L.line==k.to.line&&(re+=Qe(k).ch-k.to.ch),Rt(ee,re)}function Ut(L,k){for(var ee=[],re=0;re<L.sel.ranges.length;re++){var ce=L.sel.ranges[re];ee.push(new pe(Ct(ce.anchor,k),Ct(ce.head,k)))}return Ie(L.cm,ee,L.sel.primIndex)}function hr(L,k,ee){return L.line==k.line?Rt(ee.line,L.ch-k.ch+ee.ch):Rt(ee.line+(L.line-k.line),L.ch)}function gr(L,k,ee){for(var re=[],ce=Rt(L.first,0),Be=ce,yt=0;yt<k.length;yt++){var Dt=k[yt],Kt=hr(Dt.from,ce,Be),Yt=hr(Qe(Dt),ce,Be);if(ce=Dt.to,Be=Yt,ee=="around"){var Cr=L.sel.ranges[yt],Ur=zt(Cr.head,Cr.anchor)<0;re[yt]=new pe(Ur?Yt:Kt,Ur?Kt:Yt)}else re[yt]=new pe(Kt,Kt)}return new Bt(re,L.sel.primIndex)}function Rr(L){L.doc.mode=Ke(L.options,L.doc.modeOption),$r(L)}function $r(L){L.doc.iter(function(k){k.stateAfter&&(k.stateAfter=null),k.styles&&(k.styles=null)}),L.doc.modeFrontier=L.doc.highlightFrontier=L.doc.first,ps(L,100),L.state.modeGen++,L.curOp&&gi(L)}function ln(L,k){return k.from.ch==0&&k.to.ch==0&&Me(k.text)==""&&(!L.cm||L.cm.options.wholeLineUpdateBefore)}function yn(L,k,ee,re){function ce(oi){return ee?ee[oi]:null}function Be(oi,li,$e){di(oi,li,$e,re),Tr(oi,"change",oi,k)}function yt(oi,li){for(var $e=[],ie=oi;ie<li;++ie)$e.push(new ni(Yt[ie],ce(ie),re));return $e}var Dt=k.from,Kt=k.to,Yt=k.text,Cr=se(L,Dt.line),Ur=se(L,Kt.line),en=Me(Yt),nn=ce(Yt.length-1),xn=Kt.line-Dt.line;if(k.full)L.insert(0,yt(0,Yt.length)),L.remove(Yt.length,L.size-Yt.length);else if(ln(L,k)){var Pn=yt(0,Yt.length-1);Be(Ur,Ur.text,nn),xn&&L.remove(Dt.line,xn),Pn.length&&L.insert(Dt.line,Pn)}else if(Cr==Ur)if(Yt.length==1)Be(Cr,Cr.text.slice(0,Dt.ch)+en+Cr.text.slice(Kt.ch),nn);else{var Jn=yt(1,Yt.length-1);Jn.push(new ni(en+Cr.text.slice(Kt.ch),nn,re)),Be(Cr,Cr.text.slice(0,Dt.ch)+Yt[0],ce(0)),L.insert(Dt.line+1,Jn)}else if(Yt.length==1)Be(Cr,Cr.text.slice(0,Dt.ch)+Yt[0]+Ur.text.slice(Kt.ch),ce(0)),L.remove(Dt.line+1,xn);else{Be(Cr,Cr.text.slice(0,Dt.ch)+Yt[0],ce(0)),Be(Ur,en+Ur.text.slice(Kt.ch),nn);var Zn=yt(1,Yt.length-1);xn>1&&L.remove(Dt.line+1,xn-1),L.insert(Dt.line+1,Zn)}Tr(L,"change",L,k)}function Cn(L,k,ee){function re(ce,Be,yt){if(ce.linked)for(var Dt=0;Dt<ce.linked.length;++Dt){var Kt=ce.linked[Dt];if(Kt.doc==Be)continue;var Yt=yt&&Kt.sharedHist;if(ee&&!Yt)continue;k(Kt.doc,Yt),re(Kt.doc,ce,Yt)}}re(L,null,!0)}function Qn(L,k){if(k.cm)throw new Error("This document is already in use.");L.doc=k,k.cm=L,Aa(L),Rr(L),ti(L),L.options.lineWrapping||jn(L),L.options.mode=k.modeOption,gi(L)}function ti(L){(L.doc.direction=="rtl"?K:y)(L.display.lineDiv,"CodeMirror-rtl")}function wi(L){bo(L,function(){ti(L),gi(L)})}function ea(L){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=L||1}function ji(L,k){var ee={from:Qt(k.from),to:Qe(k),text:Oe(L,k.from,k.to)};return ko(L,ee,k.from.line,k.to.line+1),Cn(L,function(re){return ko(re,ee,k.from.line,k.to.line+1)},!0),ee}function Sa(L){for(;L.length;){var k=Me(L);if(k.ranges)L.pop();else break}}function lo(L,k){if(k)return Sa(L.done),Me(L.done);if(L.done.length&&!Me(L.done).ranges)return Me(L.done);if(L.done.length>1&&!L.done[L.done.length-2].ranges)return L.done.pop(),Me(L.done)}function Wa(L,k,ee,re){var ce=L.history;ce.undone.length=0;var Be=+new Date,yt,Dt;if((ce.lastOp==re||ce.lastOrigin==k.origin&&k.origin&&(k.origin.charAt(0)=="+"&&ce.lastModTime>Be-(L.cm?L.cm.options.historyEventDelay:500)||k.origin.charAt(0)=="*"))&&(yt=lo(ce,ce.lastOp==re)))Dt=Me(yt.changes),zt(k.from,k.to)==0&&zt(k.from,Dt.to)==0?Dt.to=Qe(k):yt.changes.push(ji(L,k));else{var Kt=Me(ce.done);for((!Kt||!Kt.ranges)&&$a(L.sel,ce.done),yt={changes:[ji(L,k)],generation:ce.generation},ce.done.push(yt);ce.done.length>ce.undoDepth;)ce.done.shift(),ce.done[0].ranges||ce.done.shift()}ce.done.push(ee),ce.generation=++ce.maxGeneration,ce.lastModTime=ce.lastSelTime=Be,ce.lastOp=ce.lastSelOp=re,ce.lastOrigin=ce.lastSelOrigin=k.origin,Dt||st(L,"historyAdded")}function yo(L,k,ee,re){var ce=k.charAt(0);return ce=="*"||ce=="+"&&ee.ranges.length==re.ranges.length&&ee.somethingSelected()==re.somethingSelected()&&new Date-L.history.lastSelTime<=(L.cm?L.cm.options.historyEventDelay:500)}function Ao(L,k,ee,re){var ce=L.history,Be=re&&re.origin;ee==ce.lastSelOp||Be&&ce.lastSelOrigin==Be&&(ce.lastModTime==ce.lastSelTime&&ce.lastOrigin==Be||yo(L,Be,Me(ce.done),k))?ce.done[ce.done.length-1]=k:$a(k,ce.done),ce.lastSelTime=+new Date,ce.lastSelOrigin=Be,ce.lastSelOp=ee,re&&re.clearRedo!==!1&&Sa(ce.undone)}function $a(L,k){var ee=Me(k);ee&&ee.ranges&&ee.equals(L)||k.push(L)}function ko(L,k,ee,re){var ce=k["spans_"+L.id],Be=0;L.iter(Math.max(L.first,ee),Math.min(L.first+L.size,re),function(yt){yt.markedSpans&&((ce||(ce=k["spans_"+L.id]={}))[Be]=yt.markedSpans),++Be})}function No(L){if(!L)return null;for(var k,ee=0;ee<L.length;++ee)L[ee].marker.explicitlyCleared?k||(k=L.slice(0,ee)):k&&k.push(L[ee]);return k?k.length?k:null:L}function Ha(L,k){var ee=k["spans_"+L.id];if(!ee)return null;for(var re=[],ce=0;ce<k.text.length;++ce)re.push(No(ee[ce]));return re}function jo(L,k){var ee=Ha(L,k),re=Nn(L,k);if(!ee)return re;if(!re)return ee;for(var ce=0;ce<ee.length;++ce){var Be=ee[ce],yt=re[ce];if(Be&&yt){e:for(var Dt=0;Dt<yt.length;++Dt){for(var Kt=yt[Dt],Yt=0;Yt<Be.length;++Yt)if(Be[Yt].marker==Kt.marker)continue e;Be.push(Kt)}}else yt&&(ee[ce]=yt)}return ee}function Fo(L,k,ee){for(var re=[],ce=0;ce<L.length;++ce){var Be=L[ce];if(Be.ranges){re.push(ee?Bt.prototype.deepCopy.call(Be):Be);continue}var yt=Be.changes,Dt=[];re.push({changes:Dt});for(var Kt=0;Kt<yt.length;++Kt){var Yt=yt[Kt],Cr=void 0;if(Dt.push({from:Yt.from,to:Yt.to,text:Yt.text}),k)for(var Ur in Yt)(Cr=Ur.match(/^spans_(\d+)$/))&&(W(k,Number(Cr[1]))>-1&&(Me(Dt)[Ur]=Yt[Ur],delete Yt[Ur]))}}return re}function Qo(L,k,ee,re){if(re){var ce=L.anchor;if(ee){var Be=zt(k,ce)<0;Be!=zt(ee,ce)<0?(ce=k,k=ee):Be!=zt(k,ee)<0&&(k=ee)}return new pe(ce,k)}else return new pe(ee||k,k)}function wo(L,k,ee,re,ce){ce==null&&(ce=L.cm&&(L.cm.display.shift||L.extend)),Eo(L,new Bt([Qo(L.sel.primary(),k,ee,ce)],0),re)}function us(L,k,ee){for(var re=[],ce=L.cm&&(L.cm.display.shift||L.extend),Be=0;Be<L.sel.ranges.length;Be++)re[Be]=Qo(L.sel.ranges[Be],k[Be],null,ce);var yt=Ie(L.cm,re,L.sel.primIndex);Eo(L,yt,ee)}function ns(L,k,ee,re){var ce=L.sel.ranges.slice(0);ce[k]=ee,Eo(L,Ie(L.cm,ce,L.sel.primIndex),re)}function Xs(L,k,ee,re){Eo(L,Ne(k,ee),re)}function Ys(L,k,ee){var re={ranges:k.ranges,update:function(Be){this.ranges=[];for(var yt=0;yt<Be.length;yt++)this.ranges[yt]=new pe(ht(L,Be[yt].anchor),ht(L,Be[yt].head))},origin:ee&&ee.origin};return st(L,"beforeSelectionChange",L,re),L.cm&&st(L.cm,"beforeSelectionChange",L.cm,re),re.ranges!=k.ranges?Ie(L.cm,re.ranges,re.ranges.length-1):k}function Yo(L,k,ee){var re=L.history.done,ce=Me(re);ce&&ce.ranges?(re[re.length-1]=k,ds(L,k,ee)):Eo(L,k,ee)}function Eo(L,k,ee){ds(L,k,ee),Ao(L,L.sel,L.cm?L.cm.curOp.id:NaN,ee)}function ds(L,k,ee){(et(L,"beforeSelectionChange")||L.cm&&et(L.cm,"beforeSelectionChange"))&&(k=Ys(L,k,ee));var re=ee&&ee.bias||(zt(k.primary().head,L.sel.primary().head)<0?-1:1);hs(L,Do(L,k,re,!0)),!(ee&&ee.scroll===!1)&&L.cm&&Ia(L.cm)}function hs(L,k){if(k.equals(L.sel))return;L.sel=k,L.cm&&(L.cm.curOp.updateInput=1,L.cm.curOp.selectionChanged=!0,Je(L.cm)),Tr(L,"cursorActivity",L)}function Rs(L){hs(L,Do(L,L.sel,null,!1))}function Do(L,k,ee,re){for(var ce,Be=0;Be<k.ranges.length;Be++){var yt=k.ranges[Be],Dt=k.ranges.length==L.sel.ranges.length&&L.sel.ranges[Be],Kt=Ms(L,yt.anchor,Dt&&Dt.anchor,ee,re),Yt=Ms(L,yt.head,Dt&&Dt.head,ee,re);(ce||Kt!=yt.anchor||Yt!=yt.head)&&(ce||(ce=k.ranges.slice(0,Be)),ce[Be]=new pe(Kt,Yt))}return ce?Ie(L.cm,ce,k.primIndex):k}function ys(L,k,ee,re,ce){var Be=se(L,k.line);if(Be.markedSpans)for(var yt=0;yt<Be.markedSpans.length;++yt){var Dt=Be.markedSpans[yt],Kt=Dt.marker,Yt="selectLeft"in Kt?!Kt.selectLeft:Kt.inclusiveLeft,Cr="selectRight"in Kt?!Kt.selectRight:Kt.inclusiveRight;if((Dt.from==null||(Yt?Dt.from<=k.ch:Dt.from<k.ch))&&(Dt.to==null||(Cr?Dt.to>=k.ch:Dt.to>k.ch))){if(ce&&(st(Kt,"beforeCursorEnter"),Kt.explicitlyCleared))if(Be.markedSpans){--yt;continue}else break;if(!Kt.atomic)continue;if(ee){var Ur=Kt.find(re<0?1:-1),en=void 0;if((re<0?Cr:Yt)&&(Ur=As(L,Ur,-re,Ur&&Ur.line==k.line?Be:null)),Ur&&Ur.line==k.line&&(en=zt(Ur,ee))&&(re<0?en<0:en>0))return ys(L,Ur,k,re,ce)}var nn=Kt.find(re<0?-1:1);return(re<0?Yt:Cr)&&(nn=As(L,nn,re,nn.line==k.line?Be:null)),nn?ys(L,nn,k,re,ce):null}}return k}function Ms(L,k,ee,re,ce){var Be=re||1,yt=ys(L,k,ee,Be,ce)||!ce&&ys(L,k,ee,Be,!0)||ys(L,k,ee,-Be,ce)||!ce&&ys(L,k,ee,-Be,!0);return yt||(L.cantEdit=!0,Rt(L.first,0))}function As(L,k,ee,re){return ee<0&&k.ch==0?k.line>L.first?ht(L,Rt(k.line-1)):null:ee>0&&k.ch==(re||se(L,k.line)).text.length?k.line<L.first+L.size-1?Rt(k.line+1,0):null:new Rt(k.line,k.ch+ee)}function ks(L){L.setSelection(Rt(L.firstLine(),0),Rt(L.lastLine()),me)}function Hs(L,k,ee){var re={canceled:!1,from:k.from,to:k.to,text:k.text,origin:k.origin,cancel:function(){return re.canceled=!0}};return ee&&(re.update=function(ce,Be,yt,Dt){ce&&(re.from=ht(L,ce)),Be&&(re.to=ht(L,Be)),yt&&(re.text=yt),Dt!==void 0&&(re.origin=Dt)}),st(L,"beforeChange",L,re),L.cm&&st(L.cm,"beforeChange",L.cm,re),re.canceled?(L.cm&&(L.cm.curOp.updateInput=2),null):{from:re.from,to:re.to,text:re.text,origin:re.origin}}function bs(L,k,ee){if(L.cm){if(!L.cm.curOp)return Ja(L.cm,bs)(L,k,ee);if(L.cm.state.suppressEdits)return}if((et(L,"beforeChange")||L.cm&&et(L.cm,"beforeChange"))&&(k=Hs(L,k,!0),!k))return;var re=_r&&!ee&&Tn(L,k.from,k.to);if(re)for(var ce=re.length-1;ce>=0;--ce)ua(L,{from:re[ce].from,to:re[ce].to,text:ce?[""]:k.text,origin:k.origin});else ua(L,k)}function ua(L,k){if(k.text.length==1&&k.text[0]==""&&zt(k.from,k.to)==0)return;var ee=Ut(L,k);Wa(L,k,ee,L.cm?L.cm.curOp.id:NaN),Wn(L,k,ee,Nn(L,k));var re=[];Cn(L,function(ce,Be){!Be&&W(re,ce.history)==-1&&(Jo(ce.history,k),re.push(ce.history)),Wn(ce,k,null,Nn(ce,k))})}function ui(L,k,ee){var re=L.cm&&L.cm.state.suppressEdits;if(re&&!ee)return;for(var ce=L.history,Be,yt=L.sel,Dt=k=="undo"?ce.done:ce.undone,Kt=k=="undo"?ce.undone:ce.done,Yt=0;Yt<Dt.length&&!(Be=Dt[Yt],ee?Be.ranges&&!Be.equals(L.sel):!Be.ranges);Yt++);if(Yt==Dt.length)return;for(ce.lastOrigin=ce.lastSelOrigin=null;;)if(Be=Dt.pop(),Be.ranges){if($a(Be,Kt),ee&&!Be.equals(L.sel)){Eo(L,Be,{clearRedo:!1});return}yt=Be}else if(re){Dt.push(Be);return}else break;var Cr=[];$a(yt,Kt),Kt.push({changes:Cr,generation:ce.generation}),ce.generation=Be.generation||++ce.maxGeneration;for(var Ur=et(L,"beforeChange")||L.cm&&et(L.cm,"beforeChange"),en=function(Jn){var Zn=Be.changes[Jn];if(Zn.origin=k,Ur&&!Hs(L,Zn,!1))return Dt.length=0,{};Cr.push(ji(L,Zn));var oi=Jn?Ut(L,Zn):Me(Dt);Wn(L,Zn,oi,jo(L,Zn)),!Jn&&L.cm&&L.cm.scrollIntoView({from:Zn.from,to:Qe(Zn)});var li=[];Cn(L,function($e,ie){!ie&&W(li,$e.history)==-1&&(Jo($e.history,Zn),li.push($e.history)),Wn($e,Zn,null,jo($e,Zn))})},nn=Be.changes.length-1;nn>=0;--nn){var xn=en(nn);if(xn)return xn.v}}function Pi(L,k){if(k==0)return;if(L.first+=k,L.sel=new Bt(nt(L.sel.ranges,function(ce){return new pe(Rt(ce.anchor.line+k,ce.anchor.ch),Rt(ce.head.line+k,ce.head.ch))}),L.sel.primIndex),L.cm){gi(L.cm,L.first,L.first-k,k);for(var ee=L.cm.display,re=ee.viewFrom;re<ee.viewTo;re++)Ba(L.cm,re,"gutter")}}function Wn(L,k,ee,re){if(L.cm&&!L.cm.curOp)return Ja(L.cm,Wn)(L,k,ee,re);if(k.to.line<L.first){Pi(L,k.text.length-1-(k.to.line-k.from.line));return}if(k.from.line>L.lastLine())return;if(k.from.line<L.first){var ce=k.text.length-1-(L.first-k.from.line);Pi(L,ce),k={from:Rt(L.first,0),to:Rt(k.to.line+ce,k.to.ch),text:[Me(k.text)],origin:k.origin}}var Be=L.lastLine();k.to.line>Be&&(k={from:k.from,to:Rt(Be,se(L,Be).text.length),text:[k.text[0]],origin:k.origin}),k.removed=Oe(L,k.from,k.to),ee||(ee=Ut(L,k)),L.cm?io(L.cm,k,re):yn(L,k,re),ds(L,ee,me),L.cantEdit&&Ms(L,Rt(L.firstLine(),0))&&(L.cantEdit=!1)}function io(L,k,ee){var re=L.doc,ce=L.display,Be=k.from,yt=k.to,Dt=!1,Kt=Be.line;L.options.lineWrapping||(Kt=rt(ta(se(re,Be.line))),re.iter(Kt,yt.line+1,function(nn){if(nn==ce.maxLine)return Dt=!0,!0})),re.sel.contains(k.from,k.to)>-1&&Je(L),yn(re,k,ee,bi(L)),L.options.lineWrapping||(re.iter(Kt,Be.line+k.text.length,function(nn){var xn=Ln(nn);xn>ce.maxLineLength&&(ce.maxLine=nn,ce.maxLineLength=xn,ce.maxLineChanged=!0,Dt=!1)}),Dt&&(L.curOp.updateMaxLine=!0)),qr(re,Be.line),ps(L,400);var Yt=k.text.length-(yt.line-Be.line)-1;k.full?gi(L):Be.line==yt.line&&k.text.length==1&&!ln(L.doc,k)?Ba(L,Be.line,"text"):gi(L,Be.line,yt.line+1,Yt);var Cr=et(L,"changes"),Ur=et(L,"change");if(Ur||Cr){var en={from:Be,to:yt,text:k.text,removed:k.removed,origin:k.origin};Ur&&Tr(L,"change",L,en),Cr&&(L.curOp.changeObjs||(L.curOp.changeObjs=[])).push(en)}L.display.selForContextMenu=null}function qo(L,k,ee,re,ce){var Be;re||(re=ee),zt(re,ee)<0&&(Be=[re,ee],ee=Be[0],re=Be[1]),typeof k=="string"&&(k=L.splitLines(k)),bs(L,{from:ee,to:re,text:k,origin:ce})}function gs(L,k,ee,re){ee<L.line?L.line+=re:k<L.line&&(L.line=k,L.ch=0)}function os(L,k,ee,re){for(var ce=0;ce<L.length;++ce){var Be=L[ce],yt=!0;if(Be.ranges){Be.copied||(Be=L[ce]=Be.deepCopy(),Be.copied=!0);for(var Dt=0;Dt<Be.ranges.length;Dt++)gs(Be.ranges[Dt].anchor,k,ee,re),gs(Be.ranges[Dt].head,k,ee,re);continue}for(var Kt=0;Kt<Be.changes.length;++Kt){var Yt=Be.changes[Kt];if(ee<Yt.from.line)Yt.from=Rt(Yt.from.line+re,Yt.from.ch),Yt.to=Rt(Yt.to.line+re,Yt.to.ch);else if(k<=Yt.to.line){yt=!1;break}}yt||(L.splice(0,ce+1),ce=0)}}function Jo(L,k){var ee=k.from.line,re=k.to.line,ce=k.text.length-(re-ee)-1;os(L.done,ee,re,ce),os(L.undone,ee,re,ce)}function $o(L,k,ee,re){var ce=k,Be=k;return typeof k=="number"?Be=se(L,er(L,k)):ce=rt(k),ce==null?null:(re(Be,ce)&&L.cm&&Ba(L.cm,ce,ee),Be)}function ws(L){this.lines=L,this.parent=null;for(var k=0,ee=0;ee<L.length;++ee)L[ee].parent=this,k+=L[ee].height;this.height=k}ws.prototype={chunkSize:function(){return this.lines.length},removeInner:function(k,ee){for(var re=k,ce=k+ee;re<ce;++re){var Be=this.lines[re];this.height-=Be.height,Na(Be),Tr(Be,"delete")}this.lines.splice(k,ee)},collapse:function(k){k.push.apply(k,this.lines)},insertInner:function(k,ee,re){this.height+=re,this.lines=this.lines.slice(0,k).concat(ee).concat(this.lines.slice(k));for(var ce=0;ce<ee.length;++ce)ee[ce].parent=this},iterN:function(k,ee,re){for(var ce=k+ee;k<ce;++k)if(re(this.lines[k]))return!0}};function Ho(L){this.children=L;for(var k=0,ee=0,re=0;re<L.length;++re){var ce=L[re];k+=ce.chunkSize(),ee+=ce.height,ce.parent=this}this.size=k,this.height=ee,this.parent=null}Ho.prototype={chunkSize:function(){return this.size},removeInner:function(k,ee){this.size-=ee;for(var re=0;re<this.children.length;++re){var ce=this.children[re],Be=ce.chunkSize();if(k<Be){var yt=Math.min(ee,Be-k),Dt=ce.height;if(ce.removeInner(k,yt),this.height-=Dt-ce.height,Be==yt&&(this.children.splice(re--,1),ce.parent=null),(ee-=yt)==0)break;k=0}else k-=Be}if(this.size-ee<25&&(this.children.length>1||!(this.children[0]instanceof ws))){var Kt=[];this.collapse(Kt),this.children=[new ws(Kt)],this.children[0].parent=this}},collapse:function(k){for(var ee=0;ee<this.children.length;++ee)this.children[ee].collapse(k)},insertInner:function(k,ee,re){this.size+=ee.length,this.height+=re;for(var ce=0;ce<this.children.length;++ce){var Be=this.children[ce],yt=Be.chunkSize();if(k<=yt){if(Be.insertInner(k,ee,re),Be.lines&&Be.lines.length>50){for(var Dt=Be.lines.length%25+25,Kt=Dt;Kt<Be.lines.length;){var Yt=new ws(Be.lines.slice(Kt,Kt+=25));Be.height-=Yt.height,this.children.splice(++ce,0,Yt),Yt.parent=this}Be.lines=Be.lines.slice(0,Dt),this.maybeSpill()}break}k-=yt}},maybeSpill:function(){if(this.children.length<=10)return;var k=this;do{var ee=k.children.splice(k.children.length-5,5),re=new Ho(ee);if(k.parent){k.size-=re.size,k.height-=re.height;var Be=W(k.parent.children,k);k.parent.children.splice(Be+1,0,re)}else{var ce=new Ho(k.children);ce.parent=k,k.children=[ce,re],k=ce}re.parent=k.parent}while(k.children.length>10);k.parent.maybeSpill()},iterN:function(k,ee,re){for(var ce=0;ce<this.children.length;++ce){var Be=this.children[ce],yt=Be.chunkSize();if(k<yt){var Dt=Math.min(ee,yt-k);if(Be.iterN(k,Dt,re))return!0;if((ee-=Dt)==0)break;k=0}else k-=yt}}};var ll=function(k,ee,re){if(re)for(var ce in re)re.hasOwnProperty(ce)&&(this[ce]=re[ce]);this.doc=k,this.node=ee};ll.prototype.clear=function(){var L=this.doc.cm,k=this.line.widgets,ee=this.line,re=rt(ee);if(re==null||!k)return;for(var ce=0;ce<k.length;++ce)k[ce]==this&&k.splice(ce--,1);k.length||(ee.widgets=null);var Be=an(this);Pe(ee,Math.max(0,ee.height-Be)),L&&(bo(L,function(){jl(L,ee,-Be),Ba(L,re,"widget")}),Tr(L,"lineWidgetCleared",L,this,re))},ll.prototype.changed=function(){var L=this,k=this.height,ee=this.doc.cm,re=this.line;this.height=null;var ce=an(this)-k;if(!ce)return;mn(this.doc,re)||Pe(re,re.height+ce),ee&&bo(ee,function(){ee.curOp.forceUpdate=!0,jl(ee,re,ce),Tr(ee,"lineWidgetChanged",ee,L,rt(re))})},at(ll);function jl(L,k,ee){_n(k)<(L.curOp&&L.curOp.scrollTop||L.doc.scrollTop)&&_o(L,ee)}function cl(L,k,ee,re){var ce=new ll(L,ee,re),Be=L.cm;return Be&&ce.noHScroll&&(Be.display.alignWidgets=!0),$o(L,k,"widget",function(yt){var Dt=yt.widgets||(yt.widgets=[]);if(ce.insertAt==null?Dt.push(ce):Dt.splice(Math.min(Dt.length-1,Math.max(0,ce.insertAt)),0,ce),ce.line=yt,Be&&!mn(L,yt)){var Kt=_n(yt)<L.scrollTop;Pe(yt,yt.height+an(ce)),Kt&&_o(Be,ce.height),Be.curOp.forceUpdate=!0}return!0}),Be&&Tr(Be,"lineWidgetAdded",Be,ce,typeof k=="number"?k:rt(k)),ce}var Nl=0,Is=function(k,ee){this.lines=[],this.type=ee,this.doc=k,this.id=++Nl};Is.prototype.clear=function(){if(this.explicitlyCleared)return;var L=this.doc.cm,k=L&&!L.curOp;if(k&&Ji(L),et(this,"clear")){var ee=this.find();ee&&Tr(this,"clear",ee.from,ee.to)}for(var re=null,ce=null,Be=0;Be<this.lines.length;++Be){var yt=this.lines[Be],Dt=cr(yt.markedSpans,this);L&&!this.collapsed?Ba(L,rt(yt),"text"):L&&(Dt.to!=null&&(ce=rt(yt)),Dt.from!=null&&(re=rt(yt))),yt.markedSpans=fr(yt.markedSpans,Dt),Dt.from==null&&this.collapsed&&!mn(this.doc,yt)&&L&&Pe(yt,Ai(L.display))}if(L&&this.collapsed&&!L.options.lineWrapping)for(var Kt=0;Kt<this.lines.length;++Kt){var Yt=ta(this.lines[Kt]),Cr=Ln(Yt);Cr>L.display.maxLineLength&&(L.display.maxLine=Yt,L.display.maxLineLength=Cr,L.display.maxLineChanged=!0)}re!=null&&L&&this.collapsed&&gi(L,re,ce+1),this.lines.length=0,this.explicitlyCleared=!0,this.atomic&&this.doc.cantEdit&&(this.doc.cantEdit=!1,L&&Rs(L.doc)),L&&Tr(L,"markerCleared",L,this,re,ce),k&&xo(L),this.parent&&this.parent.clear()},Is.prototype.find=function(L,k){L==null&&this.type=="bookmark"&&(L=1);for(var ee,re,ce=0;ce<this.lines.length;++ce){var Be=this.lines[ce],yt=cr(Be.markedSpans,this);if(yt.from!=null&&(ee=Rt(k?Be:rt(Be),yt.from),L==-1))return ee;if(yt.to!=null&&(re=Rt(k?Be:rt(Be),yt.to),L==1))return re}return ee&&{from:ee,to:re}},Is.prototype.changed=function(){var L=this,k=this.find(-1,!0),ee=this,re=this.doc.cm;if(!k||!re)return;bo(re,function(){var ce=k.line,Be=rt(k.line),yt=bn(re,Be);if(yt&&(ri(yt),re.curOp.selectionChanged=re.curOp.forceUpdate=!0),re.curOp.updateMaxLine=!0,!mn(ee.doc,ce)&&ee.height!=null){var Dt=ee.height;ee.height=null;var Kt=an(ee)-Dt;Kt&&Pe(ce,ce.height+Kt)}Tr(re,"markerChanged",re,L)})},Is.prototype.attachLine=function(L){if(!this.lines.length&&this.doc.cm){var k=this.doc.cm.curOp;(!k.maybeHiddenMarkers||W(k.maybeHiddenMarkers,this)==-1)&&(k.maybeUnhiddenMarkers||(k.maybeUnhiddenMarkers=[])).push(this)}this.lines.push(L)},Is.prototype.detachLine=function(L){if(this.lines.splice(W(this.lines,L),1),!this.lines.length&&this.doc.cm){var k=this.doc.cm.curOp;(k.maybeHiddenMarkers||(k.maybeHiddenMarkers=[])).push(this)}},at(Is);function Gs(L,k,ee,re,ce){if(re&&re.shared)return Hl(L,k,ee,re,ce);if(L.cm&&!L.cm.curOp)return Ja(L.cm,Gs)(L,k,ee,re,ce);var Be=new Is(L,ce),yt=zt(k,ee);if(re&&H(re,Be,!1),yt>0||yt==0&&Be.clearWhenEmpty!==!1)return Be;if(Be.replacedWith&&(Be.collapsed=!0,Be.widgetNode=M("span",[Be.replacedWith],"CodeMirror-widget"),re.handleMouseEvents||Be.widgetNode.setAttribute("cm-ignore-events","true"),re.insertLeft&&(Be.widgetNode.insertLeft=!0)),Be.collapsed){if(xa(L,k.line,k,ee,Be)||k.line!=ee.line&&xa(L,ee.line,k,ee,Be))throw new Error("Inserting collapsed marker partially overlapping an existing one");ur()}Be.addToHistory&&Wa(L,{from:k,to:ee,origin:"markText"},L.sel,NaN);var Dt=k.line,Kt=L.cm,Yt;if(L.iter(Dt,ee.line+1,function(Ur){Kt&&Be.collapsed&&!Kt.options.lineWrapping&&ta(Ur)==Kt.display.maxLine&&(Yt=!0),Be.collapsed&&Dt!=k.line&&Pe(Ur,0),xr(Ur,new pr(Be,Dt==k.line?k.ch:null,Dt==ee.line?ee.ch:null)),++Dt}),Be.collapsed&&L.iter(k.line,ee.line+1,function(Ur){mn(L,Ur)&&Pe(Ur,0)}),Be.clearOnEnter&&De(Be,"beforeCursorEnter",function(){return Be.clear()}),Be.readOnly&&(Lr(),(L.history.done.length||L.history.undone.length)&&L.clearHistory()),Be.collapsed&&(Be.id=++Nl,Be.atomic=!0),Kt){if(Yt&&(Kt.curOp.updateMaxLine=!0),Be.collapsed)gi(Kt,k.line,ee.line+1);else if(Be.className||Be.startStyle||Be.endStyle||Be.css||Be.attributes||Be.title)for(var Cr=k.line;Cr<=ee.line;Cr++)Ba(Kt,Cr,"text");Be.atomic&&Rs(Kt.doc),Tr(Kt,"markerAdded",Kt,Be)}return Be}var el=function(k,ee){this.markers=k,this.primary=ee;for(var re=0;re<k.length;++re)k[re].parent=this};el.prototype.clear=function(){if(this.explicitlyCleared)return;this.explicitlyCleared=!0;for(var L=0;L<this.markers.length;++L)this.markers[L].clear();Tr(this,"clear")},el.prototype.find=function(L,k){return this.primary.find(L,k)},at(el);function Hl(L,k,ee,re,ce){re=H(re),re.shared=!1;var Be=[Gs(L,k,ee,re,ce)],yt=Be[0],Dt=re.widgetNode;return Cn(L,function(Kt){Dt&&(re.widgetNode=Dt.cloneNode(!0)),Be.push(Gs(Kt,ht(Kt,k),ht(Kt,ee),re,ce));for(var Yt=0;Yt<Kt.linked.length;++Yt)if(Kt.linked[Yt].isParent)return;yt=Me(Be)}),new el(Be,yt)}function zl(L){return L.findMarks(Rt(L.first,0),L.clipPos(Rt(L.lastLine())),function(k){return k.parent})}function Dl(L,k){for(var ee=0;ee<k.length;ee++){var re=k[ee],ce=re.find(),Be=L.clipPos(ce.from),yt=L.clipPos(ce.to);if(zt(Be,yt)){var Dt=Gs(L,Be,yt,re.primary,re.primary.type);re.markers.push(Dt),Dt.parent=re}}}function nc(L){for(var k=function(ce){var Be=L[ce],yt=[Be.primary.doc];Cn(Be.primary.doc,function(Yt){return yt.push(Yt)});for(var Dt=0;Dt<Be.markers.length;Dt++){var Kt=Be.markers[Dt];W(yt,Kt.doc)==-1&&(Kt.parent=null,Be.markers.splice(Dt--,1))}},ee=0;ee<L.length;ee++)k(ee)}var ic=0,es=function L(k,ee,re,ce,Be){if(!(this instanceof L))return new L(k,ee,re,ce,Be);re==null&&(re=0),Ho.call(this,[new ws([new ni("",null)])]),this.first=re,this.scrollTop=this.scrollLeft=0,this.cantEdit=!1,this.cleanGeneration=1,this.modeFrontier=this.highlightFrontier=re;var yt=Rt(re,0);this.sel=Ne(yt),this.history=new ea(null),this.id=++ic,this.modeOption=ee,this.lineSep=ce,this.direction=Be=="rtl"?"rtl":"ltr",this.extend=!1,typeof k=="string"&&(k=this.splitLines(k)),yn(this,{from:yt,to:yt,text:k}),Eo(this,Ne(yt),me)};es.prototype=ot(Ho.prototype,{constructor:es,iter:function(k,ee,re){re?this.iterN(k-this.first,ee-k,re):this.iterN(this.first,this.first+this.size,k)},insert:function(k,ee){for(var re=0,ce=0;ce<ee.length;++ce)re+=ee[ce].height;this.insertInner(k-this.first,ee,re)},remove:function(k,ee){this.removeInner(k-this.first,ee)},getValue:function(k){var ee=ke(this,this.first,this.first+this.size);return k===!1?ee:ee.join(k||this.lineSeparator())},setValue:so(function(L){var k=Rt(this.first,0),ee=this.first+this.size-1;bs(this,{from:k,to:Rt(ee,se(this,ee).text.length),text:this.splitLines(L),origin:"setValue",full:!0},!0),this.cm&&ki(this.cm,0,0),Eo(this,Ne(k),me)}),replaceRange:function(k,ee,re,ce){ee=ht(this,ee),re=re?ht(this,re):ee,qo(this,k,ee,re,ce)},getRange:function(k,ee,re){var ce=Oe(this,ht(this,k),ht(this,ee));return re===!1?ce:ce.join(re||this.lineSeparator())},getLine:function(k){var ee=this.getLineHandle(k);return ee&&ee.text},getLineHandle:function(k){if(Wt(this,k))return se(this,k)},getLineNumber:function(k){return rt(k)},getLineHandleVisualStart:function(k){return typeof k=="number"&&(k=se(this,k)),ta(k)},lineCount:function(){return this.size},firstLine:function(){return this.first},lastLine:function(){return this.first+this.size-1},clipPos:function(k){return ht(this,k)},getCursor:function(k){var ee=this.sel.primary(),re;return k==null||k=="head"?re=ee.head:k=="anchor"?re=ee.anchor:k=="end"||k=="to"||k===!1?re=ee.to():re=ee.from(),re},listSelections:function(){return this.sel.ranges},somethingSelected:function(){return this.sel.somethingSelected()},setCursor:so(function(L,k,ee){Xs(this,ht(this,typeof L=="number"?Rt(L,k||0):L),null,ee)}),setSelection:so(function(L,k,ee){Xs(this,ht(this,L),ht(this,k||L),ee)}),extendSelection:so(function(L,k,ee){wo(this,ht(this,L),k&&ht(this,k),ee)}),extendSelections:so(function(L,k){us(this,pt(this,L),k)}),extendSelectionsBy:so(function(L,k){var ee=nt(this.sel.ranges,L);us(this,pt(this,ee),k)}),setSelections:so(function(L,k,ee){if(!L.length)return;for(var re=[],ce=0;ce<L.length;ce++)re[ce]=new pe(ht(this,L[ce].anchor),ht(this,L[ce].head));k==null&&(k=Math.min(L.length-1,this.sel.primIndex)),Eo(this,Ie(this.cm,re,k),ee)}),addSelection:so(function(L,k,ee){var re=this.sel.ranges.slice(0);re.push(new pe(ht(this,L),ht(this,k||L))),Eo(this,Ie(this.cm,re,re.length-1),ee)}),getSelection:function(k){for(var ee=this.sel.ranges,re,ce=0;ce<ee.length;ce++){var Be=Oe(this,ee[ce].from(),ee[ce].to());re=re?re.concat(Be):Be}return k===!1?re:re.join(k||this.lineSeparator())},getSelections:function(k){for(var ee=[],re=this.sel.ranges,ce=0;ce<re.length;ce++){var Be=Oe(this,re[ce].from(),re[ce].to());k!==!1&&(Be=Be.join(k||this.lineSeparator())),ee[ce]=Be}return ee},replaceSelection:function(k,ee,re){for(var ce=[],Be=0;Be<this.sel.ranges.length;Be++)ce[Be]=k;this.replaceSelections(ce,ee,re||"+input")},replaceSelections:so(function(L,k,ee){for(var re=[],ce=this.sel,Be=0;Be<ce.ranges.length;Be++){var yt=ce.ranges[Be];re[Be]={from:yt.from(),to:yt.to(),text:this.splitLines(L[Be]),origin:ee}}for(var Dt=k&&k!="end"&&gr(this,re,k),Kt=re.length-1;Kt>=0;Kt--)bs(this,re[Kt]);Dt?Yo(this,Dt):this.cm&&Ia(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(k){this.extend=k},getExtending:function(){return this.extend},historySize:function(){for(var k=this.history,ee=0,re=0,ce=0;ce<k.done.length;ce++)k.done[ce].ranges||++ee;for(var Be=0;Be<k.undone.length;Be++)k.undone[Be].ranges||++re;return{undo:ee,redo:re}},clearHistory:function(){var k=this;this.history=new ea(this.history.maxGeneration),Cn(this,function(ee){return ee.history=k.history},!0)},markClean:function(){this.cleanGeneration=this.changeGeneration(!0)},changeGeneration:function(k){return k&&(this.history.lastOp=this.history.lastSelOp=this.history.lastOrigin=null),this.history.generation},isClean:function(k){return this.history.generation==(k||this.cleanGeneration)},getHistory:function(){return{done:Fo(this.history.done),undone:Fo(this.history.undone)}},setHistory:function(k){var ee=this.history=new ea(this.history.maxGeneration);ee.done=Fo(k.done.slice(0),null,!0),ee.undone=Fo(k.undone.slice(0),null,!0)},setGutterMarker:so(function(L,k,ee){return $o(this,L,"gutter",function(re){var ce=re.gutterMarkers||(re.gutterMarkers={});return ce[k]=ee,!ee&&J(ce)&&(re.gutterMarkers=null),!0})}),clearGutter:so(function(L){var k=this;this.iter(function(ee){ee.gutterMarkers&&ee.gutterMarkers[L]&&$o(k,ee,"gutter",function(){return ee.gutterMarkers[L]=null,J(ee.gutterMarkers)&&(ee.gutterMarkers=null),!0})})}),lineInfo:function(k){var ee;if(typeof k=="number"){if(!Wt(this,k))return null;if(ee=k,k=se(this,k),!k)return null}else if(ee=rt(k),ee==null)return null;return{line:ee,handle:k,text:k.text,gutterMarkers:k.gutterMarkers,textClass:k.textClass,bgClass:k.bgClass,wrapClass:k.wrapClass,widgets:k.widgets}},addLineClass:so(function(L,k,ee){return $o(this,L,k=="gutter"?"gutter":"class",function(re){var ce=k=="text"?"textClass":k=="background"?"bgClass":k=="gutter"?"gutterClass":"wrapClass";if(!re[ce])re[ce]=ee;else{if(_(ee).test(re[ce]))return!1;re[ce]+=" "+ee}return!0})}),removeLineClass:so(function(L,k,ee){return $o(this,L,k=="gutter"?"gutter":"class",function(re){var ce=k=="text"?"textClass":k=="background"?"bgClass":k=="gutter"?"gutterClass":"wrapClass",Be=re[ce];if(Be)if(ee==null)re[ce]=null;else{var yt=Be.match(_(ee));if(!yt)return!1;var Dt=yt.index+yt[0].length;re[ce]=Be.slice(0,yt.index)+(!yt.index||Dt==Be.length?"":" ")+Be.slice(Dt)||null}else return!1;return!0})}),addLineWidget:so(function(L,k,ee){return cl(this,L,k,ee)}),removeLineWidget:function(k){k.clear()},markText:function(k,ee,re){return Gs(this,ht(this,k),ht(this,ee),re,re&&re.type||"range")},setBookmark:function(k,ee){var re={replacedWith:ee&&(ee.nodeType==null?ee.widget:ee),insertLeft:ee&&ee.insertLeft,clearWhenEmpty:!1,shared:ee&&ee.shared,handleMouseEvents:ee&&ee.handleMouseEvents};return k=ht(this,k),Gs(this,k,k,re,"bookmark")},findMarksAt:function(k){k=ht(this,k);var ee=[],re=se(this,k.line).markedSpans;if(re)for(var ce=0;ce<re.length;++ce){var Be=re[ce];(Be.from==null||Be.from<=k.ch)&&(Be.to==null||Be.to>=k.ch)&&ee.push(Be.marker.parent||Be.marker)}return ee},findMarks:function(k,ee,re){k=ht(this,k),ee=ht(this,ee);var ce=[],Be=k.line;return this.iter(k.line,ee.line+1,function(yt){var Dt=yt.markedSpans;if(Dt)for(var Kt=0;Kt<Dt.length;Kt++){var Yt=Dt[Kt];!(Yt.to!=null&&Be==k.line&&k.ch>=Yt.to||Yt.from==null&&Be!=k.line||Yt.from!=null&&Be==ee.line&&Yt.from>=ee.ch)&&(!re||re(Yt.marker))&&ce.push(Yt.marker.parent||Yt.marker)}++Be}),ce},getAllMarks:function(){var k=[];return this.iter(function(ee){var re=ee.markedSpans;if(re)for(var ce=0;ce<re.length;++ce)re[ce].from!=null&&k.push(re[ce].marker)}),k},posFromIndex:function(k){var ee,re=this.first,ce=this.lineSeparator().length;return this.iter(function(Be){var yt=Be.text.length+ce;if(yt>k)return ee=k,!0;k-=yt,++re}),ht(this,Rt(re,ee))},indexFromPos:function(k){k=ht(this,k);var ee=k.ch;if(k.line<this.first||k.ch<0)return 0;var re=this.lineSeparator().length;return this.iter(this.first,k.line,function(ce){ee+=ce.text.length+re}),ee},copy:function(k){var ee=new es(ke(this,this.first,this.first+this.size),this.modeOption,this.first,this.lineSep,this.direction);return ee.scrollTop=this.scrollTop,ee.scrollLeft=this.scrollLeft,ee.sel=this.sel,ee.extend=!1,k&&(ee.history.undoDepth=this.history.undoDepth,ee.setHistory(this.getHistory())),ee},linkedDoc:function(k){k||(k={});var ee=this.first,re=this.first+this.size;k.from!=null&&k.from>ee&&(ee=k.from),k.to!=null&&k.to<re&&(re=k.to);var ce=new es(ke(this,ee,re),k.mode||this.modeOption,ee,this.lineSep,this.direction);return k.sharedHist&&(ce.history=this.history),(this.linked||(this.linked=[])).push({doc:ce,sharedHist:k.sharedHist}),ce.linked=[{doc:this,isParent:!0,sharedHist:k.sharedHist}],Dl(ce,zl(this)),ce},unlinkDoc:function(k){if(k instanceof ut&&(k=k.doc),this.linked)for(var ee=0;ee<this.linked.length;++ee){var re=this.linked[ee];if(re.doc!=k)continue;this.linked.splice(ee,1),k.unlinkDoc(this),nc(zl(this));break}if(k.history==this.history){var ce=[k.id];Cn(k,function(Be){return ce.push(Be.id)},!0),k.history=new ea(null),k.history.done=Fo(this.history.done,ce),k.history.undone=Fo(this.history.undone,ce)}},iterLinkedDocs:function(k){Cn(this,k)},getMode:function(){return this.mode},getEditor:function(){return this.cm},splitLines:function(k){return this.lineSep?k.split(this.lineSep):or(k)},lineSeparator:function(){return this.lineSep||`
|
|
|
`},setDirection:so(function(L){if(L!="rtl"&&(L="ltr"),L==this.direction)return;this.direction=L,this.iter(function(k){return k.order=null}),this.cm&&wi(this.cm)})}),es.prototype.eachLine=es.prototype.iter;var tl=0;function ac(L){var k=this;if(bl(k),Xe(k,L)||xt(k.display,L))return;Ve(L),c&&(tl=+new Date);var ee=ca(k,L,!0),re=L.dataTransfer.files;if(!ee||k.isReadOnly())return;if(re&&re.length&&window.FileReader&&window.File)for(var ce=re.length,Be=Array(ce),yt=0,Dt=function(){++yt==ce&&Ja(k,function(){ee=ht(k.doc,ee);var xn={from:ee,to:ee,text:k.doc.splitLines(Be.filter(function(Pn){return Pn!=null}).join(k.doc.lineSeparator())),origin:"paste"};bs(k.doc,xn),Yo(k.doc,Ne(ht(k.doc,ee),ht(k.doc,Qe(xn))))})()},Kt=function(xn,Pn){if(k.options.allowDropFileTypes&&W(k.options.allowDropFileTypes,xn.type)==-1){Dt();return}var Jn=new FileReader;Jn.onerror=function(){return Dt()},Jn.onload=function(){var Zn=Jn.result;if(/[\x00-\x08\x0e-\x1f]{2}/.test(Zn)){Dt();return}Be[Pn]=Zn,Dt()},Jn.readAsText(xn)},Yt=0;Yt<re.length;Yt++)Kt(re[Yt],Yt);else{if(k.state.draggingText&&k.doc.sel.contains(ee)>-1){k.state.draggingText(L),setTimeout(function(){return k.display.input.focus()},20);return}try{var Cr=L.dataTransfer.getData("Text");if(Cr){var Ur;if(k.state.draggingText&&!k.state.draggingText.copy&&(Ur=k.listSelections()),ds(k.doc,Ne(ee,ee)),Ur)for(var en=0;en<Ur.length;++en)qo(k.doc,"",Ur[en].anchor,Ur[en].head,"drag");k.replaceSelection(Cr,"around","paste"),k.display.input.focus()}}catch(nn){}}}function Rl(L,k){if(c&&(!L.state.draggingText||+new Date-tl<100)){lt(k);return}if(Xe(L,k)||xt(L.display,k))return;if(k.dataTransfer.setData("Text",L.getSelection()),k.dataTransfer.effectAllowed="copyMove",k.dataTransfer.setDragImage&&!n){var ee=I("img",null,null,"position: fixed; left: 0; top: 0;");ee.src="data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==",d&&(ee.width=ee.height=1,L.display.wrapper.appendChild(ee),ee._top=ee.offsetTop),k.dataTransfer.setDragImage(ee,0,0),d&&ee.parentNode.removeChild(ee)}}function Ml(L,k){var ee=ca(L,k);if(!ee)return;var re=document.createDocumentFragment();ba(L,ee,re),L.display.dragCursor||(L.display.dragCursor=I("div",null,"CodeMirror-cursors CodeMirror-dragcursors"),L.display.lineSpace.insertBefore(L.display.dragCursor,L.display.cursorDiv)),O(L.display.dragCursor,re)}function bl(L){L.display.dragCursor&&(L.display.lineSpace.removeChild(L.display.dragCursor),L.display.dragCursor=null)}function Kl(L){if(!document.getElementsByClassName)return;for(var k=document.getElementsByClassName("CodeMirror"),ee=[],re=0;re<k.length;re++){var ce=k[re].CodeMirror;ce&&ee.push(ce)}ee.length&&ee[0].operation(function(){for(var Be=0;Be<ee.length;Be++)L(ee[Be])})}var ul=!1;function Wl(){if(ul)return;oc(),ul=!0}function oc(){var L;De(window,"resize",function(){L==null&&(L=setTimeout(function(){L=null,Kl(sc)},100))}),De(window,"blur",function(){return Kl(Oi)})}function sc(L){var k=L.display;k.cachedCharWidth=k.cachedTextHeight=k.cachedPaddingH=null,k.scrollbarsClipped=!1,L.setSize()}for(var Fs={3:"Pause",8:"Backspace",9:"Tab",13:"Enter",16:"Shift",17:"Ctrl",18:"Alt",19:"Pause",20:"CapsLock",27:"Esc",32:"Space",33:"PageUp",34:"PageDown",35:"End",36:"Home",37:"Left",38:"Up",39:"Right",40:"Down",44:"PrintScrn",45:"Insert",46:"Delete",59:";",61:"=",91:"Mod",92:"Mod",93:"Mod",106:"*",107:"=",109:"-",110:".",111:"/",145:"ScrollLock",173:"-",186:";",187:"=",188:",",189:"-",190:".",191:"/",192:"`",219:"[",220:"\\",221:"]",222:"'",224:"Mod",63232:"Up",63233:"Down",63234:"Left",63235:"Right",63272:"Delete",63273:"Home",63275:"End",63276:"PageUp",63277:"PageDown",63302:"Insert"},rl=0;rl<10;rl++)Fs[rl+48]=Fs[rl+96]=String(rl);for(var wl=65;wl<=90;wl++)Fs[wl]=String.fromCharCode(wl);for(var dl=1;dl<=12;dl++)Fs[dl+111]=Fs[dl+63235]="F"+dl;var Ss={};Ss.basic={Left:"goCharLeft",Right:"goCharRight",Up:"goLineUp",Down:"goLineDown",End:"goLineEnd",Home:"goLineStartSmart",PageUp:"goPageUp",PageDown:"goPageDown",Delete:"delCharAfter",Backspace:"delCharBefore","Shift-Backspace":"delCharBefore",Tab:"defaultTab","Shift-Tab":"indentAuto",Enter:"newlineAndIndent",Insert:"toggleOverwrite",Esc:"singleSelection"},Ss.pcDefault={"Ctrl-A":"selectAll","Ctrl-D":"deleteLine","Ctrl-Z":"undo","Shift-Ctrl-Z":"redo","Ctrl-Y":"redo","Ctrl-Home":"goDocStart","Ctrl-End":"goDocEnd","Ctrl-Up":"goLineUp","Ctrl-Down":"goLineDown","Ctrl-Left":"goGroupLeft","Ctrl-Right":"goGroupRight","Alt-Left":"goLineStart","Alt-Right":"goLineEnd","Ctrl-Backspace":"delGroupBefore","Ctrl-Delete":"delGroupAfter","Ctrl-S":"save","Ctrl-F":"find","Ctrl-G":"findNext","Shift-Ctrl-G":"findPrev","Shift-Ctrl-F":"replace","Shift-Ctrl-R":"replaceAll","Ctrl-[":"indentLess","Ctrl-]":"indentMore","Ctrl-U":"undoSelection","Shift-Ctrl-U":"redoSelection","Alt-U":"redoSelection",fallthrough:"basic"},Ss.emacsy={"Ctrl-F":"goCharRight","Ctrl-B":"goCharLeft","Ctrl-P":"goLineUp","Ctrl-N":"goLineDown","Alt-F":"goWordRight","Alt-B":"goWordLeft","Ctrl-A":"goLineStart","Ctrl-E":"goLineEnd","Ctrl-V":"goPageDown","Shift-Ctrl-V":"goPageUp","Ctrl-D":"delCharAfter","Ctrl-H":"delCharBefore","Alt-D":"delWordAfter","Alt-Backspace":"delWordBefore","Ctrl-K":"killLine","Ctrl-T":"transposeChars","Ctrl-O":"openLine"},Ss.macDefault={"Cmd-A":"selectAll","Cmd-D":"deleteLine","Cmd-Z":"undo","Shift-Cmd-Z":"redo","Cmd-Y":"redo","Cmd-Home":"goDocStart","Cmd-Up":"goDocStart","Cmd-End":"goDocEnd","Cmd-Down":"goDocEnd","Alt-Left":"goGroupLeft","Alt-Right":"goGroupRight","Cmd-Left":"goLineLeft","Cmd-Right":"goLineRight","Alt-Backspace":"delGroupBefore","Ctrl-Alt-Backspace":"delGroupAfter","Alt-Delete":"delGroupAfter","Cmd-S":"save","Cmd-F":"find","Cmd-G":"findNext","Shift-Cmd-G":"findPrev","Cmd-Alt-F":"replace","Shift-Cmd-Alt-F":"replaceAll","Cmd-[":"indentLess","Cmd-]":"indentMore","Cmd-Backspace":"delWrappedLineLeft","Cmd-Delete":"delWrappedLineRight","Cmd-U":"undoSelection","Shift-Cmd-U":"redoSelection","Ctrl-Up":"goDocStart","Ctrl-Down":"goDocEnd",fallthrough:["basic","emacsy"]},Ss.default=x?Ss.macDefault:Ss.pcDefault;function zs(L){var k=L.split(/-(?!$)/);L=k[k.length-1];for(var ee,re,ce,Be,yt=0;yt<k.length-1;yt++){var Dt=k[yt];if(/^(cmd|meta|m)$/i.test(Dt))Be=!0;else if(/^a(lt)?$/i.test(Dt))ee=!0;else if(/^(c|ctrl|control)$/i.test(Dt))re=!0;else if(/^s(hift)?$/i.test(Dt))ce=!0;else throw new Error("Unrecognized modifier name: "+Dt)}return ee&&(L="Alt-"+L),re&&(L="Ctrl-"+L),Be&&(L="Cmd-"+L),ce&&(L="Shift-"+L),L}function nl(L){var k={};for(var ee in L)if(L.hasOwnProperty(ee)){var re=L[ee];if(/^(name|fallthrough|(de|at)tach)$/.test(ee))continue;if(re=="..."){delete L[ee];continue}for(var ce=nt(ee.split(" "),zs),Be=0;Be<ce.length;Be++){var yt=void 0,Dt=void 0;Be==ce.length-1?(Dt=ce.join(" "),yt=re):(Dt=ce.slice(0,Be+1).join(" "),yt="...");var Kt=k[Dt];if(!Kt)k[Dt]=yt;else if(Kt!=yt)throw new Error("Inconsistent bindings for "+Dt)}delete L[ee]}for(var Yt in k)L[Yt]=k[Yt];return L}function Bs(L,k,ee,re){k=xl(k);var ce=k.call?k.call(L,re):k[L];if(ce===!1)return"nothing";if(ce==="...")return"multi";if(ce!=null&&ee(ce))return"handled";if(k.fallthrough){if(Object.prototype.toString.call(k.fallthrough)!="[object Array]")return Bs(L,k.fallthrough,ee,re);for(var Be=0;Be<k.fallthrough.length;Be++){var yt=Bs(L,k.fallthrough[Be],ee,re);if(yt)return yt}}}function Sl(L){var k=typeof L=="string"?L:Fs[L.keyCode];return k=="Ctrl"||k=="Alt"||k=="Shift"||k=="Mod"}function kl(L,k,ee){var re=L;return k.altKey&&re!="Alt"&&(L="Alt-"+L),(E?k.metaKey:k.ctrlKey)&&re!="Ctrl"&&(L="Ctrl-"+L),(E?k.ctrlKey:k.metaKey)&&re!="Mod"&&(L="Cmd-"+L),!ee&&k.shiftKey&&re!="Shift"&&(L="Shift-"+L),L}function Vl(L,k){if(d&&L.keyCode==34&&L.char)return!1;var ee=Fs[L.keyCode];return ee==null||L.altGraphKey?!1:(L.keyCode==3&&L.code&&(ee=L.code),kl(ee,L,k))}function xl(L){return typeof L=="string"?Ss[L]:L}function Qs(L,k){for(var ee=L.doc.sel.ranges,re=[],ce=0;ce<ee.length;ce++){for(var Be=k(ee[ce]);re.length&&zt(Be.from,Me(re).to)<=0;){var yt=re.pop();if(zt(yt.from,Be.from)<0){Be.from=yt.from;break}}re.push(Be)}bo(L,function(){for(var Dt=re.length-1;Dt>=0;Dt--)qo(L.doc,"",re[Dt].from,re[Dt].to,"+delete");Ia(L)})}function hl(L,k,ee){var re=Le(L.text,k+ee,ee);return re<0||re>L.text.length?null:re}function il(L,k,ee){var re=hl(L,k.ch,ee);return re==null?null:new Rt(k.line,re,ee<0?"after":"before")}function fl(L,k,ee,re,ce){if(L){k.doc.direction=="rtl"&&(ce=-ce);var Be=ze(ee,k.doc.direction);if(Be){var yt=ce<0?Me(Be):Be[0],Dt=ce<0==(yt.level==1),Kt=Dt?"after":"before",Yt;if(yt.level>0||k.doc.direction=="rtl"){var Cr=Mn(k,ee);Yt=ce<0?ee.text.length-1:0;var Ur=vn(k,Cr,Yt).top;Yt=he(function(en){return vn(k,Cr,en).top==Ur},ce<0==(yt.level==1)?yt.from:yt.to-1,Yt),Kt=="before"&&(Yt=hl(ee,Yt,1))}else Yt=ce<0?yt.to:yt.from;return new Rt(re,Yt,Kt)}}return new Rt(re,ce<0?ee.text.length:0,ce<0?"before":"after")}function El(L,k,ee,re){var ce=ze(k,L.doc.direction);if(!ce)return il(k,ee,re);ee.ch>=k.text.length?(ee.ch=k.text.length,ee.sticky="before"):ee.ch<=0&&(ee.ch=0,ee.sticky="after");var Be=ge(ce,ee.ch,ee.sticky),yt=ce[Be];if(L.doc.direction=="ltr"&&yt.level%2==0&&(re>0?yt.to>ee.ch:yt.from<ee.ch))return il(k,ee,re);var Dt=function(oi,li){return hl(k,oi instanceof Rt?oi.ch:oi,li)},Kt,Yt=function(oi){return L.options.lineWrapping?(Kt=Kt||Mn(L,k),Ea(L,k,Kt,oi)):{begin:0,end:k.text.length}},Cr=Yt(ee.sticky=="before"?Dt(ee,-1):ee.ch);if(L.doc.direction=="rtl"||yt.level==1){var Ur=yt.level==1==re<0,en=Dt(ee,Ur?1:-1);if(en!=null&&(Ur?en<=yt.to&&en<=Cr.end:en>=yt.from&&en>=Cr.begin)){var nn=Ur?"before":"after";return new Rt(ee.line,en,nn)}}var xn=function(oi,li,$e){for(var ie=function(vr,Ir){return Ir?new Rt(ee.line,Dt(vr,1),"before"):new Rt(ee.line,vr,"after")};oi>=0&&oi<ce.length;oi+=li){var He=ce[oi],tt=li>0==(He.level!=1),Ot=tt?$e.begin:Dt($e.end,-1);if(He.from<=Ot&&Ot<He.to)return ie(Ot,tt);if(Ot=tt?He.from:Dt(He.to,-1),$e.begin<=Ot&&Ot<$e.end)return ie(Ot,tt)}},Pn=xn(Be+re,re,Cr);if(Pn)return Pn;var Jn=re>0?Cr.end:Dt(Cr.begin,-1);return Jn!=null&&!(re>0&&Jn==k.text.length)&&(Pn=xn(re>0?0:ce.length-1,re,Yt(Jn)),Pn)?Pn:null}var Ks={selectAll:ks,singleSelection:function(k){return k.setSelection(k.getCursor("anchor"),k.getCursor("head"),me)},killLine:function(k){return Qs(k,function(ee){if(ee.empty()){var re=se(k.doc,ee.head.line).text.length;return ee.head.ch==re&&ee.head.line<k.lastLine()?{from:ee.head,to:Rt(ee.head.line+1,0)}:{from:ee.head,to:Rt(ee.head.line,re)}}else return{from:ee.from(),to:ee.to()}})},deleteLine:function(k){return Qs(k,function(ee){return{from:Rt(ee.from().line,0),to:ht(k.doc,Rt(ee.to().line+1,0))}})},delLineLeft:function(k){return Qs(k,function(ee){return{from:Rt(ee.from().line,0),to:ee.from()}})},delWrappedLineLeft:function(k){return Qs(k,function(ee){var re=k.charCoords(ee.head,"div").top+5,ce=k.coordsChar({left:0,top:re},"div");return{from:ce,to:ee.from()}})},delWrappedLineRight:function(k){return Qs(k,function(ee){var re=k.charCoords(ee.head,"div").top+5,ce=k.coordsChar({left:k.display.lineDiv.offsetWidth+100,top:re},"div");return{from:ee.from(),to:ce}})},undo:function(k){return k.undo()},redo:function(k){return k.redo()},undoSelection:function(k){return k.undoSelection()},redoSelection:function(k){return k.redoSelection()},goDocStart:function(k){return k.extendSelection(Rt(k.firstLine(),0))},goDocEnd:function(k){return k.extendSelection(Rt(k.lastLine()))},goLineStart:function(k){return k.extendSelectionsBy(function(ee){return Xl(k,ee.head.line)},{origin:"+move",bias:1})},goLineStartSmart:function(k){return k.extendSelectionsBy(function(ee){return pl(k,ee.head)},{origin:"+move",bias:1})},goLineEnd:function(k){return k.extendSelectionsBy(function(ee){return Cl(k,ee.head.line)},{origin:"+move",bias:-1})},goLineRight:function(k){return k.extendSelectionsBy(function(ee){var re=k.cursorCoords(ee.head,"div").top+5;return k.coordsChar({left:k.display.lineDiv.offsetWidth+100,top:re},"div")},ye)},goLineLeft:function(k){return k.extendSelectionsBy(function(ee){var re=k.cursorCoords(ee.head,"div").top+5;return k.coordsChar({left:0,top:re},"div")},ye)},goLineLeftSmart:function(k){return k.extendSelectionsBy(function(ee){var re=k.cursorCoords(ee.head,"div").top+5,ce=k.coordsChar({left:0,top:re},"div");return ce.ch<k.getLine(ce.line).search(/\S/)?pl(k,ee.head):ce},ye)},goLineUp:function(k){return k.moveV(-1,"line")},goLineDown:function(k){return k.moveV(1,"line")},goPageUp:function(k){return k.moveV(-1,"page")},goPageDown:function(k){return k.moveV(1,"page")},goCharLeft:function(k){return k.moveH(-1,"char")},goCharRight:function(k){return k.moveH(1,"char")},goColumnLeft:function(k){return k.moveH(-1,"column")},goColumnRight:function(k){return k.moveH(1,"column")},goWordLeft:function(k){return k.moveH(-1,"word")},goGroupRight:function(k){return k.moveH(1,"group")},goGroupLeft:function(k){return k.moveH(-1,"group")},goWordRight:function(k){return k.moveH(1,"word")},delCharBefore:function(k){return k.deleteH(-1,"codepoint")},delCharAfter:function(k){return k.deleteH(1,"char")},delWordBefore:function(k){return k.deleteH(-1,"word")},delWordAfter:function(k){return k.deleteH(1,"word")},delGroupBefore:function(k){return k.deleteH(-1,"group")},delGroupAfter:function(k){return k.deleteH(1,"group")},indentAuto:function(k){return k.indentSelection("smart")},indentMore:function(k){return k.indentSelection("add")},indentLess:function(k){return k.indentSelection("subtract")},insertTab:function(k){return k.replaceSelection(" ")},insertSoftTab:function(k){for(var ee=[],re=k.listSelections(),ce=k.options.tabSize,Be=0;Be<re.length;Be++){var yt=re[Be].from(),Dt=z(k.getLine(yt.line),yt.ch,ce);ee.push(Ue(ce-Dt%ce))}k.replaceSelections(ee)},defaultTab:function(k){k.somethingSelected()?k.indentSelection("add"):k.execCommand("insertTab")},transposeChars:function(k){return bo(k,function(){for(var ee=k.listSelections(),re=[],ce=0;ce<ee.length;ce++){if(!ee[ce].empty())continue;var Be=ee[ce].head,yt=se(k.doc,Be.line).text;if(yt){if(Be.ch==yt.length&&(Be=new Rt(Be.line,Be.ch-1)),Be.ch>0)Be=new Rt(Be.line,Be.ch+1),k.replaceRange(yt.charAt(Be.ch-1)+yt.charAt(Be.ch-2),Rt(Be.line,Be.ch-2),Be,"+transpose");else if(Be.line>k.doc.first){var Dt=se(k.doc,Be.line-1).text;Dt&&(Be=new Rt(Be.line,1),k.replaceRange(yt.charAt(0)+k.doc.lineSeparator()+Dt.charAt(Dt.length-1),Rt(Be.line-1,Dt.length-1),Be,"+transpose"))}}re.push(new pe(Be,Be))}k.setSelections(re)})},newlineAndIndent:function(k){return bo(k,function(){for(var ee=k.listSelections(),re=ee.length-1;re>=0;re--)k.replaceRange(k.doc.lineSeparator(),ee[re].anchor,ee[re].head,"+input");ee=k.listSelections();for(var ce=0;ce<ee.length;ce++)k.indentLine(ee[ce].from().line,null,!0);Ia(k)})},openLine:function(k){return k.replaceSelection(`
|
|
|
`,"start")},toggleOverwrite:function(k){return k.toggleOverwrite()}};function Xl(L,k){var ee=se(L.doc,k),re=ta(ee);return re!=ee&&(k=rt(re)),fl(!0,L,re,k,1)}function Cl(L,k){var ee=se(L.doc,k),re=Li(ee);return re!=ee&&(k=rt(re)),fl(!0,L,ee,k,-1)}function pl(L,k){var ee=Xl(L,k.line),re=se(L.doc,ee.line),ce=ze(re,L.doc.direction);if(!ce||ce[0].level==0){var Be=Math.max(ee.ch,re.text.search(/\S/)),yt=k.line==ee.line&&k.ch<=Be&&k.ch;return Rt(ee.line,yt?0:Be,ee.sticky)}return ee}function Tl(L,k,ee){if(typeof k=="string"&&(k=Ks[k],!k))return!1;L.display.input.ensurePolled();var re=L.display.shift,ce=!1;try{L.isReadOnly()&&(L.state.suppressEdits=!0),ee&&(L.display.shift=!1),ce=k(L)!=q}finally{L.display.shift=re,L.state.suppressEdits=!1}return ce}function Yl(L,k,ee){for(var re=0;re<L.state.keyMaps.length;re++){var ce=Bs(k,L.state.keyMaps[re],ee,L);if(ce)return ce}return L.options.extraKeys&&Bs(k,L.options.extraKeys,ee,L)||Bs(k,L.options.keyMap,ee,L)}var Fl=new X;function ml(L,k,ee,re){var ce=L.state.keySeq;if(ce){if(Sl(k))return"handled";if(/\'$/.test(k)?L.state.keySeq=null:Fl.set(50,function(){L.state.keySeq==ce&&(L.state.keySeq=null,L.display.input.reset())}),Gl(L,ce+" "+k,ee,re))return!0}return Gl(L,k,ee,re)}function Gl(L,k,ee,re){var ce=Yl(L,k,re);return ce=="multi"&&(L.state.keySeq=k),ce=="handled"&&Tr(L,"keyHandled",L,k,ee),(ce=="handled"||ce=="multi")&&(Ve(ee),vi(L)),!!ce}function Zs(L,k){var ee=Vl(k,!0);return ee?k.shiftKey&&!L.state.keySeq?ml(L,"Shift-"+ee,k,function(re){return Tl(L,re,!0)})||ml(L,ee,k,function(re){if(typeof re=="string"?/^go[A-Z]/.test(re):re.motion)return Tl(L,re)}):ml(L,ee,k,function(re){return Tl(L,re)}):!1}function Ql(L,k,ee){return ml(L,"'"+ee+"'",k,function(re){return Tl(L,re,!0)})}var Ro=null;function Ws(L){var k=this;if(L.target&&L.target!=k.display.input.getField())return;if(k.curOp.focus=j(),Xe(k,L))return;c&&a<11&&L.keyCode==27&&(L.returnValue=!1);var ee=L.keyCode;k.display.shift=ee==16||L.shiftKey;var re=Zs(k,L);d&&(Ro=re?ee:null,!re&&ee==88&&!_e&&(x?L.metaKey:L.ctrlKey)&&k.replaceSelection("",null,"cut")),A&&!x&&!re&&ee==46&&L.shiftKey&&!L.ctrlKey&&document.execCommand&&document.execCommand("cut"),ee==18&&!/\bCodeMirror-crosshair\b/.test(k.display.lineDiv.className)&&al(k)}function al(L){var k=L.display.lineDiv;K(k,"CodeMirror-crosshair");function ee(re){(re.keyCode==18||!re.altKey)&&(y(k,"CodeMirror-crosshair"),je(document,"keyup",ee),je(document,"mouseover",ee))}De(document,"keyup",ee),De(document,"mouseover",ee)}function Ps(L){L.keyCode==16&&(this.doc.sel.shift=!1),Xe(this,L)}function Us(L){var k=this;if(L.target&&L.target!=k.display.input.getField())return;if(xt(k.display,L)||Xe(k,L)||L.ctrlKey&&!L.altKey||x&&L.metaKey)return;var ee=L.keyCode,re=L.charCode;if(d&&ee==Ro){Ro=null,Ve(L);return}if(d&&(!L.which||L.which<10)&&Zs(k,L))return;var ce=String.fromCharCode(re==null?ee:re);if(ce=="\b")return;if(Ql(k,L,ce))return;k.display.input.onKeyPress(L)}var gl=400,xs=function(k,ee,re){this.time=k,this.pos=ee,this.button=re};xs.prototype.compare=function(L,k,ee){return this.time+gl>L&&zt(k,this.pos)==0&&ee==this.button};var ol,Js;function Bl(L,k){var ee=+new Date;return Js&&Js.compare(ee,L,k)?(ol=Js=null,"triple"):ol&&ol.compare(ee,L,k)?(Js=new xs(ee,L,k),ol=null,"double"):(ol=new xs(ee,L,k),Js=null,"single")}function _l(L){var k=this,ee=k.display;if(Xe(k,L)||ee.activeTouch&&ee.input.supportsTouch())return;if(ee.input.ensurePolled(),ee.shift=L.shiftKey,xt(ee,L)){i||(ee.scroller.draggable=!1,setTimeout(function(){return ee.scroller.draggable=!0},100));return}if(Ol(k,L))return;var re=ca(k,L),ce=Te(L),Be=re?Bl(re,ce):"single";if(window.focus(),ce==1&&k.state.selectingText&&k.state.selectingText(L),re&&vl(k,ce,re,Be,L))return;ce==1?re?Pl(k,re,Be,L):Ze(L)==ee.scroller&&Ve(L):ce==2?(re&&wo(k.doc,re),setTimeout(function(){return ee.input.focus()},20)):ce==3&&(C?k.display.input.onContextMenu(L):za(k))}function vl(L,k,ee,re,ce){var Be="Click";return re=="double"?Be="Double"+Be:re=="triple"&&(Be="Triple"+Be),Be=(k==1?"Left":k==2?"Middle":"Right")+Be,ml(L,kl(Be,ce),ce,function(yt){if(typeof yt=="string"&&(yt=Ks[yt]),!yt)return!1;var Dt=!1;try{L.isReadOnly()&&(L.state.suppressEdits=!0),Dt=yt(L,ee)!=q}finally{L.state.suppressEdits=!1}return Dt})}function ql(L,k,ee){var re=L.getOption("configureMouse"),ce=re?re(L,k,ee):{};if(ce.unit==null){var Be=S?ee.shiftKey&&ee.metaKey:ee.altKey;ce.unit=Be?"rectangle":k=="single"?"char":k=="double"?"word":"line"}return(ce.extend==null||L.doc.extend)&&(ce.extend=L.doc.extend||ee.shiftKey),ce.addNew==null&&(ce.addNew=x?ee.metaKey:ee.ctrlKey),ce.moveOnDrag==null&&(ce.moveOnDrag=!(x?ee.altKey:ee.ctrlKey)),ce}function Pl(L,k,ee,re){c?setTimeout(U(Ya,L),0):L.curOp.focus=j();var ce=ql(L,ee,re),Be=L.doc.sel,yt;L.options.dragDrop&&Jt&&!L.isReadOnly()&&ee=="single"&&(yt=Be.contains(k))>-1&&(zt((yt=Be.ranges[yt]).from(),k)<0||k.xRel>0)&&(zt(yt.to(),k)>0||k.xRel<0)?yl(L,re,k,ce):lc(L,re,k,ce)}function yl(L,k,ee,re){var ce=L.display,Be=!1,yt=Ja(L,function(Yt){i&&(ce.scroller.draggable=!1),L.state.draggingText=!1,je(ce.wrapper.ownerDocument,"mouseup",yt),je(ce.wrapper.ownerDocument,"mousemove",Dt),je(ce.scroller,"dragstart",Kt),je(ce.scroller,"drop",yt),Be||(Ve(Yt),re.addNew||wo(L.doc,ee,null,null,re.extend),i&&!n||c&&a==9?setTimeout(function(){ce.wrapper.ownerDocument.body.focus({preventScroll:!0}),ce.input.focus()},20):ce.input.focus())}),Dt=function(Cr){Be=Be||Math.abs(k.clientX-Cr.clientX)+Math.abs(k.clientY-Cr.clientY)>=10},Kt=function(){return Be=!0};i&&(ce.scroller.draggable=!0),L.state.draggingText=yt,yt.copy=!re.moveOnDrag,ce.scroller.dragDrop&&ce.scroller.dragDrop(),De(ce.wrapper.ownerDocument,"mouseup",yt),De(ce.wrapper.ownerDocument,"mousemove",Dt),De(ce.scroller,"dragstart",Kt),De(ce.scroller,"drop",yt),za(L),setTimeout(function(){return ce.input.focus()},20)}function Zl(L,k,ee){if(ee=="char")return new pe(k,k);if(ee=="word")return L.findWordAt(k);if(ee=="line")return new pe(Rt(k.line,0),ht(L.doc,Rt(k.line+1,0)));var re=ee(L,k);return new pe(re.from,re.to)}function lc(L,k,ee,re){var ce=L.display,Be=L.doc;Ve(k);var yt,Dt,Kt=Be.sel,Yt=Kt.ranges;if(re.addNew&&!re.extend?(Dt=Be.sel.contains(ee),Dt>-1?yt=Yt[Dt]:yt=new pe(ee,ee)):(yt=Be.sel.primary(),Dt=Be.sel.primIndex),re.unit=="rectangle")re.addNew||(yt=new pe(ee,ee)),ee=ca(L,k,!0,!0),Dt=-1;else{var Cr=Zl(L,ee,re.unit);re.extend?yt=Qo(yt,Cr.anchor,Cr.head,re.extend):yt=Cr}re.addNew?Dt==-1?(Dt=Yt.length,Eo(Be,Ie(L,Yt.concat([yt]),Dt),{scroll:!1,origin:"*mouse"})):Yt.length>1&&Yt[Dt].empty()&&re.unit=="char"&&!re.extend?(Eo(Be,Ie(L,Yt.slice(0,Dt).concat(Yt.slice(Dt+1)),0),{scroll:!1,origin:"*mouse"}),Kt=Be.sel):ns(Be,Dt,yt,G):(Dt=0,Eo(Be,new Bt([yt],0),G),Kt=Be.sel);var Ur=ee;function en(li){if(zt(Ur,li)==0)return;if(Ur=li,re.unit=="rectangle"){for(var $e=[],ie=L.options.tabSize,He=z(se(Be,ee.line).text,ee.ch,ie),tt=z(se(Be,li.line).text,li.ch,ie),Ot=Math.min(He,tt),tr=Math.max(He,tt),vr=Math.min(ee.line,li.line),Ir=Math.min(L.lastLine(),Math.max(ee.line,li.line));vr<=Ir;vr++){var Hr=se(Be,vr).text,zr=Ae(Hr,Ot,ie);Ot==tr?$e.push(new pe(Rt(vr,zr),Rt(vr,zr))):Hr.length>zr&&$e.push(new pe(Rt(vr,zr),Rt(vr,Ae(Hr,tr,ie))))}$e.length||$e.push(new pe(ee,ee)),Eo(Be,Ie(L,Kt.ranges.slice(0,Dt).concat($e),Dt),{origin:"*mouse",scroll:!1}),L.scrollIntoView(li)}else{var cn=yt,sn=Zl(L,li,re.unit),kn=cn.anchor,si;zt(sn.anchor,kn)>0?(si=sn.head,kn=dr(cn.from(),sn.anchor)):(si=sn.anchor,kn=Mt(cn.to(),sn.head));var zn=Kt.ranges.slice(0);zn[Dt]=Jl(L,new pe(ht(Be,kn),si)),Eo(Be,Ie(L,zn,Dt),G)}}var nn=ce.wrapper.getBoundingClientRect(),xn=0;function Pn(li){var $e=++xn,ie=ca(L,li,!0,re.unit=="rectangle");if(!ie)return;if(zt(ie,Ur)!=0){L.curOp.focus=j(),en(ie);var He=ja(ce,Be);(ie.line>=He.to||ie.line<He.from)&&setTimeout(Ja(L,function(){xn==$e&&Pn(li)}),150)}else{var tt=li.clientY<nn.top?-20:li.clientY>nn.bottom?20:0;tt&&setTimeout(Ja(L,function(){if(xn!=$e)return;ce.scroller.scrollTop+=tt,Pn(li)}),50)}}function Jn(li){L.state.selectingText=!1,xn=Infinity,li&&(Ve(li),ce.input.focus()),je(ce.wrapper.ownerDocument,"mousemove",Zn),je(ce.wrapper.ownerDocument,"mouseup",oi),Be.history.lastSelOrigin=null}var Zn=Ja(L,function(li){li.buttons===0||!Te(li)?Jn(li):Pn(li)}),oi=Ja(L,Jn);L.state.selectingText=oi,De(ce.wrapper.ownerDocument,"mousemove",Zn),De(ce.wrapper.ownerDocument,"mouseup",oi)}function Jl(L,k){var ee=k.anchor,re=k.head,ce=se(L.doc,ee.line);if(zt(ee,re)==0&&ee.sticky==re.sticky)return k;var Be=ze(ce);if(!Be)return k;var yt=ge(Be,ee.ch,ee.sticky),Dt=Be[yt];if(Dt.from!=ee.ch&&Dt.to!=ee.ch)return k;var Kt=yt+(Dt.from==ee.ch==(Dt.level!=1)?0:1);if(Kt==0||Kt==Be.length)return k;var Yt;if(re.line!=ee.line)Yt=(re.line-ee.line)*(L.doc.direction=="ltr"?1:-1)>0;else{var Cr=ge(Be,re.ch,re.sticky),Ur=Cr-yt||(re.ch-ee.ch)*(Dt.level==1?-1:1);Cr==Kt-1||Cr==Kt?Yt=Ur<0:Yt=Ur>0}var en=Be[Kt+(Yt?-1:0)],nn=Yt==(en.level==1),xn=nn?en.from:en.to,Pn=nn?"after":"before";return ee.ch==xn&&ee.sticky==Pn?k:new pe(new Rt(ee.line,xn,Pn),re)}function $l(L,k,ee,re){var ce,Be;if(k.touches)ce=k.touches[0].clientX,Be=k.touches[0].clientY;else try{ce=k.clientX,Be=k.clientY}catch(en){return!1}if(ce>=Math.floor(L.display.gutters.getBoundingClientRect().right))return!1;re&&Ve(k);var yt=L.display,Dt=yt.lineDiv.getBoundingClientRect();if(Be>Dt.bottom||!et(L,ee))return ae(k);Be-=Dt.top-yt.viewOffset;for(var Kt=0;Kt<L.display.gutterSpecs.length;++Kt){var Yt=yt.gutters.childNodes[Kt];if(Yt&&Yt.getBoundingClientRect().right>=ce){var Cr=At(L.doc,Be),Ur=L.display.gutterSpecs[Kt];return st(L,ee,L,Cr,Ur.className,k),ae(k)}}}function Ol(L,k){return $l(L,k,"gutterClick",!0)}function ec(L,k){if(xt(L.display,k)||cc(L,k))return;if(Xe(L,k,"contextmenu"))return;C||L.display.input.onContextMenu(k)}function cc(L,k){return et(L,"gutterContextMenu")?$l(L,k,"gutterContextMenu",!1):!1}function Il(L){L.display.wrapper.className=L.display.wrapper.className.replace(/\s*cm-s-\S+/g,"")+L.options.theme.replace(/(^|\s)\s*/g," cm-s-"),yi(L)}var js={toString:function(){return"CodeMirror.Init"}},Ll={},Al={};function uc(L){var k=L.optionHandlers;function ee(re,ce,Be,yt){L.defaults[re]=ce,Be&&(k[re]=yt?function(Dt,Kt,Yt){Yt!=js&&Be(Dt,Kt,Yt)}:Be)}L.defineOption=ee,L.Init=js,ee("value","",function(re,ce){return re.setValue(ce)},!0),ee("mode",null,function(re,ce){re.doc.modeOption=ce,Rr(re)},!0),ee("indentUnit",2,Rr,!0),ee("indentWithTabs",!1),ee("smartIndent",!0),ee("tabSize",4,function(re){$r(re),yi(re),gi(re)},!0),ee("lineSeparator",null,function(re,ce){if(re.doc.lineSep=ce,!ce)return;var Be=[],yt=re.doc.first;re.doc.iter(function(Kt){for(var Yt=0;;){var Cr=Kt.text.indexOf(ce,Yt);if(Cr==-1)break;Yt=Cr+ce.length,Be.push(Rt(yt,Cr))}yt++});for(var Dt=Be.length-1;Dt>=0;Dt--)qo(re.doc,ce,Be[Dt],Rt(Be[Dt].line,Be[Dt].ch+ce.length))}),ee("specialChars",/[\u0000-\u001f\u007f-\u009f\u00ad\u061c\u200b-\u200c\u200e\u200f\u2028\u2029\ufeff\ufff9-\ufffc]/g,function(re,ce,Be){re.state.specialChars=new RegExp(ce.source+(ce.test(" ")?"":"| "),"g"),Be!=js&&re.refresh()}),ee("specialCharPlaceholder",Wi,function(re){return re.refresh()},!0),ee("electricChars",!0),ee("inputStyle",p?"contenteditable":"textarea",function(){throw new Error("inputStyle can not (yet) be changed in a running editor")},!0),ee("spellcheck",!1,function(re,ce){return re.getInputField().spellcheck=ce},!0),ee("autocorrect",!1,function(re,ce){return re.getInputField().autocorrect=ce},!0),ee("autocapitalize",!1,function(re,ce){return re.getInputField().autocapitalize=ce},!0),ee("rtlMoveVisually",!T),ee("wholeLineUpdateBefore",!0),ee("theme","default",function(re){Il(re),as(re)},!0),ee("keyMap","default",function(re,ce,Be){var yt=xl(ce),Dt=Be!=js&&xl(Be);Dt&&Dt.detach&&Dt.detach(re,yt),yt.attach&&yt.attach(re,Dt||null)}),ee("extraKeys",null),ee("configureMouse",null),ee("lineWrapping",!1,sl,!0),ee("gutters",[],function(re,ce){re.display.gutterSpecs=Ns(ce,re.options.lineNumbers),as(re)},!0),ee("fixedGutter",!0,function(re,ce){re.display.gutters.style.left=ce?Xi(re.display)+"px":"0",re.refresh()},!0),ee("coverGutterNextToScrollbar",!1,function(re){return Ra(re)},!0),ee("scrollbarStyle","native",function(re){vo(re),Ra(re),re.display.scrollbars.setScrollTop(re.doc.scrollTop),re.display.scrollbars.setScrollLeft(re.doc.scrollLeft)},!0),ee("lineNumbers",!1,function(re,ce){re.display.gutterSpecs=Ns(re.options.gutters,ce),as(re)},!0),ee("firstLineNumber",1,as,!0),ee("lineNumberFormatter",function(re){return re},as,!0),ee("showCursorWhenSelecting",!1,zi,!0),ee("resetSelectionOnContextMenu",!0),ee("lineWiseCopyCut",!0),ee("pasteLinesPerSelection",!0),ee("selectionsMayTouch",!1),ee("readOnly",!1,function(re,ce){ce=="nocursor"&&(Oi(re),re.display.input.blur()),re.display.input.readOnlyChanged(ce)}),ee("screenReaderLabel",null,function(re,ce){ce=ce===""?null:ce,re.display.input.screenReaderLabelChanged(ce)}),ee("disableInput",!1,function(re,ce){ce||re.display.input.reset()},!0),ee("dragDrop",!0,dc),ee("allowDropFileTypes",null),ee("cursorBlinkRate",530),ee("cursorScrollMargin",0),ee("cursorHeight",1,zi,!0),ee("singleCursorHeightPerLine",!0,zi,!0),ee("workTime",100),ee("workDelay",100),ee("flattenSpans",!0,$r,!0),ee("addModeClass",!1,$r,!0),ee("pollInterval",100),ee("undoDepth",200,function(re,ce){return re.doc.history.undoDepth=ce}),ee("historyEventDelay",1250),ee("viewportMargin",10,function(re){return re.refresh()},!0),ee("maxHighlightLength",1e4,$r,!0),ee("moveInputWithCursor",!0,function(re,ce){ce||re.display.input.resetPosition()}),ee("tabindex",null,function(re,ce){return re.display.input.getField().tabIndex=ce||""}),ee("autofocus",null),ee("direction","ltr",function(re,ce){return re.doc.setDirection(ce)},!0),ee("phrases",null)}function dc(L,k,ee){var re=ee&&ee!=js;if(!k!=!re){var ce=L.display.dragFunctions,Be=k?De:je;Be(L.display.scroller,"dragstart",ce.start),Be(L.display.scroller,"dragenter",ce.enter),Be(L.display.scroller,"dragover",ce.over),Be(L.display.scroller,"dragleave",ce.leave),Be(L.display.scroller,"drop",ce.drop)}}function sl(L){L.options.lineWrapping?(K(L.display.wrapper,"CodeMirror-wrap"),L.display.sizer.style.minWidth="",L.display.sizerWidth=null):(y(L.display.wrapper,"CodeMirror-wrap"),jn(L)),Aa(L),gi(L),yi(L),setTimeout(function(){return Ra(L)},100)}function ut(L,k){var ee=this;if(!(this instanceof ut))return new ut(L,k);this.options=k=k?H(k):{},H(Ll,k,!1);var re=k.value;typeof re=="string"?re=new es(re,k.mode,null,k.lineSeparator,k.direction):k.mode&&(re.modeOption=k.mode),this.doc=re;var ce=new ut.inputStyles[k.inputStyle](this),Be=this.display=new $s(L,re,ce,k);Be.wrapper.CodeMirror=this,Il(this),k.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},k.autofocus&&!p&&Be.input.focus(),c&&a<11&&setTimeout(function(){return ee.display.input.reset(!0)},20),Se(this),Wl(),Ji(this),this.curOp.forceUpdate=!0,Qn(this,re),k.autofocus&&!p||this.hasFocus()?setTimeout(function(){ee.hasFocus()&&!ee.state.focused&&pa(ee)},20):Oi(this);for(var yt in Al)Al.hasOwnProperty(yt)&&Al[yt](this,k[yt],js);ls(this),k.finishInit&&k.finishInit(this);for(var Dt=0;Dt<We.length;++Dt)We[Dt](this);xo(this),i&&k.lineWrapping&&getComputedStyle(Be.lineDiv).textRendering=="optimizelegibility"&&(Be.lineDiv.style.textRendering="auto")}ut.defaults=Ll,ut.optionHandlers=Al;function Se(L){var k=L.display;De(k.scroller,"mousedown",Ja(L,_l)),c&&a<11?De(k.scroller,"dblclick",Ja(L,function(Kt){if(Xe(L,Kt))return;var Yt=ca(L,Kt);if(!Yt||Ol(L,Kt)||xt(L.display,Kt))return;Ve(Kt);var Cr=L.findWordAt(Yt);wo(L.doc,Cr.anchor,Cr.head)})):De(k.scroller,"dblclick",function(Kt){return Xe(L,Kt)||Ve(Kt)}),De(k.scroller,"contextmenu",function(Kt){return ec(L,Kt)}),De(k.input.getField(),"contextmenu",function(Kt){k.scroller.contains(Kt.target)||ec(L,Kt)});var ee,re={end:0};function ce(){k.activeTouch&&(ee=setTimeout(function(){return k.activeTouch=null},1e3),re=k.activeTouch,re.end=+new Date)}function Be(Kt){if(Kt.touches.length!=1)return!1;var Yt=Kt.touches[0];return Yt.radiusX<=1&&Yt.radiusY<=1}function yt(Kt,Yt){if(Yt.left==null)return!0;var Cr=Yt.left-Kt.left,Ur=Yt.top-Kt.top;return Cr*Cr+Ur*Ur>20*20}De(k.scroller,"touchstart",function(Kt){if(!Xe(L,Kt)&&!Be(Kt)&&!Ol(L,Kt)){k.input.ensurePolled(),clearTimeout(ee);var Yt=+new Date;k.activeTouch={start:Yt,moved:!1,prev:Yt-re.end<=300?re:null},Kt.touches.length==1&&(k.activeTouch.left=Kt.touches[0].pageX,k.activeTouch.top=Kt.touches[0].pageY)}}),De(k.scroller,"touchmove",function(){k.activeTouch&&(k.activeTouch.moved=!0)}),De(k.scroller,"touchend",function(Kt){var Yt=k.activeTouch;if(Yt&&!xt(k,Kt)&&Yt.left!=null&&!Yt.moved&&new Date-Yt.start<300){var Cr=L.coordsChar(k.activeTouch,"page"),Ur;!Yt.prev||yt(Yt,Yt.prev)?Ur=new pe(Cr,Cr):!Yt.prev.prev||yt(Yt,Yt.prev.prev)?Ur=L.findWordAt(Cr):Ur=new pe(Rt(Cr.line,0),ht(L.doc,Rt(Cr.line+1,0))),L.setSelection(Ur.anchor,Ur.head),L.focus(),Ve(Kt)}ce()}),De(k.scroller,"touchcancel",ce),De(k.scroller,"scroll",function(){k.scroller.clientHeight&&(Gi(L,k.scroller.scrollTop),go(L,k.scroller.scrollLeft,!0),st(L,"scroll",L))}),De(k.scroller,"mousewheel",function(Kt){return Os(L,Kt)}),De(k.scroller,"DOMMouseScroll",function(Kt){return Os(L,Kt)}),De(k.wrapper,"scroll",function(){return k.wrapper.scrollTop=k.wrapper.scrollLeft=0}),k.dragFunctions={enter:function(Yt){Xe(L,Yt)||lt(Yt)},over:function(Yt){Xe(L,Yt)||(Ml(L,Yt),lt(Yt))},start:function(Yt){return Rl(L,Yt)},drop:Ja(L,ac),leave:function(Yt){Xe(L,Yt)||bl(L)}};var Dt=k.input.getField();De(Dt,"keyup",function(Kt){return Ps.call(L,Kt)}),De(Dt,"keydown",Ja(L,Ws)),De(Dt,"keypress",Ja(L,Us)),De(Dt,"focus",function(Kt){return pa(L,Kt)}),De(Dt,"blur",function(Kt){return Oi(L,Kt)})}var We=[];ut.defineInitHook=function(L){return We.push(L)};function St(L,k,ee,re){var ce=L.doc,Be;ee==null&&(ee="add"),ee=="smart"&&(ce.mode.indent?Be=Ht(L,k).state:ee="prev");var yt=L.options.tabSize,Dt=se(ce,k),Kt=z(Dt.text,null,yt);Dt.stateAfter&&(Dt.stateAfter=null);var Yt=Dt.text.match(/^\s*/)[0],Cr;if(!re&&!/\S/.test(Dt.text))Cr=0,ee="not";else if(ee=="smart"&&(Cr=ce.mode.indent(Be,Dt.text.slice(Yt.length),Dt.text),Cr==q||Cr>150)){if(!re)return;ee="prev"}ee=="prev"?k>ce.first?Cr=z(se(ce,k-1).text,null,yt):Cr=0:ee=="add"?Cr=Kt+L.options.indentUnit:ee=="subtract"?Cr=Kt-L.options.indentUnit:typeof ee=="number"&&(Cr=Kt+ee),Cr=Math.max(0,Cr);var Ur="",en=0;if(L.options.indentWithTabs)for(var nn=Math.floor(Cr/yt);nn;--nn)en+=yt,Ur+=" ";if(en<Cr&&(Ur+=Ue(Cr-en)),Ur!=Yt)return qo(ce,Ur,Rt(k,0),Rt(k,Yt.length),"+input"),Dt.stateAfter=null,!0;for(var xn=0;xn<ce.sel.ranges.length;xn++){var Pn=ce.sel.ranges[xn];if(Pn.head.line==k&&Pn.head.ch<Yt.length){var Jn=Rt(k,Yt.length);ns(ce,xn,new pe(Jn,Jn));break}}}var Ft=null;function qt(L){Ft=L}function ar(L,k,ee,re,ce){var Be=L.doc;L.display.shift=!1,re||(re=Be.sel);var yt=+new Date-200,Dt=ce=="paste"||L.state.pasteIncoming>yt,Kt=or(k),Yt=null;if(Dt&&re.ranges.length>1)if(Ft&&Ft.text.join(`
|
|
|
`)==k){if(re.ranges.length%Ft.text.length==0){Yt=[];for(var Cr=0;Cr<Ft.text.length;Cr++)Yt.push(Be.splitLines(Ft.text[Cr]))}}else Kt.length==re.ranges.length&&L.options.pasteLinesPerSelection&&(Yt=nt(Kt,function(Zn){return[Zn]}));for(var Ur=L.curOp.updateInput,en=re.ranges.length-1;en>=0;en--){var nn=re.ranges[en],xn=nn.from(),Pn=nn.to();nn.empty()&&(ee&&ee>0?xn=Rt(xn.line,xn.ch-ee):L.state.overwrite&&!Dt?Pn=Rt(Pn.line,Math.min(se(Be,Pn.line).text.length,Pn.ch+Me(Kt).length)):Dt&&Ft&&Ft.lineWise&&Ft.text.join(`
|
|
|
`)==Kt.join(`
|
|
|
`)&&(xn=Pn=Rt(xn.line,0)));var Jn={from:xn,to:Pn,text:Yt?Yt[en%Yt.length]:Kt,origin:ce||(Dt?"paste":L.state.cutIncoming>yt?"cut":"+input")};bs(L.doc,Jn),Tr(L,"inputRead",L,Jn)}k&&!Dt&&yr(L,k),Ia(L),L.curOp.updateInput<2&&(L.curOp.updateInput=Ur),L.curOp.typing=!0,L.state.pasteIncoming=L.state.cutIncoming=-1}function lr(L,k){var ee=L.clipboardData&&L.clipboardData.getData("Text");if(ee)return L.preventDefault(),!k.isReadOnly()&&!k.options.disableInput&&bo(k,function(){return ar(k,ee,0,null,"paste")}),!0}function yr(L,k){if(!L.options.electricChars||!L.options.smartIndent)return;for(var ee=L.doc.sel,re=ee.ranges.length-1;re>=0;re--){var ce=ee.ranges[re];if(ce.head.ch>100||re&&ee.ranges[re-1].head.line==ce.head.line)continue;var Be=L.getModeAt(ce.head),yt=!1;if(Be.electricChars){for(var Dt=0;Dt<Be.electricChars.length;Dt++)if(k.indexOf(Be.electricChars.charAt(Dt))>-1){yt=St(L,ce.head.line,"smart");break}}else Be.electricInput&&(Be.electricInput.test(se(L.doc,ce.head.line).text.slice(0,ce.head.ch))&&(yt=St(L,ce.head.line,"smart")));yt&&Tr(L,"electricInput",L,ce.head.line)}}function Vr(L){for(var k=[],ee=[],re=0;re<L.doc.sel.ranges.length;re++){var ce=L.doc.sel.ranges[re].head.line,Be={anchor:Rt(ce,0),head:Rt(ce+1,0)};ee.push(Be),k.push(L.getRange(Be.anchor,Be.head))}return{text:k,ranges:ee}}function Xr(L,k,ee,re){L.setAttribute("autocorrect",ee?"":"off"),L.setAttribute("autocapitalize",re?"":"off"),L.setAttribute("spellcheck",!!k)}function Pr(){var L=I("textarea",null,null,"position: absolute; bottom: -1em; padding: 0; width: 1px; height: 1em; outline: none"),k=I("div",[L],null,"overflow: hidden; position: relative; width: 3px; height: 0px;");return i?L.style.width="1000px":L.setAttribute("wrap","off"),s&&(L.style.border="1px solid black"),Xr(L),k}function Fr(L){var k=L.optionHandlers,ee=L.helpers={};L.prototype={constructor:L,focus:function(){window.focus(),this.display.input.focus()},setOption:function(ce,Be){var yt=this.options,Dt=yt[ce];if(yt[ce]==Be&&ce!="mode")return;yt[ce]=Be,k.hasOwnProperty(ce)&&Ja(this,k[ce])(this,Be,Dt),st(this,"optionChange",this,ce)},getOption:function(ce){return this.options[ce]},getDoc:function(){return this.doc},addKeyMap:function(ce,Be){this.state.keyMaps[Be?"push":"unshift"](xl(ce))},removeKeyMap:function(ce){for(var Be=this.state.keyMaps,yt=0;yt<Be.length;++yt)if(Be[yt]==ce||Be[yt].name==ce)return Be.splice(yt,1),!0},addOverlay:Ga(function(re,ce){var Be=re.token?re:L.getMode(this.options,re);if(Be.startState)throw new Error("Overlays may not be stateful.");ne(this.state.overlays,{mode:Be,modeSpec:re,opaque:ce&&ce.opaque,priority:ce&&ce.priority||0},function(yt){return yt.priority}),this.state.modeGen++,gi(this)}),removeOverlay:Ga(function(re){for(var ce=this.state.overlays,Be=0;Be<ce.length;++Be){var yt=ce[Be].modeSpec;if(yt==re||typeof re=="string"&&yt.name==re){ce.splice(Be,1),this.state.modeGen++,gi(this);return}}}),indentLine:Ga(function(re,ce,Be){typeof ce!="string"&&typeof ce!="number"&&(ce==null?ce=this.options.smartIndent?"smart":"prev":ce=ce?"add":"subtract"),Wt(this.doc,re)&&St(this,re,ce,Be)}),indentSelection:Ga(function(re){for(var ce=this.doc.sel.ranges,Be=-1,yt=0;yt<ce.length;yt++){var Dt=ce[yt];if(Dt.empty())Dt.head.line>Be&&(St(this,Dt.head.line,re,!0),Be=Dt.head.line,yt==this.doc.sel.primIndex&&Ia(this));else{var Kt=Dt.from(),Yt=Dt.to(),Cr=Math.max(Be,Kt.line);Be=Math.min(this.lastLine(),Yt.line-(Yt.ch?0:1))+1;for(var Ur=Cr;Ur<Be;++Ur)St(this,Ur,re);var en=this.doc.sel.ranges;Kt.ch==0&&ce.length==en.length&&en[yt].from().ch>0&&ns(this.doc,yt,new pe(Kt,en[yt].to()),me)}}}),getTokenAt:function(ce,Be){return Ar(this,ce,Be)},getLineTokens:function(ce,Be){return Ar(this,Rt(ce),Be,!0)},getTokenTypeAt:function(ce){ce=ht(this.doc,ce);var Be=gt(this,se(this.doc,ce.line)),yt=0,Dt=(Be.length-1)/2,Kt=ce.ch,Yt;if(Kt==0)Yt=Be[2];else for(;;){var Cr=yt+Dt>>1;if((Cr?Be[Cr*2-1]:0)>=Kt)Dt=Cr;else if(Be[Cr*2+1]<Kt)yt=Cr+1;else{Yt=Be[Cr*2+2];break}}var Ur=Yt?Yt.indexOf("overlay "):-1;return Ur<0?Yt:Ur==0?null:Yt.slice(0,Ur-1)},getModeAt:function(ce){var Be=this.doc.mode;return Be.innerMode?L.innerMode(Be,this.getTokenAt(ce).state).mode:Be},getHelper:function(ce,Be){return this.getHelpers(ce,Be)[0]},getHelpers:function(ce,Be){var yt=[];if(!ee.hasOwnProperty(Be))return yt;var Dt=ee[Be],Kt=this.getModeAt(ce);if(typeof Kt[Be]=="string")Dt[Kt[Be]]&&yt.push(Dt[Kt[Be]]);else if(Kt[Be])for(var Yt=0;Yt<Kt[Be].length;Yt++){var Cr=Dt[Kt[Be][Yt]];Cr&&yt.push(Cr)}else Kt.helperType&&Dt[Kt.helperType]?yt.push(Dt[Kt.helperType]):Dt[Kt.name]&&yt.push(Dt[Kt.name]);for(var Ur=0;Ur<Dt._global.length;Ur++){var en=Dt._global[Ur];en.pred(Kt,this)&&W(yt,en.val)==-1&&yt.push(en.val)}return yt},getStateAfter:function(ce,Be){var yt=this.doc;return ce=er(yt,ce==null?yt.first+yt.size-1:ce),Ht(this,ce+1,Be).state},cursorCoords:function(ce,Be){var yt,Dt=this.doc.sel.primary();return ce==null?yt=Dt.head:typeof ce=="object"?yt=ht(this.doc,ce):yt=ce?Dt.from():Dt.to(),Mi(this,yt,Be||"page")},charCoords:function(ce,Be){return Ui(this,ht(this.doc,ce),Be||"page")},coordsChar:function(ce,Be){return ce=fa(this,ce,Be||"page"),qi(this,ce.left,ce.top)},lineAtHeight:function(ce,Be){return ce=fa(this,{top:ce,left:0},Be||"page").top,At(this.doc,ce+this.display.viewOffset)},heightAtLine:function(ce,Be,yt){var Dt=!1,Kt;if(typeof ce=="number"){var Yt=this.doc.first+this.doc.size-1;ce<this.doc.first?ce=this.doc.first:ce>Yt&&(ce=Yt,Dt=!0),Kt=se(this.doc,ce)}else Kt=ce;return Ri(this,Kt,{top:0,left:0},Be||"page",yt||Dt).top+(Dt?this.doc.height-_n(Kt):0)},defaultTextHeight:function(){return Ai(this.display)},defaultCharWidth:function(){return Ii(this.display)},getViewport:function(){return{from:this.display.viewFrom,to:this.display.viewTo}},addWidget:function(ce,Be,yt,Dt,Kt){var Yt=this.display;ce=Mi(this,ht(this.doc,ce));var Cr=ce.bottom,Ur=ce.left;if(Be.style.position="absolute",Be.setAttribute("cm-ignore-events","true"),this.display.input.setUneditable(Be),Yt.sizer.appendChild(Be),Dt=="over")Cr=ce.top;else if(Dt=="above"||Dt=="near"){var en=Math.max(Yt.wrapper.clientHeight,this.doc.height),nn=Math.max(Yt.sizer.clientWidth,Yt.lineSpace.clientWidth);(Dt=="above"||ce.bottom+Be.offsetHeight>en)&&ce.top>Be.offsetHeight?Cr=ce.top-Be.offsetHeight:ce.bottom+Be.offsetHeight<=en&&(Cr=ce.bottom),Ur+Be.offsetWidth>nn&&(Ur=nn-Be.offsetWidth)}Be.style.top=Cr+"px",Be.style.left=Be.style.right="",Kt=="right"?(Ur=Yt.sizer.clientWidth-Be.offsetWidth,Be.style.right="0px"):(Kt=="left"?Ur=0:Kt=="middle"&&(Ur=(Yt.sizer.clientWidth-Be.offsetWidth)/2),Be.style.left=Ur+"px"),yt&&Ca(this,{left:Ur,top:Cr,right:Ur+Be.offsetWidth,bottom:Cr+Be.offsetHeight})},triggerOnKeyDown:Ga(Ws),triggerOnKeyPress:Ga(Us),triggerOnKeyUp:Ps,triggerOnMouseDown:Ga(_l),execCommand:function(ce){if(Ks.hasOwnProperty(ce))return Ks[ce].call(null,this)},triggerElectric:Ga(function(re){yr(this,re)}),findPosH:function(ce,Be,yt,Dt){var Kt=1;Be<0&&(Kt=-1,Be=-Be);for(var Yt=ht(this.doc,ce),Cr=0;Cr<Be&&!(Yt=Gr(this.doc,Yt,Kt,yt,Dt),Yt.hitSide);++Cr);return Yt},moveH:Ga(function(re,ce){var Be=this;this.extendSelectionsBy(function(yt){return Be.display.shift||Be.doc.extend||yt.empty()?Gr(Be.doc,yt.head,re,ce,Be.options.rtlMoveVisually):re<0?yt.from():yt.to()},ye)}),deleteH:Ga(function(re,ce){var Be=this.doc.sel,yt=this.doc;Be.somethingSelected()?yt.replaceSelection("",null,"+delete"):Qs(this,function(Dt){var Kt=Gr(yt,Dt.head,re,ce,!1);return re<0?{from:Kt,to:Dt.head}:{from:Dt.head,to:Kt}})}),findPosV:function(ce,Be,yt,Dt){var Kt=1,Yt=Dt;Be<0&&(Kt=-1,Be=-Be);for(var Cr=ht(this.doc,ce),Ur=0;Ur<Be;++Ur){var en=Mi(this,Cr,"div");if(Yt==null?Yt=en.left:en.left=Yt,Cr=dn(this,en,Kt,yt),Cr.hitSide)break}return Cr},moveV:Ga(function(re,ce){var Be=this,yt=this.doc,Dt=[],Kt=!this.display.shift&&!yt.extend&&yt.sel.somethingSelected();if(yt.extendSelectionsBy(function(Cr){if(Kt)return re<0?Cr.from():Cr.to();var Ur=Mi(Be,Cr.head,"div");Cr.goalColumn!=null&&(Ur.left=Cr.goalColumn),Dt.push(Ur.left);var en=dn(Be,Ur,re,ce);return ce=="page"&&Cr==yt.sel.primary()&&_o(Be,Ui(Be,en,"div").top-Ur.top),en},ye),Dt.length)for(var Yt=0;Yt<yt.sel.ranges.length;Yt++)yt.sel.ranges[Yt].goalColumn=Dt[Yt]}),findWordAt:function(ce){var Be=this.doc,yt=se(Be,ce.line).text,Dt=ce.ch,Kt=ce.ch;if(yt){var Yt=this.getHelper(ce,"wordChars");(ce.sticky=="before"||Kt==yt.length)&&Dt?--Dt:++Kt;for(var Cr=yt.charAt(Dt),Ur=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)};Dt>0&&Ur(yt.charAt(Dt-1));)--Dt;for(;Kt<yt.length&&Ur(yt.charAt(Kt));)++Kt}return new pe(Rt(ce.line,Dt),Rt(ce.line,Kt))},toggleOverwrite:function(ce){if(ce!=null&&ce==this.state.overwrite)return;(this.state.overwrite=!this.state.overwrite)?K(this.display.cursorDiv,"CodeMirror-overwrite"):y(this.display.cursorDiv,"CodeMirror-overwrite"),st(this,"overwriteToggle",this,this.state.overwrite)},hasFocus:function(){return this.display.input.getField()==j()},isReadOnly:function(){return!!(this.options.readOnly||this.doc.cantEdit)},scrollTo:Ga(function(re,ce){ki(this,re,ce)}),getScrollInfo:function(){var ce=this.display.scroller;return{left:ce.scrollLeft,top:ce.scrollTop,height:ce.scrollHeight-Mr(this)-this.display.barHeight,width:ce.scrollWidth-Mr(this)-this.display.barWidth,clientHeight:rn(this),clientWidth:Dr(this)}},scrollIntoView:Ga(function(re,ce){re==null?(re={from:this.doc.sel.primary().head,to:null},ce==null&&(ce=this.options.cursorScrollMargin)):typeof re=="number"?re={from:Rt(re,0),to:null}:re.from==null&&(re={from:re,to:null}),re.to||(re.to=re.from),re.margin=ce||0,re.from.line!=null?Za(this,re):pi(this,re.from,re.to,re.margin)}),setSize:Ga(function(re,ce){var Be=this,yt=function(Yt){return typeof Yt=="number"||/^\d+$/.test(String(Yt))?Yt+"px":Yt};re!=null&&(this.display.wrapper.style.width=yt(re)),ce!=null&&(this.display.wrapper.style.height=yt(ce)),this.options.lineWrapping&&Di(this);var Dt=this.display.viewFrom;this.doc.iter(Dt,this.display.viewTo,function(Kt){if(Kt.widgets){for(var Yt=0;Yt<Kt.widgets.length;Yt++)if(Kt.widgets[Yt].noHScroll){Ba(Be,Dt,"widget");break}}++Dt}),this.curOp.forceUpdate=!0,st(this,"refresh",this)}),operation:function(ce){return bo(this,ce)},startOperation:function(){return Ji(this)},endOperation:function(){return xo(this)},refresh:Ga(function(){var re=this.display.cachedTextHeight;gi(this),this.curOp.forceUpdate=!0,yi(this),ki(this,this.doc.scrollLeft,this.doc.scrollTop),Po(this.display),(re==null||Math.abs(re-Ai(this.display))>.5||this.options.lineWrapping)&&Aa(this),st(this,"refresh",this)}),swapDoc:Ga(function(re){var ce=this.doc;return ce.cm=null,this.state.selectingText&&this.state.selectingText(),Qn(this,re),yi(this),this.display.input.reset(),ki(this,re.scrollLeft,re.scrollTop),this.curOp.forceScroll=!0,Tr(this,"swapDoc",this,ce),ce}),phrase:function(ce){var Be=this.options.phrases;return Be&&Object.prototype.hasOwnProperty.call(Be,ce)?Be[ce]:ce},getInputField:function(){return this.display.input.getField()},getWrapperElement:function(){return this.display.wrapper},getScrollerElement:function(){return this.display.scroller},getGutterElement:function(){return this.display.gutters}},at(L),L.registerHelper=function(re,ce,Be){ee.hasOwnProperty(re)||(ee[re]=L[re]={_global:[]}),ee[re][ce]=Be},L.registerGlobalHelper=function(re,ce,Be,yt){L.registerHelper(re,ce,yt),ee[re]._global.push({pred:Be,val:yt})}}function Gr(L,k,ee,re,ce){var Be=k,yt=ee,Dt=se(L,k.line),Kt=ce&&L.direction=="rtl"?-ee:ee;function Yt(){var oi=k.line+Kt;return oi<L.first||oi>=L.first+L.size?!1:(k=new Rt(oi,k.ch,k.sticky),Dt=se(L,oi))}function Cr(oi){var li;if(re=="codepoint"){var $e=Dt.text.charCodeAt(k.ch+(re>0?0:-1));isNaN($e)?li=null:li=new Rt(k.line,Math.max(0,Math.min(Dt.text.length,k.ch+ee*($e>=55296&&$e<56320?2:1))),-ee)}else ce?li=El(L.cm,Dt,k,ee):li=il(Dt,k,ee);if(li==null)if(!oi&&Yt())k=fl(ce,L.cm,Dt,k.line,Kt);else return!1;else k=li;return!0}if(re=="char"||re=="codepoint")Cr();else if(re=="column")Cr(!0);else if(re=="word"||re=="group")for(var Ur=null,en=re=="group",nn=L.cm&&L.cm.getHelper(k,"wordChars"),xn=!0;!(ee<0&&!Cr(!xn));xn=!1){var Pn=Dt.text.charAt(k.ch)||`
|
|
|
`,Jn=V(Pn,nn)?"w":en&&Pn==`
|
|
|
`?"n":!en||/\s/.test(Pn)?null:"p";if(en&&!xn&&!Jn&&(Jn="s"),Ur&&Ur!=Jn){ee<0&&(ee=1,Cr(),k.sticky="after");break}if(Jn&&(Ur=Jn),ee>0&&!Cr(!xn))break}var Zn=Ms(L,k,Be,yt,!0);return Gt(Be,Zn)&&(Zn.hitSide=!0),Zn}function dn(L,k,ee,re){var ce=L.doc,Be=k.left,yt;if(re=="page"){var Dt=Math.min(L.display.wrapper.clientHeight,window.innerHeight||document.documentElement.clientHeight),Kt=Math.max(Dt-.5*Ai(L.display),3);yt=(ee>0?k.bottom:k.top)+ee*Kt}else re=="line"&&(yt=ee>0?k.bottom+3:k.top-3);for(var Yt;!(Yt=qi(L,Be,yt),!Yt.outside);){if(ee<0?yt<=0:yt>=ce.height){Yt.hitSide=!0;break}yt+=ee*5}return Yt}var pn=function(k){this.cm=k,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(L){var k=this,ee=this,re=ee.cm,ce=ee.div=L.lineDiv;Xr(ce,re.options.spellcheck,re.options.autocorrect,re.options.autocapitalize);function Be(Dt){for(var Kt=Dt.target;Kt;Kt=Kt.parentNode){if(Kt==ce)return!0;if(/\bCodeMirror-(?:line)?widget\b/.test(Kt.className))break}return!1}De(ce,"paste",function(Dt){if(!Be(Dt)||Xe(re,Dt)||lr(Dt,re))return;a<=11&&setTimeout(Ja(re,function(){return k.updateFromDOM()}),20)}),De(ce,"compositionstart",function(Dt){k.composing={data:Dt.data,done:!1}}),De(ce,"compositionupdate",function(Dt){k.composing||(k.composing={data:Dt.data,done:!1})}),De(ce,"compositionend",function(Dt){k.composing&&(Dt.data!=k.composing.data&&k.readFromDOMSoon(),k.composing.done=!0)}),De(ce,"touchstart",function(){return ee.forceCompositionEnd()}),De(ce,"input",function(){k.composing||k.readFromDOMSoon()});function yt(Dt){if(!Be(Dt)||Xe(re,Dt))return;if(re.somethingSelected())qt({lineWise:!1,text:re.getSelections()}),Dt.type=="cut"&&re.replaceSelection("",null,"cut");else if(re.options.lineWiseCopyCut){var Kt=Vr(re);qt({lineWise:!0,text:Kt.text}),Dt.type=="cut"&&re.operation(function(){re.setSelections(Kt.ranges,0,me),re.replaceSelection("",null,"cut")})}else return;if(Dt.clipboardData){Dt.clipboardData.clearData();var Yt=Ft.text.join(`
|
|
|
`);if(Dt.clipboardData.setData("Text",Yt),Dt.clipboardData.getData("Text")==Yt){Dt.preventDefault();return}}var Cr=Pr(),Ur=Cr.firstChild;re.display.lineSpace.insertBefore(Cr,re.display.lineSpace.firstChild),Ur.value=Ft.text.join(`
|
|
|
`);var en=document.activeElement;B(Ur),setTimeout(function(){re.display.lineSpace.removeChild(Cr),en.focus(),en==ce&&ee.showPrimarySelection()},50)}De(ce,"copy",yt),De(ce,"cut",yt)},pn.prototype.screenReaderLabelChanged=function(L){L?this.div.setAttribute("aria-label",L):this.div.removeAttribute("aria-label")},pn.prototype.prepareSelection=function(){var L=Ki(this.cm,!1);return L.focus=document.activeElement==this.div,L},pn.prototype.showSelection=function(L,k){if(!L||!this.cm.display.view.length)return;(L.focus||k)&&this.showPrimarySelection(),this.showMultipleSelections(L)},pn.prototype.getSelection=function(){return this.cm.display.wrapper.ownerDocument.getSelection()},pn.prototype.showPrimarySelection=function(){var L=this.getSelection(),k=this.cm,ee=k.doc.sel.primary(),re=ee.from(),ce=ee.to();if(k.display.viewTo==k.display.viewFrom||re.line>=k.display.viewTo||ce.line<k.display.viewFrom){L.removeAllRanges();return}var Be=Si(k,L.anchorNode,L.anchorOffset),yt=Si(k,L.focusNode,L.focusOffset);if(Be&&!Be.bad&&yt&&!yt.bad&&zt(dr(Be,yt),re)==0&&zt(Mt(Be,yt),ce)==0)return;var Dt=k.display.view,Kt=re.line>=k.display.viewFrom&&ei(k,re)||{node:Dt[0].measure.map[2],offset:0},Yt=ce.line<k.display.viewTo&&ei(k,ce);if(!Yt){var Cr=Dt[Dt.length-1].measure,Ur=Cr.maps?Cr.maps[Cr.maps.length-1]:Cr.map;Yt={node:Ur[Ur.length-1],offset:Ur[Ur.length-2]-Ur[Ur.length-3]}}if(!Kt||!Yt){L.removeAllRanges();return}var en=L.rangeCount&&L.getRangeAt(0),nn;try{nn=F(Kt.node,Kt.offset,Yt.offset,Yt.node)}catch(xn){}nn&&(!A&&k.state.focused?(L.collapse(Kt.node,Kt.offset),nn.collapsed||(L.removeAllRanges(),L.addRange(nn))):(L.removeAllRanges(),L.addRange(nn)),en&&L.anchorNode==null?L.addRange(en):A&&this.startGracePeriod()),this.rememberSelection()},pn.prototype.startGracePeriod=function(){var L=this;clearTimeout(this.gracePeriod),this.gracePeriod=setTimeout(function(){L.gracePeriod=!1,L.selectionChanged()&&L.cm.operation(function(){return L.cm.curOp.selectionChanged=!0})},20)},pn.prototype.showMultipleSelections=function(L){O(this.cm.display.cursorDiv,L.cursors),O(this.cm.display.selectionDiv,L.selection)},pn.prototype.rememberSelection=function(){var L=this.getSelection();this.lastAnchorNode=L.anchorNode,this.lastAnchorOffset=L.anchorOffset,this.lastFocusNode=L.focusNode,this.lastFocusOffset=L.focusOffset},pn.prototype.selectionInEditor=function(){var L=this.getSelection();if(!L.rangeCount)return!1;var k=L.getRangeAt(0).commonAncestorContainer;return P(this.div,k)},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 L=this;this.selectionInEditor()?this.pollSelection():bo(this.cm,function(){return L.cm.curOp.selectionChanged=!0});function k(){L.cm.state.focused&&(L.pollSelection(),L.polling.set(L.cm.options.pollInterval,k))}this.polling.set(this.cm.options.pollInterval,k)},pn.prototype.selectionChanged=function(){var L=this.getSelection();return L.anchorNode!=this.lastAnchorNode||L.anchorOffset!=this.lastAnchorOffset||L.focusNode!=this.lastFocusNode||L.focusOffset!=this.lastFocusOffset},pn.prototype.pollSelection=function(){if(this.readDOMTimeout!=null||this.gracePeriod||!this.selectionChanged())return;var L=this.getSelection(),k=this.cm;if(u&&o&&this.cm.display.gutterSpecs.length&&ci(L.anchorNode)){this.cm.triggerOnKeyDown({type:"keydown",keyCode:8,preventDefault:Math.abs}),this.blur(),this.focus();return}if(this.composing)return;this.rememberSelection();var ee=Si(k,L.anchorNode,L.anchorOffset),re=Si(k,L.focusNode,L.focusOffset);ee&&re&&bo(k,function(){Eo(k.doc,Ne(ee,re),me),(ee.bad||re.bad)&&(k.curOp.selectionChanged=!0)})},pn.prototype.pollContent=function(){this.readDOMTimeout!=null&&(clearTimeout(this.readDOMTimeout),this.readDOMTimeout=null);var L=this.cm,k=L.display,ee=L.doc.sel.primary(),re=ee.from(),ce=ee.to();if(re.ch==0&&re.line>L.firstLine()&&(re=Rt(re.line-1,se(L.doc,re.line-1).length)),ce.ch==se(L.doc,ce.line).text.length&&ce.line<L.lastLine()&&(ce=Rt(ce.line+1,0)),re.line<k.viewFrom||ce.line>k.viewTo-1)return!1;var Be,yt,Dt;re.line==k.viewFrom||(Be=la(L,re.line))==0?(yt=rt(k.view[0].line),Dt=k.view[0].node):(yt=rt(k.view[Be].line),Dt=k.view[Be-1].node.nextSibling);var Kt=la(L,ce.line),Yt,Cr;if(Kt==k.view.length-1?(Yt=k.viewTo-1,Cr=k.lineDiv.lastChild):(Yt=rt(k.view[Kt+1].line)-1,Cr=k.view[Kt+1].node.previousSibling),!Dt)return!1;for(var Ur=L.doc.splitLines(Zi(L,Dt,Cr,yt,Yt)),en=Oe(L.doc,Rt(yt,0),Rt(Yt,se(L.doc,Yt).text.length));Ur.length>1&&en.length>1;)if(Me(Ur)==Me(en))Ur.pop(),en.pop(),Yt--;else if(Ur[0]==en[0])Ur.shift(),en.shift(),yt++;else break;for(var nn=0,xn=0,Pn=Ur[0],Jn=en[0],Zn=Math.min(Pn.length,Jn.length);nn<Zn&&Pn.charCodeAt(nn)==Jn.charCodeAt(nn);)++nn;for(var oi=Me(Ur),li=Me(en),$e=Math.min(oi.length-(Ur.length==1?nn:0),li.length-(en.length==1?nn:0));xn<$e&&oi.charCodeAt(oi.length-xn-1)==li.charCodeAt(li.length-xn-1);)++xn;if(Ur.length==1&&en.length==1&&yt==re.line)for(;nn&&nn>re.ch&&oi.charCodeAt(oi.length-xn-1)==li.charCodeAt(li.length-xn-1);)nn--,xn++;Ur[Ur.length-1]=oi.slice(0,oi.length-xn).replace(/^\u200b+/,""),Ur[0]=Ur[0].slice(nn).replace(/\u200b+$/,"");var ie=Rt(yt,nn),He=Rt(Yt,en.length?Me(en).length-xn:0);if(Ur.length>1||Ur[0]||zt(ie,He))return qo(L.doc,Ur,ie,He,"+input"),!0},pn.prototype.ensurePolled=function(){this.forceCompositionEnd()},pn.prototype.reset=function(){this.forceCompositionEnd()},pn.prototype.forceCompositionEnd=function(){if(!this.composing)return;clearTimeout(this.readDOMTimeout),this.composing=null,this.updateFromDOM(),this.div.blur(),this.div.focus()},pn.prototype.readFromDOMSoon=function(){var L=this;if(this.readDOMTimeout!=null)return;this.readDOMTimeout=setTimeout(function(){if(L.readDOMTimeout=null,L.composing)if(L.composing.done)L.composing=null;else return;L.updateFromDOM()},80)},pn.prototype.updateFromDOM=function(){var L=this;(this.cm.isReadOnly()||!this.pollContent())&&bo(this.cm,function(){return gi(L.cm)})},pn.prototype.setUneditable=function(L){L.contentEditable="false"},pn.prototype.onKeyPress=function(L){if(L.charCode==0||this.composing)return;L.preventDefault(),this.cm.isReadOnly()||Ja(this.cm,ar)(this.cm,String.fromCharCode(L.charCode==null?L.keyCode:L.charCode),0)},pn.prototype.readOnlyChanged=function(L){this.div.contentEditable=String(L!="nocursor")},pn.prototype.onContextMenu=function(){},pn.prototype.resetPosition=function(){},pn.prototype.needsContentAttribute=!0;function ei(L,k){var ee=bn(L,k.line);if(!ee||ee.hidden)return null;var re=se(L.doc,k.line),ce=wn(ee,re,k.line),Be=ze(re,L.doc.direction),yt="left";if(Be){var Dt=ge(Be,k.ch);yt=Dt%2?"right":"left"}var Kt=En(ce.map,k.ch,yt);return Kt.offset=Kt.collapse=="right"?Kt.end:Kt.start,Kt}function ci(L){for(var k=L;k;k=k.parentNode)if(/CodeMirror-gutter-wrapper/.test(k.className))return!0;return!1}function ii(L,k){return k&&(L.bad=!0),L}function Zi(L,k,ee,re,ce){var Be="",yt=!1,Dt=L.doc.lineSeparator(),Kt=!1;function Yt(nn){return function(xn){return xn.id==nn}}function Cr(){yt&&(Be+=Dt,Kt&&(Be+=Dt),yt=Kt=!1)}function Ur(nn){nn&&(Cr(),Be+=nn)}function en(nn){if(nn.nodeType==1){var xn=nn.getAttribute("cm-text");if(xn){Ur(xn);return}var Pn=nn.getAttribute("cm-marker"),Jn;if(Pn){var Zn=L.findMarks(Rt(re,0),Rt(ce+1,0),Yt(+Pn));Zn.length&&(Jn=Zn[0].find(0))&&Ur(Oe(L.doc,Jn.from,Jn.to).join(Dt));return}if(nn.getAttribute("contenteditable")=="false")return;var oi=/^(pre|div|p|li|table|br)$/i.test(nn.nodeName);if(!/^br$/i.test(nn.nodeName)&&nn.textContent.length==0)return;oi&&Cr();for(var li=0;li<nn.childNodes.length;li++)en(nn.childNodes[li]);/^(pre|p)$/i.test(nn.nodeName)&&(Kt=!0),oi&&(yt=!0)}else nn.nodeType==3&&Ur(nn.nodeValue.replace(/\u200b/g,"").replace(/\u00a0/g," "))}for(;!(en(k),k==ee);)k=k.nextSibling,Kt=!1;return Be}function Si(L,k,ee){var re;if(k==L.display.lineDiv){if(re=L.display.lineDiv.childNodes[ee],!re)return ii(L.clipPos(Rt(L.display.viewTo-1)),!0);k=null,ee=0}else for(re=k;;re=re.parentNode){if(!re||re==L.display.lineDiv)return null;if(re.parentNode&&re.parentNode==L.display.lineDiv)break}for(var ce=0;ce<L.display.view.length;ce++){var Be=L.display.view[ce];if(Be.node==re)return Va(Be,k,ee)}}function Va(L,k,ee){var re=L.text.firstChild,ce=!1;if(!k||!P(re,k))return ii(Rt(rt(L.line),0),!0);if(k==re&&(ce=!0,k=re.childNodes[ee],ee=0,!k)){var Be=L.rest?Me(L.rest):L.line;return ii(Rt(rt(Be),Be.text.length),ce)}var yt=k.nodeType==3?k:null,Dt=k;for(!yt&&k.childNodes.length==1&&k.firstChild.nodeType==3&&(yt=k.firstChild,ee&&(ee=yt.nodeValue.length));Dt.parentNode!=re;)Dt=Dt.parentNode;var Kt=L.measure,Yt=Kt.maps;function Cr(Jn,Zn,oi){for(var li=-1;li<(Yt?Yt.length:0);li++)for(var $e=li<0?Kt.map:Yt[li],ie=0;ie<$e.length;ie+=3){var He=$e[ie+2];if(He==Jn||He==Zn){var tt=rt(li<0?L.line:L.rest[li]),Ot=$e[ie]+oi;return(oi<0||He!=Jn)&&(Ot=$e[ie+(oi?1:0)]),Rt(tt,Ot)}}}var Ur=Cr(yt,Dt,ee);if(Ur)return ii(Ur,ce);for(var en=Dt.nextSibling,nn=yt?yt.nodeValue.length-ee:0;en;en=en.nextSibling){if(Ur=Cr(en,en.firstChild,0),Ur)return ii(Rt(Ur.line,Ur.ch-nn),ce);nn+=en.textContent.length}for(var xn=Dt.previousSibling,Pn=ee;xn;xn=xn.previousSibling){if(Ur=Cr(xn,xn.firstChild,-1),Ur)return ii(Rt(Ur.line,Ur.ch+Pn),ce);Pn+=xn.textContent.length}}var Ei=function(k){this.cm=k,this.prevInput="",this.pollingFast=!1,this.polling=new X,this.hasSelection=!1,this.composing=null};Ei.prototype.init=function(L){var k=this,ee=this,re=this.cm;this.createField(L);var ce=this.textarea;L.wrapper.insertBefore(this.wrapper,L.wrapper.firstChild),s&&(ce.style.width="0px"),De(ce,"input",function(){c&&a>=9&&k.hasSelection&&(k.hasSelection=null),ee.poll()}),De(ce,"paste",function(yt){if(Xe(re,yt)||lr(yt,re))return;re.state.pasteIncoming=+new Date,ee.fastPoll()});function Be(yt){if(Xe(re,yt))return;if(re.somethingSelected())qt({lineWise:!1,text:re.getSelections()});else if(re.options.lineWiseCopyCut){var Dt=Vr(re);qt({lineWise:!0,text:Dt.text}),yt.type=="cut"?re.setSelections(Dt.ranges,null,me):(ee.prevInput="",ce.value=Dt.text.join(`
|
|
|
`),B(ce))}else return;yt.type=="cut"&&(re.state.cutIncoming=+new Date)}De(ce,"cut",Be),De(ce,"copy",Be),De(L.scroller,"paste",function(yt){if(xt(L,yt)||Xe(re,yt))return;if(!ce.dispatchEvent){re.state.pasteIncoming=+new Date,ee.focus();return}var Dt=new Event("paste");Dt.clipboardData=yt.clipboardData,ce.dispatchEvent(Dt)}),De(L.lineSpace,"selectstart",function(yt){xt(L,yt)||Ve(yt)}),De(ce,"compositionstart",function(){var yt=re.getCursor("from");ee.composing&&ee.composing.range.clear(),ee.composing={start:yt,range:re.markText(yt,re.getCursor("to"),{className:"CodeMirror-composing"})}}),De(ce,"compositionend",function(){ee.composing&&(ee.poll(),ee.composing.range.clear(),ee.composing=null)})},Ei.prototype.createField=function(L){this.wrapper=Pr(),this.textarea=this.wrapper.firstChild},Ei.prototype.screenReaderLabelChanged=function(L){L?this.textarea.setAttribute("aria-label",L):this.textarea.removeAttribute("aria-label")},Ei.prototype.prepareSelection=function(){var L=this.cm,k=L.display,ee=L.doc,re=Ki(L);if(L.options.moveInputWithCursor){var ce=Mi(L,ee.sel.primary().head,"div"),Be=k.wrapper.getBoundingClientRect(),yt=k.lineDiv.getBoundingClientRect();re.teTop=Math.max(0,Math.min(k.wrapper.clientHeight-10,ce.top+yt.top-Be.top)),re.teLeft=Math.max(0,Math.min(k.wrapper.clientWidth-10,ce.left+yt.left-Be.left))}return re},Ei.prototype.showSelection=function(L){var k=this.cm,ee=k.display;O(ee.cursorDiv,L.cursors),O(ee.selectionDiv,L.selection),L.teTop!=null&&(this.wrapper.style.top=L.teTop+"px",this.wrapper.style.left=L.teLeft+"px")},Ei.prototype.reset=function(L){if(this.contextMenuPending||this.composing)return;var k=this.cm;if(k.somethingSelected()){this.prevInput="";var ee=k.getSelection();this.textarea.value=ee,k.state.focused&&B(this.textarea),c&&a>=9&&(this.hasSelection=ee)}else L||(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||j()!=this.textarea))try{this.textarea.focus()}catch(L){}},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 L=this;if(this.pollingFast)return;this.polling.set(this.cm.options.pollInterval,function(){L.poll(),L.cm.state.focused&&L.slowPoll()})},Ei.prototype.fastPoll=function(){var L=!1,k=this;k.pollingFast=!0;function ee(){var re=k.poll();!re&&!L?(L=!0,k.polling.set(60,ee)):(k.pollingFast=!1,k.slowPoll())}k.polling.set(20,ee)},Ei.prototype.poll=function(){var L=this,k=this.cm,ee=this.textarea,re=this.prevInput;if(this.contextMenuPending||!k.state.focused||Pt(ee)&&!re&&!this.composing||k.isReadOnly()||k.options.disableInput||k.state.keySeq)return!1;var ce=ee.value;if(ce==re&&!k.somethingSelected())return!1;if(c&&a>=9&&this.hasSelection===ce||x&&/[\uf700-\uf7ff]/.test(ce))return k.display.input.reset(),!1;if(k.doc.sel==k.display.selForContextMenu){var Be=ce.charCodeAt(0);if(Be==8203&&!re&&(re="\u200B"),Be==8666)return this.reset(),this.cm.execCommand("undo")}for(var yt=0,Dt=Math.min(re.length,ce.length);yt<Dt&&re.charCodeAt(yt)==ce.charCodeAt(yt);)++yt;return bo(k,function(){ar(k,ce.slice(yt),re.length-yt,null,L.composing?"*compose":null),ce.length>1e3||ce.indexOf(`
|
|
|
`)>-1?ee.value=L.prevInput="":L.prevInput=ce,L.composing&&(L.composing.range.clear(),L.composing.range=k.markText(L.composing.start,k.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(L){var k=this,ee=k.cm,re=ee.display,ce=k.textarea;k.contextMenuPending&&k.contextMenuPending();var Be=ca(ee,L),yt=re.scroller.scrollTop;if(!Be||d)return;var Dt=ee.options.resetSelectionOnContextMenu;Dt&&ee.doc.sel.contains(Be)==-1&&Ja(ee,Eo)(ee.doc,Ne(Be),me);var Kt=ce.style.cssText,Yt=k.wrapper.style.cssText,Cr=k.wrapper.offsetParent.getBoundingClientRect();k.wrapper.style.cssText="position: static",ce.style.cssText=`position: absolute; width: 30px; height: 30px;
|
|
|
top: `+(L.clientY-Cr.top-5)+"px; left: "+(L.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),re.input.focus(),i&&window.scrollTo(null,Ur),re.input.reset(),ee.somethingSelected()||(ce.value=k.prevInput=" "),k.contextMenuPending=nn,re.selForContextMenu=ee.doc.sel,clearTimeout(re.detectingSelectAll);function en(){if(ce.selectionStart!=null){var Pn=ee.somethingSelected(),Jn="\u200B"+(Pn?ce.value:"");ce.value="\u21DA",ce.value=Jn,k.prevInput=Pn?"":"\u200B",ce.selectionStart=1,ce.selectionEnd=Jn.length,re.selForContextMenu=ee.doc.sel}}function nn(){if(k.contextMenuPending!=nn)return;if(k.contextMenuPending=!1,k.wrapper.style.cssText=Yt,ce.style.cssText=Kt,c&&a<9&&re.scrollbars.setScrollTop(re.scroller.scrollTop=yt),ce.selectionStart!=null){(!c||c&&a<9)&&en();var Pn=0,Jn=function Zn(){re.selForContextMenu==ee.doc.sel&&ce.selectionStart==0&&ce.selectionEnd>0&&k.prevInput=="\u200B"?Ja(ee,ks)(ee):Pn++<10?re.detectingSelectAll=setTimeout(Zn,500):(re.selForContextMenu=null,re.input.reset())};re.detectingSelectAll=setTimeout(Jn,200)}}if(c&&a>=9&&en(),C){lt(L);var xn=function Pn(){je(window,"mouseup",Pn),setTimeout(nn,20)};De(window,"mouseup",xn)}else setTimeout(nn,50)},Ei.prototype.readOnlyChanged=function(L){L||this.reset(),this.textarea.disabled=L=="nocursor",this.textarea.readOnly=!!L},Ei.prototype.setUneditable=function(){},Ei.prototype.needsContentAttribute=!1;function co(L,k){if(k=k?H(k):{},k.value=L.value,!k.tabindex&&L.tabIndex&&(k.tabindex=L.tabIndex),!k.placeholder&&L.placeholder&&(k.placeholder=L.placeholder),k.autofocus==null){var ee=j();k.autofocus=ee==L||L.getAttribute("autofocus")!=null&&ee==document.body}function re(){L.value=Dt.getValue()}var ce;if(L.form&&(De(L.form,"submit",re),!k.leaveSubmitMethodAlone)){var Be=L.form;ce=Be.submit;try{var yt=Be.submit=function(){re(),Be.submit=ce,Be.submit(),Be.submit=yt}}catch(Kt){}}k.finishInit=function(Kt){Kt.save=re,Kt.getTextArea=function(){return L},Kt.toTextArea=function(){Kt.toTextArea=isNaN,re(),L.parentNode.removeChild(Kt.getWrapperElement()),L.style.display="",L.form&&(je(L.form,"submit",re),!k.leaveSubmitMethodAlone&&typeof L.form.submit=="function"&&(L.form.submit=ce))}},L.style.display="none";var Dt=ut(function(Kt){return L.parentNode.insertBefore(Kt,L.nextSibling)},k);return Dt}function zo(L){L.off=je,L.on=De,L.wheelEventPixels=Vs,L.Doc=es,L.splitLines=or,L.countColumn=z,L.findColumn=Ae,L.isWordChar=Q,L.Pass=q,L.signal=st,L.Line=ni,L.changeEnd=Qe,L.scrollbarModel=ro,L.Pos=Rt,L.cmpPos=zt,L.modes=we,L.mimeModes=Fe,L.resolveMode=qe,L.getMode=Ke,L.modeExtensions=ct,L.extendMode=wt,L.copyState=Lt,L.startState=xe,L.innerMode=de,L.commands=Ks,L.keyMap=Ss,L.keyName=Vl,L.isModifierKey=Sl,L.lookupKey=Bs,L.normalizeKeyMap=nl,L.StringStream=$,L.SharedTextMarker=el,L.TextMarker=Is,L.LineWidget=ll,L.e_preventDefault=Ve,L.e_stopPropagation=le,L.e_stop=lt,L.addClass=K,L.contains=P,L.rmClass=y,L.keyNames=Fs}uc(ut),Fr(ut);var ao="iter insert remove copy getEditor constructor".split(" ");for(var Uo in es.prototype)es.prototype.hasOwnProperty(Uo)&&W(ao,Uo)<0&&(ut.prototype[Uo]=function(L){return function(){return L.apply(this.doc,arguments)}}(es.prototype[Uo]));return at(es),ut.inputStyles={textarea:Ei,contenteditable:pn},ut.defineMode=function(L){!ut.defaults.mode&&L!="null"&&(ut.defaults.mode=L),Ye.apply(this,arguments)},ut.defineMIME=Ge,ut.defineMode("null",function(){return{token:function(k){return k.skipToEnd()}}}),ut.defineMIME("text/plain","null"),ut.defineExtension=function(L,k){ut.prototype[L]=k},ut.defineDocExtension=function(L,k){es.prototype[L]=k},ut.fromTextArea=co,zo(ut),ut.version="5.58.2",ut})},Vy0f:function(R,D,e){"use strict";Object.defineProperty(D,"__esModule",{value:!0}),D.default=void 0;var g=f(e("iYpf"));function f(m){return m&&m.__esModule?m:{default:m}}var A=g;D.default=A,R.exports=A},W2nI:function(R,D,e){var g=e("IwbS"),f=e("ProS"),A=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(x){x.type!=="group"&&x.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(),x=this.group,S=l.layoutInfo,T=S.width,w=S.height,E=l.getData(),C=l.getData("edge"),_=l.get("orient");this._model=l,x.removeAll(),x.attr("position",[S.x,S.y]),p.eachEdge(function(y){var b=new o;b.dataIndex=y.dataIndex,b.seriesIndex=l.seriesIndex,b.dataType="edge";var O=y.getModel("lineStyle"),I=O.get("curveness"),M=y.node1.getLayout(),F=y.node1.getModel(),P=F.get("localX"),j=F.get("localY"),K=y.node2.getLayout(),N=y.node2.getModel(),B=N.get("localX"),U=N.get("localY"),H=y.getLayout(),z,X,W,Y,q,me,G,ye;b.shape.extent=Math.max(1,H.dy),b.shape.orient=_,_==="vertical"?(z=(P!=null?P*T:M.x)+H.sy,X=(j!=null?j*w:M.y)+M.dy,W=(B!=null?B*T:K.x)+H.ty,Y=U!=null?U*w:K.y,q=z,me=X*(1-I)+Y*I,G=W,ye=X*I+Y*(1-I)):(z=(P!=null?P*T:M.x)+M.dx,X=(j!=null?j*w:M.y)+H.sy,W=B!=null?B*T:K.x,Y=(U!=null?U*w:K.y)+H.ty,q=z*(1-I)+W*I,me=X,G=z*I+W*(1-I),ye=Y),b.setShape({x1:z,y1:X,x2:W,y2:Y,cpx1:q,cpy1:me,cpx2:G,cpy2:ye}),b.setStyle(O.getItemStyle());switch(b.style.fill){case"source":b.style.fill=y.node1.getVisual("color");break;case"target":b.style.fill=y.node2.getVisual("color");break}g.setHoverStyle(b,y.getModel("emphasis.lineStyle").getItemStyle()),x.add(b),C.setItemGraphicEl(y.dataIndex,b)}),p.eachNode(function(y){var b=y.getLayout(),O=y.getModel(),I=O.get("localX"),M=O.get("localY"),F=O.getModel("label"),P=O.getModel("emphasis.label"),j=new g.Rect({shape:{x:I!=null?I*T:b.x,y:M!=null?M*w:b.y,width:b.dx,height:b.dy},style:O.getModel("itemStyle").getItemStyle()}),K=y.getModel("emphasis.itemStyle").getItemStyle();g.setLabelStyle(j.style,K,F,P,{labelFetcher:l,labelDataIndex:y.dataIndex,defaultText:y.id,isRectText:!0}),j.setStyle("fill",y.getVisual("color")),g.setHoverStyle(j,K),x.add(j),E.setItemGraphicEl(y.dataIndex,j),j.dataType="node"}),E.eachItemGraphicEl(function(y,b){var O=E.getItemModel(b);O.get("draggable")&&(y.drift=function(I,M){u._focusAdjacencyDisabled=!0,this.shape.x+=I,this.shape.y+=M,this.dirty(),s.dispatchAction({type:"dragNode",seriesId:l.id,dataIndex:E.getRawIndex(b),localX:this.shape.x/T,localY:this.shape.y/w})},y.ondragend=function(){u._focusAdjacencyDisabled=!1},y.draggable=!0,y.cursor="move"),y.highlight=function(){this.trigger("emphasis")},y.downplay=function(){this.trigger("normal")},y.focusNodeAdjHandler&&y.off("mouseover",y.focusNodeAdjHandler),y.unfocusNodeAdjHandler&&y.off("mouseout",y.unfocusNodeAdjHandler),O.get("focusNodeAdjacency")&&(y.on("mouseover",y.focusNodeAdjHandler=function(){u._focusAdjacencyDisabled||(u._clearTimer(),s.dispatchAction({type:"focusNodeAdjacency",seriesId:l.id,dataIndex:y.dataIndex}))}),y.on("mouseout",y.unfocusNodeAdjHandler=function(){u._focusAdjacencyDisabled||u._dispatchUnfocus(s)}))}),C.eachItemGraphicEl(function(y,b){var O=C.getItemModel(b);y.focusNodeAdjHandler&&y.off("mouseover",y.focusNodeAdjHandler),y.unfocusNodeAdjHandler&&y.off("mouseout",y.unfocusNodeAdjHandler),O.get("focusNodeAdjacency")&&(y.on("mouseover",y.focusNodeAdjHandler=function(){u._focusAdjacencyDisabled||(u._clearTimer(),s.dispatchAction({type:"focusNodeAdjacency",seriesId:l.id,edgeDataIndex:y.dataIndex}))}),y.on("mouseout",y.unfocusNodeAdjHandler=function(){u._focusAdjacencyDisabled||u._dispatchUnfocus(s)}))}),!this._data&&l.get("animation")&&x.setClipPath(n(x.getBoundingRect(),l,function(){x.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(),x=p.graph,S=u.dataIndex,T=p.getItemModel(S),w=u.edgeDataIndex;if(S==null&&w==null)return;var E=x.getNodeByIndex(S),C=x.getEdgeByIndex(w);if(x.eachNode(function(y){i(y,m,.1)}),x.eachEdge(function(y){i(y,h,.1)}),E){r(E,v);var _=T.get("focusNodeAdjacency");_==="outEdges"?A.each(E.outEdges,function(y){if(y.dataIndex<0)return;r(y,c),r(y.node2,v)}):_==="inEdges"?A.each(E.inEdges,function(y){if(y.dataIndex<0)return;r(y,c),r(y.node1,v)}):_==="allEdges"&&A.each(E.edges,function(y){if(y.dataIndex<0)return;r(y,c),y.node1!==E&&r(y.node1,v),y.node2!==E&&r(y.node2,v)})}C&&(r(C,c),r(C.node1,v),r(C.node2,v))},unfocusNodeAdjacency:function(l,t,s,u){var p=l.getGraph();p.eachNode(function(x){i(x,m)}),p.eachEdge(function(x){i(x,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}R.exports=d},W4dC:function(R,D,e){var g=e("Tghj"),f=g.__DEV__,A=e("bYtY"),m=A.each,v=A.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=[],x=v(),S=v(),T,w=l(t);return m(w,function(E){var C=r[E.type].load(t,E,u);m(C.regions,function(y){var b=y.name;s&&s.hasOwnProperty(b)&&(y=y.cloneShallow(b=s[b])),p.push(y),x.set(b,y),S.set(b,y.center)});var _=C.boundingRect;_&&(T?T.union(_):T=_.clone())}),{regions:p,regionsMap:x,nameCoordMap:S,boundingRect:T||new i(0,0,0,0)}},makeGraphic:d("makeGraphic"),removeGraphic:d("removeGraphic")};function d(t){return function(s,u){var p=l(s),x=[];return m(p,function(S){var T=r[S.type][t];T&&x.push(T(s,S,u))}),x}}function n(t){}function l(t){var s=h.retrieveMap(t)||[];return s}R.exports=o},WGYa:function(R,D,e){var g=e("7yuC"),f=g.forceLayout,A=e("HF/U"),m=A.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,x=n.getModel("force"),S=x.get("initLayout");n.preservedPoints?u.each(function(F){var P=u.getId(F);u.setItemLayout(F,t[P]||[NaN,NaN])}):!S||S==="none"?m(n):S==="circular"&&h(n,"value");var T=u.getDataExtent("value"),w=p.getDataExtent("value"),E=x.get("repulsion"),C=x.get("edgeLength");r.isArray(E)||(E=[E,E]),r.isArray(C)||(C=[C,C]),C=[C[1],C[0]];var _=u.mapArray("value",function(F,P){var j=u.getItemLayout(P),K=a(F,T,E);return isNaN(K)&&(K=(E[0]+E[1])/2),{w:K,rep:K,fixed:u.getItemModel(P).get("fixed"),p:!j||isNaN(j[0])||isNaN(j[1])?null:j}}),y=p.mapArray("value",function(F,P){var j=s.getEdgeByIndex(P),K=a(F,w,C);isNaN(K)&&(K=(C[0]+C[1])/2);var N=j.getModel();return{n1:_[j.node1.dataIndex],n2:_[j.node2.dataIndex],d:K,curveness:N.get("lineStyle.curveness")||0,ignoreForceLayout:N.get("ignoreForceLayout")}}),l=n.coordinateSystem,b=l.getBoundingRect(),O=f(_,y,{rect:b,gravity:x.get("gravity"),friction:x.get("friction")}),I=O.step;O.step=function(F){for(var P=0,j=_.length;P<j;P++)_[P].fixed&&i.copy(_[P].p,s.getNodeByIndex(P).getLayout());I(function(K,N,B){for(var U=0,H=K.length;U<H;U++)K[U].fixed||s.getNodeByIndex(U).setLayout(K[U].p),t[u.getId(U)]=K[U].p;for(var U=0,H=N.length;U<H;U++){var z=N[U],X=s.getEdgeByIndex(U),W=z.n1.p,Y=z.n2.p,q=X.getLayout();q=q?q.slice():[],q[0]=q[0]||[],q[1]=q[1]||[],i.copy(q[0],W),i.copy(q[1],Y),+z.curveness&&(q[2]=[(W[0]+Y[0])/2-(W[1]-Y[1])*z.curveness,(W[1]+Y[1])/2-(Y[0]-W[0])*z.curveness]),X.setLayout(q)}F&&F(B)})},n.forceLayout=O,n.preservedPoints=t,O.step()}else n.forceLayout=null})}R.exports=o},WKfj:function(R,D,e){"use strict";e.d(D,"d",function(){return f}),e.d(D,"e",function(){return A}),e.d(D,"f",function(){return m}),e.d(D,"c",function(){return v}),e.d(D,"b",function(){return c}),e.d(D,"a",function(){return i});var g=e("KQm4");function f(r){return Array.isArray(r)?r:r!==void 0?[r]:[]}function A(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(R,D,e){var g=e("bYtY"),f=e("IwbS");function A(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 x=0;x<l.length;x++){var S=s.get(l[x].tickValue);if(S!=null){p=(S+(t-1)*x)%t;break}}var T=i.toGlobalCoord(l[0].coord),w=o.getAreaStyle();d=g.isArray(d)?d:[d];for(var x=1;x<l.length;x++){var E=i.toGlobalCoord(l[x].coord),C,_,y,b;i.isHorizontal()?(C=T,_=n.y,y=E-C,b=n.height,T=C+y):(C=n.x,_=T,y=n.width,b=E-_,T=_+b);var O=l[x-1].tickValue;O!=null&&u.set(O,p),h.add(new f.Rect({anid:O!=null?"area_"+O:null,shape:{x:C,y:_,width:y,height:b},style:g.defaults({fill:d[p]},w),silent:!0})),p=(p+1)%t}v.__splitAreaColors=u}function m(v){v.__splitAreaColors=null}D.rectCoordAxisBuildSplitArea=A,D.rectCoordAxisHandleRemove=m},WXVj:function(R,D,e){"use strict";var g=e("TqRt"),f=e("284h");Object.defineProperty(D,"__esModule",{value:!0}),D.default=void 0;var A=f(e("q1tI")),m=g(e("Bqw1")),v=g(e("KQxl")),h=function(i,r){return A.createElement(v.default,Object.assign({},i,{ref:r,icon:m.default}))};h.displayName="MinusSquareOutlined";var c=A.forwardRef(h);D.default=c},WaYH:function(R,D,e){"use strict";var g=e("rePB"),f=e("Ff2n"),A=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(C){var _=C.prefixCls,y=C.level,b=C.isStart,O=C.isEnd;if(!y)return null;for(var I="".concat(_,"-indent-unit"),M=[],F=0;F<y;F+=1){var P;M.push(i.createElement("span",{key:F,className:o()(I,(P={},Object(g.a)(P,"".concat(I,"-start"),b[F+1]),Object(g.a)(P,"".concat(I,"-end"),O[F+1]),Object(g.a)(P,"".concat(I,"-end-first-level"),!F&&O[0]),P))}))}return i.createElement("span",{"aria-hidden":"true",className:"".concat(_,"-indent")},M)},t=l,s=e("815F"),u="open",p="close",x="---",S=function(E){Object(c.a)(_,E);var C=Object(a.a)(_);function _(){var y;return Object(m.a)(this,_),y=C.apply(this,arguments),y.state={dragNodeHighlight:!1},y.onSelectorClick=function(b){var O=y.props.context.onNodeClick;O(b,Object(s.b)(y.props)),y.isSelectable()?y.onSelect(b):y.onCheck(b)},y.onSelectorDoubleClick=function(b){var O=y.props.context.onNodeDoubleClick;O(b,Object(s.b)(y.props))},y.onSelect=function(b){if(y.isDisabled())return;var O=y.props.context.onNodeSelect;b.preventDefault(),O(b,Object(s.b)(y.props))},y.onCheck=function(b){if(y.isDisabled())return;var O=y.props,I=O.disableCheckbox,M=O.checked,F=y.props.context.onNodeCheck;if(!y.isCheckable()||I)return;b.preventDefault();var P=!M;F(b,Object(s.b)(y.props),P)},y.onMouseEnter=function(b){var O=y.props.context.onNodeMouseEnter;O(b,Object(s.b)(y.props))},y.onMouseLeave=function(b){var O=y.props.context.onNodeMouseLeave;O(b,Object(s.b)(y.props))},y.onContextMenu=function(b){var O=y.props.context.onNodeContextMenu;O(b,Object(s.b)(y.props))},y.onDragStart=function(b){var O=y.props.context.onNodeDragStart;b.stopPropagation(),y.setState({dragNodeHighlight:!0}),O(b,Object(h.a)(y));try{b.dataTransfer.setData("text/plain","")}catch(I){}},y.onDragEnter=function(b){var O=y.props.context.onNodeDragEnter;b.preventDefault(),b.stopPropagation(),O(b,Object(h.a)(y))},y.onDragOver=function(b){var O=y.props.context.onNodeDragOver;b.preventDefault(),b.stopPropagation(),O(b,Object(h.a)(y))},y.onDragLeave=function(b){var O=y.props.context.onNodeDragLeave;b.stopPropagation(),O(b,Object(h.a)(y))},y.onDragEnd=function(b){var O=y.props.context.onNodeDragEnd;b.stopPropagation(),y.setState({dragNodeHighlight:!1}),O(b,Object(h.a)(y))},y.onDrop=function(b){var O=y.props.context.onNodeDrop;b.preventDefault(),b.stopPropagation(),y.setState({dragNodeHighlight:!1}),O(b,Object(h.a)(y))},y.onExpand=function(b){var O=y.props.context.onNodeExpand;O(b,Object(s.b)(y.props))},y.setSelectHandle=function(b){y.selectHandle=b},y.getNodeState=function(){var b=y.props.expanded;return y.isLeaf()?null:b?u:p},y.hasChildren=function(){var b=y.props.eventKey,O=y.props.context.keyEntities,I=O[b]||{},M=I.children;return!!(M||[]).length},y.isLeaf=function(){var b=y.props,O=b.isLeaf,I=b.loaded,M=y.props.context.loadData,F=y.hasChildren();return O===!1?!1:O||!M&&!F||M&&I&&!F},y.isDisabled=function(){var b=y.props.disabled,O=y.props.context.disabled;return!!(O||b)},y.isCheckable=function(){var b=y.props.checkable,O=y.props.context.checkable;return!O||b===!1?!1:O},y.syncLoadData=function(b){var O=b.expanded,I=b.loading,M=b.loaded,F=y.props.context,P=F.loadData,j=F.onNodeLoad;if(I)return;P&&O&&!y.isLeaf()&&(!y.hasChildren()&&!M&&j(Object(s.b)(y.props)))},y.renderSwitcher=function(){var b=y.props,O=b.expanded,I=b.switcherIcon,M=y.props.context,F=M.prefixCls,P=M.switcherIcon,j=I||P;if(y.isLeaf())return i.createElement("span",{className:o()("".concat(F,"-switcher"),"".concat(F,"-switcher-noop"))},typeof j=="function"?j(Object(A.a)(Object(A.a)({},y.props),{},{isLeaf:!0})):j);var K=o()("".concat(F,"-switcher"),"".concat(F,"-switcher_").concat(O?u:p));return i.createElement("span",{onClick:y.onExpand,className:K},typeof j=="function"?j(Object(A.a)(Object(A.a)({},y.props),{},{isLeaf:!1})):j)},y.renderCheckbox=function(){var b=y.props,O=b.checked,I=b.halfChecked,M=b.disableCheckbox,F=y.props.context.prefixCls,P=y.isDisabled(),j=y.isCheckable();if(!j)return null;var K=typeof j!="boolean"?j:null;return i.createElement("span",{className:o()("".concat(F,"-checkbox"),O&&"".concat(F,"-checkbox-checked"),!O&&I&&"".concat(F,"-checkbox-indeterminate"),(P||M)&&"".concat(F,"-checkbox-disabled")),onClick:y.onCheck},K)},y.renderIcon=function(){var b=y.props.loading,O=y.props.context.prefixCls;return i.createElement("span",{className:o()("".concat(O,"-iconEle"),"".concat(O,"-icon__").concat(y.getNodeState()||"docu"),b&&"".concat(O,"-icon_loading"))})},y.renderSelector=function(){var b=y.state.dragNodeHighlight,O=y.props,I=O.title,M=O.selected,F=O.icon,P=O.loading,j=O.data,K=y.props.context,N=K.prefixCls,B=K.showIcon,U=K.icon,H=K.draggable,z=K.loadData,X=K.titleRender,W=y.isDisabled(),Y="".concat(N,"-node-content-wrapper"),q;if(B){var me=F||U;q=me?i.createElement("span",{className:o()("".concat(N,"-iconEle"),"".concat(N,"-icon__customize"))},typeof me=="function"?me(y.props):me):y.renderIcon()}else z&&P&&(q=y.renderIcon());var G;typeof I=="function"?G=I(j):X?G=X(j):G=I;var ye=i.createElement("span",{className:"".concat(N,"-title")},G);return i.createElement("span",{ref:y.setSelectHandle,title:typeof I=="string"?I:"",className:o()("".concat(Y),"".concat(Y,"-").concat(y.getNodeState()||"normal"),!W&&(M||b)&&"".concat(N,"-node-selected"),!W&&H&&"draggable"),draggable:!W&&H||void 0,"aria-grabbed":!W&&H||void 0,onMouseEnter:y.onMouseEnter,onMouseLeave:y.onMouseLeave,onContextMenu:y.onContextMenu,onClick:y.onSelectorClick,onDoubleClick:y.onSelectorDoubleClick,onDragStart:H?y.onDragStart:void 0},q,ye)},y}return Object(v.a)(_,[{key:"componentDidMount",value:function(){this.syncLoadData(this.props)}},{key:"componentDidUpdate",value:function(){this.syncLoadData(this.props)}},{key:"isSelectable",value:function(){var b=this.props.selectable,O=this.props.context.selectable;return typeof b=="boolean"?b:O}},{key:"render",value:function(){var b,O=this.props,I=O.eventKey,M=O.className,F=O.style,P=O.dragOver,j=O.dragOverGapTop,K=O.dragOverGapBottom,N=O.isLeaf,B=O.isStart,U=O.isEnd,H=O.expanded,z=O.selected,X=O.checked,W=O.halfChecked,Y=O.loading,q=O.domRef,me=O.active,G=O.onMouseMove,ye=Object(f.a)(O,["eventKey","className","style","dragOver","dragOverGapTop","dragOverGapBottom","isLeaf","isStart","isEnd","expanded","selected","checked","halfChecked","loading","domRef","active","onMouseMove"]),Ae=this.props.context,ve=Ae.prefixCls,Ue=Ae.filterTreeNode,Me=Ae.draggable,nt=Ae.keyEntities,ne=this.isDisabled(),be=Object(n.f)(ye),ot=nt[I]||{},ue=ot.level,Q=U[U.length-1];return i.createElement("div",Object.assign({ref:q,className:o()(M,"".concat(ve,"-treenode"),(b={},Object(g.a)(b,"".concat(ve,"-treenode-disabled"),ne),Object(g.a)(b,"".concat(ve,"-treenode-switcher-").concat(H?"open":"close"),!N),Object(g.a)(b,"".concat(ve,"-treenode-checkbox-checked"),X),Object(g.a)(b,"".concat(ve,"-treenode-checkbox-indeterminate"),W),Object(g.a)(b,"".concat(ve,"-treenode-selected"),z),Object(g.a)(b,"".concat(ve,"-treenode-loading"),Y),Object(g.a)(b,"".concat(ve,"-treenode-active"),me),Object(g.a)(b,"".concat(ve,"-treenode-leaf-last"),Q),Object(g.a)(b,"drag-over",!ne&&P),Object(g.a)(b,"drag-over-gap-top",!ne&&j),Object(g.a)(b,"drag-over-gap-bottom",!ne&&K),Object(g.a)(b,"filter-node",Ue&&Ue(Object(s.b)(this.props))),b)),style:F,onDragEnter:Me?this.onDragEnter:void 0,onDragOver:Me?this.onDragOver:void 0,onDragLeave:Me?this.onDragLeave:void 0,onDrop:Me?this.onDrop:void 0,onDragEnd:Me?this.onDragEnd:void 0,onMouseMove:G},be),i.createElement(t,{prefixCls:ve,level:ue,isStart:B,isEnd:U}),this.renderSwitcher(),this.renderCheckbox(),this.renderSelector())}}]),_}(i.Component),T=function(C){return i.createElement(d.a.Consumer,null,function(_){return i.createElement(S,Object.assign({},C,{context:_}))})};T.displayName="TreeNode",T.defaultProps={title:x},T.isTreeNode=1;var w=D.a=T},Wqna:function(R,D,e){var g=e("Tghj"),f=g.__DEV__,A=e("bYtY"),m=A.isObject,v=A.each,h=A.map,c=A.indexOf,a=A.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"),x=e("7hqr"),S=x.getStackedDimension;e("jtI2");function T(F,P,j){return F.getCoordSysModel()===P}function w(F,P,j){this._coordsMap={},this._coordsList=[],this._axesMap={},this._axesList=[],this._initCartesian(F,P,j),this.model=F}var E=w.prototype;E.type="grid",E.axisPointerEnabled=!0,E.getRect=function(){return this._rect},E.update=function(F,P){var j=this._axesMap;this._updateScale(F,this.model),v(j.x,function(N){l(N.scale,N.model)}),v(j.y,function(N){l(N.scale,N.model)});var K={};v(j.x,function(N){C(j,"y",N,K)}),v(j.y,function(N){C(j,"x",N,K)}),this.resize(this.model,P)};function C(F,P,j,K){j.getAxesOnZeroOf=function(){return B?[B]:[]};var N=F[P],B,U=j.model,H=U.get("axisLine.onZero"),z=U.get("axisLine.onZeroAxisIndex");if(!H)return;if(z!=null)_(N[z])&&(B=N[z]);else for(var X in N)if(N.hasOwnProperty(X)&&_(N[X])&&!K[W(N[X])]){B=N[X];break}B&&(K[W(B)]=!0);function W(Y){return Y.dim+"_"+Y.index}}function _(F){return F&&F.type!=="category"&&F.type!=="time"&&n(F)}E.resize=function(F,P,j){var K=r(F.getBoxLayoutParams(),{width:P.getWidth(),height:P.getHeight()});this._rect=K;var N=this._axesList;B(),!j&&F.get("containLabel")&&(v(N,function(U){if(!U.model.get("axisLabel.inside")){var H=t(U);if(H){var z=U.isHorizontal()?"height":"width",X=U.model.get("axisLabel.margin");K[z]-=H[z]+X,U.position==="top"?K.y+=H.height+X:U.position==="left"&&(K.x+=H.width+X)}}}),B());function B(){v(N,function(U){var H=U.isHorizontal(),z=H?[0,K.width]:[0,K.height],X=U.inverse?1:0;U.setExtent(z[X],z[1-X]),y(U,H?K.x:K.y)})}},E.getAxis=function(F,P){var j=this._axesMap[F];if(j!=null){if(P==null){for(var K in j)if(j.hasOwnProperty(K))return j[K]}return j[P]}},E.getAxes=function(){return this._axesList.slice()},E.getCartesian=function(F,P){if(F!=null&&P!=null){var j="x"+F+"y"+P;return this._coordsMap[j]}m(F)&&(P=F.yAxisIndex,F=F.xAxisIndex);for(var K=0,N=this._coordsList;K<N.length;K++)if(N[K].getAxis("x").index===F||N[K].getAxis("y").index===P)return N[K]},E.getCartesians=function(){return this._coordsList.slice()},E.convertToPixel=function(F,P,j){var K=this._findConvertTarget(F,P);return K.cartesian?K.cartesian.dataToPoint(j):K.axis?K.axis.toGlobalCoord(K.axis.dataToCoord(j)):null},E.convertFromPixel=function(F,P,j){var K=this._findConvertTarget(F,P);return K.cartesian?K.cartesian.pointToData(j):K.axis?K.axis.coordToData(K.axis.toLocalCoord(j)):null},E._findConvertTarget=function(F,P){var j=P.seriesModel,K=P.xAxisModel||j&&j.getReferringComponents("xAxis")[0],N=P.yAxisModel||j&&j.getReferringComponents("yAxis")[0],B=P.gridModel,U=this._coordsList,H,z;if(j)H=j.coordinateSystem,c(U,H)<0&&(H=null);else if(K&&N)H=this.getCartesian(K.componentIndex,N.componentIndex);else if(K)z=this.getAxis("x",K.componentIndex);else if(N)z=this.getAxis("y",N.componentIndex);else if(B){var X=B.coordinateSystem;X===this&&(H=this._coordsList[0])}return{cartesian:H,axis:z}},E.containPoint=function(F){var P=this._coordsList[0];if(P)return P.containPoint(F)},E._initCartesian=function(F,P,j){var K={left:!1,right:!1,top:!1,bottom:!1},N={x:{},y:{}},B={x:0,y:0};if(P.eachComponent("xAxis",U("x"),this),P.eachComponent("yAxis",U("y"),this),!B.x||!B.y){this._axesMap={},this._axesList=[];return}this._axesMap=N,v(N.x,function(H,z){v(N.y,function(X,W){var Y="x"+z+"y"+W,q=new s(Y);q.grid=this,q.model=F,this._coordsMap[Y]=q,this._coordsList.push(q),q.addAxis(H),q.addAxis(X)},this)},this);function U(H){return function(z,X){if(!T(z,F,P))return;var W=z.get("position");H==="x"?W!=="top"&&W!=="bottom"&&(W=K.bottom?"top":"bottom"):W!=="left"&&W!=="right"&&(W=K.left?"right":"left"),K[W]=!0;var Y=new u(H,d(z),[0,0],z.get("type"),W),q=Y.type==="category";Y.onBand=q&&z.get("boundaryGap"),Y.inverse=z.get("inverse"),z.axis=Y,Y.model=z,Y.grid=this,Y.index=X,this._axesList.push(Y),N[H][X]=Y,B[H]++}}},E._updateScale=function(F,P){v(this._axesList,function(K){K.scale.setExtent(Infinity,-Infinity)}),F.eachSeries(function(K){if(I(K)){var N=O(K,F),B=N[0],U=N[1];if(!T(B,P,F)||!T(U,P,F))return;var H=this.getCartesian(B.componentIndex,U.componentIndex),z=K.getData(),X=H.getAxis("x"),W=H.getAxis("y");z.type==="list"&&(j(z,X,K),j(z,W,K))}},this);function j(K,N,B){v(K.mapDimension(N.dim,!0),function(U){N.scale.unionExtentFromData(K,S(K,U))})}},E.getTooltipAxes=function(F){var P=[],j=[];return v(this.getCartesians(),function(K){var N=F!=null&&F!=="auto"?K.getAxis(F):K.getBaseAxis(),B=K.getOtherAxis(N);c(P,N)<0&&P.push(N),c(j,B)<0&&j.push(B)}),{baseAxes:P,otherAxes:j}};function y(F,P){var j=F.getExtent(),K=j[0]+j[1];F.toGlobalCoord=F.dim==="x"?function(N){return N+P}:function(N){return K-N+P},F.toLocalCoord=F.dim==="x"?function(N){return N-P}:function(N){return K-N+P}}var b=["xAxis","yAxis"];function O(F,P){return h(b,function(j){var K=F.getReferringComponents(j)[0];return K})}function I(F){return F.get("coordinateSystem")==="cartesian2d"}w.create=function(F,P){var j=[];return F.eachComponent("grid",function(K,N){var B=new w(K,F,P);B.name="grid_"+N,B.resize(K,P,!0),K.coordinateSystem=B,j.push(B)}),F.eachSeries(function(K){if(!I(K))return;var N=O(K,F),B=N[0],U=N[1],H=B.getCoordSysModel(),z=H.coordinateSystem;K.coordinateSystem=z.getCartesian(B.componentIndex,U.componentIndex)}),j},w.dimensions=w.prototype.dimensions=s.prototype.dimensions,p.register("cartesian2d",w);var M=w;R.exports=M},"X+im":function(R,D,e){"use strict";var g=e("TqRt"),f=e("284h");Object.defineProperty(D,"__esModule",{value:!0}),D.default=void 0;var A=f(e("q1tI")),m=g(e("KQeH")),v=g(e("KQxl")),h=function(i,r){return A.createElement(v.default,Object.assign({},i,{ref:r,icon:m.default}))};h.displayName="DownloadOutlined";var c=A.forwardRef(h);D.default=c},"X2/X":function(R,D,e){"use strict";Object.defineProperty(D,"__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"};D.default=g},XAae:function(R,D,e){"use strict";Object.defineProperty(D,"__esModule",{value:!0}),D.default=void 0;var g=f(e("hwYd"));function f(m){return m&&m.__esModule?m:{default:m}}var A=g;D.default=A,R.exports=A},XOKv:function(R,D,e){e("OXB0"),e("SA4+")},Xi7e:function(R,D,e){var g=e("KMkd"),f=e("adU4"),A=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=A,h.prototype.has=m,h.prototype.set=v,R.exports=h},Xmg4:function(R,D,e){var g=e("bYtY"),f=e("LPTA"),A=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||A,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,x=this.dpr;if(u&&(this.domBack||this.createBackBuffer(),this.ctxBack.globalCompositeOperation="copy",this.ctxBack.drawImage(n,0,0,t/x,s/x)),l.clearRect(0,0,t,s),d&&d!=="transparent"){var S;d.colorStops?(S=d.__canvasGradient||m.getGradient(l,d,{x:0,y:0,width:t,height:s}),d.__canvasGradient=S):d.image&&(S=v.prototype.getCanvasPattern.call(d,l)),l.save(),l.fillStyle=S||d,l.fillRect(0,0,t,s),l.restore()}if(u){var T=this.domBack;l.save(),l.globalAlpha=p,l.drawImage(T,0,0,t,s),l.restore()}}};var i=a;R.exports=i},Xnb7:function(R,D,e){var g=e("1RvN"),f=new g(50);function A(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}D.findExistImage=A,D.createOrUpdateImage=m,D.isImageReady=h},XpcN:function(R,D,e){var g=e("Tghj"),f=g.__DEV__,A=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=A.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(x,S,T){var w=this._isFirstRender;if(this._isFirstRender=!1,this.resetInner(),!x.get("show",!0))return;var E=x.get("align"),C=x.get("orient");(!E||E==="auto")&&(E=x.get("left")==="right"&&C==="vertical"?"right":"left");var _=x.get("selector",!0),y=x.get("selectorPosition",!0);_&&(!y||y==="auto")&&(y=C==="horizontal"?"end":"start"),this.renderInner(E,x,S,T,_,C,y);var b=x.getBoxLayoutParams(),O={width:T.getWidth(),height:T.getHeight()},I=x.get("padding"),M=r.getLayoutRect(b,O,I),F=this.layoutInner(x,E,M,w,_,y),P=r.getLayoutRect(m.defaults({width:F.width,height:F.height},b),O,I);this.group.attr("position",[P.x-F.x,P.y-F.y]),this.group.add(this._backgroundEl=i(F,x))},resetInner:function(){this.getContentGroup().removeAll(),this._backgroundEl&&this.group.remove(this._backgroundEl),this.getSelectorGroup().removeAll()},renderInner:function(x,S,T,w,E,C,_){var y=this.getContentGroup(),b=m.createHashMap(),O=S.get("selectedMode"),I=[];T.eachRawSeries(function(M){!M.get("legendHoverLink")&&I.push(M.id)}),d(S.getData(),function(M,F){var P=M.get("name");if(!this.newlineDisabled&&(P===""||P===`
|
|
|
`)){y.add(new n({newline:!0}));return}var j=T.getSeriesByName(P)[0];if(b.get(P))return;if(j){var K=j.getData(),N=K.getVisual("color"),B=K.getVisual("borderColor");typeof N=="function"&&(N=N(j.getDataParams(0))),typeof B=="function"&&(B=B(j.getDataParams(0)));var U=K.getVisual("legendSymbol")||"roundRect",H=K.getVisual("symbol"),z=this._createItem(P,F,M,S,U,H,x,N,B,O);z.on("click",o(s,P,null,w,I)).on("mouseover",o(u,j.name,null,w,I)).on("mouseout",o(p,j.name,null,w,I)),b.set(P,!0)}else T.eachRawSeries(function(X){if(b.get(P))return;if(X.legendVisualProvider){var W=X.legendVisualProvider;if(!W.containName(P))return;var Y=W.indexOfName(P),q=W.getItemVisual(Y,"color"),me=W.getItemVisual(Y,"borderColor"),G="roundRect",ye=this._createItem(P,F,M,S,G,null,x,q,me,O);ye.on("click",o(s,null,P,w,I)).on("mouseover",o(u,null,P,w,I)).on("mouseout",o(p,null,P,w,I)),b.set(P,!0)}},this)},this),E&&this._createSelector(E,S,w,C,_)},_createSelector:function(x,S,T,w,E){var C=this.getSelectorGroup();d(x,function(y){_(y)});function _(y){var b=y.type,O=new c.Text({style:{x:0,y:0,align:"center",verticalAlign:"middle"},onclick:function(){T.dispatchAction({type:b==="all"?"legendAllSelect":"legendInverseSelect"})}});C.add(O);var I=S.getModel("selectorLabel"),M=S.getModel("emphasis.selectorLabel");c.setLabelStyle(O.style,O.hoverStyle={},I,M,{defaultText:y.title,isRectText:!1}),c.setHoverStyle(O)}},_createItem:function(x,S,T,w,E,C,_,y,b,O){var I=w.get("itemWidth"),M=w.get("itemHeight"),F=w.get("inactiveColor"),P=w.get("inactiveBorderColor"),j=w.get("symbolKeepAspect"),K=w.getModel("itemStyle"),N=w.isSelected(x),B=new n,U=T.getModel("textStyle"),H=T.get("icon"),z=T.getModel("tooltip"),X=z.parentModel;E=H||E;var W=h(E,0,0,I,M,N?y:F,j==null?!0:j);if(B.add(t(W,E,K,b,P,N)),!H&&C&&(C!==E||C==="none")){var Y=M*.8;C==="none"&&(C="circle");var q=h(C,(I-Y)/2,(M-Y)/2,Y,Y,N?y:F,j==null?!0:j);B.add(t(q,C,K,b,P,N))}var me=_==="left"?I+5:-5,G=_,ye=w.get("formatter"),Ae=x;typeof ye=="string"&&ye?Ae=ye.replace("{name}",x!=null?x:""):typeof ye=="function"&&(Ae=ye(x)),B.add(new c.Text({style:c.setTextStyle({},U,{text:Ae,x:me,y:M/2,textFill:N?U.getTextColor():F,textAlign:G,textVerticalAlign:"middle"})}));var ve=new c.Rect({shape:B.getBoundingRect(),invisible:!0,tooltip:z.get("show")?m.extend({content:x,formatter:X.get("formatter",!0)||function(){return x},formatterParams:{componentType:"legend",legendIndex:w.componentIndex,name:x,$vars:["name"]}},z.option):null});return B.add(ve),B.eachChild(function(Ue){Ue.silent=!0}),ve.silent=!O,this.getContentGroup().add(B),c.setHoverStyle(B),B.__legendDataIndex=S,B},layoutInner:function(x,S,T,w,E,C){var _=this.getContentGroup(),y=this.getSelectorGroup();r.box(x.get("orient"),_,x.get("itemGap"),T.width,T.height);var b=_.getBoundingRect(),O=[-b.x,-b.y];if(E){r.box("horizontal",y,x.get("selectorItemGap",!0));var I=y.getBoundingRect(),M=[-I.x,-I.y],F=x.get("selectorButtonGap",!0),P=x.getOrient().index,j=P===0?"width":"height",K=P===0?"height":"width",N=P===0?"y":"x";C==="end"?M[P]+=b[j]+F:O[P]+=I[j]+F,M[1-P]+=b[K]/2-I[K]/2,y.attr("position",M),_.attr("position",O);var B={x:0,y:0};return B[j]=b[j]+F+I[j],B[K]=Math.max(b[K],I[K]),B[N]=Math.min(0,I[N]+M[1-P]),B}else return _.attr("position",O),this.group.getBoundingRect()},remove:function(){this.getContentGroup().removeAll(),this._isFirstRender=!0}});function t(x,S,T,w,E,C){var _;return S!=="line"&&S.indexOf("empty")<0?(_=T.getItemStyle(),x.style.stroke=w,C||(_.stroke=E)):_=T.getItemStyle(["borderWidth","borderColor"]),x.setStyle(_)}function s(x,S,T,w){p(x,S,T,w),T.dispatchAction({type:"legendToggleSelect",name:x!=null?x:S}),u(x,S,T,w)}function u(x,S,T,w){var E=T.getZr().storage.getDisplayList()[0];E&&E.useHoverLayer||T.dispatchAction({type:"highlight",seriesName:x,name:S,excludeSeriesId:w})}function p(x,S,T,w){var E=T.getZr().storage.getDisplayList()[0];E&&E.useHoverLayer||T.dispatchAction({type:"downplay",seriesName:x,name:S,excludeSeriesId:w})}R.exports=l},XuBP:function(R,D,e){"use strict";Object.defineProperty(D,"__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"};D.default=g},XxSj:function(R,D,e){var g=e("bYtY"),f=e("Qe9p"),A=e("OELB"),m=A.linearMap,v=g.each,h=g.isObject,c=-1,a=function(C){var _=C.mappingMethod,y=C.type,b=this.option=g.clone(C);this.type=y,this.mappingMethod=_,this._normalizeData=T[_];var O=i[y];this.applyVisual=O.applyVisual,this.getColorMapper=O.getColorMapper,this._doMap=O._doMap[_],_==="piecewise"?(d(b),r(b)):_==="category"?b.categories?o(b):d(b,!0):(g.assert(_!=="linear"||b.dataExtent),d(b))};a.prototype={constructor:a,mapValueToVisual:function(C){var _=this._normalizeData(C);return this._doMap(_,C)},getNormalizer:function(){return g.bind(this._normalizeData,this)}};var i=a.visualHandlers={color:{applyVisual:t("color"),getColorMapper:function(){var C=this.option;return g.bind(C.mappingMethod==="category"?function(_,y){return!y&&(_=this._normalizeData(_)),s.call(this,_)}:function(_,y,b){var O=!!b;return!y&&(_=this._normalizeData(_)),b=f.fastLerp(_,C.parsedVisual,b),O?b:f.stringify(b,"rgba")},this)},_doMap:{linear:function(C){return f.stringify(f.fastLerp(C,this.option.parsedVisual),"rgba")},category:s,piecewise:function(C,_){var y=x.call(this,_);return y==null&&(y=f.stringify(f.fastLerp(C,this.option.parsedVisual),"rgba")),y},fixed:u}},colorHue:n(function(C,_){return f.modifyHSL(C,_)}),colorSaturation:n(function(C,_){return f.modifyHSL(C,null,_)}),colorLightness:n(function(C,_){return f.modifyHSL(C,null,null,_)}),colorAlpha:n(function(C,_){return f.modifyAlpha(C,_)}),opacity:{applyVisual:t("opacity"),_doMap:p([0,1])},liftZ:{applyVisual:t("liftZ"),_doMap:{linear:u,category:u,piecewise:u,fixed:u}},symbol:{applyVisual:function(C,_,y){var b=this.mapValueToVisual(C);if(g.isString(b))y("symbol",b);else if(h(b))for(var O in b)b.hasOwnProperty(O)&&y(O,b[O])},_doMap:{linear:l,category:s,piecewise:function(C,_){var y=x.call(this,_);return y==null&&(y=l.call(this,C)),y},fixed:u}},symbolSize:{applyVisual:t("symbolSize"),_doMap:p([0,1])}};function r(C){var _=C.pieceList;C.hasSpecialVisual=!1,g.each(_,function(y,b){y.originIndex=b,y.visual!=null&&(C.hasSpecialVisual=!0)})}function o(C){var _=C.categories,y=C.visual,b=C.categoryMap={};if(v(_,function(M,F){b[M]=F}),!g.isArray(y)){var O=[];g.isObject(y)?v(y,function(M,F){var P=b[F];O[P!=null?P:c]=M}):O[c]=y,y=S(C,O)}for(var I=_.length-1;I>=0;I--)y[I]==null&&(delete b[_[I]],_.pop())}function d(C,_){var y=C.visual,b=[];g.isObject(y)?v(y,function(I){b.push(I)}):y!=null&&b.push(y);var O={color:1,symbol:1};!_&&b.length===1&&!O.hasOwnProperty(C.type)&&(b[1]=b[0]),S(C,b)}function n(C){return{applyVisual:function(_,y,b){_=this.mapValueToVisual(_),b("color",C(y("color"),_))},_doMap:p([0,1])}}function l(C){var _=this.option.visual;return _[Math.round(m(C,[0,1],[0,_.length-1],!0))]||{}}function t(C){return function(_,y,b){b(C,this.mapValueToVisual(_))}}function s(C){var _=this.option.visual;return _[this.option.loop&&C!==c?C%_.length:C]}function u(){return this.option.visual[0]}function p(C){return{linear:function(_){return m(_,C,this.option.visual,!0)},category:s,piecewise:function(_,y){var b=x.call(this,y);return b==null&&(b=m(_,C,this.option.visual,!0)),b},fixed:u}}function x(C){var _=this.option,y=_.pieceList;if(_.hasSpecialVisual){var b=a.findPieceIndex(C,y),O=y[b];if(O&&O.visual)return O.visual[this.type]}}function S(C,_){return C.visual=_,C.type==="color"&&(C.parsedVisual=g.map(_,function(y){return f.parse(y)})),_}var T={linear:function(C){return m(C,this.option.dataExtent,[0,1],!0)},piecewise:function(C){var _=this.option.pieceList,y=a.findPieceIndex(C,_,!0);if(y!=null)return m(y,[0,_.length-1],[0,1],!0)},category:function(C){var _=this.option.categories?this.option.categoryMap[C]:C;return _==null?c:_},fixed:g.noop};a.listVisualTypes=function(){var C=[];return g.each(i,function(_,y){C.push(y)}),C},a.addVisualHandler=function(C,_){i[C]=_},a.isValidType=function(C){return i.hasOwnProperty(C)},a.eachVisual=function(C,_,y){g.isObject(C)?g.each(C,_,y):_.call(y,C)},a.mapVisual=function(C,_,y){var b,O=g.isArray(C)?[]:g.isObject(C)?{}:(b=!0,null);return a.eachVisual(C,function(I,M){var F=_.call(y,I,M);b?O=F:O[M]=F}),O},a.retrieveVisuals=function(C){var _={},y;return C&&v(i,function(b,O){C.hasOwnProperty(O)&&(_[O]=C[O],y=!0)}),y?_:null},a.prepareVisualTypes=function(C){if(h(C)){var _=[];v(C,function(y,b){_.push(b)}),C=_}else if(g.isArray(C))C=C.slice();else return[];return C.sort(function(y,b){return b==="color"&&y!=="color"&&y.indexOf("color")===0?1:-1}),C},a.dependsOn=function(C,_){return _==="color"?!!(C&&C.indexOf(_)===0):C===_},a.findPieceIndex=function(C,_,y){for(var b,O=Infinity,I=0,M=_.length;I<M;I++){var F=_[I].value;if(F!=null){if(F===C||typeof F=="string"&&F===C+"")return I;y&&N(F,I)}}for(var I=0,M=_.length;I<M;I++){var P=_[I],j=P.interval,K=P.close;if(j){if(j[0]===-Infinity){if(w(K[1],C,j[1]))return I}else if(j[1]===Infinity){if(w(K[0],j[0],C))return I}else if(w(K[0],j[0],C)&&w(K[1],C,j[1]))return I;y&&N(j[0],I),y&&N(j[1],I)}}if(y)return C===Infinity?_.length-1:C===-Infinity?0:b;function N(B,U){var H=Math.abs(B-C);H<O&&(O=H,b=U)}};function w(C,_,y){return C?_<=y:_<y}var E=a;R.exports=E},XzQk:function(R,D,e){"use strict";Object.defineProperty(D,"__esModule",{value:!0}),D.default=void 0;var g=f(e("KpQ+"));function f(m){return m&&m.__esModule?m:{default:m}}var A=g;D.default=A,R.exports=A},"Y+p1":function(R,D,e){var g=e("wF/u");function f(A,m){return g(A,m)}R.exports=f},Y1PL:function(R,D,e){"use strict";e.r(D),e.d(D,"ResizableTextArea",function(){return C});var g=e("1OyB"),f=e("vuIU"),A=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(I){var M=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,F=I.getAttribute("id")||I.getAttribute("data-reactid")||I.getAttribute("name");if(M&&l[F])return l[F];var P=window.getComputedStyle(I),j=P.getPropertyValue("box-sizing")||P.getPropertyValue("-moz-box-sizing")||P.getPropertyValue("-webkit-box-sizing"),K=parseFloat(P.getPropertyValue("padding-bottom"))+parseFloat(P.getPropertyValue("padding-top")),N=parseFloat(P.getPropertyValue("border-bottom-width"))+parseFloat(P.getPropertyValue("border-top-width")),B=n.map(function(H){return"".concat(H,":").concat(P.getPropertyValue(H))}).join(";"),U={sizingStyle:B,paddingSize:K,borderSize:N,boxSizing:j};return M&&F&&(l[F]=U),U}function u(I){var M=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,F=arguments.length>2&&arguments[2]!==void 0?arguments[2]:null,P=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)),I.getAttribute("wrap")?t.setAttribute("wrap",I.getAttribute("wrap")):t.removeAttribute("wrap");var j=s(I,M),K=j.paddingSize,N=j.borderSize,B=j.boxSizing,U=j.sizingStyle;t.setAttribute("style","".concat(U,";").concat(d)),t.value=I.value||I.placeholder||"";var H=Number.MIN_SAFE_INTEGER,z=Number.MAX_SAFE_INTEGER,X=t.scrollHeight,W;if(B==="border-box"?X+=N:B==="content-box"&&(X-=K),F!==null||P!==null){t.value=" ";var Y=t.scrollHeight-K;F!==null&&(H=Y*F,B==="border-box"&&(H=H+K+N),X=Math.max(H,X)),P!==null&&(z=Y*P,B==="border-box"&&(z=z+K+N),W=X>z?"":"hidden",X=Math.min(z,X))}return{height:X,minHeight:H,maxHeight:z,overflowY:W}}function p(I,M){var F=Object.keys(I);if(Object.getOwnPropertySymbols){var P=Object.getOwnPropertySymbols(I);M&&(P=P.filter(function(j){return Object.getOwnPropertyDescriptor(I,j).enumerable})),F.push.apply(F,P)}return F}function x(I){for(var M=1;M<arguments.length;M++){var F=arguments[M]!=null?arguments[M]:{};M%2?p(Object(F),!0).forEach(function(P){Object(c.a)(I,P,F[P])}):Object.getOwnPropertyDescriptors?Object.defineProperties(I,Object.getOwnPropertyDescriptors(F)):p(Object(F)).forEach(function(P){Object.defineProperty(I,P,Object.getOwnPropertyDescriptor(F,P))})}return I}function S(I){var M=T();return function(){var P=Object(v.a)(I),j;if(M){var K=Object(v.a)(this).constructor;j=Reflect.construct(P,arguments,K)}else j=P.apply(this,arguments);return Object(m.a)(this,j)}}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(I){return!1}}var w;(function(I){I[I.NONE=0]="NONE",I[I.RESIZING=1]="RESIZING",I[I.RESIZED=2]="RESIZED"})(w||(w={}));var E=function(I){Object(A.a)(F,I);var M=S(F);function F(P){var j;return Object(g.a)(this,F),j=M.call(this,P),j.saveTextArea=function(K){j.textArea=K},j.handleResize=function(K){var N=j.state.resizeStatus,B=j.props,U=B.autoSize,H=B.onResize;if(N!==w.NONE)return;typeof H=="function"&&H(K),U&&j.resizeOnNextFrame()},j.resizeOnNextFrame=function(){cancelAnimationFrame(j.nextFrameActionId),j.nextFrameActionId=requestAnimationFrame(j.resizeTextarea)},j.resizeTextarea=function(){var K=j.props.autoSize;if(!K||!j.textArea)return;var N=K.minRows,B=K.maxRows,U=u(j.textArea,!1,N,B);j.setState({textareaStyles:U,resizeStatus:w.RESIZING},function(){cancelAnimationFrame(j.resizeFrameId),j.resizeFrameId=requestAnimationFrame(function(){j.setState({resizeStatus:w.RESIZED},function(){j.resizeFrameId=requestAnimationFrame(function(){j.setState({resizeStatus:w.NONE}),j.fixFirefoxAutoScroll()})})})})},j.renderTextArea=function(){var K=j.props,N=K.prefixCls,B=N===void 0?"rc-textarea":N,U=K.autoSize,H=K.onResize,z=K.className,X=K.disabled,W=j.state,Y=W.textareaStyles,q=W.resizeStatus,me=Object(i.default)(j.props,["prefixCls","onPressEnter","autoSize","defaultValue","onResize"]),G=o()(B,z,Object(c.a)({},"".concat(B,"-disabled"),X));"value"in me&&(me.value=me.value||"");var ye=x(x(x({},j.props.style),Y),q===w.RESIZING?{overflowX:"hidden",overflowY:"hidden"}:null);return h.createElement(a.a,{onResize:j.handleResize,disabled:!(U||H)},h.createElement("textarea",Object.assign({},me,{className:G,style:ye,ref:j.saveTextArea})))},j.state={textareaStyles:{},resizeStatus:w.NONE},j}return Object(f.a)(F,[{key:"componentDidMount",value:function(){this.resizeTextarea()}},{key:"componentDidUpdate",value:function(j){j.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 j=this.textArea.selectionStart,K=this.textArea.selectionEnd;this.textArea.setSelectionRange(j,K)}}catch(N){}}},{key:"render",value:function(){return this.renderTextArea()}}]),F}(h.Component),C=E;function _(I){var M=y();return function(){var P=Object(v.a)(I),j;if(M){var K=Object(v.a)(this).constructor;j=Reflect.construct(P,arguments,K)}else j=P.apply(this,arguments);return Object(m.a)(this,j)}}function y(){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(I){return!1}}var b=function(I){Object(A.a)(F,I);var M=_(F);function F(P){var j;Object(g.a)(this,F),j=M.call(this,P),j.focus=function(){j.resizableTextArea.textArea.focus()},j.saveTextArea=function(N){j.resizableTextArea=N},j.handleChange=function(N){var B=j.props.onChange;j.setValue(N.target.value,function(){j.resizableTextArea.resizeTextarea()}),B&&B(N)},j.handleKeyDown=function(N){var B=j.props,U=B.onPressEnter,H=B.onKeyDown;N.keyCode===13&&U&&U(N),H&&H(N)};var K=typeof P.value=="undefined"||P.value===null?P.defaultValue:P.value;return j.state={value:K},j}return Object(f.a)(F,[{key:"setValue",value:function(j,K){"value"in this.props||this.setState({value:j},K)}},{key:"blur",value:function(){this.resizableTextArea.textArea.blur()}},{key:"render",value:function(){return h.createElement(C,Object.assign({},this.props,{value:this.state.value,onKeyDown:this.handleKeyDown,onChange:this.handleChange,ref:this.saveTextArea}))}}],[{key:"getDerivedStateFromProps",value:function(j){return"value"in j?{value:j.value}:null}}]),F}(h.Component),O=D.default=b},YESw:function(R,D,e){var g=e("Cwc5"),f=g(Object,"create");R.exports=f},YH21:function(R,D,e){var g=e("H6uX");D.Dispatcher=g;var f=e("ItGF"),A=e("Ze12"),m=A.isCanvasEl,v=A.transformCoordWithViewport,h=typeof window!="undefined"&&!!window.addEventListener,c=/^(?:mouse|pointer|contextmenu|drag|drop)|click/,a=[];function i(p,x,S,T){return S=S||{},T||!f.canvasSupported?r(p,x,S):f.browser.firefox&&x.layerX!=null&&x.layerX!==x.offsetX?(S.zrX=x.layerX,S.zrY=x.layerY):x.offsetX!=null?(S.zrX=x.offsetX,S.zrY=x.offsetY):r(p,x,S),S}function r(p,x,S){if(f.domSupported&&p.getBoundingClientRect){var T=x.clientX,w=x.clientY;if(m(p)){var E=p.getBoundingClientRect();S.zrX=T-E.left,S.zrY=w-E.top;return}else if(v(a,p,T,w)){S.zrX=a[0],S.zrY=a[1];return}}S.zrX=S.zrY=0}function o(p){return p||window.event}function d(p,x,S){if(x=o(x),x.zrX!=null)return x;var T=x.type,w=T&&T.indexOf("touch")>=0;if(!w)i(p,x,x,S),x.zrDelta=x.wheelDelta?x.wheelDelta/120:-(x.detail||0)/3;else{var E=T!=="touchend"?x.targetTouches[0]:x.changedTouches[0];E&&i(p,E,x,S)}var C=x.button;return x.which==null&&C!==void 0&&c.test(x.type)&&(x.which=C&1?1:C&2?3:C&4?2:0),x}function n(p,x,S,T){h?p.addEventListener(x,S,T):p.attachEvent("on"+x,S)}function l(p,x,S,T){h?p.removeEventListener(x,S,T):p.detachEvent("on"+x,S)}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}D.clientToLocal=i,D.getNativeEvent=o,D.normalizeEvent=d,D.addEventListener=n,D.removeEventListener=l,D.stop=t,D.isMiddleOrRightButtonOnMouseUpDown=s,D.notLeftMouse=u},YJ9k:function(R,D,e){"use strict";Object.defineProperty(D,"__esModule",{value:!0}),D.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 A(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 A(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}();D.default=m},YJCA:function(R,D,e){"use strict";e.d(D,"a",function(){return J}),e.d(D,"b",function(){return Le});var g=e("wx14"),f=e("ODXe"),A=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),x=e("KQm4"),S=function(){function he(){Object(m.a)(this,he),Object(r.a)(this,"refs",{})}return Object(v.a)(he,[{key:"add",value:function(Z,ge){this.refs[Z]||(this.refs[Z]=[]),this.refs[Z].push(ge)}},{key:"remove",value:function(Z,ge){var Re=this.getIndex(Z,ge);Re!==-1&&this.refs[Z].splice(Re,1)}},{key:"isActive",value:function(){return this.active}},{key:"getActive",value:function(){var Z=this;return this.refs[this.active.collection].find(function(ge){var Re=ge.node;return Re.sortableInfo.index==Z.active.index})}},{key:"getIndex",value:function(Z,ge){return this.refs[Z].indexOf(ge)}},{key:"getOrderedRefs",value:function(){var Z=arguments.length>0&&arguments[0]!==void 0?arguments[0]:this.active.collection;return this.refs[Z].sort(T)}}]),he}();function T(he,te){var Z=he.node.sortableInfo.index,ge=te.node.sortableInfo.index;return Z-ge}function w(he,te,Z){return he=he.slice(),he.splice(Z<0?he.length+Z:Z,0,he.splice(te,1)[0]),he}function E(he,te){return Object.keys(he).reduce(function(Z,ge){return te.indexOf(ge)===-1&&(Z[ge]=he[ge]),Z},{})}var C={end:["touchend","touchcancel","mouseup"],move:["touchmove","mousemove"],start:["touchstart","mousedown"]},_=function(){if(typeof window=="undefined"||typeof document=="undefined")return"";var he=window.getComputedStyle(document.documentElement,"")||["-moz-hidden-iframe"],te=(Array.prototype.slice.call(he).join("").match(/-(moz|webkit|ms)-/)||he.OLink===""&&["","o"])[1];switch(te){case"ms":return"ms";default:return te&&te.length?te[0].toUpperCase()+te.substr(1):""}}();function y(he,te){Object.keys(te).forEach(function(Z){he.style[Z]=te[Z]})}function b(he,te){he.style["".concat(_,"Transform")]=te==null?"":"translate3d(".concat(te.x,"px,").concat(te.y,"px,0)")}function O(he,te){he.style["".concat(_,"TransitionDuration")]=te==null?"":"".concat(te,"ms")}function I(he,te){for(;he;){if(te(he))return he;he=he.parentNode}return null}function M(he,te,Z){return Math.max(he,Math.min(Z,te))}function F(he){return he.substr(-2)==="px"?parseFloat(he):0}function P(he){var te=window.getComputedStyle(he);return{bottom:F(te.marginBottom),left:F(te.marginLeft),right:F(te.marginRight),top:F(te.marginTop)}}function j(he,te){var Z=te.displayName||te.name;return Z?"".concat(he,"(").concat(Z,")"):he}function K(he,te){var Z=he.getBoundingClientRect();return{top:Z.top+te.top,left:Z.left+te.left}}function N(he){return he.touches&&he.touches.length?{x:he.touches[0].pageX,y:he.touches[0].pageY}:he.changedTouches&&he.changedTouches.length?{x:he.changedTouches[0].pageX,y:he.changedTouches[0].pageY}:{x:he.pageX,y:he.pageY}}function B(he){return he.touches&&he.touches.length||he.changedTouches&&he.changedTouches.length}function U(he,te){var Z=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{left:0,top:0};if(!he)return;var ge={left:Z.left+he.offsetLeft,top:Z.top+he.offsetTop};return he.parentNode===te?ge:U(he.parentNode,te,ge)}function H(he,te,Z){return he<Z&&he>te?he-1:he>Z&&he<te?he+1:he}function z(he){var te=he.lockOffset,Z=he.width,ge=he.height,Re=te,ze=te,dt="px";if(typeof te=="string"){var De=/^[+-]?\d*(?:\.\d*)?(px|%)$/.exec(te);p()(De!==null,'lockOffset value should be a number or a string of a number followed by "px" or "%". Given %s',te),Re=parseFloat(te),ze=parseFloat(te),dt=De[1]}return p()(isFinite(Re)&&isFinite(ze),"lockOffset value should be a finite. Given %s",te),dt==="%"&&(Re=Re*Z/100,ze=ze*ge/100),{x:Re,y:ze}}function X(he){var te=he.height,Z=he.width,ge=he.lockOffset,Re=Array.isArray(ge)?ge:[ge,ge];p()(Re.length===2,"lockOffset prop of SortableContainer should be a single value or an array of exactly two values. Given %s",ge);var ze=Object(f.a)(Re,2),dt=ze[0],De=ze[1];return[z({height:te,lockOffset:dt,width:Z}),z({height:te,lockOffset:De,width:Z})]}function W(he){var te=window.getComputedStyle(he),Z=/(auto|scroll)/,ge=["overflow","overflowX","overflowY"];return ge.find(function(Re){return Z.test(te[Re])})}function Y(he){return he instanceof HTMLElement?W(he)?he:Y(he.parentNode):null}function q(he){var te=window.getComputedStyle(he);return te.display==="grid"?{x:F(te.gridColumnGap),y:F(te.gridRowGap)}:{x:0,y:0}}var me={TAB:9,ESC:27,SPACE:32,LEFT:37,UP:38,RIGHT:39,DOWN:40},G={Anchor:"A",Button:"BUTTON",Canvas:"CANVAS",Input:"INPUT",Option:"OPTION",Textarea:"TEXTAREA",Select:"SELECT"};function ye(he){var te="input, textarea, select, canvas, [contenteditable]",Z=he.querySelectorAll(te),ge=he.cloneNode(!0),Re=Object(x.a)(ge.querySelectorAll(te));return Re.forEach(function(ze,dt){if(ze.type!=="file"&&(ze.value=Z[dt].value),ze.type==="radio"&&ze.name&&(ze.name="__sortableClone__".concat(ze.name)),ze.tagName===G.Canvas&&Z[dt].width>0&&Z[dt].height>0){var De=ze.getContext("2d");De.drawImage(Z[dt],0,0)}}),ge}function Ae(he){var te,Z,ge=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{withRef:!1};return Z=te=function(Re){Object(a.a)(ze,Re);function ze(){return Object(m.a)(this,ze),Object(h.a)(this,Object(c.a)(ze).apply(this,arguments))}return Object(v.a)(ze,[{key:"componentDidMount",value:function(){var De=Object(t.findDOMNode)(this);De.sortableHandle=!0}},{key:"getWrappedInstance",value:function(){return p()(ge.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 De=ge.withRef?"wrappedInstance":null;return Object(o.createElement)(he,Object(g.a)({ref:De},this.props))}}]),ze}(o.Component),Object(r.a)(te,"displayName",j("sortableHandle",he)),Z}function ve(he){return he.sortableHandle!=null}var Ue=function(){function he(te,Z){Object(m.a)(this,he),this.container=te,this.onScrollCallback=Z}return Object(v.a)(he,[{key:"clear",value:function(){if(this.interval==null)return;clearInterval(this.interval),this.interval=null}},{key:"update",value:function(Z){var ge=this,Re=Z.translate,ze=Z.minTranslate,dt=Z.maxTranslate,De=Z.width,Tt=Z.height,je={x:0,y:0},st={x:1,y:1},Xe={x:10,y:10},Je=this.container,et=Je.scrollTop,at=Je.scrollLeft,Ve=Je.scrollHeight,le=Je.scrollWidth,ae=Je.clientHeight,lt=Je.clientWidth,Ze=et===0,Te=Ve-et-ae===0,Jt=at===0,mt=le-at-lt===0;Re.y>=dt.y-Tt/2&&!Te?(je.y=1,st.y=Xe.y*Math.abs((dt.y-Tt/2-Re.y)/Tt)):Re.x>=dt.x-De/2&&!mt?(je.x=1,st.x=Xe.x*Math.abs((dt.x-De/2-Re.x)/De)):Re.y<=ze.y+Tt/2&&!Ze?(je.y=-1,st.y=Xe.y*Math.abs((Re.y-Tt/2-ze.y)/Tt)):Re.x<=ze.x+De/2&&!Jt&&(je.x=-1,st.x=Xe.x*Math.abs((Re.x-De/2-ze.x)/De)),this.interval&&(this.clear(),this.isAutoScrolling=!1),(je.x!==0||je.y!==0)&&(this.interval=setInterval(function(){ge.isAutoScrolling=!0;var ft={left:st.x*je.x,top:st.y*je.y};ge.container.scrollTop+=ft.top,ge.container.scrollLeft+=ft.left,ge.onScrollCallback(ft)},5))}}]),he}();function Me(he){var te=he.node;return{height:te.offsetHeight,width:te.offsetWidth}}function nt(he){var te=[G.Input,G.Textarea,G.Select,G.Option,G.Button];return te.indexOf(he.target.tagName)!==-1?!0:!!I(he.target,function(Z){return Z.contentEditable==="true"})}var ne={axis:l.a.oneOf(["x","y","xy"]),contentWindow:l.a.any,disableAutoscroll:l.a.bool,distance:l.a.number,getContainer:l.a.func,getHelperDimensions:l.a.func,helperClass:l.a.string,helperContainer:l.a.oneOfType([l.a.func,typeof HTMLElement=="undefined"?l.a.any:l.a.instanceOf(HTMLElement)]),hideSortableGhost:l.a.bool,keyboardSortingTransitionDuration:l.a.number,lockAxis:l.a.string,lockOffset:l.a.oneOfType([l.a.number,l.a.string,l.a.arrayOf(l.a.oneOfType([l.a.number,l.a.string]))]),lockToContainerEdges:l.a.bool,onSortEnd:l.a.func,onSortMove:l.a.func,onSortOver:l.a.func,onSortStart:l.a.func,pressDelay:l.a.number,pressThreshold:l.a.number,keyCodes:l.a.shape({lift:l.a.arrayOf(l.a.number),drop:l.a.arrayOf(l.a.number),cancel:l.a.arrayOf(l.a.number),up:l.a.arrayOf(l.a.number),down:l.a.arrayOf(l.a.number)}),shouldCancelStart:l.a.func,transitionDuration:l.a.number,updateBeforeSortStart:l.a.func,useDragHandle:l.a.bool,useWindowAsScrollContainer:l.a.bool},be={lift:[me.SPACE],drop:[me.SPACE],cancel:[me.ESC],up:[me.UP,me.LEFT],down:[me.DOWN,me.RIGHT]},ot={axis:"y",disableAutoscroll:!1,distance:0,getHelperDimensions:Me,hideSortableGhost:!0,lockOffset:"50%",lockToContainerEdges:!1,pressDelay:0,pressThreshold:5,keyCodes:be,shouldCancelStart:nt,transitionDuration:300,useWindowAsScrollContainer:!1},ue=Object.keys(ne);function Q(he){p()(!(he.distance&&he.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(he,te){try{var Z=he()}catch(ge){return te(!0,ge)}return Z&&Z.then?Z.then(te.bind(null,!1),te.bind(null,!0)):te(!1,value)}function J(he){var te,Z,ge=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{withRef:!1};return Z=te=function(Re){Object(a.a)(ze,Re);function ze(dt){var De;return Object(m.a)(this,ze),De=Object(h.a)(this,Object(c.a)(ze).call(this,dt)),Object(r.a)(Object(i.a)(Object(i.a)(De)),"state",{}),Object(r.a)(Object(i.a)(Object(i.a)(De)),"handleStart",function(Tt){var je=De.props,st=je.distance,Xe=je.shouldCancelStart;if(Tt.button===2||Xe(Tt))return;De.touched=!0,De.position=N(Tt);var Je=I(Tt.target,function(lt){return lt.sortableInfo!=null});if(Je&&Je.sortableInfo&&De.nodeIsChild(Je)&&!De.state.sorting){var et=De.props.useDragHandle,at=Je.sortableInfo,Ve=at.index,le=at.collection,ae=at.disabled;if(ae)return;if(et&&!I(Tt.target,ve))return;De.manager.active={collection:le,index:Ve},!B(Tt)&&Tt.target.tagName===G.Anchor&&Tt.preventDefault(),st||(De.props.pressDelay===0?De.handlePress(Tt):De.pressTimer=setTimeout(function(){return De.handlePress(Tt)},De.props.pressDelay))}}),Object(r.a)(Object(i.a)(Object(i.a)(De)),"nodeIsChild",function(Tt){return Tt.sortableInfo.manager===De.manager}),Object(r.a)(Object(i.a)(Object(i.a)(De)),"handleMove",function(Tt){var je=De.props,st=je.distance,Xe=je.pressThreshold;if(!De.state.sorting&&De.touched&&!De._awaitingUpdateBeforeSortStart){var Je=N(Tt),et={x:De.position.x-Je.x,y:De.position.y-Je.y},at=Math.abs(et.x)+Math.abs(et.y);De.delta=et,!st&&(!Xe||at>=Xe)?(clearTimeout(De.cancelTimer),De.cancelTimer=setTimeout(De.cancel,0)):st&&at>=st&&De.manager.isActive()&&De.handlePress(Tt)}}),Object(r.a)(Object(i.a)(Object(i.a)(De)),"handleEnd",function(){De.touched=!1,De.cancel()}),Object(r.a)(Object(i.a)(Object(i.a)(De)),"cancel",function(){var Tt=De.props.distance,je=De.state.sorting;je||(Tt||clearTimeout(De.pressTimer),De.manager.active=null)}),Object(r.a)(Object(i.a)(Object(i.a)(De)),"handlePress",function(Tt){try{var je=De.manager.getActive(),st=function(){if(je){var Xe=function(){var It=Te.sortableInfo.index,or=P(Te),Pt=q(De.container),_e=De.scrollContainer.getBoundingClientRect(),Ce=at({index:It,node:Te,collection:Jt});if(De.node=Te,De.margin=or,De.gridGap=Pt,De.width=Ce.width,De.height=Ce.height,De.marginOffset={x:De.margin.left+De.margin.right+De.gridGap.x,y:Math.max(De.margin.top,De.margin.bottom,De.gridGap.y)},De.boundingClientRect=Te.getBoundingClientRect(),De.containerBoundingRect=_e,De.index=It,De.newIndex=It,De.axis={x:et.indexOf("x")>=0,y:et.indexOf("y")>=0},De.offsetEdge=U(Te,De.container),mt?De.initialOffset=N(Object(A.a)({},Tt,{pageX:De.boundingClientRect.left,pageY:De.boundingClientRect.top})):De.initialOffset=N(Tt),De.initialScroll={left:De.scrollContainer.scrollLeft,top:De.scrollContainer.scrollTop},De.initialWindowScroll={left:window.pageXOffset,top:window.pageYOffset},De.helper=De.helperContainer.appendChild(ye(Te)),y(De.helper,{boxSizing:"border-box",height:"".concat(De.height,"px"),left:"".concat(De.boundingClientRect.left-or.left,"px"),pointerEvents:"none",position:"fixed",top:"".concat(De.boundingClientRect.top-or.top,"px"),width:"".concat(De.width,"px")}),mt&&De.helper.focus(),le&&(De.sortableGhost=Te,y(Te,{opacity:0,visibility:"hidden"})),De.minTranslate={},De.maxTranslate={},mt){var Ee=Ze?{top:0,left:0,width:De.contentWindow.innerWidth,height:De.contentWindow.innerHeight}:De.containerBoundingRect,we=Ee.top,Fe=Ee.left,Ye=Ee.width,Ge=Ee.height,qe=we+Ge,Ke=Fe+Ye;De.axis.x&&(De.minTranslate.x=Fe-De.boundingClientRect.left,De.maxTranslate.x=Ke-(De.boundingClientRect.left+De.width)),De.axis.y&&(De.minTranslate.y=we-De.boundingClientRect.top,De.maxTranslate.y=qe-(De.boundingClientRect.top+De.height))}else De.axis.x&&(De.minTranslate.x=(Ze?0:_e.left)-De.boundingClientRect.left-De.width/2,De.maxTranslate.x=(Ze?De.contentWindow.innerWidth:_e.left+_e.width)-De.boundingClientRect.left-De.width/2),De.axis.y&&(De.minTranslate.y=(Ze?0:_e.top)-De.boundingClientRect.top-De.height/2,De.maxTranslate.y=(Ze?De.contentWindow.innerHeight:_e.top+_e.height)-De.boundingClientRect.top-De.height/2);Ve&&Ve.split(" ").forEach(function(ct){return De.helper.classList.add(ct)}),De.listenerNode=Tt.touches?Te:De.contentWindow,mt?(De.listenerNode.addEventListener("wheel",De.handleKeyEnd,!0),De.listenerNode.addEventListener("mousedown",De.handleKeyEnd,!0),De.listenerNode.addEventListener("keydown",De.handleKeyDown)):(C.move.forEach(function(ct){return De.listenerNode.addEventListener(ct,De.handleSortMove,!1)}),C.end.forEach(function(ct){return De.listenerNode.addEventListener(ct,De.handleSortEnd,!1)})),De.setState({sorting:!0,sortingIndex:It}),lt&<({node:Te,index:It,collection:Jt,isKeySorting:mt,nodes:De.manager.getOrderedRefs(),helper:De.helper},Tt),mt&&De.keyMove(0)},Je=De.props,et=Je.axis,at=Je.getHelperDimensions,Ve=Je.helperClass,le=Je.hideSortableGhost,ae=Je.updateBeforeSortStart,lt=Je.onSortStart,Ze=Je.useWindowAsScrollContainer,Te=je.node,Jt=je.collection,mt=De.manager.isKeySorting,ft=function(){if(typeof ae=="function"){De._awaitingUpdateBeforeSortStart=!0;var bt=V(function(){var It=Te.sortableInfo.index;return Promise.resolve(ae({collection:Jt,index:It,node:Te,isKeySorting:mt},Tt)).then(function(){})},function(It,or){if(De._awaitingUpdateBeforeSortStart=!1,It)throw or;return or});if(bt&&bt.then)return bt.then(function(){})}}();return ft&&ft.then?ft.then(Xe):Xe(ft)}}();return Promise.resolve(st&&st.then?st.then(function(){}):void 0)}catch(Xe){return Promise.reject(Xe)}}),Object(r.a)(Object(i.a)(Object(i.a)(De)),"handleSortMove",function(Tt){var je=De.props.onSortMove;typeof Tt.preventDefault=="function"&&Tt.preventDefault(),De.updateHelperPosition(Tt),De.animateNodes(),De.autoscroll(),je&&je(Tt)}),Object(r.a)(Object(i.a)(Object(i.a)(De)),"handleSortEnd",function(Tt){var je=De.props,st=je.hideSortableGhost,Xe=je.onSortEnd,Je=De.manager,et=Je.active.collection,at=Je.isKeySorting,Ve=De.manager.getOrderedRefs();De.listenerNode&&(at?(De.listenerNode.removeEventListener("wheel",De.handleKeyEnd,!0),De.listenerNode.removeEventListener("mousedown",De.handleKeyEnd,!0),De.listenerNode.removeEventListener("keydown",De.handleKeyDown)):(C.move.forEach(function(Te){return De.listenerNode.removeEventListener(Te,De.handleSortMove)}),C.end.forEach(function(Te){return De.listenerNode.removeEventListener(Te,De.handleSortEnd)}))),De.helper.parentNode.removeChild(De.helper),st&&De.sortableGhost&&y(De.sortableGhost,{opacity:"",visibility:""});for(var le=0,ae=Ve.length;le<ae;le++){var lt=Ve[le],Ze=lt.node;lt.edgeOffset=null,lt.boundingClientRect=null,b(Ze,null),O(Ze,null),lt.translate=null}De.autoScroller.clear(),De.manager.active=null,De.manager.isKeySorting=!1,De.setState({sorting:!1,sortingIndex:null}),typeof Xe=="function"&&Xe({collection:et,newIndex:De.newIndex,oldIndex:De.index,isKeySorting:at,nodes:Ve},Tt),De.touched=!1}),Object(r.a)(Object(i.a)(Object(i.a)(De)),"autoscroll",function(){var Tt=De.props.disableAutoscroll,je=De.manager.isKeySorting;if(Tt){De.autoScroller.clear();return}if(je){var st=Object(A.a)({},De.translate),Xe=0,Je=0;De.axis.x&&(st.x=Math.min(De.maxTranslate.x,Math.max(De.minTranslate.x,De.translate.x)),Xe=De.translate.x-st.x),De.axis.y&&(st.y=Math.min(De.maxTranslate.y,Math.max(De.minTranslate.y,De.translate.y)),Je=De.translate.y-st.y),De.translate=st,b(De.helper,De.translate),De.scrollContainer.scrollLeft+=Xe,De.scrollContainer.scrollTop+=Je;return}De.autoScroller.update({height:De.height,maxTranslate:De.maxTranslate,minTranslate:De.minTranslate,translate:De.translate,width:De.width})}),Object(r.a)(Object(i.a)(Object(i.a)(De)),"onAutoScroll",function(Tt){De.translate.x+=Tt.left,De.translate.y+=Tt.top,De.animateNodes()}),Object(r.a)(Object(i.a)(Object(i.a)(De)),"handleKeyDown",function(Tt){var je=Tt.keyCode,st=De.props,Xe=st.shouldCancelStart,Je=st.keyCodes,et=Je===void 0?{}:Je,at=Object(A.a)({},be,et);if(De.manager.active&&!De.manager.isKeySorting||!De.manager.active&&(!at.lift.includes(je)||Xe(Tt)||!De.isValidSortingTarget(Tt)))return;Tt.stopPropagation(),Tt.preventDefault(),at.lift.includes(je)&&!De.manager.active?De.keyLift(Tt):at.drop.includes(je)&&De.manager.active?De.keyDrop(Tt):at.cancel.includes(je)?(De.newIndex=De.manager.active.index,De.keyDrop(Tt)):at.up.includes(je)?De.keyMove(-1):at.down.includes(je)&&De.keyMove(1)}),Object(r.a)(Object(i.a)(Object(i.a)(De)),"keyLift",function(Tt){var je=Tt.target,st=I(je,function(at){return at.sortableInfo!=null}),Xe=st.sortableInfo,Je=Xe.index,et=Xe.collection;De.initialFocusedNode=je,De.manager.isKeySorting=!0,De.manager.active={index:Je,collection:et},De.handlePress(Tt)}),Object(r.a)(Object(i.a)(Object(i.a)(De)),"keyMove",function(Tt){var je=De.manager.getOrderedRefs(),st=je[je.length-1].node.sortableInfo.index,Xe=De.newIndex+Tt,Je=De.newIndex;if(Xe<0||Xe>st)return;De.prevIndex=Je,De.newIndex=Xe;var et=H(De.newIndex,De.prevIndex,De.index),at=je.find(function(mt){var ft=mt.node;return ft.sortableInfo.index===et}),Ve=at.node,le=De.containerScrollDelta,ae=at.boundingClientRect||K(Ve,le),lt=at.translate||{x:0,y:0},Ze={top:ae.top+lt.y-le.top,left:ae.left+lt.x-le.left},Te=Je<Xe,Jt={x:Te&&De.axis.x?Ve.offsetWidth-De.width:0,y:Te&&De.axis.y?Ve.offsetHeight-De.height:0};De.handleSortMove({pageX:Ze.left+Jt.x,pageY:Ze.top+Jt.y,ignoreTransition:Tt===0})}),Object(r.a)(Object(i.a)(Object(i.a)(De)),"keyDrop",function(Tt){De.handleSortEnd(Tt),De.initialFocusedNode&&De.initialFocusedNode.focus()}),Object(r.a)(Object(i.a)(Object(i.a)(De)),"handleKeyEnd",function(Tt){De.manager.active&&De.keyDrop(Tt)}),Object(r.a)(Object(i.a)(Object(i.a)(De)),"isValidSortingTarget",function(Tt){var je=De.props.useDragHandle,st=Tt.target,Xe=I(st,function(Je){return Je.sortableInfo!=null});return Xe&&Xe.sortableInfo&&!Xe.sortableInfo.disabled&&(je?ve(st):st.sortableInfo)}),Q(dt),De.manager=new S,De.events={end:De.handleEnd,move:De.handleMove,start:De.handleStart},De}return Object(v.a)(ze,[{key:"getChildContext",value:function(){return{manager:this.manager}}},{key:"componentDidMount",value:function(){var De=this,Tt=this.props.useWindowAsScrollContainer,je=this.getContainer();Promise.resolve(je).then(function(st){De.container=st,De.document=De.container.ownerDocument||document;var Xe=De.props.contentWindow||De.document.defaultView||window;De.contentWindow=typeof Xe=="function"?Xe():Xe,De.scrollContainer=Tt?De.document.scrollingElement||De.document.documentElement:Y(De.container)||De.container,De.autoScroller=new Ue(De.scrollContainer,De.onAutoScroll),Object.keys(De.events).forEach(function(Je){return C[Je].forEach(function(et){return De.container.addEventListener(et,De.events[Je],!1)})}),De.container.addEventListener("keydown",De.handleKeyDown)})}},{key:"componentWillUnmount",value:function(){var De=this;if(this.helper&&this.helper.parentNode&&this.helper.parentNode.removeChild(this.helper),!this.container)return;Object.keys(this.events).forEach(function(Tt){return C[Tt].forEach(function(je){return De.container.removeEventListener(je,De.events[Tt])})}),this.container.removeEventListener("keydown",this.handleKeyDown)}},{key:"updateHelperPosition",value:function(De){var Tt=this.props,je=Tt.lockAxis,st=Tt.lockOffset,Xe=Tt.lockToContainerEdges,Je=Tt.transitionDuration,et=Tt.keyboardSortingTransitionDuration,at=et===void 0?Je:et,Ve=this.manager.isKeySorting,le=De.ignoreTransition,ae=N(De),lt={x:ae.x-this.initialOffset.x,y:ae.y-this.initialOffset.y};if(lt.y-=window.pageYOffset-this.initialWindowScroll.top,lt.x-=window.pageXOffset-this.initialWindowScroll.left,this.translate=lt,Xe){var Ze=X({height:this.height,lockOffset:st,width:this.width}),Te=Object(f.a)(Ze,2),Jt=Te[0],mt=Te[1],ft={x:this.width/2-Jt.x,y:this.height/2-Jt.y},bt={x:this.width/2-mt.x,y:this.height/2-mt.y};lt.x=M(this.minTranslate.x+ft.x,this.maxTranslate.x-bt.x,lt.x),lt.y=M(this.minTranslate.y+ft.y,this.maxTranslate.y-bt.y,lt.y)}je==="x"?lt.y=0:je==="y"&&(lt.x=0),Ve&&at&&!le&&O(this.helper,at),b(this.helper,lt)}},{key:"animateNodes",value:function(){var De=this.props,Tt=De.transitionDuration,je=De.hideSortableGhost,st=De.onSortOver,Xe=this.containerScrollDelta,Je=this.windowScrollDelta,et=this.manager.getOrderedRefs(),at={left:this.offsetEdge.left+this.translate.x+Xe.left,top:this.offsetEdge.top+this.translate.y+Xe.top},Ve=this.manager.isKeySorting,le=this.newIndex;this.newIndex=null;for(var ae=0,lt=et.length;ae<lt;ae++){var Ze=et[ae].node,Te=Ze.sortableInfo.index,Jt=Ze.offsetWidth,mt=Ze.offsetHeight,ft={height:this.height>mt?mt/2:this.height/2,width:this.width>Jt?Jt/2:this.width/2},bt=Ve&&Te>this.index&&Te<=le,It=Ve&&Te<this.index&&Te>=le,or={x:0,y:0},Pt=et[ae].edgeOffset;Pt||(Pt=U(Ze,this.container),et[ae].edgeOffset=Pt,Ve&&(et[ae].boundingClientRect=K(Ze,Xe)));var _e=ae<et.length-1&&et[ae+1],Ce=ae>0&&et[ae-1];if(_e&&!_e.edgeOffset&&(_e.edgeOffset=U(_e.node,this.container),Ve&&(_e.boundingClientRect=K(_e.node,Xe))),Te===this.index){je&&(this.sortableGhost=Ze,y(Ze,{opacity:0,visibility:"hidden"}));continue}Tt&&O(Ze,Tt),this.axis.x?this.axis.y?It||Te<this.index&&(at.left+Je.left-ft.width<=Pt.left&&at.top+Je.top<=Pt.top+ft.height||at.top+Je.top+ft.height<=Pt.top)?(or.x=this.width+this.marginOffset.x,Pt.left+or.x>this.containerBoundingRect.width-ft.width&&(_e&&(or.x=_e.edgeOffset.left-Pt.left,or.y=_e.edgeOffset.top-Pt.top)),this.newIndex===null&&(this.newIndex=Te)):(bt||Te>this.index&&(at.left+Je.left+ft.width>=Pt.left&&at.top+Je.top+ft.height>=Pt.top||at.top+Je.top+ft.height>=Pt.top+mt))&&(or.x=-(this.width+this.marginOffset.x),Pt.left+or.x<this.containerBoundingRect.left+ft.width&&(Ce&&(or.x=Ce.edgeOffset.left-Pt.left,or.y=Ce.edgeOffset.top-Pt.top)),this.newIndex=Te):bt||Te>this.index&&at.left+Je.left+ft.width>=Pt.left?(or.x=-(this.width+this.marginOffset.x),this.newIndex=Te):(It||Te<this.index&&at.left+Je.left<=Pt.left+ft.width)&&(or.x=this.width+this.marginOffset.x,this.newIndex==null&&(this.newIndex=Te)):this.axis.y&&(bt||Te>this.index&&at.top+Je.top+ft.height>=Pt.top?(or.y=-(this.height+this.marginOffset.y),this.newIndex=Te):(It||Te<this.index&&at.top+Je.top<=Pt.top+ft.height)&&(or.y=this.height+this.marginOffset.y,this.newIndex==null&&(this.newIndex=Te))),b(Ze,or),et[ae].translate=or}this.newIndex==null&&(this.newIndex=this.index),Ve&&(this.newIndex=le);var Ee=Ve?this.prevIndex:le;st&&this.newIndex!==Ee&&st({collection:this.manager.active.collection,index:this.index,newIndex:this.newIndex,oldIndex:Ee,isKeySorting:Ve,nodes:et,helper:this.helper})}},{key:"getWrappedInstance",value:function(){return p()(ge.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 De=this.props.getContainer;return typeof De!="function"?Object(t.findDOMNode)(this):De(ge.withRef?this.getWrappedInstance():void 0)}},{key:"render",value:function(){var De=ge.withRef?"wrappedInstance":null;return Object(o.createElement)(he,Object(g.a)({ref:De},E(this.props,ue)))}},{key:"helperContainer",get:function(){var De=this.props.helperContainer;return typeof De=="function"?De():this.props.helperContainer||this.document.body}},{key:"containerScrollDelta",get:function(){var De=this.props.useWindowAsScrollContainer;return De?{left:0,top:0}:{left:this.scrollContainer.scrollLeft-this.initialScroll.left,top:this.scrollContainer.scrollTop-this.initialScroll.top}}},{key:"windowScrollDelta",get:function(){return{left:this.contentWindow.pageXOffset-this.initialWindowScroll.left,top:this.contentWindow.pageYOffset-this.initialWindowScroll.top}}}]),ze}(o.Component),Object(r.a)(te,"displayName",j("sortableList",he)),Object(r.a)(te,"defaultProps",ot),Object(r.a)(te,"propTypes",ne),Object(r.a)(te,"childContextTypes",{manager:l.a.object.isRequired}),Z}var fe={index:l.a.number.isRequired,collection:l.a.oneOfType([l.a.number,l.a.string]),disabled:l.a.bool},oe=Object.keys(fe);function Le(he){var te,Z,ge=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{withRef:!1};return Z=te=function(Re){Object(a.a)(ze,Re);function ze(){return Object(m.a)(this,ze),Object(h.a)(this,Object(c.a)(ze).apply(this,arguments))}return Object(v.a)(ze,[{key:"componentDidMount",value:function(){this.register()}},{key:"componentDidUpdate",value:function(De){this.node&&(De.index!==this.props.index&&(this.node.sortableInfo.index=this.props.index),De.disabled!==this.props.disabled&&(this.node.sortableInfo.disabled=this.props.disabled)),De.collection!==this.props.collection&&(this.unregister(De.collection),this.register())}},{key:"componentWillUnmount",value:function(){this.unregister()}},{key:"register",value:function(){var De=this.props,Tt=De.collection,je=De.disabled,st=De.index,Xe=Object(t.findDOMNode)(this);Xe.sortableInfo={collection:Tt,disabled:je,index:st,manager:this.context.manager},this.node=Xe,this.ref={node:Xe},this.context.manager.add(Tt,this.ref)}},{key:"unregister",value:function(){var De=arguments.length>0&&arguments[0]!==void 0?arguments[0]:this.props.collection;this.context.manager.remove(De,this.ref)}},{key:"getWrappedInstance",value:function(){return p()(ge.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 De=ge.withRef?"wrappedInstance":null;return Object(o.createElement)(he,Object(g.a)({ref:De},E(this.props,oe)))}}]),ze}(o.Component),Object(r.a)(te,"displayName",j("sortableElement",he)),Object(r.a)(te,"contextTypes",{manager:l.a.object.isRequired}),Object(r.a)(te,"propTypes",fe),Object(r.a)(te,"defaultProps",{collection:0}),Z}},YNAk:function(R,D,e){"use strict";var g=e("TqRt"),f=e("284h");Object.defineProperty(D,"__esModule",{value:!0}),D.default=void 0;var A=f(e("q1tI")),m=g(e("QyFq")),v=g(e("KQxl")),h=function(i,r){return A.createElement(v.default,Object.assign({},i,{ref:r,icon:m.default}))};h.displayName="CaretDownFilled";var c=A.forwardRef(h);D.default=c},YNf1:function(R,D,e){var g=e("IwbS"),f=e("6Ic6"),A=.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,x=d.coordinateSystem,S=x.dimensions,T=a(d);u.diff(p).add(w).update(E).remove(C).execute();function w(y){var b=c(u,s,y,S,x);i(b,u,y,T)}function E(y,b){var O=p.getItemGraphicEl(b),I=h(u,y,S,x);u.setItemGraphicEl(y,O);var M=t&&t.animation===!1?null:d;g.updateProps(O,{shape:{points:I}},M,y),i(O,u,y,T)}function C(y){var b=p.getItemGraphicEl(y);s.remove(b)}if(!this._initialized){this._initialized=!0;var _=v(x,d,function(){setTimeout(function(){s.removeClipPath()})});s.setClipPath(_)}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),x=d.start;x<d.end;x++){var S=c(t,this._dataGroup,x,u,s);S.incremental=!0,i(S,t,x,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],x=d.get(d.mapDimension(p),n);r(x,t.getAxis(p).type)||s.push(t.dataToPoint(x,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=A),{lineStyle:d.getModel("lineStyle").getLineStyle(),smooth:n!=null?n:A}}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;R.exports=o},YOMW:function(R,D,e){var g=e("bYtY"),f={get:function(v,h,c){var a=g.clone((A[v]||{})[h]);return c&&g.isArray(a)?a[a.length-1]:a}},A={color:{active:["#006edd","#e0ffff"],inactive:["rgba(0,0,0,0)"]},colorHue:{active:[0,360],inactive:[0,0]},colorSaturation:{active:[.3,1],inactive:[0,0]},colorLightness:{active:[.9,.5],inactive:[0,0]},colorAlpha:{active:[.3,1],inactive:[0,0]},opacity:{active:[.3,1],inactive:[0,0]},symbol:{active:["circle","roundRect","diamond"],inactive:["none"]},symbolSize:{active:[10,50],inactive:[0,0]}},m=f;R.exports=m},YXkt:function(R,D,e){var g=e("Tghj"),f=g.__DEV__,A=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=A.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,x=typeof Int32Array===l?Array:Int32Array,S=typeof Uint16Array===l?Array:Uint16Array;function T(W){return W._rawCount>65535?p:S}function w(W){var Y=W.constructor;return Y===Array?W.slice():new Y(W)}var E=["hasItemOption","_nameList","_idList","_invertedIndicesMap","_rawData","_chunkSize","_chunkCount","_dimValueGetter","_count","_rawCount","_nameDimIdx","_idDimIdx"],C=["_extent","_approximateExtent","_rawExtent"];function _(W,Y){A.each(E.concat(Y.__wrappedMethods||[]),function(q){Y.hasOwnProperty(q)&&(W[q]=Y[q])}),W.__wrappedMethods=Y.__wrappedMethods,A.each(C,function(q){W[q]=A.clone(Y[q])}),W._calculationInfo=A.extend(Y._calculationInfo)}var y=function(W,Y){W=W||["x","y"];for(var q={},me=[],G={},ye=0;ye<W.length;ye++){var Ae=W[ye];A.isString(Ae)?Ae=new d({name:Ae}):Ae instanceof d||(Ae=new d(Ae));var ve=Ae.name;Ae.type=Ae.type||"float",Ae.coordDim||(Ae.coordDim=ve,Ae.coordDimIndex=0),Ae.otherDims=Ae.otherDims||{},me.push(ve),q[ve]=Ae,Ae.index=ye,Ae.createInvertedIndices&&(G[ve]=[])}this.dimensions=me,this._dimensionInfos=q,this.hostModel=Y,this.dataType,this._indices=null,this._count=0,this._rawCount=0,this._storage={},this._nameList=[],this._idList=[],this._optionModels=[],this._visual={},this._layout={},this._itemVisuals=[],this.hasItemVisual={},this._itemLayouts=[],this._graphicEls=[],this._chunkSize=1e5,this._chunkCount=0,this._rawData,this._rawExtent={},this._extent={},this._approximateExtent={},this._dimensionsSummary=o(this),this._invertedIndicesMap=G,this._calculationInfo={},this.userOutput=this._dimensionsSummary.userOutput},b=y.prototype;b.type="list",b.hasItemOption=!0,b.getDimension=function(W){return(typeof W=="number"||!isNaN(W)&&!this._dimensionInfos.hasOwnProperty(W))&&(W=this.dimensions[W]),W},b.getDimensionInfo=function(W){return this._dimensionInfos[this.getDimension(W)]},b.getDimensionsOnCoord=function(){return this._dimensionsSummary.dataDimsOnCoord.slice()},b.mapDimension=function(W,Y){var q=this._dimensionsSummary;if(Y==null)return q.encodeFirstDimNotExtra[W];var me=q.encode[W];return Y===!0?(me||[]).slice():me&&me[Y]},b.initData=function(W,Y,q){var me=h.isInstance(W)||A.isArrayLike(W);me&&(W=new i(W,this.dimensions.length)),this._rawData=W,this._storage={},this._indices=null,this._nameList=Y||[],this._idList=[],this._nameRepeatCount={},q||(this.hasItemOption=!1),this.defaultDimValueGetter=a[this._rawData.getSource().sourceFormat],this._dimValueGetter=q=q||this.defaultDimValueGetter,this._dimValueGetterArrayRows=a.arrayRows,this._rawExtent={},this._initDataFromProvider(0,W.count()),W.pure&&(this.hasItemOption=!1)},b.getProvider=function(){return this._rawData},b.appendData=function(W){var Y=this._rawData,q=this.count();Y.appendData(W);var me=Y.count();Y.persistent||(me+=q),this._initDataFromProvider(q,me)},b.appendValues=function(W,Y){for(var q=this._chunkSize,me=this._storage,G=this.dimensions,ye=G.length,Ae=this._rawExtent,ve=this.count(),Ue=ve+Math.max(W.length,Y?Y.length:0),Me=this._chunkCount,nt=0;nt<ye;nt++){var ne=G[nt];Ae[ne]||(Ae[ne]=H()),me[ne]||(me[ne]=[]),O(me,this._dimensionInfos[ne],q,Me,Ue),this._chunkCount=me[ne].length}for(var be=new Array(ye),ot=ve;ot<Ue;ot++){for(var ue=ot-ve,Q=Math.floor(ot/q),V=ot%q,J=0;J<ye;J++){var ne=G[J],fe=this._dimValueGetterArrayRows(W[ue]||be,ne,ue,J);me[ne][Q][V]=fe;var oe=Ae[ne];fe<oe[0]&&(oe[0]=fe),fe>oe[1]&&(oe[1]=fe)}Y&&(this._nameList[ot]=Y[ue])}this._rawCount=this._count=Ue,this._extent={},I(this)},b._initDataFromProvider=function(W,Y){if(W>=Y)return;for(var q=this._chunkSize,me=this._rawData,G=this._storage,ye=this.dimensions,Ae=ye.length,ve=this._dimensionInfos,Ue=this._nameList,Me=this._idList,nt=this._rawExtent,ne=this._nameRepeatCount={},be,ot=this._chunkCount,ue=0;ue<Ae;ue++){var Q=ye[ue];nt[Q]||(nt[Q]=H());var V=ve[Q];V.otherDims.itemName===0&&(be=this._nameDimIdx=ue),V.otherDims.itemId===0&&(this._idDimIdx=ue),G[Q]||(G[Q]=[]),O(G,V,q,ot,Y),this._chunkCount=G[Q].length}for(var J=new Array(Ae),fe=W;fe<Y;fe++){J=me.getItem(fe,J);for(var oe=Math.floor(fe/q),Le=fe%q,he=0;he<Ae;he++){var Q=ye[he],te=G[Q][oe],Z=this._dimValueGetter(J,Q,fe,he);te[Le]=Z;var ge=nt[Q];Z<ge[0]&&(ge[0]=Z),Z>ge[1]&&(ge[1]=Z)}if(!me.pure){var Re=Ue[fe];if(J&&Re==null){if(J.name!=null)Ue[fe]=Re=J.name;else if(be!=null){var ze=ye[be],dt=G[ze][oe];if(dt){Re=dt[Le];var De=ve[ze].ordinalMeta;De&&De.categories.length&&(Re=De.categories[Re])}}}var Tt=J==null?null:J.id;Tt==null&&Re!=null&&(ne[Re]=ne[Re]||0,Tt=Re,ne[Re]>0&&(Tt+="__ec__"+ne[Re]),ne[Re]++),Tt!=null&&(Me[fe]=Tt)}}!me.persistent&&me.clean&&me.clean(),this._rawCount=this._count=Y,this._extent={},I(this)};function O(W,Y,q,me,G){var ye=u[Y.type],Ae=me-1,ve=Y.name,Ue=W[ve][Ae];if(Ue&&Ue.length<q){for(var Me=new ye(Math.min(G-Ae*q,q)),nt=0;nt<Ue.length;nt++)Me[nt]=Ue[nt];W[ve][Ae]=Me}for(var ne=me*q;ne<G;ne+=q)W[ve].push(new ye(Math.min(G-ne,q)))}function I(W){var Y=W._invertedIndicesMap;A.each(Y,function(q,me){var G=W._dimensionInfos[me],ye=G.ordinalMeta;if(ye){q=Y[me]=new x(ye.categories.length);for(var Ae=0;Ae<q.length;Ae++)q[Ae]=t;for(var Ae=0;Ae<W._count;Ae++)q[W.get(me,Ae)]=Ae}})}function M(W,Y,q){var me;if(Y!=null){var G=W._chunkSize,ye=Math.floor(q/G),Ae=q%G,ve=W.dimensions[Y],Ue=W._storage[ve][ye];if(Ue){me=Ue[Ae];var Me=W._dimensionInfos[ve].ordinalMeta;Me&&Me.categories.length&&(me=Me.categories[me])}}return me}b.count=function(){return this._count},b.getIndices=function(){var W,Y=this._indices;if(Y){var q=Y.constructor,me=this._count;if(q===Array){W=new q(me);for(var G=0;G<me;G++)W[G]=Y[G]}else W=new q(Y.buffer,0,me)}else for(var q=T(this),W=new q(this.count()),G=0;G<W.length;G++)W[G]=G;return W},b.get=function(W,Y){if(!(Y>=0&&Y<this._count))return NaN;var q=this._storage;if(!q[W])return NaN;Y=this.getRawIndex(Y);var me=Math.floor(Y/this._chunkSize),G=Y%this._chunkSize,ye=q[W][me],Ae=ye[G];return Ae},b.getByRawIndex=function(W,Y){if(!(Y>=0&&Y<this._rawCount))return NaN;var q=this._storage[W];if(!q)return NaN;var me=Math.floor(Y/this._chunkSize),G=Y%this._chunkSize,ye=q[me];return ye[G]},b._getFast=function(W,Y){var q=Math.floor(Y/this._chunkSize),me=Y%this._chunkSize,G=this._storage[W][q];return G[me]},b.getValues=function(W,Y){var q=[];A.isArray(W)||(Y=W,W=this.dimensions);for(var me=0,G=W.length;me<G;me++)q.push(this.get(W[me],Y));return q},b.hasValue=function(W){for(var Y=this._dimensionsSummary.dataDimsOnCoord,q=0,me=Y.length;q<me;q++)if(isNaN(this.get(Y[q],W)))return!1;return!0},b.getDataExtent=function(W){W=this.getDimension(W);var Y=this._storage[W],q=H();if(!Y)return q;var me=this.count(),G=!this._indices,ye;if(G)return this._rawExtent[W].slice();if(ye=this._extent[W],ye)return ye.slice();ye=q;for(var Ae=ye[0],ve=ye[1],Ue=0;Ue<me;Ue++){var Me=this._getFast(W,this.getRawIndex(Ue));Me<Ae&&(Ae=Me),Me>ve&&(ve=Me)}return ye=[Ae,ve],this._extent[W]=ye,ye},b.getApproximateExtent=function(W){return W=this.getDimension(W),this._approximateExtent[W]||this.getDataExtent(W)},b.setApproximateExtent=function(W,Y){Y=this.getDimension(Y),this._approximateExtent[Y]=W.slice()},b.getCalculationInfo=function(W){return this._calculationInfo[W]},b.setCalculationInfo=function(W,Y){n(W)?A.extend(this._calculationInfo,W):this._calculationInfo[W]=Y},b.getSum=function(W){var Y=this._storage[W],q=0;if(Y)for(var me=0,G=this.count();me<G;me++){var ye=this.get(W,me);isNaN(ye)||(q+=ye)}return q},b.getMedian=function(W){var Y=[];this.each(W,function(G,ye){isNaN(G)||Y.push(G)});var q=[].concat(Y).sort(function(G,ye){return G-ye}),me=this.count();return me===0?0:me%2===1?q[(me-1)/2]:(q[me/2]+q[me/2-1])/2},b.rawIndexOf=function(W,Y){var q=W&&this._invertedIndicesMap[W],me=q[Y];return me==null||isNaN(me)?t:me},b.indexOfName=function(W){for(var Y=0,q=this.count();Y<q;Y++)if(this.getName(Y)===W)return Y;return-1},b.indexOfRawIndex=function(W){if(W>=this._rawCount||W<0)return-1;if(!this._indices)return W;var Y=this._indices,q=Y[W];if(q!=null&&q<this._count&&q===W)return W;for(var me=0,G=this._count-1;me<=G;){var ye=(me+G)/2|0;if(Y[ye]<W)me=ye+1;else if(Y[ye]>W)G=ye-1;else return ye}return-1},b.indicesOfNearest=function(W,Y,q){var me=this._storage,G=me[W],ye=[];if(!G)return ye;q==null&&(q=Infinity);for(var Ae=Infinity,ve=-1,Ue=0,Me=0,nt=this.count();Me<nt;Me++){var ne=Y-this.get(W,Me),be=Math.abs(ne);be<=q&&((be<Ae||be===Ae&&ne>=0&&ve<0)&&(Ae=be,ve=ne,Ue=0),ne===ve&&(ye[Ue++]=Me))}return ye.length=Ue,ye},b.getRawIndex=F;function F(W){return W}function P(W){return W<this._count&&W>=0?this._indices[W]:-1}b.getRawDataItem=function(W){if(this._rawData.persistent)return this._rawData.getItem(this.getRawIndex(W));for(var Y=[],q=0;q<this.dimensions.length;q++){var me=this.dimensions[q];Y.push(this.get(me,W))}return Y},b.getName=function(W){var Y=this.getRawIndex(W);return this._nameList[Y]||M(this,this._nameDimIdx,Y)||""},b.getId=function(W){return j(this,this.getRawIndex(W))};function j(W,Y){var q=W._idList[Y];return q==null&&(q=M(W,W._idDimIdx,Y)),q==null&&(q=s+Y),q}function K(W){return A.isArray(W)||(W=[W]),W}function N(W,Y){for(var q=0;q<Y.length;q++)W._dimensionInfos[Y[q]]||console.error("Unkown dimension "+Y[q])}b.each=function(W,Y,q,me){"use strict";if(!this._count)return;typeof W=="function"&&(me=q,q=Y,Y=W,W=[]),q=q||me||this,W=A.map(K(W),this.getDimension,this);for(var G=W.length,ye=0;ye<this.count();ye++)switch(G){case 0:Y.call(q,ye);break;case 1:Y.call(q,this.get(W[0],ye),ye);break;case 2:Y.call(q,this.get(W[0],ye),this.get(W[1],ye),ye);break;default:for(var Ae=0,ve=[];Ae<G;Ae++)ve[Ae]=this.get(W[Ae],ye);ve[Ae]=ye,Y.apply(q,ve)}},b.filterSelf=function(W,Y,q,me){"use strict";if(!this._count)return;typeof W=="function"&&(me=q,q=Y,Y=W,W=[]),q=q||me||this,W=A.map(K(W),this.getDimension,this);for(var G=this.count(),ye=T(this),Ae=new ye(G),ve=[],Ue=W.length,Me=0,nt=W[0],ne=0;ne<G;ne++){var be,ot=this.getRawIndex(ne);if(Ue===0)be=Y.call(q,ne);else if(Ue===1){var ue=this._getFast(nt,ot);be=Y.call(q,ue,ne)}else{for(var Q=0;Q<Ue;Q++)ve[Q]=this._getFast(nt,ot);ve[Q]=ne,be=Y.apply(q,ve)}be&&(Ae[Me++]=ot)}return Me<G&&(this._indices=Ae),this._count=Me,this._extent={},this.getRawIndex=this._indices?P:F,this},b.selectRange=function(W){"use strict";if(!this._count)return;var Y=[];for(var q in W)W.hasOwnProperty(q)&&Y.push(q);var me=Y.length;if(!me)return;var G=this.count(),ye=T(this),Ae=new ye(G),ve=0,Ue=Y[0],Me=W[Ue][0],nt=W[Ue][1],ne=!1;if(!this._indices){var be=0;if(me===1){for(var ot=this._storage[Y[0]],ue=0;ue<this._chunkCount;ue++)for(var Q=ot[ue],V=Math.min(this._count-ue*this._chunkSize,this._chunkSize),J=0;J<V;J++){var fe=Q[J];(fe>=Me&&fe<=nt||isNaN(fe))&&(Ae[ve++]=be),be++}ne=!0}else if(me===2){for(var ot=this._storage[Ue],oe=this._storage[Y[1]],Le=W[Y[1]][0],he=W[Y[1]][1],ue=0;ue<this._chunkCount;ue++)for(var Q=ot[ue],te=oe[ue],V=Math.min(this._count-ue*this._chunkSize,this._chunkSize),J=0;J<V;J++){var fe=Q[J],Z=te[J];(fe>=Me&&fe<=nt||isNaN(fe))&&(Z>=Le&&Z<=he||isNaN(Z))&&(Ae[ve++]=be),be++}ne=!0}}if(!ne)if(me===1)for(var J=0;J<G;J++){var ge=this.getRawIndex(J),fe=this._getFast(Ue,ge);(fe>=Me&&fe<=nt||isNaN(fe))&&(Ae[ve++]=ge)}else for(var J=0;J<G;J++){for(var Re=!0,ge=this.getRawIndex(J),ue=0;ue<me;ue++){var ze=Y[ue],fe=this._getFast(q,ge);(fe<W[ze][0]||fe>W[ze][1])&&(Re=!1)}Re&&(Ae[ve++]=this.getRawIndex(J))}return ve<G&&(this._indices=Ae),this._count=ve,this._extent={},this.getRawIndex=this._indices?P:F,this},b.mapArray=function(W,Y,q,me){"use strict";typeof W=="function"&&(me=q,q=Y,Y=W,W=[]),q=q||me||this;var G=[];return this.each(W,function(){G.push(Y&&Y.apply(this,arguments))},q),G};function B(W,Y){var q=W.dimensions,me=new y(A.map(q,W.getDimensionInfo,W),W.hostModel);_(me,W);for(var G=me._storage={},ye=W._storage,Ae=0;Ae<q.length;Ae++){var ve=q[Ae];ye[ve]&&(A.indexOf(Y,ve)>=0?(G[ve]=U(ye[ve]),me._rawExtent[ve]=H(),me._extent[ve]=null):G[ve]=ye[ve])}return me}function U(W){for(var Y=new Array(W.length),q=0;q<W.length;q++)Y[q]=w(W[q]);return Y}function H(){return[Infinity,-Infinity]}b.map=function(W,Y,q,me){"use strict";q=q||me||this,W=A.map(K(W),this.getDimension,this);var G=B(this,W);G._indices=this._indices,G.getRawIndex=G._indices?P:F;for(var ye=G._storage,Ae=[],ve=this._chunkSize,Ue=W.length,Me=this.count(),nt=[],ne=G._rawExtent,be=0;be<Me;be++){for(var ot=0;ot<Ue;ot++)nt[ot]=this.get(W[ot],be);nt[Ue]=be;var ue=Y&&Y.apply(q,nt);if(ue!=null){typeof ue!="object"&&(Ae[0]=ue,ue=Ae);for(var Q=this.getRawIndex(be),V=Math.floor(Q/ve),J=Q%ve,fe=0;fe<ue.length;fe++){var oe=W[fe],Le=ue[fe],he=ne[oe],te=ye[oe];te&&(te[V][J]=Le),Le<he[0]&&(he[0]=Le),Le>he[1]&&(he[1]=Le)}}}return G},b.downSample=function(W,Y,q,me){for(var G=B(this,[W]),ye=G._storage,Ae=[],ve=Math.floor(1/Y),Ue=ye[W],Me=this.count(),nt=this._chunkSize,ne=G._rawExtent[W],be=new(T(this))(Me),ot=0,ue=0;ue<Me;ue+=ve){ve>Me-ue&&(ve=Me-ue,Ae.length=ve);for(var Q=0;Q<ve;Q++){var V=this.getRawIndex(ue+Q),J=Math.floor(V/nt),fe=V%nt;Ae[Q]=Ue[J][fe]}var oe=q(Ae),Le=this.getRawIndex(Math.min(ue+me(Ae,oe)||0,Me-1)),he=Math.floor(Le/nt),te=Le%nt;Ue[he][te]=oe,oe<ne[0]&&(ne[0]=oe),oe>ne[1]&&(ne[1]=oe),be[ot++]=Le}return G._count=ot,G._indices=be,G.getRawIndex=P,G},b.getItemModel=function(W){var Y=this.hostModel;return new m(this.getRawDataItem(W),Y,Y&&Y.ecModel)},b.diff=function(W){var Y=this;return new v(W?W.getIndices():[],this.getIndices(),function(q){return j(W,q)},function(q){return j(Y,q)})},b.getVisual=function(W){var Y=this._visual;return Y&&Y[W]},b.setVisual=function(W,Y){if(n(W)){for(var q in W)W.hasOwnProperty(q)&&this.setVisual(q,W[q]);return}this._visual=this._visual||{},this._visual[W]=Y},b.setLayout=function(W,Y){if(n(W)){for(var q in W)W.hasOwnProperty(q)&&this.setLayout(q,W[q]);return}this._layout[W]=Y},b.getLayout=function(W){return this._layout[W]},b.getItemLayout=function(W){return this._itemLayouts[W]},b.setItemLayout=function(W,Y,q){this._itemLayouts[W]=q?A.extend(this._itemLayouts[W]||{},Y):Y},b.clearItemLayouts=function(){this._itemLayouts.length=0},b.getItemVisual=function(W,Y,q){var me=this._itemVisuals[W],G=me&&me[Y];return G==null&&!q?this.getVisual(Y):G},b.setItemVisual=function(W,Y,q){var me=this._itemVisuals[W]||{},G=this.hasItemVisual;if(this._itemVisuals[W]=me,n(Y)){for(var ye in Y)Y.hasOwnProperty(ye)&&(me[ye]=Y[ye],G[ye]=!0);return}me[Y]=q,G[Y]=!0},b.clearAllVisual=function(){this._visual={},this._itemVisuals=[],this.hasItemVisual={}};var z=function(W){W.seriesIndex=this.seriesIndex,W.dataIndex=this.dataIndex,W.dataType=this.dataType};b.setItemGraphicEl=function(W,Y){var q=this.hostModel;Y&&(Y.dataIndex=W,Y.dataType=this.dataType,Y.seriesIndex=q&&q.seriesIndex,Y.type==="group"&&Y.traverse(z,Y)),this._graphicEls[W]=Y},b.getItemGraphicEl=function(W){return this._graphicEls[W]},b.eachItemGraphicEl=function(W,Y){A.each(this._graphicEls,function(q,me){q&&(W&&W.call(Y,q,me))})},b.cloneShallow=function(W){if(!W){var Y=A.map(this.dimensions,this.getDimensionInfo,this);W=new y(Y,this.hostModel)}if(W._storage=this._storage,_(W,this),this._indices){var q=this._indices.constructor;W._indices=new q(this._indices)}else W._indices=null;return W.getRawIndex=W._indices?P:F,W},b.wrapMethod=function(W,Y){var q=this[W];if(typeof q!="function")return;this.__wrappedMethods=this.__wrappedMethods||[],this.__wrappedMethods.push(W),this[W]=function(){var me=q.apply(this,arguments);return Y.apply(this,[me].concat(A.slice(arguments)))}},b.TRANSFERABLE_METHODS=["cloneShallow","downSample","map"],b.CHANGABLE_METHODS=["filterSelf","selectRange"];var X=y;R.exports=X},YgsL:function(R,D,e){var g=e("QBsz"),f=g.distance;function A(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 x=l*l,S=l*x;a.push([A(t[0],s[0],u[0],p[0],l,x,S),A(t[1],s[1],u[1],p[1],l,x,S)])}return a}R.exports=m},Yl7c:function(R,D,e){var g=e("Tghj"),f=g.__DEV__,A=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){A.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,x=function(){u.$constructor?u.$constructor.apply(this,arguments):p.apply(this,arguments)};return A.extend(x.prototype,u),x.extend=this.extend,x.superCall=o,x.superApply=d,A.inherits(x,this),x.superClass=p,x}}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=A.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(S,T){if(T){if(c(T),T=h(T),!T.sub)u[T.main]=S;else if(T.sub!==v){var w=p(T);w[T.sub]=S}}return S},t.getClass=function(S,T,w){var E=u[S];if(E&&E[v]&&(E=T?E[T]:null),w&&!E)throw new Error(T?"Component "+S+"."+(T||"")+" not exists. Load it first.":S+".type should be specified.");return E},t.getClassesByMainType=function(S){S=h(S);var T=[],w=u[S.main];return w&&w[v]?A.each(w,function(E,C){C!==v&&T.push(E)}):T.push(w),T},t.hasClass=function(S){return S=h(S),!!u[S.main]},t.getAllClassMainTypes=function(){var S=[];return A.each(u,function(T,w){S.push(w)}),S},t.hasSubTypes=function(S){S=h(S);var T=u[S.main];return T&&T[v]},t.parseClassType=h;function p(S){var T=u[S.main];return(!T||!T[v])&&(T=u[S.main]={},T[v]=!0),T}if(s.registerWhenExtend){var x=t.extend;x&&(t.extend=function(S){var T=x.call(this,S);return t.registerClass(T,S.type)})}return t}function l(t,s){}D.parseClassType=h,D.enableClassExtend=a,D.enableClassCheck=r,D.enableClassManagement=n,D.setReadOnly=l},Ynxi:function(R,D,e){var g=e("bYtY"),f=e("ProS"),A=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 A.Text({style:A.setTextStyle({},d,{text:a.get("text"),textFill:d.getTextColor()},{disableBox:!0}),z2:10}),u=s.getBoundingRect(),p=a.get("subtext"),x=new A.Text({style:A.setTextStyle({},n,{text:p,textFill:n.getTextColor(),y:u.height+a.get("itemGap"),textVerticalAlign:"top"},{disableBox:!0}),z2:10}),S=a.get("link"),T=a.get("sublink"),w=a.get("triggerEvent",!0);s.silent=!S&&!w,x.silent=!T&&!w,S&&s.on("click",function(){c(S,"_"+a.get("target"))}),T&&x.on("click",function(){c(S,"_"+a.get("subtarget"))}),s.eventData=x.eventData=w?{componentType:"title",componentIndex:a.componentIndex}:null,o.add(s),p&&o.add(x);var E=o.getBoundingRect(),C=a.getBoxLayoutParams();C.width=E.width,C.height=E.height;var _=v(C,{width:r.getWidth(),height:r.getHeight()},a.get("padding"));l||(l=a.get("left")||a.get("right"),l==="middle"&&(l="center"),l==="right"?_.x+=_.width:l==="center"&&(_.x+=_.width/2)),t||(t=a.get("top")||a.get("bottom"),t==="center"&&(t="middle"),t==="bottom"?_.y+=_.height:t==="middle"&&(_.y+=_.height/2),t=t||"top"),o.attr("position",[_.x,_.y]);var y={textAlign:l,textVerticalAlign:t};s.setStyle(y),x.setStyle(y),E=o.getBoundingRect();var b=_.margin,O=a.getItemStyle(["color","opacity"]);O.fill=a.get("backgroundColor");var I=new A.Rect({shape:{x:E.x-b[3],y:E.y-b[0],width:E.width+b[1]+b[3],height:E.height+b[0]+b[2],r:a.get("borderRadius")},style:O,subPixelOptimize:!0,silent:!0});o.add(I)}})},YrtM:function(R,D,e){"use strict";e.d(D,"a",function(){return A});var g=e("q1tI"),f=e.n(g);function A(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(R,D,e){"use strict";var g=e("TqRt"),f=e("284h");Object.defineProperty(D,"__esModule",{value:!0}),D.default=void 0;var A=f(e("q1tI")),m=g(e("DO2E")),v=g(e("KQxl")),h=function(i,r){return A.createElement(v.default,Object.assign({},i,{ref:r,icon:m.default}))};h.displayName="DeleteOutlined";var c=A.forwardRef(h);D.default=c},Z0Lh:function(R,D,e){"use strict";var g=e("TqRt");Object.defineProperty(D,"__esModule",{value:!0}),D.default=void 0;var f=g(e("pVnL")),A=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"]},A.default),timePickerLocale:(0,f.default)({},m.default)};v.lang.ok="\u786E \u5B9A";var h=v;D.default=h},Z0cm:function(R,D){var e=Array.isArray;R.exports=e},Z1HP:function(R,D,e){var g=e("ycre"),f=e("quyA"),A=e("q4HE");function m(v){return f(v)?A(v):g(v)}R.exports=m},Z1r0:function(R,D){function e(g){var f=g.findComponents({mainType:"legend"});if(!f||!f.length)return;g.eachSeriesByType("graph",function(A){var m=A.getCategoriesData(),v=A.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)}R.exports=e},Z1wy:function(R,D,e){var g=e("ProS");e("ThAp"),e("pmaE"),e("SehX"),e("7uqq");var f=e("zuHt"),A=e("VPsl"),m=e("9u0u"),v=e("lELe"),h=e("d4KN");g.registerLayout(f),g.registerVisual(A),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(R,D,e){var g=e("MwEJ"),f=e("T4UG"),A=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}});R.exports=A},Z6rY:function(R,D,e){"use strict";Object.defineProperty(D,"__esModule",{value:!0}),D.default=void 0;var g={placeholder:"\u8BF7\u9009\u62E9\u65F6\u95F4",rangePlaceholder:["\u5F00\u59CB\u65F6\u95F4","\u7ED3\u675F\u65F6\u95F4"]},f=g;D.default=f},Z8oC:function(R,D,e){var g=e("y1pI");function f(A,m){var v=this.__data__,h=g(v,A);return h<0?(++this.size,v.push([A,m])):v[h][1]=m,this}R.exports=f},Z8zF:function(R,D,e){var g=e("Tghj"),f=g.__DEV__,A=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 x(z,X){var W=z.getArea&&z.getArea();if(z.type==="cartesian2d"){var Y=z.getBaseAxis();if(Y.type!=="category"||!Y.onBand){var q=X.getLayout("bandWidth");Y.isHorizontal()?(W.x-=q,W.width+=q*2):(W.y-=q,W.height+=q*2)}}return W}var S=A.extendChartView({type:"bar",render:function(z,X,W){this._updateDrawMode(z);var Y=z.get("coordinateSystem");return(Y==="cartesian2d"||Y==="polar")&&(this._isLargeDraw?this._renderLarge(z,X,W):this._renderNormal(z,X,W)),this.group},incrementalPrepareRender:function(z,X,W){this._clear(),this._updateDrawMode(z)},incrementalRender:function(z,X,W,Y){this._incrementalRenderLarge(z,X)},_updateDrawMode:function(z){var X=z.pipelineContext.large;(this._isLargeDraw==null||X^this._isLargeDraw)&&(this._isLargeDraw=X,this._clear())},_renderNormal:function(z,X,W){var Y=this.group,q=z.getData(),me=this._data,G=z.coordinateSystem,ye=G.getBaseAxis(),Ae;G.type==="cartesian2d"?Ae=ye.isHorizontal():G.type==="polar"&&(Ae=ye.dim==="angle");var ve=z.isAnimationEnabled()?z:null,Ue=z.get("clip",!0),Me=x(G,q);Y.removeClipPath();var nt=z.get("roundCap",!0),ne=z.get("showBackground",!0),be=z.getModel("backgroundStyle"),ot=be.get("barBorderRadius")||0,ue=[],Q=this._backgroundEls||[];q.diff(me).add(function(fe){var oe=q.getItemModel(fe),Le=b[G.type](q,fe,oe);if(ne){var he=b[G.type](q,fe),te=H(G,Ae,he);te.useStyle(be.getBarItemStyle()),G.type==="cartesian2d"&&te.setShape("r",ot),ue[fe]=te}if(!q.hasValue(fe))return;if(Ue){var Z=E[G.type](Me,Le);if(Z){Y.remove(ge);return}}var ge=C[G.type](fe,Le,Ae,ve,!1,nt);q.setItemGraphicEl(fe,ge),Y.add(ge),I(ge,q,fe,oe,Le,z,Ae,G.type==="polar")}).update(function(fe,oe){var Le=q.getItemModel(fe),he=b[G.type](q,fe,Le);if(ne){var te=Q[oe];te.useStyle(be.getBarItemStyle()),G.type==="cartesian2d"&&te.setShape("r",ot),ue[fe]=te;var Z=b[G.type](q,fe),ge=U(Ae,Z,G);v.updateProps(te,{shape:ge},ve,fe)}var Re=me.getItemGraphicEl(oe);if(!q.hasValue(fe)){Y.remove(Re);return}if(Ue){var ze=E[G.type](Me,he);if(ze){Y.remove(Re);return}}Re?v.updateProps(Re,{shape:he},ve,fe):Re=C[G.type](fe,he,Ae,ve,!0,nt),q.setItemGraphicEl(fe,Re),Y.add(Re),I(Re,q,fe,Le,he,z,Ae,G.type==="polar")}).remove(function(fe){var oe=me.getItemGraphicEl(fe);G.type==="cartesian2d"?oe&&_(fe,ve,oe):oe&&y(fe,ve,oe)}).execute();var V=this._backgroundGroup||(this._backgroundGroup=new o);V.removeAll();for(var J=0;J<ue.length;++J)V.add(ue[J]);Y.add(V),this._backgroundEls=ue,this._data=q},_renderLarge:function(z,X,W){this._clear(),P(z,this.group);var Y=z.get("clip",!0)?t(z.coordinateSystem,!1,z):null;Y?this.group.setClipPath(Y):this.group.removeClipPath()},_incrementalRenderLarge:function(z,X){this._removeBackground(),P(X,this.group,!0)},dispose:m.noop,remove:function(z){this._clear(z)},_clear:function(z){var X=this.group,W=this._data;z&&z.get("animation")&&W&&!this._isLargeDraw?(this._removeBackground(),this._backgroundEls=[],W.eachItemGraphicEl(function(Y){Y.type==="sector"?y(Y.dataIndex,z,Y):_(Y.dataIndex,z,Y)})):X.removeAll(),this._data=null},_removeBackground:function(){this.group.remove(this._backgroundGroup),this._backgroundGroup=null}}),T=Math.max,w=Math.min,E={cartesian2d:function(z,X){var W=X.width<0?-1:1,Y=X.height<0?-1:1;W<0&&(X.x+=X.width,X.width=-X.width),Y<0&&(X.y+=X.height,X.height=-X.height);var q=T(X.x,z.x),me=w(X.x+X.width,z.x+z.width),G=T(X.y,z.y),ye=w(X.y+X.height,z.y+z.height);X.x=q,X.y=G,X.width=me-q,X.height=ye-G;var Ae=X.width<0||X.height<0;return W<0&&(X.x+=X.width,X.width=-X.width),Y<0&&(X.y+=X.height,X.height=-X.height),Ae},polar:function(z){return!1}},C={cartesian2d:function(z,X,W,Y,q){var me=new v.Rect({shape:m.extend({},X),z2:1});if(me.name="item",Y){var G=me.shape,ye=W?"height":"width",Ae={};G[ye]=0,Ae[ye]=X[ye],v[q?"updateProps":"initProps"](me,{shape:Ae},Y,z)}return me},polar:function(z,X,W,Y,q,me){var G=X.startAngle<X.endAngle,ye=!W&&me?s:v.Sector,Ae=new ye({shape:m.defaults({clockwise:G},X),z2:1});if(Ae.name="item",Y){var ve=Ae.shape,Ue=W?"r":"endAngle",Me={};ve[Ue]=W?0:X.startAngle,Me[Ue]=X[Ue],v[q?"updateProps":"initProps"](Ae,{shape:Me},Y,z)}return Ae}};function _(z,X,W){W.style.text=null,v.updateProps(W,{shape:{width:0}},X,z,function(){W.parent&&W.parent.remove(W)})}function y(z,X,W){W.style.text=null,v.updateProps(W,{shape:{r:W.shape.r0}},X,z,function(){W.parent&&W.parent.remove(W)})}var b={cartesian2d:function(z,X,W){var Y=z.getItemLayout(X),q=W?M(W,Y):0,me=Y.width>0?1:-1,G=Y.height>0?1:-1;return{x:Y.x+me*q/2,y:Y.y+G*q/2,width:Y.width-me*q,height:Y.height-G*q}},polar:function(z,X,W){var Y=z.getItemLayout(X);return{cx:Y.cx,cy:Y.cy,r0:Y.r0,r:Y.r,startAngle:Y.startAngle,endAngle:Y.endAngle}}};function O(z){return z.startAngle!=null&&z.endAngle!=null&&z.startAngle===z.endAngle}function I(z,X,W,Y,q,me,G,ye){var Ae=X.getItemVisual(W,"color"),ve=X.getItemVisual(W,"opacity"),Ue=X.getVisual("borderColor"),Me=Y.getModel("itemStyle"),nt=Y.getModel("emphasis.itemStyle").getBarItemStyle();ye||z.setShape("r",Me.get("barBorderRadius")||0),z.useStyle(m.defaults({stroke:O(q)?"none":Ue,fill:O(q)?"none":Ae,opacity:ve},Me.getBarItemStyle()));var ne=Y.getShallow("cursor");ne&&z.attr("cursor",ne);var be=G?q.height>0?"bottom":"top":q.width>0?"left":"right";ye||c(z.style,nt,Y,Ae,me,W,be),O(q)&&(nt.fill=nt.stroke="none"),v.setHoverStyle(z,nt)}function M(z,X){var W=z.get(u)||0,Y=isNaN(X.width)?Number.MAX_VALUE:Math.abs(X.width),q=isNaN(X.height)?Number.MAX_VALUE:Math.abs(X.height);return Math.min(W,Y,q)}var F=r.extend({type:"largeBar",shape:{points:[]},buildPath:function(z,X){for(var W=X.points,Y=this.__startPoint,q=this.__baseDimIdx,me=0;me<W.length;me+=2)Y[q]=W[me+q],z.moveTo(Y[0],Y[1]),z.lineTo(W[me],W[me+1])}});function P(z,X,W){var Y=z.getData(),q=[],me=Y.getLayout("valueAxisHorizontal")?1:0;q[1-me]=Y.getLayout("valueAxisStart");var G=Y.getLayout("largeDataIndices"),ye=Y.getLayout("barWidth"),Ae=z.getModel("backgroundStyle"),ve=z.get("showBackground",!0);if(ve){var Ue=Y.getLayout("largeBackgroundPoints"),Me=[];Me[1-me]=Y.getLayout("backgroundStart");var nt=new F({shape:{points:Ue},incremental:!!W,__startPoint:Me,__baseDimIdx:me,__largeDataIndices:G,__barWidth:ye,silent:!0,z2:0});B(nt,Ae,Y),X.add(nt)}var ne=new F({shape:{points:Y.getLayout("largePoints")},incremental:!!W,__startPoint:q,__baseDimIdx:me,__largeDataIndices:G,__barWidth:ye});X.add(ne),N(ne,z,Y),ne.seriesIndex=z.seriesIndex,z.get("silent")||(ne.on("mousedown",j),ne.on("mousemove",j))}var j=n(function(z){var X=this,W=K(X,z.offsetX,z.offsetY);X.dataIndex=W>=0?W:null},30,!1);function K(z,X,W){var Y=z.__baseDimIdx,q=1-Y,me=z.shape.points,G=z.__largeDataIndices,ye=Math.abs(z.__barWidth/2),Ae=z.__startPoint[q];p[0]=X,p[1]=W;for(var ve=p[Y],Ue=p[1-Y],Me=ve-ye,nt=ve+ye,ne=0,be=me.length/2;ne<be;ne++){var ot=ne*2,ue=me[ot+Y],Q=me[ot+q];if(ue>=Me&&ue<=nt&&(Ae<=Q?Ue>=Ae&&Ue<=Q:Ue>=Q&&Ue<=Ae))return G[ne]}return-1}function N(z,X,W){var Y=W.getVisual("borderColor")||W.getVisual("color"),q=X.getModel("itemStyle").getItemStyle(["color","borderColor"]);z.useStyle(q),z.style.fill=null,z.style.stroke=Y,z.style.lineWidth=W.getLayout("barWidth")}function B(z,X,W){var Y=X.get("borderColor")||X.get("color"),q=X.getItemStyle(["color","borderColor"]);z.useStyle(q),z.style.fill=null,z.style.stroke=Y,z.style.lineWidth=W.getLayout("barWidth")}function U(z,X,W){var Y,q=W.type==="polar";return q?Y=W.getArea():Y=W.grid.getRect(),q?{cx:Y.cx,cy:Y.cy,r0:z?Y.r0:X.r0,r:z?Y.r:X.r,startAngle:z?X.startAngle:0,endAngle:z?X.endAngle:Math.PI*2}:{x:z?X.x:Y.x,y:z?Y.y:X.y,width:z?X.width:Y.width,height:z?Y.height:X.height}}function H(z,X,W){var Y=z.type==="polar"?v.Sector:v.Rect;return new Y({shape:U(X,W,z),silent:!0,z2:0})}R.exports=S},ZCgT:function(R,D,e){var g=e("tLB3"),f=1/0,A=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*A}return v===v?v:0}R.exports=m},ZLWo:function(R,D,e){"use strict";Object.defineProperty(D,"__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"};D.default=g},ZMnZ:function(R,D,e){"use strict";var g=e("TqRt"),f=e("284h");Object.defineProperty(D,"__esModule",{value:!0}),D.default=void 0;var A=f(e("q1tI")),m=g(e("2oIt")),v=g(e("KQxl")),h=function(i,r){return A.createElement(v.default,Object.assign({},i,{ref:r,icon:m.default}))};h.displayName="UpOutlined";var c=A.forwardRef(h);D.default=c},ZTPi:function(R,D,e){"use strict";var g=e("pVnL"),f=e.n(g),A=e("lSNA"),m=e.n(A),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(je){var st=Object(v.useRef)(),Xe=Object(v.useRef)(!1);function Je(){for(var et=arguments.length,at=new Array(et),Ve=0;Ve<et;Ve++)at[Ve]=arguments[Ve];Xe.current||(t.a.cancel(st.current),st.current=t()(function(){je.apply(void 0,at)}))}return Object(v.useEffect)(function(){return function(){Xe.current=!0,t.a.cancel(st.current)}},[]),Je}function p(je){var st=Object(v.useRef)([]),Xe=Object(v.useState)({}),Je=Object(h.a)(Xe,2),et=Je[1],at=Object(v.useRef)(typeof je=="function"?je():je),Ve=u(function(){var ae=at.current;st.current.forEach(function(lt){ae=lt(ae)}),st.current=[],at.current=ae,et({})});function le(ae){st.current.push(ae),Ve()}return[at.current,le]}var x=e("4IlW");function S(je,st){var Xe,Je=je.prefixCls,et=je.id,at=je.active,Ve=je.rtl,le=je.tab,ae=le.key,lt=le.tab,Ze=le.disabled,Te=le.closeIcon,Jt=je.tabBarGutter,mt=je.tabPosition,ft=je.closable,bt=je.renderWrapper,It=je.removeAriaLabel,or=je.editable,Pt=je.onClick,_e=je.onRemove,Ce=je.onFocus,Ee="".concat(Je,"-tab");v.useEffect(function(){return _e},[]);var we={};mt==="top"||mt==="bottom"?we[Ve?"marginLeft":"marginRight"]=Jt:we.marginBottom=Jt;var Fe=or&&ft!==!1&&!Ze;function Ye(Ke){if(Ze)return;Pt(Ke)}function Ge(Ke){Ke.preventDefault(),Ke.stopPropagation(),or.onEdit("remove",{key:ae,event:Ke})}var qe=v.createElement("div",{key:ae,ref:st,className:r()(Ee,(Xe={},Object(a.a)(Xe,"".concat(Ee,"-with-remove"),Fe),Object(a.a)(Xe,"".concat(Ee,"-active"),at),Object(a.a)(Xe,"".concat(Ee,"-disabled"),Ze),Xe)),style:we,onClick:Ye},v.createElement("div",{role:"tab","aria-selected":at,id:et&&"".concat(et,"-tab-").concat(ae),className:"".concat(Ee,"-btn"),"aria-controls":et&&"".concat(et,"-panel-").concat(ae),"aria-disabled":Ze,tabIndex:Ze?null:0,onClick:function(ct){ct.stopPropagation(),Ye(ct)},onKeyDown:function(ct){[x.a.SPACE,x.a.ENTER].includes(ct.which)&&(ct.preventDefault(),Ye(ct))},onFocus:Ce},lt),Fe&&v.createElement("button",{type:"button","aria-label":It||"remove",tabIndex:0,className:"".concat(Ee,"-remove"),onClick:function(ct){ct.stopPropagation(),Ge(ct)}},Te||or.removeIcon||"\xD7"));return bt&&(qe=bt(qe)),qe}var T=v.forwardRef(S);function w(je,st){var Xe=Object.keys(je);if(Object.getOwnPropertySymbols){var Je=Object.getOwnPropertySymbols(je);st&&(Je=Je.filter(function(et){return Object.getOwnPropertyDescriptor(je,et).enumerable})),Xe.push.apply(Xe,Je)}return Xe}function E(je){for(var st=1;st<arguments.length;st++){var Xe=arguments[st]!=null?arguments[st]:{};st%2?w(Object(Xe),!0).forEach(function(Je){Object(a.a)(je,Je,Xe[Je])}):Object.getOwnPropertyDescriptors?Object.defineProperties(je,Object.getOwnPropertyDescriptors(Xe)):w(Object(Xe)).forEach(function(Je){Object.defineProperty(je,Je,Object.getOwnPropertyDescriptor(Xe,Je))})}return je}var C={width:0,height:0,left:0,top:0};function _(je,st,Xe){return Object(v.useMemo)(function(){for(var Je,et=new Map,at=st.get((Je=je[0])===null||Je===void 0?void 0:Je.key)||C,Ve=at.left+at.width,le=0;le<je.length;le+=1){var ae=je[le].key,lt=st.get(ae);if(!lt){var Ze;lt=st.get((Ze=je[le-1])===null||Ze===void 0?void 0:Ze.key)||C}var Te=et.get(ae)||E({},lt);Te.right=Ve-Te.left-Te.width,et.set(ae,Te)}return et},[je.map(function(Je){return Je.key}).join("_"),st,Xe])}var y={width:0,height:0,left:0,top:0,right:0};function b(je,st,Xe,Je,et){var at=et.tabs,Ve=et.tabPosition,le=et.rtl,ae,lt,Ze;["top","bottom"].includes(Ve)?(ae="width",lt=le?"right":"left",Ze=Math.abs(st.left)):(ae="height",lt="top",Ze=-st.top);var Te=st[ae],Jt=Xe[ae],mt=Je[ae],ft=Te;return Jt+mt>Te&&(ft=Te-mt),Object(v.useMemo)(function(){if(!at.length)return[0,0];for(var bt=at.length,It=bt,or=0;or<bt;or+=1){var Pt=je.get(at[or].key)||y;if(Pt[lt]+Pt[ae]>Ze+ft){It=or-1;break}}for(var _e=0,Ce=bt-1;Ce>=0;Ce-=1){var Ee=je.get(at[Ce].key)||y;if(Ee[lt]<Ze){_e=Ce+1;break}}return[_e,It]},[je,Ze,ft,Ve,at.map(function(bt){return bt.key}).join("_"),le])}var O=e("1j5w"),I=e("eDIo");function M(je,st){var Xe=je.prefixCls,Je=je.editable,et=je.locale,at=je.style;return!Je||Je.showAdd===!1?null:v.createElement("button",{ref:st,type:"button",className:"".concat(Xe,"-nav-add"),style:at,"aria-label":(et==null?void 0:et.addAriaLabel)||"Add tab",onClick:function(le){Je.onEdit("add",{event:le})}},Je.addIcon||"+")}var F=v.forwardRef(M);function P(je,st){var Xe=je.prefixCls,Je=je.id,et=je.tabs,at=je.locale,Ve=je.mobile,le=je.moreIcon,ae=le===void 0?"More":le,lt=je.moreTransitionName,Ze=je.style,Te=je.className,Jt=je.editable,mt=je.tabBarGutter,ft=je.rtl,bt=je.onTabClick,It=Object(v.useState)(!1),or=Object(h.a)(It,2),Pt=or[0],_e=or[1],Ce=Object(v.useState)(null),Ee=Object(h.a)(Ce,2),we=Ee[0],Fe=Ee[1],Ye="".concat(Je,"-more-popup"),Ge="".concat(Xe,"-dropdown"),qe=we!==null?"".concat(Ye,"-").concat(we):null,Ke=at==null?void 0:at.dropdownAriaLabel,ct=v.createElement(O.f,{onClick:function(Oe){var ke=Oe.key,Pe=Oe.domEvent;bt(ke,Pe),_e(!1)},id:Ye,tabIndex:-1,role:"listbox","aria-activedescendant":qe,selectedKeys:[we],"aria-label":Ke!==void 0?Ke:"expanded dropdown"},et.map(function(se){return v.createElement(O.d,{key:se.key,id:"".concat(Ye,"-").concat(se.key),role:"option","aria-controls":Je&&"".concat(Je,"-panel-").concat(se.key),disabled:se.disabled},se.tab)}));function wt(se){for(var Oe=et.filter(function(Wt){return!Wt.disabled}),ke=Oe.findIndex(function(Wt){return Wt.key===we})||0,Pe=Oe.length,rt=0;rt<Pe;rt+=1){ke=(ke+se+Pe)%Pe;var At=Oe[ke];if(!At.disabled){Fe(At.key);return}}}function Lt(se){var Oe=se.which;if(!Pt){[x.a.DOWN,x.a.SPACE,x.a.ENTER].includes(Oe)&&(_e(!0),se.preventDefault());return}switch(Oe){case x.a.UP:wt(-1),se.preventDefault();break;case x.a.DOWN:wt(1),se.preventDefault();break;case x.a.ESC:_e(!1);break;case x.a.SPACE:case x.a.ENTER:we!==null&&bt(we,se);break}}Object(v.useEffect)(function(){var se=document.getElementById(qe);se&&se.scrollIntoView&&se.scrollIntoView(!1)},[we]),Object(v.useEffect)(function(){Pt||Fe(null)},[Pt]);var de=Object(a.a)({},ft?"marginLeft":"marginRight",mt);et.length||(de.visibility="hidden",de.order=1);var xe=r()(Object(a.a)({},"".concat(Ge,"-rtl"),ft)),$=Ve?null:v.createElement(I.a,{prefixCls:Ge,overlay:ct,trigger:["hover"],visible:Pt,transitionName:lt,onVisibleChange:_e,overlayClassName:xe},v.createElement("button",{type:"button",className:"".concat(Xe,"-nav-more"),style:de,tabIndex:-1,"aria-hidden":"true","aria-haspopup":"listbox","aria-controls":Ye,id:"".concat(Je,"-more"),"aria-expanded":Pt,onKeyDown:Lt},ae));return v.createElement("div",{className:r()("".concat(Xe,"-nav-operations"),Te),style:Ze,ref:st},$,v.createElement(F,{prefixCls:Xe,locale:at,editable:Jt}))}var j=v.forwardRef(P),K=Object(v.createContext)(null),N=.1,B=.01,U=20,H=Math.pow(.995,U);function z(){var je=navigator.userAgent||navigator.vendor||window.opera;return!!(/(android|bb\d+|meego).+mobile|avantgo|bada\/|blackberry|blazer|compal|elaine|fennec|hiptop|iemobile|ip(hone|od)|iris|kindle|lge |maemo|midp|mmp|mobile.+firefox|netfront|opera m(ob|in)i|palm( os)?|phone|p(ixi|re)\/|plucker|pocket|psp|series(4|6)0|symbian|treo|up\.(browser|link)|vodafone|wap|windows ce|xda|xiino|android|ipad|playbook|silk/i.test(je)||/1207|6310|6590|3gso|4thp|50[1-6]i|770s|802s|a wa|abac|ac(er|oo|s-)|ai(ko|rn)|al(av|ca|co)|amoi|an(ex|ny|yw)|aptu|ar(ch|go)|as(te|us)|attw|au(di|-m|r |s )|avan|be(ck|ll|nq)|bi(lb|rd)|bl(ac|az)|br(e|v)w|bumb|bw-(n|u)|c55\/|capi|ccwa|cdm-|cell|chtm|cldc|cmd-|co(mp|nd)|craw|da(it|ll|ng)|dbte|dc-s|devi|dica|dmob|do(c|p)o|ds(12|-d)|el(49|ai)|em(l2|ul)|er(ic|k0)|esl8|ez([4-7]0|os|wa|ze)|fetc|fly(-|_)|g1 u|g560|gene|gf-5|g-mo|go(\.w|od)|gr(ad|un)|haie|hcit|hd-(m|p|t)|hei-|hi(pt|ta)|hp( i|ip)|hs-c|ht(c(-| |_|a|g|p|s|t)|tp)|hu(aw|tc)|i-(20|go|ma)|i230|iac( |-|\/)|ibro|idea|ig01|ikom|im1k|inno|ipaq|iris|ja(t|v)a|jbro|jemu|jigs|kddi|keji|kgt( |\/)|klon|kpt |kwc-|kyo(c|k)|le(no|xi)|lg( g|\/(k|l|u)|50|54|-[a-w])|libw|lynx|m1-w|m3ga|m50\/|ma(te|ui|xo)|mc(01|21|ca)|m-cr|me(rc|ri)|mi(o8|oa|ts)|mmef|mo(01|02|bi|de|do|t(-| |o|v)|zz)|mt(50|p1|v )|mwbp|mywa|n10[0-2]|n20[2-3]|n30(0|2)|n50(0|2|5)|n7(0(0|1)|10)|ne((c|m)-|on|tf|wf|wg|wt)|nok(6|i)|nzph|o2im|op(ti|wv)|oran|owg1|p800|pan(a|d|t)|pdxg|pg(13|-([1-8]|c))|phil|pire|pl(ay|uc)|pn-2|po(ck|rt|se)|prox|psio|pt-g|qa-a|qc(07|12|21|32|60|-[2-7]|i-)|qtek|r380|r600|raks|rim9|ro(ve|zo)|s55\/|sa(ge|ma|mm|ms|ny|va)|sc(01|h-|oo|p-)|sdk\/|se(c(-|0|1)|47|mc|nd|ri)|sgh-|shar|sie(-|m)|sk-0|sl(45|id)|sm(al|ar|b3|it|t5)|so(ft|ny)|sp(01|h-|v-|v )|sy(01|mb)|t2(18|50)|t6(00|10|18)|ta(gt|lk)|tcl-|tdg-|tel(i|m)|tim-|t-mo|to(pl|sh)|ts(70|m-|m3|m5)|tx-9|up(\.b|g1|si)|utst|v400|v750|veri|vi(rg|te)|vk(40|5[0-3]|-v)|vm40|voda|vulc|vx(52|53|60|61|70|80|81|83|85|98)|w3c(-| )|webc|whit|wi(g |nc|nw)|wmlb|wonu|x700|yas-|your|zeto|zte-/i.test(je.substr(0,4)))}function X(je,st){var Xe=Object(v.useState)(),Je=Object(h.a)(Xe,2),et=Je[0],at=Je[1],Ve=Object(v.useState)(0),le=Object(h.a)(Ve,2),ae=le[0],lt=le[1],Ze=Object(v.useState)(0),Te=Object(h.a)(Ze,2),Jt=Te[0],mt=Te[1],ft=Object(v.useState)(),bt=Object(h.a)(ft,2),It=bt[0],or=bt[1],Pt=Object(v.useRef)();function _e(Ke){var ct=Ke.touches[0],wt=ct.screenX,Lt=ct.screenY;at({x:wt,y:Lt}),window.clearInterval(Pt.current)}function Ce(Ke){if(!et)return;Ke.preventDefault();var ct=Ke.touches[0],wt=ct.screenX,Lt=ct.screenY;at({x:wt,y:Lt});var de=wt-et.x,xe=Lt-et.y;st(de,xe);var $=Date.now();lt($),mt($-ae),or({x:de,y:xe})}function Ee(){if(!et)return;if(at(null),or(null),It){var Ke=It.x/Jt,ct=It.y/Jt,wt=Math.abs(Ke),Lt=Math.abs(ct);if(Math.max(wt,Lt)<N)return;var de=Ke,xe=ct;Pt.current=window.setInterval(function(){if(Math.abs(de)<B&&Math.abs(xe)<B){window.clearInterval(Pt.current);return}de*=H,xe*=H,st(de*U,xe*U)},U)}}var we=Object(v.useRef)(0),Fe=Object(v.useRef)(!1),Ye=Object(v.useRef)();function Ge(Ke){var ct=Ke.deltaX,wt=Ke.deltaY,Lt=0,de=Math.abs(ct),xe=Math.abs(wt);de===xe?Lt=Ye.current==="x"?ct:wt:de>xe?(Lt=ct,Ye.current="x"):(Lt=wt,Ye.current="y");var $=Date.now();$-we.current>100&&(Fe.current=!1),(st(-Lt,-Lt)||Fe.current)&&(Ke.preventDefault(),Fe.current=!0),we.current=$}var qe=Object(v.useRef)(null);qe.current={onTouchStart:_e,onTouchMove:Ce,onTouchEnd:Ee,onWheel:Ge},v.useEffect(function(){function Ke(de){qe.current.onTouchStart(de)}function ct(de){qe.current.onTouchMove(de)}function wt(de){qe.current.onTouchEnd(de)}function Lt(de){qe.current.onWheel(de)}return document.addEventListener("touchmove",ct,{passive:!1}),document.addEventListener("touchend",wt,{passive:!1}),je.current.addEventListener("touchstart",Ke,{passive:!1}),je.current.addEventListener("wheel",Lt),function(){document.removeEventListener("touchmove",ct),document.removeEventListener("touchend",wt)}},[])}function W(){var je=Object(v.useRef)(new Map);function st(Je){return je.current.has(Je)||je.current.set(Je,v.createRef()),je.current.get(Je)}function Xe(Je){je.current.delete(Je)}return[st,Xe]}function Y(je,st){var Xe=v.useRef(je),Je=v.useState({}),et=Object(h.a)(Je,2),at=et[1];function Ve(le){var ae=typeof le=="function"?le(Xe.current):le;ae!==Xe.current&&st(ae,Xe.current),Xe.current=ae,at({})}return[Xe.current,Ve]}function q(je,st){var Xe=Object.keys(je);if(Object.getOwnPropertySymbols){var Je=Object.getOwnPropertySymbols(je);st&&(Je=Je.filter(function(et){return Object.getOwnPropertyDescriptor(je,et).enumerable})),Xe.push.apply(Xe,Je)}return Xe}function me(je){for(var st=1;st<arguments.length;st++){var Xe=arguments[st]!=null?arguments[st]:{};st%2?q(Object(Xe),!0).forEach(function(Je){Object(a.a)(je,Je,Xe[Je])}):Object.getOwnPropertyDescriptors?Object.defineProperties(je,Object.getOwnPropertyDescriptors(Xe)):q(Object(Xe)).forEach(function(Je){Object.defineProperty(je,Je,Object.getOwnPropertyDescriptor(Xe,Je))})}return je}var G=function(st){var Xe=st.position,Je=st.prefixCls,et=st.extra;if(!et)return null;var at,Ve=et;return Xe==="right"&&(at=Ve.right||!Ve.left&&Ve||null),Xe==="left"&&(at=Ve.left||null),at?v.createElement("div",{className:"".concat(Je,"-extra-content")},at):null};function ye(je,st){var Xe,Je=v.useContext(K),et=Je.prefixCls,at=Je.tabs,Ve=je.className,le=je.style,ae=je.id,lt=je.animated,Ze=je.activeKey,Te=je.rtl,Jt=je.extra,mt=je.editable,ft=je.locale,bt=je.tabPosition,It=je.tabBarGutter,or=je.children,Pt=je.onTabClick,_e=je.onTabScroll,Ce=Object(v.useRef)(),Ee=Object(v.useRef)(),we=Object(v.useRef)(),Fe=Object(v.useRef)(),Ye=W(),Ge=Object(h.a)(Ye,2),qe=Ge[0],Ke=Ge[1],ct=bt==="top"||bt==="bottom",wt=Y(0,function(aa,Hi){ct&&_e&&_e({direction:aa>Hi?"left":"right"})}),Lt=Object(h.a)(wt,2),de=Lt[0],xe=Lt[1],$=Y(0,function(aa,Hi){!ct&&_e&&_e({direction:aa>Hi?"top":"bottom"})}),se=Object(h.a)($,2),Oe=se[0],ke=se[1],Pe=Object(v.useState)(0),rt=Object(h.a)(Pe,2),At=rt[0],Wt=rt[1],$t=Object(v.useState)(0),Rt=Object(h.a)($t,2),zt=Rt[0],Gt=Rt[1],Qt=Object(v.useState)(0),Mt=Object(h.a)(Qt,2),dr=Mt[0],er=Mt[1],ht=Object(v.useState)(0),Et=Object(h.a)(ht,2),pt=Et[0],vt=Et[1],Nt=Object(v.useState)(null),_t=Object(h.a)(Nt,2),gt=_t[0],Ht=_t[1],kt=Object(v.useState)(null),ir=Object(h.a)(kt,2),Xt=ir[0],mr=ir[1],Ar=Object(v.useState)(0),Nr=Object(h.a)(Ar,2),kr=Nr[0],tn=Nr[1],qr=Object(v.useState)(0),_r=Object(h.a)(qr,2),Qr=_r[0],Lr=_r[1],ur=p(new Map),pr=Object(h.a)(ur,2),cr=pr[0],fr=pr[1],xr=_(at,cr,At),Yr="".concat(et,"-nav-operations-hidden"),un=0,Nn=0;ct?Te?(un=0,Nn=Math.max(0,At-gt)):(un=Math.min(0,gt-At),Nn=0):(un=Math.min(0,Xt-zt),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),Kn=Bn[0],qn=Bn[1];function Yn(){qn(Date.now())}function Vn(){window.clearTimeout(Tn.current)}X(Ce,function(aa,Hi){var ga=!1;function ha(mo,Fn){mo(function($i){var eo=jr($i+Fn),To=Object(h.a)(eo,2),uo=To[0],rr=To[1];return ga=rr,uo})}if(ct){if(gt>=At)return ga;ha(xe,aa)}else{if(Xt>=zt)return ga;ha(ke,Hi)}return Vn(),Yn(),ga}),Object(v.useEffect)(function(){return Vn(),Kn&&(Tn.current=window.setTimeout(function(){qn(0)},100)),Vn},[Kn]);function An(){var aa=arguments.length>0&&arguments[0]!==void 0?arguments[0]:Ze,Hi=xr.get(aa);if(!Hi)return;if(ct){var ga=de;Te?Hi.right<de?ga=Hi.right:Hi.right+Hi.width>de+gt&&(ga=Hi.right+Hi.width-gt):Hi.left<-de?ga=-Hi.left:Hi.left+Hi.width>-de+gt&&(ga=-(Hi.left+Hi.width-gt)),ke(0),xe(jr(ga)[0])}else{var ha=Oe;Hi.top<-Oe?ha=-Hi.top:Hi.top+Hi.height>-Oe+Xt&&(ha=-(Hi.top+Hi.height-Xt)),xe(0),ke(jr(ha)[0])}}var on=b(xr,{width:gt,height:Xt,left:de,top:Oe},{width:dr,height:pt},{width:kr,height:Qr},me(me({},je),{},{tabs:at})),ia=Object(h.a)(on,2),xa=ia[0],ta=ia[1],Li=at.map(function(aa){var Hi=aa.key;return v.createElement(T,{id:ae,prefixCls:et,key:Hi,rtl:Te,tab:aa,closable:aa.closable,editable:mt,active:Hi===Ze,tabPosition:bt,tabBarGutter:It,renderWrapper:or,removeAriaLabel:ft==null?void 0:ft.removeAriaLabel,ref:qe(Hi),onClick:function(ha){Pt(Hi,ha)},onRemove:function(){Ke(Hi)},onFocus:function(){An(Hi),Yn(),Te||(Ce.current.scrollLeft=0),Ce.current.scrollTop=0}})}),Ci=u(function(){var aa,Hi,ga,ha,mo,Fn,$i,eo,To,uo=((aa=Ce.current)===null||aa===void 0?void 0:aa.offsetWidth)||0,rr=((Hi=Ce.current)===null||Hi===void 0?void 0:Hi.offsetHeight)||0,Tr=((ga=Fe.current)===null||ga===void 0?void 0:ga.offsetWidth)||0,Br=((ha=Fe.current)===null||ha===void 0?void 0:ha.offsetHeight)||0,Wr=((mo=we.current)===null||mo===void 0?void 0:mo.offsetWidth)||0,hn=((Fn=we.current)===null||Fn===void 0?void 0:Fn.offsetHeight)||0;Ht(uo),mr(rr),tn(Tr),Lr(Br);var it=((($i=Ee.current)===null||$i===void 0?void 0:$i.offsetWidth)||0)-Tr,jt=(((eo=Ee.current)===null||eo===void 0?void 0:eo.offsetHeight)||0)-Br;Wt(it),Gt(jt);var Zt=(To=we.current)===null||To===void 0?void 0:To.className.includes(Yr);er(it-(Zt?0:Wr)),vt(jt-(Zt?0:hn)),fr(function(){var nr=new Map;return at.forEach(function(Or){var wr=Or.key,Er=qe(wr).current;Er&&nr.set(wr,{width:Er.offsetWidth,height:Er.offsetHeight,left:Er.offsetLeft,top:Er.offsetTop})}),nr})}),Gn=at.slice(0,xa),Oa=at.slice(ta+1),mn=[].concat(Object(n.a)(Gn),Object(n.a)(Oa)),On=Object(v.useState)(),_n=Object(h.a)(On,2),Ln=_n[0],jn=_n[1],ni=xr.get(Ze),di=Object(v.useRef)();function Na(){t.a.cancel(di.current)}Object(v.useEffect)(function(){var aa={};return ni&&(ct?(Te?aa.right=ni.right:aa.left=ni.left,aa.width=ni.width):(aa.top=ni.top,aa.height=ni.height)),Na(),di.current=t()(function(){jn(aa)}),Na},[ni,ct,Te]),Object(v.useEffect)(function(){An()},[Ze,ni,xr,ct]),Object(v.useEffect)(function(){Ci()},[Te,It,Ze,at.map(function(aa){return aa.key}).join("_")]);var Qi=!!mn.length,ma="".concat(et,"-nav-wrap"),Pa,Qa,Wi,Co;return ct?Te?(Qa=de>0,Pa=de+gt<At):(Pa=de<0,Qa=-de+gt<At):(Wi=Oe<0,Co=-Oe+Xt<zt),v.createElement("div",{ref:st,role:"tablist",className:r()("".concat(et,"-nav"),Ve),style:le,onKeyDown:function(){Yn()}},v.createElement(G,{position:"left",extra:Jt,prefixCls:et}),v.createElement(s.a,{onResize:Ci},v.createElement("div",{className:r()(ma,(Xe={},Object(a.a)(Xe,"".concat(ma,"-ping-left"),Pa),Object(a.a)(Xe,"".concat(ma,"-ping-right"),Qa),Object(a.a)(Xe,"".concat(ma,"-ping-top"),Wi),Object(a.a)(Xe,"".concat(ma,"-ping-bottom"),Co),Xe)),ref:Ce},v.createElement(s.a,{onResize:Ci},v.createElement("div",{ref:Ee,className:"".concat(et,"-nav-list"),style:{transform:"translate(".concat(de,"px, ").concat(Oe,"px)"),transition:Kn?"none":void 0}},Li,v.createElement(F,{ref:Fe,prefixCls:et,locale:ft,editable:mt,style:{visibility:Qi?"hidden":null}}),v.createElement("div",{className:r()("".concat(et,"-ink-bar"),Object(a.a)({},"".concat(et,"-ink-bar-animated"),lt.inkBar)),style:Ln}))))),v.createElement(j,Object.assign({},je,{ref:we,prefixCls:et,tabs:mn,className:!Qi&&Yr})),v.createElement(G,{position:"right",extra:Jt,prefixCls:et}))}var Ae=v.forwardRef(ye);function ve(je){var st=je.id,Xe=je.activeKey,Je=je.animated,et=je.tabPosition,at=je.rtl,Ve=je.destroyInactiveTabPane,le=v.useContext(K),ae=le.prefixCls,lt=le.tabs,Ze=Je.tabPane,Te=lt.findIndex(function(Jt){return Jt.key===Xe});return v.createElement("div",{className:r()("".concat(ae,"-content-holder"))},v.createElement("div",{className:r()("".concat(ae,"-content"),"".concat(ae,"-content-").concat(et),Object(a.a)({},"".concat(ae,"-content-animated"),Ze)),style:Te&&Ze?Object(a.a)({},at?"marginRight":"marginLeft","-".concat(Te,"00%")):null},lt.map(function(Jt){return v.cloneElement(Jt.node,{key:Jt.key,prefixCls:ae,tabKey:Jt.key,id:st,animated:Ze,active:Jt.key===Xe,destroyInactiveTabPane:Ve})})))}function Ue(je,st){var Xe=Object.keys(je);if(Object.getOwnPropertySymbols){var Je=Object.getOwnPropertySymbols(je);st&&(Je=Je.filter(function(et){return Object.getOwnPropertyDescriptor(je,et).enumerable})),Xe.push.apply(Xe,Je)}return Xe}function Me(je){for(var st=1;st<arguments.length;st++){var Xe=arguments[st]!=null?arguments[st]:{};st%2?Ue(Object(Xe),!0).forEach(function(Je){Object(a.a)(je,Je,Xe[Je])}):Object.getOwnPropertyDescriptors?Object.defineProperties(je,Object.getOwnPropertyDescriptors(Xe)):Ue(Object(Xe)).forEach(function(Je){Object.defineProperty(je,Je,Object.getOwnPropertyDescriptor(Xe,Je))})}return je}function nt(je){var st=je.prefixCls,Xe=je.forceRender,Je=je.className,et=je.style,at=je.id,Ve=je.active,le=je.animated,ae=je.destroyInactiveTabPane,lt=je.tabKey,Ze=je.children,Te=v.useState(Xe),Jt=Object(h.a)(Te,2),mt=Jt[0],ft=Jt[1];v.useEffect(function(){Ve?ft(!0):ae&&ft(!1)},[Ve,ae]);var bt={};return Ve||(le?(bt.visibility="hidden",bt.height=0,bt.overflowY="hidden"):bt.display="none"),v.createElement("div",{id:at&&"".concat(at,"-panel-").concat(lt),role:"tabpanel",tabIndex:Ve?0:-1,"aria-labelledby":at&&"".concat(at,"-tab-").concat(lt),"aria-hidden":!Ve,style:Me(Me({},bt),et),className:r()("".concat(st,"-tabpane"),Ve&&"".concat(st,"-tabpane-active"),Je)},(Ve||mt||Xe)&&Ze)}function ne(je,st){var Xe=Object.keys(je);if(Object.getOwnPropertySymbols){var Je=Object.getOwnPropertySymbols(je);st&&(Je=Je.filter(function(et){return Object.getOwnPropertyDescriptor(je,et).enumerable})),Xe.push.apply(Xe,Je)}return Xe}function be(je){for(var st=1;st<arguments.length;st++){var Xe=arguments[st]!=null?arguments[st]:{};st%2?ne(Object(Xe),!0).forEach(function(Je){Object(a.a)(je,Je,Xe[Je])}):Object.getOwnPropertyDescriptors?Object.defineProperties(je,Object.getOwnPropertyDescriptors(Xe)):ne(Object(Xe)).forEach(function(Je){Object.defineProperty(je,Je,Object.getOwnPropertyDescriptor(Xe,Je))})}return je}var ot=0;function ue(je){return Object(o.a)(je).map(function(st){if(v.isValidElement(st)){var Xe=st.key!==void 0?String(st.key):void 0;return be(be({key:Xe},st.props),{},{node:st})}return null}).filter(function(st){return st})}function Q(je,st){var Xe,Je=je.id,et=je.prefixCls,at=et===void 0?"rc-tabs":et,Ve=je.className,le=je.children,ae=je.direction,lt=je.activeKey,Ze=je.defaultActiveKey,Te=je.editable,Jt=je.animated,mt=je.tabPosition,ft=mt===void 0?"top":mt,bt=je.tabBarGutter,It=je.tabBarStyle,or=je.tabBarExtraContent,Pt=je.locale,_e=je.moreIcon,Ce=je.moreTransitionName,Ee=je.destroyInactiveTabPane,we=je.renderTabBar,Fe=je.onChange,Ye=je.onTabClick,Ge=je.onTabScroll,qe=Object(c.a)(je,["id","prefixCls","className","children","direction","activeKey","defaultActiveKey","editable","animated","tabPosition","tabBarGutter","tabBarStyle","tabBarExtraContent","locale","moreIcon","moreTransitionName","destroyInactiveTabPane","renderTabBar","onChange","onTabClick","onTabScroll"]),Ke=ue(le),ct=ae==="rtl",wt;Jt===!1?wt={inkBar:!1,tabPane:!1}:wt=be({inkBar:!0,tabPane:!1},Jt!==!0?Jt:null);var Lt=Object(v.useState)(!1),de=Object(h.a)(Lt,2),xe=de[0],$=de[1];Object(v.useEffect)(function(){$(z())},[]);var se=Object(d.a)(function(){var pt;return(pt=Ke[0])===null||pt===void 0?void 0:pt.key},{value:lt,defaultValue:Ze}),Oe=Object(h.a)(se,2),ke=Oe[0],Pe=Oe[1],rt=Object(v.useState)(function(){return Ke.findIndex(function(pt){return pt.key===ke})}),At=Object(h.a)(rt,2),Wt=At[0],$t=At[1];Object(v.useEffect)(function(){var pt=Ke.findIndex(function(Nt){return Nt.key===ke});if(pt===-1){var vt;pt=Math.max(0,Math.min(Wt,Ke.length-1)),Pe((vt=Ke[pt])===null||vt===void 0?void 0:vt.key)}$t(pt)},[Ke.map(function(pt){return pt.key}).join("_"),ke,Wt]);var Rt=Object(d.a)(null,{value:Je}),zt=Object(h.a)(Rt,2),Gt=zt[0],Qt=zt[1],Mt=ft;xe&&!["left","right"].includes(ft)&&(Mt="top"),Object(v.useEffect)(function(){Je||(Qt("rc-tabs-".concat(ot)),ot+=1)},[]);function dr(pt,vt){Ye==null||Ye(pt,vt),Pe(pt),Fe==null||Fe(pt)}var er={id:Gt,activeKey:ke,animated:wt,tabPosition:Mt,rtl:ct,mobile:xe},ht,Et=be(be({},er),{},{editable:Te,locale:Pt,moreIcon:_e,moreTransitionName:Ce,tabBarGutter:bt,onTabClick:dr,onTabScroll:Ge,extra:or,style:It,panes:le});return we?ht=we(Et,Ae):ht=v.createElement(Ae,Object.assign({},Et)),v.createElement(K.Provider,{value:{tabs:Ke,prefixCls:at}},v.createElement("div",Object.assign({ref:st,id:Je,className:r()(at,"".concat(at,"-").concat(Mt),(Xe={},Object(a.a)(Xe,"".concat(at,"-mobile"),xe),Object(a.a)(Xe,"".concat(at,"-editable"),Te),Object(a.a)(Xe,"".concat(at,"-rtl"),ct),Xe),Ve)},qe),ht,v.createElement(ve,Object.assign({destroyInactiveTabPane:Ee},er,{animated:wt}))))}var V=v.forwardRef(Q);V.TabPane=nt;var J=V,fe=J,oe=e("cCPh"),Le=e.n(oe),he=e("fNCr"),te=e.n(he),Z=e("V/uB"),ge=e.n(Z),Re=e("uaoM"),ze=e("H84U"),dt=function(je,st){var Xe={};for(var Je in je)Object.prototype.hasOwnProperty.call(je,Je)&&st.indexOf(Je)<0&&(Xe[Je]=je[Je]);if(je!=null&&typeof Object.getOwnPropertySymbols=="function")for(var et=0,Je=Object.getOwnPropertySymbols(je);et<Je.length;et++)st.indexOf(Je[et])<0&&Object.prototype.propertyIsEnumerable.call(je,Je[et])&&(Xe[Je[et]]=je[Je[et]]);return Xe};function De(je){var st,Xe=je.type,Je=je.className,et=je.size,at=je.onEdit,Ve=je.hideAdd,le=je.centered,ae=je.addIcon,lt=dt(je,["type","className","size","onEdit","hideAdd","centered","addIcon"]),Ze=lt.prefixCls,Te=v.useContext(ze.b),Jt=Te.getPrefixCls,mt=Te.direction,ft=Jt("tabs",Ze),bt;return Xe==="editable-card"&&(bt={onEdit:function(or,Pt){var _e=Pt.key,Ce=Pt.event;at==null||at(or==="add"?Ce:_e,or)},removeIcon:v.createElement(ge.a,null),addIcon:ae||v.createElement(te.a,null),showAdd:Ve!==!0}),Object(Re.a)(!("onPrevClick"in lt)&&!("onNextClick"in lt),"Tabs","`onPrevClick` and `onNextClick` has been removed. Please use `onTabScroll` instead."),v.createElement(fe,f()({direction:mt},lt,{moreTransitionName:"slide-up",className:r()(Je,(st={},m()(st,"".concat(ft,"-").concat(et),et),m()(st,"".concat(ft,"-card"),["card","editable-card"].includes(Xe)),m()(st,"".concat(ft,"-editable-card"),Xe==="editable-card"),m()(st,"".concat(ft,"-centered"),le),st)),editable:bt,moreIcon:v.createElement(Le.a,null),prefixCls:ft}))}De.TabPane=nt;var Tt=D.a=De},ZTW2:function(R,D,e){},ZWlE:function(R,D,e){var g=e("bYtY"),f=e("4NO4");function A(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)})}R.exports=A},ZX9x:function(R,D,e){"use strict";e.d(D,"a",function(){return I}),e.d(D,"b",function(){return P});var g=e("lSNA"),f=e.n(g),A=e("pVnL"),m=e.n(A),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),x=e("fEPi"),S=e.n(x),T=e("DFhj"),w=e.n(T),E=e("PKem"),C=e("H84U"),_=function(K){return!isNaN(parseFloat(K))&&isFinite(K)},y=_,b=function(j,K){var N={};for(var B in j)Object.prototype.hasOwnProperty.call(j,B)&&K.indexOf(B)<0&&(N[B]=j[B]);if(j!=null&&typeof Object.getOwnPropertySymbols=="function")for(var U=0,B=Object.getOwnPropertySymbols(j);U<B.length;U++)K.indexOf(B[U])<0&&Object.prototype.propertyIsEnumerable.call(j,B[U])&&(N[B[U]]=j[B[U]]);return N},O={xs:"479.98px",sm:"575.98px",md:"767.98px",lg:"991.98px",xl:"1199.98px",xxl:"1599.98px"},I=n.createContext({}),M=function(){var j=0;return function(){var K=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"";return j+=1,"".concat(K).concat(j)}}(),F=function(j){r()(N,j);var K=d()(N);function N(B){var U;h()(this,N),U=K.call(this,B),U.responsiveHandler=function(X){U.setState({below:X.matches});var W=U.props.onBreakpoint,Y=U.state.collapsed;W&&W(X.matches),Y!==X.matches&&U.setCollapsed(X.matches,"responsive")},U.setCollapsed=function(X,W){"collapsed"in U.props||U.setState({collapsed:X});var Y=U.props.onCollapse;Y&&Y(X,W)},U.toggle=function(){var X=!U.state.collapsed;U.setCollapsed(X,"clickTrigger")},U.renderSider=function(X){var W,Y=X.getPrefixCls,q=U.props,me=q.prefixCls,G=q.className,ye=q.theme,Ae=q.collapsible,ve=q.reverseArrow,Ue=q.trigger,Me=q.style,nt=q.width,ne=q.collapsedWidth,be=q.zeroWidthTriggerStyle,ot=q.children,ue=b(q,["prefixCls","className","theme","collapsible","reverseArrow","trigger","style","width","collapsedWidth","zeroWidthTriggerStyle","children"]),Q=U.state,V=Q.collapsed,J=Q.below,fe=Y("layout-sider",me),oe=Object(s.default)(ue,["collapsed","defaultCollapsed","onCollapse","breakpoint","onBreakpoint","siderHook","zeroWidthTriggerStyle"]),Le=V?ne:nt,he=y(Le)?"".concat(Le,"px"):String(Le),te=parseFloat(String(ne||0))===0?n.createElement("span",{onClick:U.toggle,className:t()("".concat(fe,"-zero-width-trigger"),"".concat(fe,"-zero-width-trigger-").concat(ve?"right":"left")),style:be},Ue||n.createElement(p.a,null)):null,Z={expanded:ve?n.createElement(S.a,null):n.createElement(w.a,null),collapsed:ve?n.createElement(w.a,null):n.createElement(S.a,null)},ge=V?"collapsed":"expanded",Re=Z[ge],ze=Ue!==null?te||n.createElement("div",{className:"".concat(fe,"-trigger"),onClick:U.toggle,style:{width:he}},Ue||Re):null,dt=m()(m()({},Me),{flex:"0 0 ".concat(he),maxWidth:he,minWidth:he,width:he}),De=t()(G,fe,"".concat(fe,"-").concat(ye),(W={},f()(W,"".concat(fe,"-collapsed"),!!V),f()(W,"".concat(fe,"-has-trigger"),Ae&&Ue!==null&&!te),f()(W,"".concat(fe,"-below"),!!J),f()(W,"".concat(fe,"-zero-width"),parseFloat(he)===0),W));return n.createElement("aside",m()({className:De},oe,{style:dt}),n.createElement("div",{className:"".concat(fe,"-children")},ot),Ae||J&&te?ze:null)},U.uniqueId=M("ant-sider-");var H;typeof window!="undefined"&&(H=window.matchMedia),H&&B.breakpoint&&B.breakpoint in O&&(U.mql=H("(max-width: ".concat(O[B.breakpoint],")")));var z;return"collapsed"in B?z=B.collapsed:z=B.defaultCollapsed,U.state={collapsed:z,below:!1},U}return a()(N,[{key:"componentDidMount",value:function(){var U;this.mql&&(this.mql.addListener(this.responsiveHandler),this.responsiveHandler(this.mql)),(U=this.props)===null||U===void 0||U.siderHook.addSider(this.uniqueId)}},{key:"componentWillUnmount",value:function(){var U,H;(U=this===null||this===void 0?void 0:this.mql)===null||U===void 0||U.removeListener(this.responsiveHandler),(H=this.props)===null||H===void 0||H.siderHook.removeSider(this.uniqueId)}},{key:"render",value:function(){var U=this.state.collapsed,H=this.props.collapsedWidth;return n.createElement(I.Provider,{value:{siderCollapsed:U,collapsedWidth:H}},n.createElement(C.a,null,this.renderSider))}}],[{key:"getDerivedStateFromProps",value:function(U){return"collapsed"in U?{collapsed:U.collapsed}:null}}]),N}(n.Component);F.defaultProps={collapsible:!1,defaultCollapsed:!1,reverseArrow:!1,width:200,collapsedWidth:80,style:{},theme:"dark"};var P=function(j){r()(N,j);var K=d()(N);function N(){return h()(this,N),K.apply(this,arguments)}return a()(N,[{key:"render",value:function(){var U=this;return n.createElement(E.a.Consumer,null,function(H){return n.createElement(F,m()({},H,U.props))})}}]),N}(n.Component)},ZYIC:function(R,D,e){var g=e("zM3Q"),f={seriesType:"lines",plan:g(),reset:function(A){var m=A.coordinateSystem,v=A.get("polyline"),h=A.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+=A.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=A.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 x=i.getItemModel(l),u=A.getLineCoords(l,r),S=[];if(v)for(var T=0;T<u;T++)S.push(m.dataToPoint(r[T]));else{S[0]=m.dataToPoint(r[0]),S[1]=m.dataToPoint(r[1]);var w=x.get("lineStyle.curveness");+w&&(S[2]=[(S[0][0]+S[1][0])/2-(S[0][1]-S[1][1])*w,(S[0][1]+S[1][1])/2-(S[1][0]-S[0][0])*w])}i.setItemLayout(l,S)}}return{progress:c}}};R.exports=f},Ze12:function(R,D,e){var g=e("ItGF"),f=e("hOwI"),A=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,x=s%2,S=(s>>1)%2;p.cssText=["position: absolute","visibility: hidden","padding: 0","margin: 0","border-width: 0","user-select: none","width:0","height:0",l[x]+":0",t[S]+":0",l[1-x]+":auto",t[1-S]+":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=[],x=[],S=0;S<4;S++){var T=o[S].getBoundingClientRect(),w=2*S,E=T.left,C=T.top;p.push(E,C),u=u&&s&&E===s[w]&&C===s[w+1],x.push(o[S].offsetLeft,o[S].offsetTop)}return u&&t?t:(d.srcCoords=p,d[l]=n?A(x,p):A(p,x))}function r(o){return o.nodeName.toUpperCase()==="CANVAS"}D.transformLocalCoord=h,D.transformCoordWithViewport=c,D.isCanvasEl=r},Znkb:function(R,D,e){var g=e("Tghj"),f=g.__DEV__,A=e("ProS"),m=e("zTMp"),v=A.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;R.exports=i},"Znn+":function(R,D,e){"use strict";var g=e("cIOH"),f=e.n(g),A=e("9ama"),m=e.n(A)},ZqQs:function(R,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;A(a)})}function A(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)}R.exports=f},Zvw2:function(R,D,e){var g=e("bYtY"),f=e("hM6l"),A=function(v,h,c,a,i){f.call(this,v,h,c),this.type=a||"value",this.position=i||"bottom",this.orient=null};A.prototype={constructor:A,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(A,f);var m=A;R.exports=m},a7Wl:function(R,D,e){"use strict";Object.defineProperty(D,"__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"};D.default=g},a9QJ:function(R,D){var e={Russia:[100,60],"United States":[-99,38],"United States of America":[-99,38]};function g(f,A){if(f==="world"){var m=e[A.name];if(m){var v=A.center;v[0]=m[0],v[1]=m[1]}}}R.exports=g},aHsQ:function(R,D,e){"use strict";var g=e("cIOH"),f=e.n(g),A=e("6D9b"),m=e.n(A)},aKvl:function(R,D,e){var g=e("Sj9i"),f=g.quadraticProjectPoint;function A(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}D.containStroke=A},aTJb:function(R,D,e){var g=e("bLfw");g.registerSubTypeDefaulter("dataZoom",function(){return"slider"})},aUsF:function(R,D,e){"use strict";var g=Array.isArray,f=Object.keys,A=Object.prototype.hasOwnProperty;R.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(!A.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(R,D,e){var g=e("3gBT"),f=e("ItGF"),A=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(x,S){var T=new p(g(),x,S);return o[T.id]=T,T}function l(x){if(x)x.dispose();else{for(var S in o)o.hasOwnProperty(S)&&o[S].dispose();o={}}return this}function t(x){return o[x]}function s(x,S){r[x]=S}function u(x){delete o[x]}var p=function(S,T,w){w=w||{},this.dom=T,this.id=S;var E=this,C=new v,_=w.renderer;if(i){if(!r.vml)throw new Error("You need to require 'zrender/vml/vml' to support IE8");_="vml"}else(!_||!r[_])&&(_="canvas");var y=new r[_](T,C,w,S);this.storage=C,this.painter=y;var b=!f.node&&!f.worker?new a(y.getViewportRoot(),y.root):null;this.handler=new m(C,y,b,y.root),this.animation=new c({stage:{update:A.bind(this.flush,this)}}),this.animation.start(),this._needsRefresh;var O=C.delFromStorage,I=C.addToStorage;C.delFromStorage=function(M){O.call(C,M),M&&M.removeSelfFromZr(E)},C.addToStorage=function(M){I.call(C,M),M.addSelfToZr(E)}};p.prototype={constructor:p,getId:function(){return this.id},add:function(S){this.storage.addRoot(S),this._needsRefresh=!0},remove:function(S){this.storage.delRoot(S),this._needsRefresh=!0},configLayer:function(S,T){this.painter.configLayer&&this.painter.configLayer(S,T),this._needsRefresh=!0},setBackgroundColor:function(S){this.painter.setBackgroundColor&&this.painter.setBackgroundColor(S),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 S;this._needsRefresh&&(S=!0,this.refreshImmediately()),this._needsRefreshHover&&(S=!0,this.refreshHoverImmediately()),S&&this.trigger("rendered")},addHover:function(S,T){if(this.painter.addHover){var w=this.painter.addHover(S,T);return this.refreshHover(),w}},removeHover:function(S){this.painter.removeHover&&(this.painter.removeHover(S),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(S){S=S||{},this.painter.resize(S.width,S.height),this.handler.resize()},clearAnimation:function(){this.animation.clear()},getWidth:function(){return this.painter.getWidth()},getHeight:function(){return this.painter.getHeight()},pathToImage:function(S,T){return this.painter.pathToImage(S,T)},setCursorStyle:function(S){this.handler.setCursorStyle(S)},findHover:function(S,T){return this.handler.findHover(S,T)},on:function(S,T,w){this.handler.on(S,T,w)},off:function(S,T){this.handler.off(S,T)},trigger:function(S,T){this.handler.trigger(S,T)},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)}},D.version=d,D.init=n,D.dispose=l,D.getInstance=t,D.registerPainter=s},aX7z:function(R,D,e){var g=e("Tghj"),f=g.__DEV__,A=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(C,_){var y=C.type,b=_.getMin(),O=_.getMax(),I=C.getExtent(),M,F,P;y==="ordinal"?M=_.getCategories().length:(F=_.get("boundaryGap"),A.isArray(F)||(F=[F||0,F||0]),typeof F[0]=="boolean"&&(F=[0,0]),F[0]=c.parsePercent(F[0],1),F[1]=c.parsePercent(F[1],1),P=I[1]-I[0]||Math.abs(I[0])),b==="dataMin"?b=I[0]:typeof b=="function"&&(b=b({min:I[0],max:I[1]})),O==="dataMax"?O=I[1]:typeof O=="function"&&(O=O({min:I[0],max:I[1]}));var j=b!=null,K=O!=null;b==null&&(b=y==="ordinal"?M?0:NaN:I[0]-F[0]*P),O==null&&(O=y==="ordinal"?M?M-1:NaN:I[1]+F[1]*P),(b==null||!isFinite(b))&&(b=NaN),(O==null||!isFinite(O))&&(O=NaN),C.setBlank(A.eqNaN(b)||A.eqNaN(O)||y==="ordinal"&&!C.getOrdinalMeta().categories.length),_.getNeedCrossZero()&&(b>0&&O>0&&!j&&(b=0),b<0&&O<0&&!K&&(O=0));var N=_.ecModel;if(N&&y==="time"){var B=i("bar",N),U;if(A.each(B,function(X){U|=X.getBaseAxis()===_.axis}),U){var H=r(B),z=l(b,O,_,H);b=z.min,O=z.max}}return{extent:[b,O],fixMin:j,fixMax:K}}function l(C,_,y,b){var O=y.axis.getExtent(),I=O[1]-O[0],M=o(b,y.axis);if(M===void 0)return{min:C,max:_};var F=Infinity;A.each(M,function(U){F=Math.min(U.offset,F)});var P=-Infinity;A.each(M,function(U){P=Math.max(U.offset+U.width,P)}),F=Math.abs(F),P=Math.abs(P);var j=F+P,K=_-C,N=1-(F+P)/I,B=K/N-K;return _+=B*(P/j),C-=B*(F/j),{min:C,max:_}}function t(C,_){var y=n(C,_),b=y.extent,O=_.get("splitNumber");C.type==="log"&&(C.base=_.get("logBase"));var I=C.type;C.setExtent(b[0],b[1]),C.niceExtent({splitNumber:O,fixMin:y.fixMin,fixMax:y.fixMax,minInterval:I==="interval"||I==="time"?_.get("minInterval"):null,maxInterval:I==="interval"||I==="time"?_.get("maxInterval"):null});var M=_.get("interval");M!=null&&(C.setInterval&&C.setInterval(M))}function s(C,_){if(_=_||C.get("type"),_)switch(_){case"category":return new m(C.getOrdinalMeta?C.getOrdinalMeta():C.getCategories(),[Infinity,-Infinity]);case"value":return new v;default:return(h.getClass(_)||v).create(C)}}function u(C){var _=C.scale.getExtent(),y=_[0],b=_[1];return!(y>0&&b>0||y<0&&b<0)}function p(C){var _=C.getLabelModel().get("formatter"),y=C.type==="category"?C.scale.getExtent()[0]:null;return typeof _=="string"?(_=function(b){return function(O){return O=C.scale.getLabel(O),b.replace("{value}",O!=null?O:"")}}(_),_):typeof _=="function"?function(b,O){return y!=null&&(O=b-y),_(x(C,b),O)}:function(b){return C.scale.getLabel(b)}}function x(C,_){return C.type==="category"?C.scale.getLabel(_):_}function S(C){var _=C.model,y=C.scale;if(!_.get("axisLabel.show")||y.isBlank())return;var b=C.type==="category",O,I,M=y.getExtent();b?I=y.count():(O=y.getTicks(),I=O.length);var F=C.getLabelModel(),P=p(C),j,K=1;I>40&&(K=Math.ceil(I/40));for(var N=0;N<I;N+=K){var B=O?O[N]:M[0]+N,U=P(B),H=F.getTextRect(U),z=T(H,F.get("rotate")||0);j?j.union(z):j=z}return j}function T(C,_){var y=_*Math.PI/180,b=C.plain(),O=b.width,I=b.height,M=O*Math.cos(y)+I*Math.sin(y),F=O*Math.sin(y)+I*Math.cos(y),P=new d(b.x,b.y,M,F);return P}function w(C){var _=C.get("interval");return _==null?"auto":_}function E(C){return C.type==="category"&&w(C.getLabelModel())===0}D.getScaleExtent=n,D.niceScaleExtent=t,D.createScaleByModel=s,D.ifAxisCrossZero=u,D.makeLabelFormatter=p,D.getAxisRawValue=x,D.estimateLabelUnionRect=S,D.getOptionCategoryInterval=w,D.shouldShowAllLabels=E},adU4:function(R,D,e){var g=e("y1pI"),f=Array.prototype,A=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():A.call(h,c,1),--this.size,!0}R.exports=m},"af/B":function(R,D,e){var g=e("bYtY"),f=g.each,A=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(U,H,z,X){this.ecInstance=U,this.api=H,this.unfinished;var z=this._dataProcessorHandlers=z.slice(),X=this._visualHandlers=X.slice();this._allHandlers=z.concat(X),this._stageTaskMap=v()}var s=t.prototype;s.restoreData=function(U,H){U.restoreData(H),this._stageTaskMap.each(function(z){var X=z.overallTask;X&&X.dirty()})},s.getPerformArgs=function(U,H){if(!U.__pipeline)return;var z=this._pipelineMap.get(U.__pipeline.id),X=z.context,W=!H&&z.progressiveEnabled&&(!X||X.progressiveRender)&&U.__idxInPipeline>z.blockIndex,Y=W?z.step:null,q=X&&X.modDataCount,me=q!=null?Math.ceil(q/Y):null;return{step:Y,modBy:me,modDataCount:q}},s.getPipeline=function(U){return this._pipelineMap.get(U)},s.updateStreamModes=function(U,H){var z=this._pipelineMap.get(U.uid),X=U.getData(),W=X.count(),Y=z.progressiveEnabled&&H.incrementalPrepareRender&&W>=z.threshold,q=U.get("large")&&W>=U.get("largeThreshold"),me=U.get("progressiveChunkMode")==="mod"?W:null;U.pipelineContext=z.context={progressiveRender:Y,modDataCount:me,large:q}},s.restorePipelines=function(U){var H=this,z=H._pipelineMap=v();U.eachSeries(function(X){var W=X.getProgressive(),Y=X.uid;z.set(Y,{id:Y,head:null,tail:null,threshold:X.getProgressiveThreshold(),progressiveEnabled:W&&!(X.preventIncremental&&X.preventIncremental()),blockIndex:-1,step:Math.round(W||700),count:0}),M(H,X,X.dataTask)})},s.prepareStageTasks=function(){var U=this._stageTaskMap,H=this.ecInstance.getModel(),z=this.api;f(this._allHandlers,function(X){var W=U.get(X.uid)||U.set(X.uid,[]);X.reset&&x(this,X,W,H,z),X.overallReset&&S(this,X,W,H,z)},this)},s.prepareView=function(U,H,z,X){var W=U.renderTask,Y=W.context;Y.model=H,Y.ecModel=z,Y.api=X,W.__block=!U.incrementalPrepareRender,M(this,H,W)},s.performDataProcessorTasks=function(U,H){u(this,this._dataProcessorHandlers,U,H,{block:!0})},s.performVisualTasks=function(U,H,z){u(this,this._visualHandlers,U,H,z)};function u(U,H,z,X,W){W=W||{};var Y;f(H,function(me,G){if(W.visualType&&W.visualType!==me.visualType)return;var ye=U._stageTaskMap.get(me.uid),Ae=ye.seriesTaskMap,ve=ye.overallTask;if(ve){var Ue,Me=ve.agentStubMap;Me.each(function(ne){q(W,ne)&&(ne.dirty(),Ue=!0)}),Ue&&ve.dirty(),p(ve,X);var nt=U.getPerformArgs(ve,W.block);Me.each(function(ne){ne.perform(nt)}),Y|=ve.perform(nt)}else Ae&&Ae.each(function(ne,be){q(W,ne)&&ne.dirty();var ot=U.getPerformArgs(ne,W.block);ot.skip=!me.performRawSeries&&z.isSeriesFiltered(ne.context.model),p(ne,X),Y|=ne.perform(ot)})});function q(me,G){return me.setDirty&&(!me.dirtyMap||me.dirtyMap.get(G.__pipeline.id))}U.unfinished|=Y}s.performSeriesTasks=function(U){var H;U.eachSeries(function(z){H|=z.dataTask.perform()}),this.unfinished|=H},s.plan=function(){this._pipelineMap.each(function(U){var H=U.tail;do{if(H.__block){U.blockIndex=H.__idxInPipeline;break}H=H.getUpstream()}while(H)})};var p=s.updatePayload=function(U,H){H!=="remain"&&(U.context.payload=H)};function x(U,H,z,X,W){var Y=z.seriesTaskMap||(z.seriesTaskMap=v()),q=H.seriesType,me=H.getTargetSeries;H.createOnAllSeries?X.eachRawSeries(G):q?X.eachRawSeriesByType(q,G):me&&me(X,W).each(G);function G(Ae){var ve=Ae.uid,Ue=Y.get(ve)||Y.set(ve,a({plan:_,reset:y,count:I}));Ue.context={model:Ae,ecModel:X,api:W,useClearVisual:H.isVisual&&!H.isLayout,plan:H.plan,reset:H.reset,scheduler:U},M(U,Ae,Ue)}var ye=U._pipelineMap;Y.each(function(Ae,ve){ye.get(ve)||(Ae.dispose(),Y.removeKey(ve))})}function S(U,H,z,X,W){var Y=z.overallTask=z.overallTask||a({reset:T});Y.context={ecModel:X,api:W,overallReset:H.overallReset,scheduler:U};var q=Y.agentStubMap=Y.agentStubMap||v(),me=H.seriesType,G=H.getTargetSeries,ye=!0,Ae=H.modifyOutputEnd;me?X.eachRawSeriesByType(me,ve):G?G(X,W).each(ve):(ye=!1,f(X.getSeries(),ve));function ve(Me){var nt=Me.uid,ne=q.get(nt);ne||(ne=q.set(nt,a({reset:w,onDirty:C})),Y.dirty()),ne.context={model:Me,overallProgress:ye,modifyOutputEnd:Ae},ne.agent=Y,ne.__block=ye,M(U,Me,ne)}var Ue=U._pipelineMap;q.each(function(Me,nt){Ue.get(nt)||(Me.dispose(),Y.dirty(),q.removeKey(nt))})}function T(U){U.overallReset(U.ecModel,U.api,U.payload)}function w(U,H){return U.overallProgress&&E}function E(){this.agent.dirty(),this.getDownstream().dirty()}function C(){this.agent&&this.agent.dirty()}function _(U){return U.plan&&U.plan(U.model,U.ecModel,U.api,U.payload)}function y(U){U.useClearVisual&&U.data.clearAllVisual();var H=U.resetDefines=l(U.reset(U.model,U.ecModel,U.api,U.payload));return H.length>1?A(H,function(z,X){return O(X)}):b}var b=O(0);function O(U){return function(H,z){var X=z.data,W=z.resetDefines[U];if(W&&W.dataEach)for(var Y=H.start;Y<H.end;Y++)W.dataEach(X,Y);else W&&W.progress&&W.progress(H,X)}}function I(U){return U.data.count()}function M(U,H,z){var X=H.uid,W=U._pipelineMap.get(X);!W.head&&(W.head=z),W.tail&&W.tail.pipe(z),W.tail=z,z.__idxInPipeline=W.count++,z.__pipeline=W}t.wrapStageHandler=function(U,H){return m(U)&&(U={overallReset:U,seriesType:F(U)}),U.uid=r("stageHandler"),H&&(U.visualType=H),U};function F(U){K=null;try{U(P,j)}catch(H){}return K}var P={},j={},K;N(P,o),N(j,d),P.eachSeriesByType=P.eachRawSeriesByType=function(U){K=U},P.eachComponent=function(U){U.mainType==="series"&&U.subType&&(K=U.subType)};function N(U,H){for(var z in H.prototype)U[z]=h}var B=t;R.exports=B},akwb:function(R,D,e){var g=e("RSch"),f=e("bYtY"),A=e("D9ME"),m=e("QBsz");function v(a,i,r){A.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,A);var c=v;R.exports=c},apAg:function(R,D,e){"use strict";var g=e("TqRt"),f=e("284h");Object.defineProperty(D,"__esModule",{value:!0}),D.default=void 0;var A=f(e("q1tI")),m=g(e("bsht")),v=g(e("KQxl")),h=function(i,r){return A.createElement(v.default,Object.assign({},i,{ref:r,icon:m.default}))};h.displayName="SearchOutlined";var c=A.forwardRef(h);D.default=c},as94:function(R,D,e){var g=e("7aKB"),f=e("3LNs"),A=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,x=p.getOtherAxis(u),S=x.getExtent(),T;T=u["dataTo"+g.capitalFirst(u.dim)](n);var w=t.get("type");if(w&&w!=="none"){var E=m.buildElStyle(t),C=r[w](u,p,T,S,E);C.style=E,d.graphicKey=C.type,d.pointer=C}var _=t.get("label.margin"),y=i(n,l,t,p,_);m.buildLabelElOption(d,l,t,s,y)}});function i(d,n,l,t,s){var u=n.axis,p=u.dataToCoord(d),x=t.getAngleAxis().getExtent()[0];x=x/180*Math.PI;var S=t.getRadiusAxis().getExtent(),T,w,E;if(u.dim==="radius"){var C=v.create();v.rotate(C,C,x),v.translate(C,C,[t.cx,t.cy]),T=A.applyTransform([p,-s],C);var _=n.getModel("axisLabel").get("rotate")||0,y=h.innerTextLayout(x,_*Math.PI/180,-1);w=y.textAlign,E=y.textVerticalAlign}else{var b=S[1];T=t.coordToPoint([b+s,p]);var O=t.cx,I=t.cy;w=Math.abs(T[0]-O)/b<.3?"center":T[0]>O?"left":"right",E=Math.abs(T[1]-I)/b<.3?"middle":T[1]>I?"top":"bottom"}return{position:T,align:w,verticalAlign:E}}var r={line:function(d,n,l,t,s){return d.dim==="angle"?{type:"Line",shape:m.makeLineShape(n.coordToPoint([t[0],l]),n.coordToPoint([t[1],l]))}:{type:"Circle",shape:{cx:n.cx,cy:n.cy,r:l}}},shadow:function(d,n,l,t,s){var 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;R.exports=o},b56q:function(R,D,e){},b80T:function(R,D,e){var g=e("UNi/"),f=e("03A+"),A=e("Z0cm"),m=e("DSRE"),v=e("wJg7"),h=e("c6wG"),c=Object.prototype,a=c.hasOwnProperty;function i(r,o){var d=A(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 x in r)(o||a.call(r,x))&&!(s&&(x=="length"||l&&(x=="offset"||x=="parent")||t&&(x=="buffer"||x=="byteLength"||x=="byteOffset")||v(x,p)))&&u.push(x);return u}R.exports=i},b80e:function(R,D,e){"use strict";var g=e("TqRt"),f=e("284h");Object.defineProperty(D,"__esModule",{value:!0}),D.default=void 0;var A=f(e("q1tI")),m=g(e("gKaM")),v=g(e("KQxl")),h=function(i,r){return A.createElement(v.default,Object.assign({},i,{ref:r,icon:m.default}))};h.displayName="DoubleLeftOutlined";var c=A.forwardRef(h);D.default=c},b9oc:function(R,D,e){var g=e("bYtY"),f=g.each,A="\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[A]=null}function c(i){return a(i).length}function a(i){var r=i[A];return r||(r=i[A]=[{}]),r}D.push=m,D.pop=v,D.clear=h,D.count=c},bBKM:function(R,D,e){var g=e("Tghj"),f=g.__DEV__,A=e("ProS"),m=e("bYtY"),v=e("+rIm"),h=e("IwbS"),c=["axisLine","axisTickLabel","axisName"],a=A.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"),x=t.get("color"),S=s.get("color");x=m.isArray(x)?x:[x],S=m.isArray(S)?S:[S];var T=[],w=[];function E(B,U,H){var z=H%U.length;return B[z]=B[z]||[],z}if(d==="circle")for(var C=o[0].getTicksCoords(),_=r.cx,y=r.cy,b=0;b<C.length;b++){if(u){var O=E(T,x,b);T[O].push(new h.Circle({shape:{cx:_,cy:y,r:C[b].coord}}))}if(p&&b<C.length-1){var O=E(w,S,b);w[O].push(new h.Ring({shape:{cx:_,cy:y,r0:C[b].coord,r:C[b+1].coord}}))}}else for(var I,M=m.map(o,function(B,U){var H=B.getTicksCoords();return I=I==null?H.length-1:Math.min(H.length-1,I),m.map(H,function(z){return r.coordToPoint(z.coord,U)})}),F=[],b=0;b<=I;b++){for(var P=[],j=0;j<o.length;j++)P.push(M[j][b]);if(P[0]&&P.push(P[0].slice()),u){var O=E(T,x,b);T[O].push(new h.Polyline({shape:{points:P}}))}if(p&&F){var O=E(w,S,b-1);w[O].push(new h.Polygon({shape:{points:P.concat(F)}}))}F=P.slice().reverse()}var K=t.getLineStyle(),N=s.getAreaStyle();m.each(w,function(B,U){this.group.add(h.mergePath(B,{style:m.defaults({stroke:"none",fill:S[U%S.length]},N),silent:!0}))},this),m.each(T,function(B,U){this.group.add(h.mergePath(B,{style:m.defaults({fill:"none",stroke:x[U%x.length]},K),silent:!0}))},this)}});R.exports=a},bBL8:function(R,D,e){var g=e("ProS");e("LPzL"),e("rfSb"),e("JVwQ");var f=e("UnoB"),A=e("cbJ4"),m=e("0/Rx");g.registerLayout(f),g.registerVisual(A),g.registerProcessor(m("themeRiver"))},bE4E:function(R,D,e){},bE4q:function(R,D,e){"use strict";var g=e("pVnL"),f=e.n(g),A=e("lSNA"),m=e.n(A),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(F,P){var j={};for(var K in F)Object.prototype.hasOwnProperty.call(F,K)&&P.indexOf(K)<0&&(j[K]=F[K]);if(F!=null&&typeof Object.getOwnPropertySymbols=="function")for(var N=0,K=Object.getOwnPropertySymbols(F);N<K.length;N++)P.indexOf(K[N])<0&&Object.prototype.propertyIsEnumerable.call(F,K[N])&&(j[K[N]]=F[K[N]]);return j},s=function(P){var j=P.prefixCls,K=P.separator,N=K===void 0?"/":K,B=P.children,U=P.overlay,H=P.dropdownProps,z=t(P,["prefixCls","separator","children","overlay","dropdownProps"]),X=c.useContext(l.b),W=X.getPrefixCls,Y=W("breadcrumb",j),q=function(ye){return U?c.createElement(n.a,f()({overlay:U,placement:"bottomCenter"},H),c.createElement("span",{className:"".concat(Y,"-overlay-link")},ye,c.createElement(d.a,null))):ye},me;return"href"in z?me=c.createElement("a",f()({className:"".concat(Y,"-link")},z),B):me=c.createElement("span",f()({className:"".concat(Y,"-link")},z),B),me=q(me),B?c.createElement("span",null,me,N&&N!==""&&c.createElement("span",{className:"".concat(Y,"-separator")},N)):null};s.__ANT_BREADCRUMB_ITEM=!0;var u=s,p=function(P){var j=P.children,K=c.useContext(l.b),N=K.getPrefixCls,B=N("breadcrumb");return c.createElement("span",{className:"".concat(B,"-separator")},j||"/")};p.__ANT_BREADCRUMB_SEPARATOR=!0;var x=p,S=e("BvKs"),T=e("uaoM"),w=e("0n0R"),E=function(F,P){var j={};for(var K in F)Object.prototype.hasOwnProperty.call(F,K)&&P.indexOf(K)<0&&(j[K]=F[K]);if(F!=null&&typeof Object.getOwnPropertySymbols=="function")for(var N=0,K=Object.getOwnPropertySymbols(F);N<K.length;N++)P.indexOf(K[N])<0&&Object.prototype.propertyIsEnumerable.call(F,K[N])&&(j[K[N]]=F[K[N]]);return j};function C(F,P){if(!F.breadcrumbName)return null;var j=Object.keys(P).join("|"),K=F.breadcrumbName.replace(new RegExp(":(".concat(j,")"),"g"),function(N,B){return P[B]||N});return K}function _(F,P,j,K){var N=j.indexOf(F)===j.length-1,B=C(F,P);return N?c.createElement("span",null,B):c.createElement("a",{href:"#/".concat(K.join("/"))},B)}var y=function(P,j){return P=(P||"").replace(/^\//,""),Object.keys(j).forEach(function(K){P=P.replace(":".concat(K),j[K])}),P},b=function(P){var j=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"",K=arguments.length>2?arguments[2]:void 0,N=h()(P),B=y(j,K);return B&&N.push(B),N},O=function(P){var j=P.prefixCls,K=P.separator,N=K===void 0?"/":K,B=P.style,U=P.className,H=P.routes,z=P.children,X=P.itemRender,W=X===void 0?_:X,Y=P.params,q=Y===void 0?{}:Y,me=E(P,["prefixCls","separator","style","className","routes","children","itemRender","params"]),G=c.useContext(l.b),ye=G.getPrefixCls,Ae=G.direction,ve,Ue=ye("breadcrumb",j);if(H&&H.length>0){var Me=[];ve=H.map(function(ne){var be=y(ne.path,q);be&&Me.push(be);var ot;return ne.children&&ne.children.length&&(ot=c.createElement(S.a,null,ne.children.map(function(ue){return c.createElement(S.a.Item,{key:ue.path||ue.breadcrumbName},W(ue,q,H,b(Me,ue.path,q)))}))),c.createElement(u,{overlay:ot,separator:N,key:be||ne.breadcrumbName},W(ne,q,H,Me))})}else z&&(ve=Object(r.a)(z).map(function(ne,be){return ne&&(Object(T.a)(ne.type&&(ne.type.__ANT_BREADCRUMB_ITEM===!0||ne.type.__ANT_BREADCRUMB_SEPARATOR===!0),"Breadcrumb","Only accepts Breadcrumb.Item and Breadcrumb.Separator as it's children"),Object(w.a)(ne,{separator:N,key:be}))}));var nt=i()(U,Ue,m()({},"".concat(Ue,"-rtl"),Ae==="rtl"));return c.createElement("div",f()({className:nt,style:B},me),ve)};O.Item=u,O.Separator=x;var I=O,M=D.a=I},bKJz:function(R,D,e){},bLfw:function(R,D,e){var g=e("bYtY"),f=e("Qxkt"),A=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=A.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):{},x=s.getTheme();g.merge(t,x.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 x={},S=s.length-1;S>=0;S--)x=g.merge(x,s[S],!0);t.defaultOption=x}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}),A.enableSubTypeDefaulter(d),A.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;R.exports=l},bMXI:function(R,D,e){var g=e("bYtY"),f=e("QBsz"),A=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(),A.copy(this.transform||(this.transform=[]),d.transform||A.create()),this._rawTransform=d.getLocalTransform(),this.invTransform=this.invTransform||[],A.invert(this.invTransform,this.transform),this.decomposeTransform()},getTransformInfo:function(){var o=this._roamTransformable.transform,d=this._rawTransformable;return{roamTransform:o?g.slice(o):A.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;R.exports=r},bNin:function(R,D,e){var g=e("bYtY"),f=e("IwbS"),A=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(_,y){var b=y.childPoints,O=b.length,I=y.parentPoint,M=b[0],F=b[O-1];if(O===1){_.moveTo(I[0],I[1]),_.lineTo(M[0],M[1]);return}var P=y.orient,j=P==="TB"||P==="BT"?0:1,K=1-j,N=s(y.forkPosition,1),B=[];B[j]=I[j],B[K]=I[K]+(F[K]-I[K])*N,_.moveTo(I[0],I[1]),_.lineTo(B[0],B[1]),_.moveTo(M[0],M[1]),B[j]=M[j],_.lineTo(B[0],B[1]),B[j]=F[j],_.lineTo(B[0],B[1]),_.lineTo(F[0],F[1]);for(var U=1;U<O-1;U++){var H=b[U];_.moveTo(H[0],H[1]),B[j]=H[j],_.lineTo(B[0],B[1])}}}),p=h.extendChartView({type:"tree",init:function(_,y){this._oldTree,this._mainGroup=new f.Group,this._controller=new r(y.getZr()),this._controllerHost={target:this.group},this.group.add(this._mainGroup)},render:function(_,y,b,O){var I=_.getData(),M=_.layoutInfo,F=this._mainGroup,P=_.get("layout");P==="radial"?F.attr("position",[M.x+M.width/2,M.y+M.height/2]):F.attr("position",[M.x,M.y]),this._updateViewCoordSys(_,M,P),this._updateController(_,y,b);var j=this._data,K={expandAndCollapse:_.get("expandAndCollapse"),layout:P,edgeShape:_.get("edgeShape"),edgeForkPosition:_.get("edgeForkPosition"),orient:_.getOrient(),curvature:_.get("lineStyle.curveness"),symbolRotate:_.get("symbolRotate"),symbolOffset:_.get("symbolOffset"),hoverAnimation:_.get("hoverAnimation"),useNameLabel:!0,fadeIn:!0};I.diff(j).add(function(N){x(I,N)&&T(I,N,null,F,_,K)}).update(function(N,B){var U=j.getItemGraphicEl(B);if(!x(I,N)){U&&E(j,B,U,F,_,K);return}T(I,N,U,F,_,K)}).remove(function(N){var B=j.getItemGraphicEl(N);B&&E(j,N,B,F,_,K)}).execute(),this._nodeScaleRatio=_.get("nodeScaleRatio"),this._updateNodeAndLinkScale(_),K.expandAndCollapse===!0&&I.eachItemGraphicEl(function(N,B){N.off("click").on("click",function(){b.dispatchAction({type:"treeExpandAndCollapse",seriesId:_.id,dataIndex:B})})}),this._data=I},_updateViewCoordSys:function(_){var y=_.getData(),b=[];y.each(function(j){var K=y.getItemLayout(j);K&&!isNaN(K.x)&&!isNaN(K.y)&&b.push([+K.x,+K.y])});var O=[],I=[];c.fromPoints(b,O,I);var M=this._min,F=this._max;I[0]-O[0]===0&&(O[0]=M?M[0]:O[0]-1,I[0]=F?F[0]:I[0]+1),I[1]-O[1]===0&&(O[1]=M?M[1]:O[1]-1,I[1]=F?F[1]:I[1]+1);var P=_.coordinateSystem=new a;P.zoomLimit=_.get("scaleLimit"),P.setBoundingRect(O[0],O[1],I[0]-O[0],I[1]-O[1]),P.setCenter(_.get("center")),P.setZoom(_.get("zoom")),this.group.attr({position:P.position,scale:P.scale}),this._viewCoordSys=P,this._min=O,this._max=I},_updateController:function(_,y,b){var O=this._controller,I=this._controllerHost,M=this.group;O.setPointerChecker(function(F,P,j){var K=M.getBoundingRect();return K.applyTransform(M.transform),K.contain(P,j)&&!d(F,b,_)}),O.enable(_.get("roam")),I.zoomLimit=_.get("scaleLimit"),I.zoom=_.coordinateSystem.getZoom(),O.off("pan").off("zoom").on("pan",function(F){i.updateViewOnPan(I,F.dx,F.dy),b.dispatchAction({seriesId:_.id,type:"treeRoam",dx:F.dx,dy:F.dy})},this).on("zoom",function(F){i.updateViewOnZoom(I,F.scale,F.originX,F.originY),b.dispatchAction({seriesId:_.id,type:"treeRoam",zoom:F.scale,originX:F.originX,originY:F.originY}),this._updateNodeAndLinkScale(_)},this)},_updateNodeAndLinkScale:function(_){var y=_.getData(),b=this._getNodeGlobalScale(_),O=[b,b];y.eachItemGraphicEl(function(I,M){I.attr("scale",O)})},_getNodeGlobalScale:function(_){var y=_.coordinateSystem;if(y.type!=="view")return 1;var b=this._nodeScaleRatio,O=y.scale,I=O&&O[0]||1,M=y.getZoom(),F=(M-1)*b+1;return F/I},dispose:function(){this._controller&&this._controller.dispose(),this._controllerHost={}},remove:function(){this._mainGroup.removeAll(),this._data=null}});function x(_,y){var b=_.getItemLayout(y);return b&&!isNaN(b.x)&&!isNaN(b.y)&&_.getItemVisual(y,"symbol")!=="none"}function S(_,y,b){return b.itemModel=y,b.itemStyle=y.getModel("itemStyle").getItemStyle(),b.hoverItemStyle=y.getModel("emphasis.itemStyle").getItemStyle(),b.lineStyle=y.getModel("lineStyle").getLineStyle(),b.labelModel=y.getModel("label"),b.hoverLabelModel=y.getModel("emphasis.label"),_.isExpand===!1&&_.children.length!==0?b.symbolInnerColor=b.itemStyle.fill:b.symbolInnerColor="#fff",b}function T(_,y,b,O,I,M){var F=!b,P=_.tree.getNodeByDataIndex(y),j=P.getModel(),M=S(P,j,M),K=_.tree.root,N=P.parentNode===K?P:P.parentNode||P,B=_.getItemGraphicEl(N.dataIndex),U=N.getLayout(),H=B?{x:B.position[0],y:B.position[1],rawX:B.__radialOldRawX,rawY:B.__radialOldRawY}:U,z=P.getLayout();F?(b=new A(_,y,M),b.attr("position",[H.x,H.y])):b.updateData(_,y,M),b.__radialOldRawX=b.__radialRawX,b.__radialOldRawY=b.__radialRawY,b.__radialRawX=z.rawX,b.__radialRawY=z.rawY,O.add(b),_.setItemGraphicEl(y,b),f.updateProps(b,{position:[z.x,z.y]},I);var X=b.getSymbolPath();if(M.layout==="radial"){var W=K.children[0],Y=W.getLayout(),q=W.children.length,me,G;if(z.x===Y.x&&P.isExpand===!0){var ye={};ye.x=(W.children[0].getLayout().x+W.children[q-1].getLayout().x)/2,ye.y=(W.children[0].getLayout().y+W.children[q-1].getLayout().y)/2,me=Math.atan2(ye.y-Y.y,ye.x-Y.x),me<0&&(me=Math.PI*2+me),G=ye.x<Y.x,G&&(me=me-Math.PI)}else me=Math.atan2(z.y-Y.y,z.x-Y.x),me<0&&(me=Math.PI*2+me),P.children.length===0||P.children.length!==0&&P.isExpand===!1?(G=z.x<Y.x,G&&(me=me-Math.PI)):(G=z.x>Y.x,G||(me=me-Math.PI));var Ae=G?"left":"right",ve=M.labelModel.get("rotate"),Ue=ve*(Math.PI/180);X.setStyle({textPosition:M.labelModel.get("position")||Ae,textRotation:ve==null?-me:Ue,textOrigin:"center",verticalAlign:"middle"})}w(I,P,K,b,H,U,z,O,M)}function w(_,y,b,O,I,M,F,P,j){var K=j.edgeShape,N=O.__edge;if(K==="curve")y.parentNode&&y.parentNode!==b&&(N||(N=O.__edge=new f.BezierCurve({shape:C(j,I,I),style:g.defaults({opacity:0,strokeNoScale:!0},j.lineStyle)})),f.updateProps(N,{shape:C(j,M,F),style:{opacity:1}},_));else if(K==="polyline"&&(j.layout==="orthogonal"&&(y!==b&&y.children&&y.children.length!==0&&y.isExpand===!0))){for(var B=y.children,U=[],H=0;H<B.length;H++){var z=B[H].getLayout();U.push([z.x,z.y])}N||(N=O.__edge=new u({shape:{parentPoint:[F.x,F.y],childPoints:[[F.x,F.y]],orient:j.orient,forkPosition:j.edgeForkPosition},style:g.defaults({opacity:0,strokeNoScale:!0},j.lineStyle)})),f.updateProps(N,{shape:{parentPoint:[F.x,F.y],childPoints:U},style:{opacity:1}},_)}P.add(N)}function E(_,y,b,O,I,M){for(var F=_.tree.getNodeByDataIndex(y),P=_.tree.root,j=F.getModel(),M=S(F,j,M),K=F.parentNode===P?F:F.parentNode||F,N=M.edgeShape,B;B=K.getLayout(),B==null;)K=K.parentNode===P?K:K.parentNode||K;f.updateProps(b,{position:[B.x+1,B.y+1]},I,function(){O.remove(b),_.setItemGraphicEl(y,null)}),b.fadeOut(null,{keepLabel:!0});var U=_.getItemGraphicEl(K.dataIndex),H=U.__edge,z=b.__edge||(K.isExpand===!1||K.children.length===1?H:void 0),N=M.edgeShape;z&&(N==="curve"?f.updateProps(z,{shape:C(M,B,B),style:{opacity:0}},I,function(){O.remove(z)}):N==="polyline"&&M.layout==="orthogonal"&&f.updateProps(z,{shape:{parentPoint:[B.x,B.y],childPoints:[[B.x,B.y]]},style:{opacity:0}},I,function(){O.remove(z)}))}function C(_,y,b){var O,I,M,F,P=_.orient,j,K,N,B;if(_.layout==="radial"){j=y.rawX,N=y.rawY,K=b.rawX,B=b.rawY;var U=v(j,N),H=v(j,N+(B-N)*_.curvature),z=v(K,B+(N-B)*_.curvature),X=v(K,B);return{x1:U.x,y1:U.y,x2:X.x,y2:X.y,cpx1:H.x,cpy1:H.y,cpx2:z.x,cpy2:z.y}}else j=y.x,N=y.y,K=b.x,B=b.y,(P==="LR"||P==="RL")&&(O=j+(K-j)*_.curvature,I=N,M=K+(j-K)*_.curvature,F=B),(P==="TB"||P==="BT")&&(O=j,I=N+(B-N)*_.curvature,M=K,F=B+(N-B)*_.curvature);return{x1:j,y1:N,x2:K,y2:B,cpx1:O,cpy1:I,cpx2:M,cpy2:F}}R.exports=p},bRQS:function(R,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"},A=f,m=e("6VBw"),v=function(a,i){return g.createElement(m.a,Object.assign({},a,{ref:i,icon:A}))};v.displayName="CheckOutlined";var h=D.a=g.forwardRef(v)},bX4T:function(R,D,e){"use strict";e.d(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`,A="".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&&(A.includes(o)||h(o,v)))&&(r[o]=a[o])}),r}},bYtY:function(R,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,A=Array.prototype,m=A.forEach,v=A.filter,h=A.slice,c=A.map,a=A.reduce,i={};function r(ne,be){ne==="createCanvas"&&(u=null),i[ne]=be}function o(ne){if(ne==null||typeof ne!="object")return ne;var be=ne,ot=f.call(ne);if(ot==="[object Array]"){if(!Ae(ne)){be=[];for(var ue=0,Q=ne.length;ue<Q;ue++)be[ue]=o(ne[ue])}}else if(g[ot]){if(!Ae(ne)){var V=ne.constructor;if(ne.constructor.from)be=V.from(ne);else{be=new V(ne.length);for(var ue=0,Q=ne.length;ue<Q;ue++)be[ue]=o(ne[ue])}}}else if(!e[ot]&&!Ae(ne)&&!B(ne)){be={};for(var J in ne)ne.hasOwnProperty(J)&&(be[J]=o(ne[J]))}return be}function d(ne,be,ot){if(!j(be)||!j(ne))return ot?o(be):ne;for(var ue in be)if(be.hasOwnProperty(ue)){var Q=ne[ue],V=be[ue];j(V)&&j(Q)&&!M(V)&&!M(Q)&&!B(V)&&!B(Q)&&!K(V)&&!K(Q)&&!Ae(V)&&!Ae(Q)?d(Q,V,ot):(ot||!(ue in ne))&&(ne[ue]=o(be[ue],!0))}return ne}function n(ne,be){for(var ot=ne[0],ue=1,Q=ne.length;ue<Q;ue++)ot=d(ot,ne[ue],be);return ot}function l(ne,be){for(var ot in be)be.hasOwnProperty(ot)&&(ne[ot]=be[ot]);return ne}function t(ne,be,ot){for(var ue in be)be.hasOwnProperty(ue)&&(ot?be[ue]!=null:ne[ue]==null)&&(ne[ue]=be[ue]);return ne}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 x(ne,be){if(ne){if(ne.indexOf)return ne.indexOf(be);for(var ot=0,ue=ne.length;ot<ue;ot++)if(ne[ot]===be)return ot}return-1}function S(ne,be){var ot=ne.prototype;function ue(){}ue.prototype=be.prototype,ne.prototype=new ue;for(var Q in ot)ot.hasOwnProperty(Q)&&(ne.prototype[Q]=ot[Q]);ne.prototype.constructor=ne,ne.superClass=be}function T(ne,be,ot){ne="prototype"in ne?ne.prototype:ne,be="prototype"in be?be.prototype:be,t(ne,be,ot)}function w(ne){return ne?typeof ne=="string"?!1:typeof ne.length=="number":void 0}function E(ne,be,ot){if(!(ne&&be))return;if(ne.forEach&&ne.forEach===m)ne.forEach(be,ot);else if(ne.length===+ne.length)for(var ue=0,Q=ne.length;ue<Q;ue++)be.call(ot,ne[ue],ue,ne);else for(var V in ne)ne.hasOwnProperty(V)&&be.call(ot,ne[V],V,ne)}function C(ne,be,ot){if(!(ne&&be))return;if(ne.map&&ne.map===c)return ne.map(be,ot);for(var ue=[],Q=0,V=ne.length;Q<V;Q++)ue.push(be.call(ot,ne[Q],Q,ne));return ue}function _(ne,be,ot,ue){if(!(ne&&be))return;if(ne.reduce&&ne.reduce===a)return ne.reduce(be,ot,ue);for(var Q=0,V=ne.length;Q<V;Q++)ot=be.call(ue,ot,ne[Q],Q,ne);return ot}function y(ne,be,ot){if(!(ne&&be))return;if(ne.filter&&ne.filter===v)return ne.filter(be,ot);for(var ue=[],Q=0,V=ne.length;Q<V;Q++)be.call(ot,ne[Q],Q,ne)&&ue.push(ne[Q]);return ue}function b(ne,be,ot){if(!(ne&&be))return;for(var ue=0,Q=ne.length;ue<Q;ue++)if(be.call(ot,ne[ue],ue,ne))return ne[ue]}function O(ne,be){var ot=h.call(arguments,2);return function(){return ne.apply(be,ot.concat(h.call(arguments)))}}function I(ne){var be=h.call(arguments,1);return function(){return ne.apply(this,be.concat(h.call(arguments)))}}function M(ne){return f.call(ne)==="[object Array]"}function F(ne){return typeof ne=="function"}function P(ne){return f.call(ne)==="[object String]"}function j(ne){var be=typeof ne;return be==="function"||!!ne&&be==="object"}function K(ne){return!!e[f.call(ne)]}function N(ne){return!!g[f.call(ne)]}function B(ne){return typeof ne=="object"&&typeof ne.nodeType=="number"&&typeof ne.ownerDocument=="object"}function U(ne){return ne!==ne}function H(ne){for(var be=0,ot=arguments.length;be<ot;be++)if(arguments[be]!=null)return arguments[be]}function z(ne,be){return ne!=null?ne:be}function X(ne,be,ot){return ne!=null?ne:be!=null?be:ot}function W(){return Function.call.apply(h,arguments)}function Y(ne){if(typeof ne=="number")return[ne,ne,ne,ne];var be=ne.length;return be===2?[ne[0],ne[1],ne[0],ne[1]]:be===3?[ne[0],ne[1],ne[2],ne[1]]:ne}function q(ne,be){if(!ne)throw new Error(be)}function me(ne){return ne==null?null:typeof ne.trim=="function"?ne.trim():ne.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"")}var G="__ec_primitive__";function ye(ne){ne[G]=!0}function Ae(ne){return ne[G]}function ve(ne){var be=M(ne);this.data={};var ot=this;ne instanceof ve?ne.each(ue):ne&&E(ne,ue);function ue(Q,V){be?ot.set(Q,V):ot.set(V,Q)}}ve.prototype={constructor:ve,get:function(be){return this.data.hasOwnProperty(be)?this.data[be]:null},set:function(be,ot){return this.data[be]=ot},each:function(be,ot){ot!==void 0&&(be=O(be,ot));for(var ue in this.data)this.data.hasOwnProperty(ue)&&be(this.data[ue],ue)},removeKey:function(be){delete this.data[be]}};function Ue(ne){return new ve(ne)}function Me(ne,be){for(var ot=new ne.constructor(ne.length+be.length),ue=0;ue<ne.length;ue++)ot[ue]=ne[ue];var Q=ne.length;for(ue=0;ue<be.length;ue++)ot[ue+Q]=be[ue];return ot}function nt(){}D.$override=r,D.clone=o,D.merge=d,D.mergeAll=n,D.extend=l,D.defaults=t,D.createCanvas=s,D.getContext=p,D.indexOf=x,D.inherits=S,D.mixin=T,D.isArrayLike=w,D.each=E,D.map=C,D.reduce=_,D.filter=y,D.find=b,D.bind=O,D.curry=I,D.isArray=M,D.isFunction=F,D.isString=P,D.isObject=j,D.isBuiltInObject=K,D.isTypedArray=N,D.isDom=B,D.eqNaN=U,D.retrieve=H,D.retrieve2=z,D.retrieve3=X,D.slice=W,D.normalizeCssArray=Y,D.assert=q,D.trim=me,D.setAsPrimitive=ye,D.isPrimitive=Ae,D.createHashMap=Ue,D.concatArray=Me,D.noop=nt},bZqE:function(R,D){function e(f,A,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();)A(c,m)}function g(f,A){for(var m=[f],v;v=m.pop();)if(A(v),v.isExpand){var h=v.children;if(h.length)for(var c=h.length-1;c>=0;c--)m.push(h[c])}}D.eachAfter=e,D.eachBefore=g},bahg:function(R,D){function e(g){return g.split("")}R.exports=e},bbsP:function(R,D,e){"use strict";var g=e("cIOH"),f=e.n(g),A=e("CWI+"),m=e.n(A)},bogI:function(R,D,e){"use strict";e.d(D,"a",function(){return g});var g=function(A){if(!A)return null;var m=typeof A=="function";return m?A():A}},bsht:function(R,D,e){"use strict";Object.defineProperty(D,"__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"};D.default=g},bx4M:function(R,D,e){"use strict";var g=e("lSNA"),f=e.n(g),A=e("pVnL"),m=e.n(A),v=e("q1tI"),h=e("TSYQ"),c=e.n(h),a=e("BGR+"),i=e("H84U"),r=function(C,_){var y={};for(var b in C)Object.prototype.hasOwnProperty.call(C,b)&&_.indexOf(b)<0&&(y[b]=C[b]);if(C!=null&&typeof Object.getOwnPropertySymbols=="function")for(var O=0,b=Object.getOwnPropertySymbols(C);O<b.length;O++)_.indexOf(b[O])<0&&Object.prototype.propertyIsEnumerable.call(C,b[O])&&(y[b[O]]=C[b[O]]);return y},o=function(_){return v.createElement(i.a,null,function(y){var b=y.getPrefixCls,O=_.prefixCls,I=_.className,M=_.hoverable,F=M===void 0?!0:M,P=r(_,["prefixCls","className","hoverable"]),j=b("card",O),K=c()("".concat(j,"-grid"),I,f()({},"".concat(j,"-grid-hoverable"),F));return v.createElement("div",m()({},P,{className:K}))})},d=o,n=function(C,_){var y={};for(var b in C)Object.prototype.hasOwnProperty.call(C,b)&&_.indexOf(b)<0&&(y[b]=C[b]);if(C!=null&&typeof Object.getOwnPropertySymbols=="function")for(var O=0,b=Object.getOwnPropertySymbols(C);O<b.length;O++)_.indexOf(b[O])<0&&Object.prototype.propertyIsEnumerable.call(C,b[O])&&(y[b[O]]=C[b[O]]);return y},l=function(_){return v.createElement(i.a,null,function(y){var b=y.getPrefixCls,O=_.prefixCls,I=_.className,M=_.avatar,F=_.title,P=_.description,j=n(_,["prefixCls","className","avatar","title","description"]),K=b("card",O),N=c()("".concat(K,"-meta"),I),B=M?v.createElement("div",{className:"".concat(K,"-meta-avatar")},M):null,U=F?v.createElement("div",{className:"".concat(K,"-meta-title")},F):null,H=P?v.createElement("div",{className:"".concat(K,"-meta-description")},P):null,z=U||H?v.createElement("div",{className:"".concat(K,"-meta-detail")},U,H):null;return v.createElement("div",m()({},j,{className:N}),B,z)})},t=l,s=e("ZTPi"),u=e("BMrR"),p=e("kPKH"),x=e("3Nzz"),S=function(C,_){var y={};for(var b in C)Object.prototype.hasOwnProperty.call(C,b)&&_.indexOf(b)<0&&(y[b]=C[b]);if(C!=null&&typeof Object.getOwnPropertySymbols=="function")for(var O=0,b=Object.getOwnPropertySymbols(C);O<b.length;O++)_.indexOf(b[O])<0&&Object.prototype.propertyIsEnumerable.call(C,b[O])&&(y[b[O]]=C[b[O]]);return y};function T(C){var _=C.map(function(y,b){return v.createElement("li",{style:{width:"".concat(100/C.length,"%")},key:"action-".concat(b)},v.createElement("span",null,y))});return _}var w=function(_){var y,b,O=v.useContext(i.b),I=O.getPrefixCls,M=O.direction,F=v.useContext(x.b),P=function(Xe){_.onTabChange&&_.onTabChange(Xe)},j=function(){var Xe;return v.Children.forEach(_.children,function(Je){Je&&Je.type&&Je.type===d&&(Xe=!0)}),Xe},K=_.prefixCls,N=_.className,B=_.extra,U=_.headStyle,H=U===void 0?{}:U,z=_.bodyStyle,X=z===void 0?{}:z,W=_.title,Y=_.loading,q=_.bordered,me=q===void 0?!0:q,G=_.size,ye=_.type,Ae=_.cover,ve=_.actions,Ue=_.tabList,Me=_.children,nt=_.activeTabKey,ne=_.defaultActiveTabKey,be=_.tabBarExtraContent,ot=_.hoverable,ue=_.tabProps,Q=ue===void 0?{}:ue,V=S(_,["prefixCls","className","extra","headStyle","bodyStyle","title","loading","bordered","size","type","cover","actions","tabList","children","activeTabKey","defaultActiveTabKey","tabBarExtraContent","hoverable","tabProps"]),J=I("card",K),fe=X.padding===0||X.padding==="0px"?{padding:24}:void 0,oe=v.createElement("div",{className:"".concat(J,"-loading-block")}),Le=v.createElement("div",{className:"".concat(J,"-loading-content"),style:fe},v.createElement(u.a,{gutter:8},v.createElement(p.a,{span:22},oe)),v.createElement(u.a,{gutter:8},v.createElement(p.a,{span:8},oe),v.createElement(p.a,{span:15},oe)),v.createElement(u.a,{gutter:8},v.createElement(p.a,{span:6},oe),v.createElement(p.a,{span:18},oe)),v.createElement(u.a,{gutter:8},v.createElement(p.a,{span:13},oe),v.createElement(p.a,{span:9},oe)),v.createElement(u.a,{gutter:8},v.createElement(p.a,{span:4},oe),v.createElement(p.a,{span:3},oe),v.createElement(p.a,{span:16},oe))),he=nt!==void 0,te=m()(m()({},Q),(y={},f()(y,he?"activeKey":"defaultActiveKey",he?nt:ne),f()(y,"tabBarExtraContent",be),y)),Z,ge=Ue&&Ue.length?v.createElement(s.a,m()({size:"large"},te,{className:"".concat(J,"-head-tabs"),onChange:P}),Ue.map(function(st){return v.createElement(s.a.TabPane,{tab:st.tab,disabled:st.disabled,key:st.key})})):null;(W||B||ge)&&(Z=v.createElement("div",{className:"".concat(J,"-head"),style:H},v.createElement("div",{className:"".concat(J,"-head-wrapper")},W&&v.createElement("div",{className:"".concat(J,"-head-title")},W),B&&v.createElement("div",{className:"".concat(J,"-extra")},B)),ge));var Re=Ae?v.createElement("div",{className:"".concat(J,"-cover")},Ae):null,ze=v.createElement("div",{className:"".concat(J,"-body"),style:X},Y?Le:Me),dt=ve&&ve.length?v.createElement("ul",{className:"".concat(J,"-actions")},T(ve)):null,De=Object(a.default)(V,["onTabChange"]),Tt=G||F,je=c()(J,N,(b={},f()(b,"".concat(J,"-loading"),Y),f()(b,"".concat(J,"-bordered"),me),f()(b,"".concat(J,"-hoverable"),ot),f()(b,"".concat(J,"-contain-grid"),j()),f()(b,"".concat(J,"-contain-tabs"),Ue&&Ue.length),f()(b,"".concat(J,"-").concat(Tt),Tt),f()(b,"".concat(J,"-type-").concat(ye),!!ye),f()(b,"".concat(J,"-rtl"),M==="rtl"),b));return v.createElement("div",m()({},De,{className:je}),Z,Re,ze,dt)};w.Grid=d,w.Meta=t;var E=D.a=w},c2i1:function(R,D,e){var g=e("Tghj"),f=g.__DEV__,A=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 x=new r(n,l,t);return x.hostGraph=this,this._directed&&(n.outEdges.push(x),l.inEdges.push(x)),n.edges.push(x),n!==l&&l.edges.push(x),this.edges.push(x),u[p]=x,x},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 x=[l];x.length;)for(var S=x.shift(),T=S[u],p=0;p<T.length;p++){var w=T[p],E=w.node1===S?w.node2:w.node1;if(!E.__visited){if(n.call(s,E,S))return;x.push(E),E.__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(x){var S=s[l.getRawIndex(x)];return S.node1.dataIndex>=0&&S.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)}}};A.mixin(i,o("hostGraph","data")),A.mixin(r,o("hostGraph","edgeData")),c.Node=i,c.Edge=r,v(i),v(r);var d=c;R.exports=d},c5Ni:function(R,D,e){},c5fP:function(R,D,e){"use strict";function g(je){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?g=function(Xe){return typeof Xe}:g=function(Xe){return Xe&&typeof Symbol=="function"&&Xe.constructor===Symbol&&Xe!==Symbol.prototype?"symbol":typeof Xe},g(je)}Object.defineProperty(D,"__esModule",{value:!0}),D._tr_init=Re,D._tr_stored_block=ze,D._tr_flush_block=De,D._tr_tally=Tt,D._tr_align=dt;var f=m(e("6BzB"));function A(){if(typeof WeakMap!="function")return null;var je=new WeakMap;return A=function(){return je},je}function m(je){if(je&&je.__esModule)return je;if(je===null||g(je)!=="object"&&typeof je!="function")return{default:je};var st=A();if(st&&st.has(je))return st.get(je);var Xe={},Je=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var et in je)if(Object.prototype.hasOwnProperty.call(je,et)){var at=Je?Object.getOwnPropertyDescriptor(je,et):null;at&&(at.get||at.set)?Object.defineProperty(Xe,et,at):Xe[et]=je[et]}return Xe.default=je,st&&st.set(je,Xe),Xe}var v=4,h=0,c=1,a=2;function i(je){for(var st=je.length;--st>=0;)je[st]=0}var r=0,o=1,d=2,n=3,l=258,t=29,s=256,u=s+1+t,p=30,x=19,S=2*u+1,T=15,w=16,E=7,C=256,_=16,y=17,b=18,O=[0,0,0,0,0,0,0,0,1,1,1,1,2,2,2,2,3,3,3,3,4,4,4,4,5,5,5,5,0],I=[0,0,0,0,1,1,2,2,3,3,4,4,5,5,6,6,7,7,8,8,9,9,10,10,11,11,12,12,13,13],M=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,3,7],F=[16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15],P=512,j=new Array((u+2)*2);i(j);var K=new Array(p*2);i(K);var N=new Array(P);i(N);var B=new Array(l-n+1);i(B);var U=new Array(t);i(U);var H=new Array(p);i(H);function z(je,st,Xe,Je,et){this.static_tree=je,this.extra_bits=st,this.extra_base=Xe,this.elems=Je,this.max_length=et,this.has_stree=je&&je.length}var X,W,Y;function q(je,st){this.dyn_tree=je,this.max_code=0,this.stat_desc=st}function me(je){return je<256?N[je]:N[256+(je>>>7)]}function G(je,st){je.pending_buf[je.pending++]=st&255,je.pending_buf[je.pending++]=st>>>8&255}function ye(je,st,Xe){je.bi_valid>w-Xe?(je.bi_buf|=st<<je.bi_valid&65535,G(je,je.bi_buf),je.bi_buf=st>>w-je.bi_valid,je.bi_valid+=Xe-w):(je.bi_buf|=st<<je.bi_valid&65535,je.bi_valid+=Xe)}function Ae(je,st,Xe){ye(je,Xe[st*2],Xe[st*2+1])}function ve(je,st){var Xe=0;do Xe|=je&1,je>>>=1,Xe<<=1;while(--st>0);return Xe>>>1}function Ue(je){je.bi_valid===16?(G(je,je.bi_buf),je.bi_buf=0,je.bi_valid=0):je.bi_valid>=8&&(je.pending_buf[je.pending++]=je.bi_buf&255,je.bi_buf>>=8,je.bi_valid-=8)}function Me(je,st){var Xe=st.dyn_tree,Je=st.max_code,et=st.stat_desc.static_tree,at=st.stat_desc.has_stree,Ve=st.stat_desc.extra_bits,le=st.stat_desc.extra_base,ae=st.stat_desc.max_length,lt,Ze,Te,Jt,mt,ft,bt=0;for(Jt=0;Jt<=T;Jt++)je.bl_count[Jt]=0;for(Xe[je.heap[je.heap_max]*2+1]=0,lt=je.heap_max+1;lt<S;lt++){if(Ze=je.heap[lt],Jt=Xe[Xe[Ze*2+1]*2+1]+1,Jt>ae&&(Jt=ae,bt++),Xe[Ze*2+1]=Jt,Ze>Je)continue;je.bl_count[Jt]++,mt=0,Ze>=le&&(mt=Ve[Ze-le]),ft=Xe[Ze*2],je.opt_len+=ft*(Jt+mt),at&&(je.static_len+=ft*(et[Ze*2+1]+mt))}if(bt===0)return;do{for(Jt=ae-1;je.bl_count[Jt]===0;)Jt--;je.bl_count[Jt]--,je.bl_count[Jt+1]+=2,je.bl_count[ae]--,bt-=2}while(bt>0);for(Jt=ae;Jt!==0;Jt--)for(Ze=je.bl_count[Jt];Ze!==0;){if(Te=je.heap[--lt],Te>Je)continue;Xe[Te*2+1]!==Jt&&(je.opt_len+=(Jt-Xe[Te*2+1])*Xe[Te*2],Xe[Te*2+1]=Jt),Ze--}}function nt(je,st,Xe){var Je=new Array(T+1),et=0,at,Ve;for(at=1;at<=T;at++)Je[at]=et=et+Xe[at-1]<<1;for(Ve=0;Ve<=st;Ve++){var le=je[Ve*2+1];if(le===0)continue;je[Ve*2]=ve(Je[le]++,le)}}function ne(){var je,st,Xe,Je,et,at=new Array(T+1);for(Xe=0,Je=0;Je<t-1;Je++)for(U[Je]=Xe,je=0;je<1<<O[Je];je++)B[Xe++]=Je;for(B[Xe-1]=Je,et=0,Je=0;Je<16;Je++)for(H[Je]=et,je=0;je<1<<I[Je];je++)N[et++]=Je;for(et>>=7;Je<p;Je++)for(H[Je]=et<<7,je=0;je<1<<I[Je]-7;je++)N[256+et++]=Je;for(st=0;st<=T;st++)at[st]=0;for(je=0;je<=143;)j[je*2+1]=8,je++,at[8]++;for(;je<=255;)j[je*2+1]=9,je++,at[9]++;for(;je<=279;)j[je*2+1]=7,je++,at[7]++;for(;je<=287;)j[je*2+1]=8,je++,at[8]++;for(nt(j,u+1,at),je=0;je<p;je++)K[je*2+1]=5,K[je*2]=ve(je,5);X=new z(j,O,s+1,u,T),W=new z(K,I,0,p,T),Y=new z(new Array(0),M,0,x,E)}function be(je){var st;for(st=0;st<u;st++)je.dyn_ltree[st*2]=0;for(st=0;st<p;st++)je.dyn_dtree[st*2]=0;for(st=0;st<x;st++)je.bl_tree[st*2]=0;je.dyn_ltree[C*2]=1,je.opt_len=je.static_len=0,je.last_lit=je.matches=0}function ot(je){je.bi_valid>8?G(je,je.bi_buf):je.bi_valid>0&&(je.pending_buf[je.pending++]=je.bi_buf),je.bi_buf=0,je.bi_valid=0}function ue(je,st,Xe,Je){ot(je),Je&&(G(je,Xe),G(je,~Xe)),f.arraySet(je.pending_buf,je.window,st,Xe,je.pending),je.pending+=Xe}function Q(je,st,Xe,Je){var et=st*2,at=Xe*2;return je[et]<je[at]||je[et]===je[at]&&Je[st]<=Je[Xe]}function V(je,st,Xe){for(var Je=je.heap[Xe],et=Xe<<1;et<=je.heap_len&&!(et<je.heap_len&&Q(st,je.heap[et+1],je.heap[et],je.depth)&&et++,Q(st,Je,je.heap[et],je.depth));)je.heap[Xe]=je.heap[et],Xe=et,et<<=1;je.heap[Xe]=Je}function J(je,st,Xe){var Je,et,at=0,Ve,le;if(je.last_lit!==0)do Je=je.pending_buf[je.d_buf+at*2]<<8|je.pending_buf[je.d_buf+at*2+1],et=je.pending_buf[je.l_buf+at],at++,Je===0?Ae(je,et,st):(Ve=B[et],Ae(je,Ve+s+1,st),le=O[Ve],le!==0&&(et-=U[Ve],ye(je,et,le)),Je--,Ve=me(Je),Ae(je,Ve,Xe),le=I[Ve],le!==0&&(Je-=H[Ve],ye(je,Je,le)));while(at<je.last_lit);Ae(je,C,st)}function fe(je,st){var Xe=st.dyn_tree,Je=st.stat_desc.static_tree,et=st.stat_desc.has_stree,at=st.stat_desc.elems,Ve,le,ae=-1,lt;for(je.heap_len=0,je.heap_max=S,Ve=0;Ve<at;Ve++)Xe[Ve*2]!==0?(je.heap[++je.heap_len]=ae=Ve,je.depth[Ve]=0):Xe[Ve*2+1]=0;for(;je.heap_len<2;)lt=je.heap[++je.heap_len]=ae<2?++ae:0,Xe[lt*2]=1,je.depth[lt]=0,je.opt_len--,et&&(je.static_len-=Je[lt*2+1]);for(st.max_code=ae,Ve=je.heap_len>>1;Ve>=1;Ve--)V(je,Xe,Ve);lt=at;do Ve=je.heap[1],je.heap[1]=je.heap[je.heap_len--],V(je,Xe,1),le=je.heap[1],je.heap[--je.heap_max]=Ve,je.heap[--je.heap_max]=le,Xe[lt*2]=Xe[Ve*2]+Xe[le*2],je.depth[lt]=(je.depth[Ve]>=je.depth[le]?je.depth[Ve]:je.depth[le])+1,Xe[Ve*2+1]=Xe[le*2+1]=lt,je.heap[1]=lt++,V(je,Xe,1);while(je.heap_len>=2);je.heap[--je.heap_max]=je.heap[1],Me(je,st),nt(Xe,ae,je.bl_count)}function oe(je,st,Xe){var Je,et=-1,at,Ve=st[0*2+1],le=0,ae=7,lt=4;for(Ve===0&&(ae=138,lt=3),st[(Xe+1)*2+1]=65535,Je=0;Je<=Xe;Je++){if(at=Ve,Ve=st[(Je+1)*2+1],++le<ae&&at===Ve)continue;le<lt?je.bl_tree[at*2]+=le:at!==0?(at!==et&&je.bl_tree[at*2]++,je.bl_tree[_*2]++):le<=10?je.bl_tree[y*2]++:je.bl_tree[b*2]++,le=0,et=at,Ve===0?(ae=138,lt=3):at===Ve?(ae=6,lt=3):(ae=7,lt=4)}}function Le(je,st,Xe){var Je,et=-1,at,Ve=st[0*2+1],le=0,ae=7,lt=4;for(Ve===0&&(ae=138,lt=3),Je=0;Je<=Xe;Je++){if(at=Ve,Ve=st[(Je+1)*2+1],++le<ae&&at===Ve)continue;if(le<lt)do Ae(je,at,je.bl_tree);while(--le!==0);else at!==0?(at!==et&&(Ae(je,at,je.bl_tree),le--),Ae(je,_,je.bl_tree),ye(je,le-3,2)):le<=10?(Ae(je,y,je.bl_tree),ye(je,le-3,3)):(Ae(je,b,je.bl_tree),ye(je,le-11,7));le=0,et=at,Ve===0?(ae=138,lt=3):at===Ve?(ae=6,lt=3):(ae=7,lt=4)}}function he(je){var st;for(oe(je,je.dyn_ltree,je.l_desc.max_code),oe(je,je.dyn_dtree,je.d_desc.max_code),fe(je,je.bl_desc),st=x-1;st>=3&&!(je.bl_tree[F[st]*2+1]!==0);st--);return je.opt_len+=3*(st+1)+5+5+4,st}function te(je,st,Xe,Je){var et;for(ye(je,st-257,5),ye(je,Xe-1,5),ye(je,Je-4,4),et=0;et<Je;et++)ye(je,je.bl_tree[F[et]*2+1],3);Le(je,je.dyn_ltree,st-1),Le(je,je.dyn_dtree,Xe-1)}function Z(je){var st=4093624447,Xe;for(Xe=0;Xe<=31;Xe++,st>>>=1)if(st&1&&je.dyn_ltree[Xe*2]!==0)return h;if(je.dyn_ltree[9*2]!==0||je.dyn_ltree[10*2]!==0||je.dyn_ltree[13*2]!==0)return c;for(Xe=32;Xe<s;Xe++)if(je.dyn_ltree[Xe*2]!==0)return c;return h}var ge=!1;function Re(je){ge||(ne(),ge=!0),je.l_desc=new q(je.dyn_ltree,X),je.d_desc=new q(je.dyn_dtree,W),je.bl_desc=new q(je.bl_tree,Y),je.bi_buf=0,je.bi_valid=0,be(je)}function ze(je,st,Xe,Je){ye(je,(r<<1)+(Je?1:0),3),ue(je,st,Xe,!0)}function dt(je){ye(je,o<<1,3),Ae(je,C,j),Ue(je)}function De(je,st,Xe,Je){var et,at,Ve=0;je.level>0?(je.strm.data_type===a&&(je.strm.data_type=Z(je)),fe(je,je.l_desc),fe(je,je.d_desc),Ve=he(je),et=je.opt_len+3+7>>>3,at=je.static_len+3+7>>>3,at<=et&&(et=at)):et=at=Xe+5,Xe+4<=et&&st!==-1?ze(je,st,Xe,Je):je.strategy===v||at===et?(ye(je,(o<<1)+(Je?1:0),3),J(je,j,K)):(ye(je,(d<<1)+(Je?1:0),3),te(je,je.l_desc.max_code+1,je.d_desc.max_code+1,Ve+1),J(je,je.dyn_ltree,je.dyn_dtree)),be(je),Je&&ot(je)}function Tt(je,st,Xe){return je.pending_buf[je.d_buf+je.last_lit*2]=st>>>8&255,je.pending_buf[je.d_buf+je.last_lit*2+1]=st&255,je.pending_buf[je.l_buf+je.last_lit]=Xe&255,je.last_lit++,st===0?je.dyn_ltree[Xe*2]++:(je.matches++,st--,je.dyn_ltree[(B[Xe]+s+1)*2]++,je.dyn_dtree[me(st)*2]++),je.last_lit===je.lit_bufsize-1}},c6wG:function(R,D,e){var g=e("dD9F"),f=e("sEf8"),A=e("mdPL"),m=A&&A.isTypedArray,v=m?f(m):g;R.exports=v},c8qY:function(R,D,e){var g=e("IwbS"),f=e("fls0");function A(d){this._ctor=d||f,this.group=new g.Group}var m=A.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=A;R.exports=o},cCMj:function(R,D,e){var g=e("bYtY"),f={updateSelectedMap:function(A){this._targetList=g.isArray(A)?A.slice():[],this._selectTargetMap=g.reduce(A||[],function(m,v){return m.set(v.name,v),m},g.createHashMap())},select:function(A,m){var v=m!=null?this._targetList[m]:this._selectTargetMap.get(A),h=this.get("selectedMode");h==="single"&&this._selectTargetMap.each(function(c){c.selected=!1}),v&&(v.selected=!0)},unSelect:function(A,m){var v=m!=null?this._targetList[m]:this._selectTargetMap.get(A);v&&(v.selected=!1)},toggleSelected:function(A,m){var v=m!=null?this._targetList[m]:this._selectTargetMap.get(A);if(v!=null)return this[v.selected?"unSelect":"select"](A,m),v.selected},isSelected:function(A,m){var v=m!=null?this._targetList[m]:this._selectTargetMap.get(A);return v&&v.selected}};R.exports=f},cVA7:function(R,D,e){"use strict";Object.defineProperty(D,"__esModule",{value:!0}),D.default=void 0;var g=e("MT78"),f=v(g),A=e("t3Fx"),m=v(A);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);D.default=i},cWXX:function(R,D,e){"use strict";var g=e("cIOH"),f=e.n(g),A=e("oIFs"),m=e.n(A)},ca2m:function(R,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)"]}}},A={};A.categoryAxis=g.merge({boundaryGap:!0,deduplication:null,splitLine:{show:!1},axisTick:{alignWithLabel:!1,interval:"auto"},axisLabel:{interval:"auto"}},f),A.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),A.timeAxis=g.defaults({scale:!0,min:"dataMin",max:"dataMax"},A.valueAxis),A.logAxis=g.defaults({scale:!0,logBase:10},A.valueAxis);var m=A;R.exports=m},cbJ4:function(R,D,e){var g=e("bYtY"),f=g.createHashMap;function A(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)})})}R.exports=A},chpo:function(R,D,e){"use strict";Object.defineProperty(D,"__esModule",{value:!0}),D.default=void 0;var g=1,f=function(){return"".concat(g++)};D.default=f},cpOr:function(R,D,e){var g=e("Tghj"),f=g.__DEV__,A=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(x){var S=[x[0].coord,x[1].coord],T={coords:S};return x[0].name&&(T.fromName=x[0].name),x[1].name&&(T.toName=x[1].name),c([T,x[0],x[1]])}))}var t=A.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),x=p.option instanceof Array?p.option:p.getShallow("coords");return x},getLineCoordsCount:function(u){return this._flatCoordsOffset?this._flatCoordsOffset[u*2+1]:this._getCoordsFromItemModel(u).length},getLineCoords:function(u,p){if(this._flatCoordsOffset){for(var x=this._flatCoordsOffset[u*2],S=this._flatCoordsOffset[u*2+1],T=0;T<S;T++)p[T]=p[T]||[],p[T][0]=this._flatCoords[x+T*2],p[T][1]=this._flatCoords[x+T*2+1];return S}else{for(var w=this._getCoordsFromItemModel(u),T=0;T<w.length;T++)p[T]=p[T]||[],p[T][0]=w[T][0],p[T][1]=w[T][1];return w.length}},_processFlatCoordsArray:function(u){var p=0;if(this._flatCoords&&(p=this._flatCoords.length),typeof u[0]=="number"){for(var x=u.length,S=new d(x),T=new n(x),w=0,E=0,C=0,_=0;_<x;){C++;var y=u[_++];S[E++]=w+p,S[E++]=y;for(var b=0;b<y;b++){var O=u[_++],I=u[_++];T[w++]=O,T[w++]=I,_>x}}return{flatCoordsOffset:new Uint32Array(S.buffer,0,E),flatCoords:T,count:C}}return{flatCoordsOffset:null,flatCoords:null,count:u.length}},getInitialData:function(u,p){var x=new m(["value"],this);return x.hasItemOption=!1,x.initData(u.data,[],function(S,T,w,E){if(S instanceof Array)return NaN;x.hasItemOption=!0;var C=S.value;if(C!=null)return C instanceof Array?C[E]:C}),x},formatTooltip:function(u){var p=this.getData(),x=p.getItemModel(u),S=x.get("name");if(S)return S;var T=x.get("fromName"),w=x.get("toName"),E=[];return T!=null&&E.push(T),w!=null&&E.push(w),r(E.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;R.exports=s},crZl:function(R,D,e){var g=e("ProS"),f=e("bYtY"),A=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 A.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(x){return n[x]}function s(x,S){n[x]=S}var u=d.controllerVisuals[o||d.getValueState(a)],p=h.prepareVisualTypes(u);return f.each(p,function(x){var S=u[x];r.convertOpacityToAlpha&&x==="opacity"&&(x="colorAlpha",S=u.__alphaForOpacity),h.dependsOn(x,i)&&(S&&S.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});R.exports=c},czTT:function(R,D,e){},d4KN:function(R,D,e){var g=e("ProS"),f=e("bYtY");function A(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}})})}R.exports=A},dBmv:function(R,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(R,D,e){var g=e("NykK"),f=e("shjB"),A=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]",x="[object Float32Array]",S="[object Float64Array]",T="[object Int8Array]",w="[object Int16Array]",E="[object Int32Array]",C="[object Uint8Array]",_="[object Uint8ClampedArray]",y="[object Uint16Array]",b="[object Uint32Array]",O={};O[x]=O[S]=O[T]=O[w]=O[E]=O[C]=O[_]=O[y]=O[b]=!0,O[m]=O[v]=O[u]=O[h]=O[p]=O[c]=O[a]=O[i]=O[r]=O[o]=O[d]=O[n]=O[l]=O[t]=O[s]=!1;function I(M){return A(M)&&f(M.length)&&!!O[g(M)]}R.exports=I},"dF/Y":function(R,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"},A=f,m=e("6VBw"),v=function(a,i){return g.createElement(m.a,Object.assign({},a,{ref:i,icon:A}))};v.displayName="DownloadOutlined";var h=D.a=g.forwardRef(v)},dMvE:function(R,D){var e={linear:function(A){return A},quadraticIn:function(A){return A*A},quadraticOut:function(A){return A*(2-A)},quadraticInOut:function(A){return(A*=2)<1?.5*A*A:-.5*(--A*(A-2)-1)},cubicIn:function(A){return A*A*A},cubicOut:function(A){return--A*A*A+1},cubicInOut:function(A){return(A*=2)<1?.5*A*A*A:.5*((A-=2)*A*A+2)},quarticIn:function(A){return A*A*A*A},quarticOut:function(A){return 1- --A*A*A*A},quarticInOut:function(A){return(A*=2)<1?.5*A*A*A*A:-.5*((A-=2)*A*A*A-2)},quinticIn:function(A){return A*A*A*A*A},quinticOut:function(A){return--A*A*A*A*A+1},quinticInOut:function(A){return(A*=2)<1?.5*A*A*A*A*A:.5*((A-=2)*A*A*A*A+2)},sinusoidalIn:function(A){return 1-Math.cos(A*Math.PI/2)},sinusoidalOut:function(A){return Math.sin(A*Math.PI/2)},sinusoidalInOut:function(A){return .5*(1-Math.cos(Math.PI*A))},exponentialIn:function(A){return A===0?0:Math.pow(1024,A-1)},exponentialOut:function(A){return A===1?1:1-Math.pow(2,-10*A)},exponentialInOut:function(A){return A===0?0:A===1?1:(A*=2)<1?.5*Math.pow(1024,A-1):.5*(-Math.pow(2,-10*(A-1))+2)},circularIn:function(A){return 1-Math.sqrt(1-A*A)},circularOut:function(A){return Math.sqrt(1- --A*A)},circularInOut:function(A){return(A*=2)<1?-.5*(Math.sqrt(1-A*A)-1):.5*(Math.sqrt(1-(A-=2)*A)+1)},elasticIn:function(A){var m,v=.1,h=.4;return A===0?0:A===1?1:(!v||v<1?(v=1,m=h/4):m=h*Math.asin(1/v)/(2*Math.PI),-(v*Math.pow(2,10*(A-=1))*Math.sin((A-m)*(2*Math.PI)/h)))},elasticOut:function(A){var m,v=.1,h=.4;return A===0?0:A===1?1:(!v||v<1?(v=1,m=h/4):m=h*Math.asin(1/v)/(2*Math.PI),v*Math.pow(2,-10*A)*Math.sin((A-m)*(2*Math.PI)/h)+1)},elasticInOut:function(A){var m,v=.1,h=.4;return A===0?0:A===1?1:(!v||v<1?(v=1,m=h/4):m=h*Math.asin(1/v)/(2*Math.PI),(A*=2)<1?-.5*(v*Math.pow(2,10*(A-=1))*Math.sin((A-m)*(2*Math.PI)/h)):v*Math.pow(2,-10*(A-=1))*Math.sin((A-m)*(2*Math.PI)/h)*.5+1)},backIn:function(A){var m=1.70158;return A*A*((m+1)*A-m)},backOut:function(A){var m=1.70158;return--A*A*((m+1)*A+m)+1},backInOut:function(A){var m=1.70158*1.525;return(A*=2)<1?.5*(A*A*((m+1)*A-m)):.5*((A-=2)*A*((m+1)*A+m)+2)},bounceIn:function(A){return 1-e.bounceOut(1-A)},bounceOut:function(A){return A<1/2.75?7.5625*A*A:A<2/2.75?7.5625*(A-=1.5/2.75)*A+.75:A<2.5/2.75?7.5625*(A-=2.25/2.75)*A+.9375:7.5625*(A-=2.625/2.75)*A+.984375},bounceInOut:function(A){return A<.5?e.bounceIn(A*2)*.5:e.bounceOut(A*2-1)*.5+.5}},g=e;R.exports=g},diRs:function(R,D,e){"use strict";var g=e("pVnL"),f=e.n(g),A=e("q1tI"),m=e.n(A),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=A.forwardRef(function(r,o){var d=r.prefixCls,n=r.title,l=r.content,t=a(r,["prefixCls","title","content"]),s=A.useContext(h.b),u=s.getPrefixCls,p=function(T){return A.createElement(A.Fragment,null,n&&A.createElement("div",{className:"".concat(T,"-title")},Object(c.a)(n)),A.createElement("div",{className:"".concat(T,"-inner-content")},Object(c.a)(l)))},x=u("popover",d);return A.createElement(v.a,f()({},t,{prefixCls:x,ref:o,overlay:p(x)}))});i.displayName="Popover",i.defaultProps={placement:"top",transitionName:"zoom-big",trigger:"hover",mouseEnterDelay:.1,mouseLeaveDelay:.1,overlayStyle:{}},D.a=i},digP:function(R,D,e){"use strict";Object.defineProperty(D,"__esModule",{value:!0});var g={icon:function(A,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:A}}]}},name:"file",theme:"twotone"};D.default=g},dmGj:function(R,D,e){var g=e("DEFe"),f=e("ProS"),A=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()}});R.exports=A},dnwI:function(R,D,e){var g=e("ProS"),f=e("bYtY"),A=e("YH21"),m=e("Kagy"),v=e("IUWy"),h=m.toolbox.dataView,c=new Array(60).join("-"),a=" ";function i(w){var E={},C=[],_=[];return w.eachRawSeries(function(y){var b=y.coordinateSystem;if(b&&(b.type==="cartesian2d"||b.type==="polar")){var O=b.getBaseAxis();if(O.type==="category"){var I=O.dim+"_"+O.index;E[I]||(E[I]={categoryAxis:O,valueAxis:b.getOtherAxis(O),series:[]},_.push({axisDim:O.dim,axisIndex:O.index})),E[I].series.push(y)}else C.push(y)}else C.push(y)}),{seriesGroupByCategoryAxis:E,other:C,meta:_}}function r(w){var E=[];return f.each(w,function(C,_){var y=C.categoryAxis,b=C.valueAxis,O=b.dim,I=[" "].concat(f.map(C.series,function(N){return N.name})),M=[y.model.getCategories()];f.each(C.series,function(N){M.push(N.getRawData().mapArray(O,function(B){return B}))});for(var F=[I.join(a)],P=0;P<M[0].length;P++){for(var j=[],K=0;K<M.length;K++)j.push(M[K][P]);F.push(j.join(a))}E.push(F.join(`
|
|
|
`))}),E.join(`
|
|
|
|
|
|
`+c+`
|
|
|
|
|
|
`)}function o(w){return f.map(w,function(E){var C=E.getRawData(),_=[E.name],y=[];return C.each(C.dimensions,function(){for(var b=arguments.length,O=arguments[b-1],I=C.getName(O),M=0;M<b-1;M++)y[M]=arguments[M];_.push((I?I+a:"")+y.join(a))}),_.join(`
|
|
|
`)}).join(`
|
|
|
|
|
|
`+c+`
|
|
|
|
|
|
`)}function d(w){var E=i(w);return{value:f.filter([r(E.seriesGroupByCategoryAxis),o(E.other)],function(C){return C.replace(/[\n\t\s]/g,"")}).join(`
|
|
|
|
|
|
`+c+`
|
|
|
|
|
|
`),meta:E.meta}}function n(w){return w.replace(/^\s\s*/,"").replace(/\s\s*$/,"")}function l(w){var E=w.slice(0,w.indexOf(`
|
|
|
`));if(E.indexOf(a)>=0)return!0}var t=new RegExp("["+a+"]+","g");function s(w){for(var E=w.split(/\n+/g),C=n(E.shift()).split(t),_=[],y=f.map(C,function(M){return{name:M,data:[]}}),b=0;b<E.length;b++){var O=n(E[b]).split(t);_.push(O.shift());for(var I=0;I<O.length;I++)y[I]&&(y[I].data[b]=O[I])}return{series:y,categories:_}}function u(w){for(var E=w.split(/\n+/g),C=n(E.shift()),_=[],y=0;y<E.length;y++){var b=n(E[y]).split(t),O="",I,M=!1;isNaN(b[0])?(M=!0,O=b[0],b=b.slice(1),_[y]={name:O,value:[]},I=_[y].value):I=_[y]=[];for(var F=0;F<b.length;F++)I.push(+b[F]);I.length===1&&(M?_[y].value=I[0]:_[y]=I[0])}return{name:C,data:_}}function p(w,E){var C=w.split(new RegExp(`
|
|
|
*`+c+`
|
|
|
*`,"g")),_={series:[]};return f.each(C,function(y,b){if(l(y)){var O=s(y),I=E[b],M=I.axisDim+"Axis";I&&(_[M]=_[M]||[],_[M][I.axisIndex]={data:O.categories},_.series=_.series.concat(O.series))}else{var O=u(y);_.series.push(O)}}),_}function x(w){this._dom=null,this.model=w}x.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"},x.prototype.onclick=function(w,E){var C=E.getDom(),_=this.model;this._dom&&C.removeChild(this._dom);var y=document.createElement("div");y.style.cssText="position:absolute;left:5px;top:5px;bottom:5px;right:5px;",y.style.backgroundColor=_.get("backgroundColor")||"#fff";var b=document.createElement("h4"),O=_.get("lang")||[];b.innerHTML=O[0]||_.get("title"),b.style.cssText="margin: 10px 20px;",b.style.color=_.get("textColor");var I=document.createElement("div"),M=document.createElement("textarea");I.style.cssText="display:block;width:100%;overflow:auto;";var F=_.get("optionToContent"),P=_.get("contentToOption"),j=d(w);if(typeof F=="function"){var K=F(E.getOption());typeof K=="string"?I.innerHTML=K:f.isDom(K)&&I.appendChild(K)}else I.appendChild(M),M.readOnly=_.get("readOnly"),M.style.cssText="width:100%;height:100%;font-family:monospace;font-size:14px;line-height:1.6rem;",M.style.color=_.get("textColor"),M.style.borderColor=_.get("textareaBorderColor"),M.style.backgroundColor=_.get("textareaColor"),M.value=j.value;var N=j.meta,B=document.createElement("div");B.style.cssText="position:absolute;bottom:0;left:0;right:0;";var U="float:right;margin-right:20px;border:none;cursor:pointer;padding:2px 5px;font-size:12px;border-radius:3px",H=document.createElement("div"),z=document.createElement("div");U+=";background-color:"+_.get("buttonColor"),U+=";color:"+_.get("buttonTextColor");var X=this;function W(){C.removeChild(y),X._dom=null}A.addEventListener(H,"click",W),A.addEventListener(z,"click",function(){var Y;try{typeof P=="function"?Y=P(I,E.getOption()):Y=p(M.value,N)}catch(q){throw W(),new Error("Data view format error "+q)}Y&&E.dispatchAction({type:"changeDataView",newOption:Y}),W()}),H.innerHTML=O[1],z.innerHTML=O[2],z.style.cssText=U,H.style.cssText=U,!_.get("readOnly")&&B.appendChild(z),B.appendChild(H),y.appendChild(b),y.appendChild(I),y.appendChild(B),I.style.height=C.clientHeight-80+"px",C.appendChild(y),this._dom=y},x.prototype.remove=function(w,E){this._dom&&E.getDom().removeChild(this._dom)},x.prototype.dispose=function(w,E){this.remove(w,E)};function S(w,E){return f.map(w,function(C,_){var y=E&&E[_];return f.isObject(y)&&!f.isArray(y)?(f.isObject(C)&&!f.isArray(C)&&(C=C.value),f.defaults({value:C},y)):C})}v.register("dataView",x),g.registerAction({type:"changeDataView",event:"dataViewChanged",update:"prepareAndUpdate"},function(w,E){var C=[];f.each(w.newOption.series,function(_){var y=E.getSeriesByName(_.name)[0];if(!y)C.push(f.extend({type:"scatter"},_));else{var b=y.get("data");C.push({name:_.name,data:S(_.data,b)})}}),E.mergeOption(f.defaults({series:C},w.newOption))});var T=x;R.exports=T},dqUG:function(R,D,e){var g=e("Gev7"),f=e("bYtY"),A=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=A.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;R.exports=a},dt0z:function(R,D,e){var g=e("zoYe");function f(A){return A==null?"":g(A)}R.exports=f},e4Nc:function(R,D,e){var g=e("fGT3"),f=e("k+1r"),A=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=A,h.prototype.has=m,h.prototype.set=v,R.exports=h},e5VY:function(R,D,e){"use strict";Object.defineProperty(D,"__esModule",{value:!0}),D.default=void 0;var g=f(e("YNAk"));function f(m){return m&&m.__esModule?m:{default:m}}var A=g;D.default=A,R.exports=A},e5cp:function(R,D,e){var g=e("fmRc"),f=e("or5M"),A=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,x,S,T){var w=h(s),E=h(u),C=w?o:v(s),_=E?o:v(u);C=C==r?d:C,_=_==r?d:_;var y=C==d,b=_==d,O=C==_;if(O&&c(s)){if(!c(u))return!1;w=!0,y=!1}if(O&&!y)return T||(T=new g),w||a(s)?f(s,u,p,x,S,T):A(s,u,C,p,x,S,T);if(!(p&i)){var I=y&&l.call(s,"__wrapped__"),M=b&&l.call(u,"__wrapped__");if(I||M){var F=I?s.value():s,P=M?u.value():u;return T||(T=new g),S(F,P,p,x,T)}}return O?(T||(T=new g),m(s,u,p,x,S,T)):!1}R.exports=t},eIcI:function(R,D,e){var g=e("bYtY"),f=e("hM6l");function A(v,h,c){f.call(this,v,h,c),this.type="value",this.angle=0,this.name="",this.model}g.inherits(A,f);var m=A;R.exports=m},eJH7:function(R,D,e){var g=e("bYtY");function f(A){var m=A.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),A.radar=A.radar||[],g.isArray(A.radar)||(A.radar=[A.radar]),A.radar.push(h)):v.push(h)}),A.polar=v}g.each(A.series,function(h){h&&h.type==="radar"&&h.polarIndex&&(h.radarIndex=h.polarIndex)})}R.exports=f},eP3c:function(R,D,e){"use strict";function g(Ve){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?g=function(ae){return typeof ae}:g=function(ae){return ae&&typeof Symbol=="function"&&ae.constructor===Symbol&&ae!==Symbol.prototype?"symbol":typeof ae},g(Ve)}Object.defineProperty(D,"__esModule",{value:!0}),D.inflateReset=te,D.inflateReset2=Z,D.inflateResetKeep=he,D.inflateInit=Re,D.inflateInit2=ge,D.inflate=st,D.inflateEnd=Xe,D.inflateGetHeader=Je,D.inflateSetDictionary=et,D.inflateInfo=D.Z_DEFLATED=D.Z_BUF_ERROR=D.Z_MEM_ERROR=D.Z_DATA_ERROR=D.Z_STREAM_ERROR=D.Z_NEED_DICT=D.Z_STREAM_END=D.Z_OK=D.Z_TREES=D.Z_BLOCK=D.Z_FINISH=void 0;var f=i(e("6BzB")),A=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 le=a();if(le&&le.has(Ve))return le.get(Ve);var ae={},lt=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var Ze in Ve)if(Object.prototype.hasOwnProperty.call(Ve,Ze)){var Te=lt?Object.getOwnPropertyDescriptor(Ve,Ze):null;Te&&(Te.get||Te.set)?Object.defineProperty(ae,Ze,Te):ae[Ze]=Ve[Ze]}return ae.default=Ve,le&&le.set(Ve,ae),ae}var r=0,o=1,d=2,n=4;D.Z_FINISH=n;var l=5;D.Z_BLOCK=l;var t=6;D.Z_TREES=t;var s=0;D.Z_OK=s;var u=1;D.Z_STREAM_END=u;var p=2;D.Z_NEED_DICT=p;var x=-2;D.Z_STREAM_ERROR=x;var S=-3;D.Z_DATA_ERROR=S;var T=-4;D.Z_MEM_ERROR=T;var w=-5;D.Z_BUF_ERROR=w;var E=8;D.Z_DEFLATED=E;var C=1,_=2,y=3,b=4,O=5,I=6,M=7,F=8,P=9,j=10,K=11,N=12,B=13,U=14,H=15,z=16,X=17,W=18,Y=19,q=20,me=21,G=22,ye=23,Ae=24,ve=25,Ue=26,Me=27,nt=28,ne=29,be=30,ot=31,ue=32,Q=852,V=592,J=15,fe=J;function oe(Ve){return(Ve>>>24&255)+(Ve>>>8&65280)+((Ve&65280)<<8)+((Ve&255)<<24)}function Le(){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 he(Ve){var le;return!Ve||!Ve.state?x:(le=Ve.state,Ve.total_in=Ve.total_out=le.total=0,Ve.msg="",le.wrap&&(Ve.adler=le.wrap&1),le.mode=C,le.last=0,le.havedict=0,le.dmax=32768,le.head=null,le.hold=0,le.bits=0,le.lencode=le.lendyn=new f.Buf32(Q),le.distcode=le.distdyn=new f.Buf32(V),le.sane=1,le.back=-1,s)}function te(Ve){var le;return!Ve||!Ve.state?x:(le=Ve.state,le.wsize=0,le.whave=0,le.wnext=0,he(Ve))}function Z(Ve,le){var ae,lt;return!Ve||!Ve.state?x:(lt=Ve.state,le<0?(ae=0,le=-le):(ae=(le>>4)+1,le<48&&(le&=15)),le&&(le<8||le>15)?x:(lt.window!==null&<.wbits!==le&&(lt.window=null),lt.wrap=ae,lt.wbits=le,te(Ve)))}function ge(Ve,le){var ae,lt;return Ve?(lt=new Le,Ve.state=lt,lt.window=null,ae=Z(Ve,le),ae!==s&&(Ve.state=null),ae):x}function Re(Ve){return ge(Ve,fe)}var ze=!0,dt,De;function Tt(Ve){if(ze){var le;for(dt=new f.Buf32(512),De=new f.Buf32(32),le=0;le<144;)Ve.lens[le++]=8;for(;le<256;)Ve.lens[le++]=9;for(;le<280;)Ve.lens[le++]=7;for(;le<288;)Ve.lens[le++]=8;for((0,h.default)(o,Ve.lens,0,288,dt,0,Ve.work,{bits:9}),le=0;le<32;)Ve.lens[le++]=5;(0,h.default)(d,Ve.lens,0,32,De,0,Ve.work,{bits:5}),ze=!1}Ve.lencode=dt,Ve.lenbits=9,Ve.distcode=De,Ve.distbits=5}function je(Ve,le,ae,lt){var Ze,Te=Ve.state;return Te.window===null&&(Te.wsize=1<<Te.wbits,Te.wnext=0,Te.whave=0,Te.window=new f.Buf8(Te.wsize)),lt>=Te.wsize?(f.arraySet(Te.window,le,ae-Te.wsize,Te.wsize,0),Te.wnext=0,Te.whave=Te.wsize):(Ze=Te.wsize-Te.wnext,Ze>lt&&(Ze=lt),f.arraySet(Te.window,le,ae-lt,Ze,Te.wnext),lt-=Ze,lt?(f.arraySet(Te.window,le,ae-lt,lt,0),Te.wnext=lt,Te.whave=Te.wsize):(Te.wnext+=Ze,Te.wnext===Te.wsize&&(Te.wnext=0),Te.whave<Te.wsize&&(Te.whave+=Ze))),0}function st(Ve,le){var ae,lt,Ze,Te,Jt,mt,ft,bt,It,or,Pt,_e,Ce,Ee,we=0,Fe,Ye,Ge,qe,Ke,ct,wt,Lt,de=new f.Buf8(4),xe,$,se=[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 x;ae=Ve.state,ae.mode===N&&(ae.mode=B),Jt=Ve.next_out,Ze=Ve.output,ft=Ve.avail_out,Te=Ve.next_in,lt=Ve.input,mt=Ve.avail_in,bt=ae.hold,It=ae.bits,or=mt,Pt=ft,Lt=s;e:for(;;)switch(ae.mode){case C:if(ae.wrap===0){ae.mode=B;break}for(;It<16;){if(mt===0)break e;mt--,bt+=lt[Te++]<<It,It+=8}if(ae.wrap&2&&bt===35615){ae.check=0,de[0]=bt&255,de[1]=bt>>>8&255,ae.check=(0,m.default)(ae.check,de,2,0),bt=0,It=0,ae.mode=_;break}if(ae.flags=0,ae.head&&(ae.head.done=!1),!(ae.wrap&1)||(((bt&255)<<8)+(bt>>8))%31){Ve.msg="incorrect header check",ae.mode=be;break}if((bt&15)!==E){Ve.msg="unknown compression method",ae.mode=be;break}if(bt>>>=4,It-=4,wt=(bt&15)+8,ae.wbits===0)ae.wbits=wt;else if(wt>ae.wbits){Ve.msg="invalid window size",ae.mode=be;break}ae.dmax=1<<wt,Ve.adler=ae.check=1,ae.mode=bt&512?j:N,bt=0,It=0;break;case _:for(;It<16;){if(mt===0)break e;mt--,bt+=lt[Te++]<<It,It+=8}if(ae.flags=bt,(ae.flags&255)!==E){Ve.msg="unknown compression method",ae.mode=be;break}if(ae.flags&57344){Ve.msg="unknown header flags set",ae.mode=be;break}ae.head&&(ae.head.text=bt>>8&1),ae.flags&512&&(de[0]=bt&255,de[1]=bt>>>8&255,ae.check=(0,m.default)(ae.check,de,2,0)),bt=0,It=0,ae.mode=y;case y:for(;It<32;){if(mt===0)break e;mt--,bt+=lt[Te++]<<It,It+=8}ae.head&&(ae.head.time=bt),ae.flags&512&&(de[0]=bt&255,de[1]=bt>>>8&255,de[2]=bt>>>16&255,de[3]=bt>>>24&255,ae.check=(0,m.default)(ae.check,de,4,0)),bt=0,It=0,ae.mode=b;case b:for(;It<16;){if(mt===0)break e;mt--,bt+=lt[Te++]<<It,It+=8}ae.head&&(ae.head.xflags=bt&255,ae.head.os=bt>>8),ae.flags&512&&(de[0]=bt&255,de[1]=bt>>>8&255,ae.check=(0,m.default)(ae.check,de,2,0)),bt=0,It=0,ae.mode=O;case O:if(ae.flags&1024){for(;It<16;){if(mt===0)break e;mt--,bt+=lt[Te++]<<It,It+=8}ae.length=bt,ae.head&&(ae.head.extra_len=bt),ae.flags&512&&(de[0]=bt&255,de[1]=bt>>>8&255,ae.check=(0,m.default)(ae.check,de,2,0)),bt=0,It=0}else ae.head&&(ae.head.extra=null);ae.mode=I;case I:if(ae.flags&1024&&(_e=ae.length,_e>mt&&(_e=mt),_e&&(ae.head&&(wt=ae.head.extra_len-ae.length,ae.head.extra||(ae.head.extra=new Array(ae.head.extra_len)),f.arraySet(ae.head.extra,lt,Te,_e,wt)),ae.flags&512&&(ae.check=(0,m.default)(ae.check,lt,_e,Te)),mt-=_e,Te+=_e,ae.length-=_e),ae.length))break e;ae.length=0,ae.mode=M;case M:if(ae.flags&2048){if(mt===0)break e;_e=0;do wt=lt[Te+_e++],ae.head&&wt&&ae.length<65536&&(ae.head.name+=String.fromCharCode(wt));while(wt&&_e<mt);if(ae.flags&512&&(ae.check=(0,m.default)(ae.check,lt,_e,Te)),mt-=_e,Te+=_e,wt)break e}else ae.head&&(ae.head.name=null);ae.length=0,ae.mode=F;case F:if(ae.flags&4096){if(mt===0)break e;_e=0;do wt=lt[Te+_e++],ae.head&&wt&&ae.length<65536&&(ae.head.comment+=String.fromCharCode(wt));while(wt&&_e<mt);if(ae.flags&512&&(ae.check=(0,m.default)(ae.check,lt,_e,Te)),mt-=_e,Te+=_e,wt)break e}else ae.head&&(ae.head.comment=null);ae.mode=P;case P:if(ae.flags&512){for(;It<16;){if(mt===0)break e;mt--,bt+=lt[Te++]<<It,It+=8}if(bt!==(ae.check&65535)){Ve.msg="header crc mismatch",ae.mode=be;break}bt=0,It=0}ae.head&&(ae.head.hcrc=ae.flags>>9&1,ae.head.done=!0),Ve.adler=ae.check=0,ae.mode=N;break;case j:for(;It<32;){if(mt===0)break e;mt--,bt+=lt[Te++]<<It,It+=8}Ve.adler=ae.check=oe(bt),bt=0,It=0,ae.mode=K;case K:if(ae.havedict===0)return Ve.next_out=Jt,Ve.avail_out=ft,Ve.next_in=Te,Ve.avail_in=mt,ae.hold=bt,ae.bits=It,p;Ve.adler=ae.check=1,ae.mode=N;case N:if(le===l||le===t)break e;case B:if(ae.last){bt>>>=It&7,It-=It&7,ae.mode=Me;break}for(;It<3;){if(mt===0)break e;mt--,bt+=lt[Te++]<<It,It+=8}ae.last=bt&1,bt>>>=1,It-=1;switch(bt&3){case 0:ae.mode=U;break;case 1:if(Tt(ae),ae.mode=q,le===t){bt>>>=2,It-=2;break e}break;case 2:ae.mode=X;break;case 3:Ve.msg="invalid block type",ae.mode=be}bt>>>=2,It-=2;break;case U:for(bt>>>=It&7,It-=It&7;It<32;){if(mt===0)break e;mt--,bt+=lt[Te++]<<It,It+=8}if((bt&65535)!==(bt>>>16^65535)){Ve.msg="invalid stored block lengths",ae.mode=be;break}if(ae.length=bt&65535,bt=0,It=0,ae.mode=H,le===t)break e;case H:ae.mode=z;case z:if(_e=ae.length,_e){if(_e>mt&&(_e=mt),_e>ft&&(_e=ft),_e===0)break e;f.arraySet(Ze,lt,Te,_e,Jt),mt-=_e,Te+=_e,ft-=_e,Jt+=_e,ae.length-=_e;break}ae.mode=N;break;case X:for(;It<14;){if(mt===0)break e;mt--,bt+=lt[Te++]<<It,It+=8}if(ae.nlen=(bt&31)+257,bt>>>=5,It-=5,ae.ndist=(bt&31)+1,bt>>>=5,It-=5,ae.ncode=(bt&15)+4,bt>>>=4,It-=4,ae.nlen>286||ae.ndist>30){Ve.msg="too many length or distance symbols",ae.mode=be;break}ae.have=0,ae.mode=W;case W:for(;ae.have<ae.ncode;){for(;It<3;){if(mt===0)break e;mt--,bt+=lt[Te++]<<It,It+=8}ae.lens[se[ae.have++]]=bt&7,bt>>>=3,It-=3}for(;ae.have<19;)ae.lens[se[ae.have++]]=0;if(ae.lencode=ae.lendyn,ae.lenbits=7,xe={bits:ae.lenbits},Lt=(0,h.default)(r,ae.lens,0,19,ae.lencode,0,ae.work,xe),ae.lenbits=xe.bits,Lt){Ve.msg="invalid code lengths set",ae.mode=be;break}ae.have=0,ae.mode=Y;case Y:for(;ae.have<ae.nlen+ae.ndist;){for(;!(we=ae.lencode[bt&(1<<ae.lenbits)-1],Fe=we>>>24,Ye=we>>>16&255,Ge=we&65535,Fe<=It);){if(mt===0)break e;mt--,bt+=lt[Te++]<<It,It+=8}if(Ge<16)bt>>>=Fe,It-=Fe,ae.lens[ae.have++]=Ge;else{if(Ge===16){for($=Fe+2;It<$;){if(mt===0)break e;mt--,bt+=lt[Te++]<<It,It+=8}if(bt>>>=Fe,It-=Fe,ae.have===0){Ve.msg="invalid bit length repeat",ae.mode=be;break}wt=ae.lens[ae.have-1],_e=3+(bt&3),bt>>>=2,It-=2}else if(Ge===17){for($=Fe+3;It<$;){if(mt===0)break e;mt--,bt+=lt[Te++]<<It,It+=8}bt>>>=Fe,It-=Fe,wt=0,_e=3+(bt&7),bt>>>=3,It-=3}else{for($=Fe+7;It<$;){if(mt===0)break e;mt--,bt+=lt[Te++]<<It,It+=8}bt>>>=Fe,It-=Fe,wt=0,_e=11+(bt&127),bt>>>=7,It-=7}if(ae.have+_e>ae.nlen+ae.ndist){Ve.msg="invalid bit length repeat",ae.mode=be;break}for(;_e--;)ae.lens[ae.have++]=wt}}if(ae.mode===be)break;if(ae.lens[256]===0){Ve.msg="invalid code -- missing end-of-block",ae.mode=be;break}if(ae.lenbits=9,xe={bits:ae.lenbits},Lt=(0,h.default)(o,ae.lens,0,ae.nlen,ae.lencode,0,ae.work,xe),ae.lenbits=xe.bits,Lt){Ve.msg="invalid literal/lengths set",ae.mode=be;break}if(ae.distbits=6,ae.distcode=ae.distdyn,xe={bits:ae.distbits},Lt=(0,h.default)(d,ae.lens,ae.nlen,ae.ndist,ae.distcode,0,ae.work,xe),ae.distbits=xe.bits,Lt){Ve.msg="invalid distances set",ae.mode=be;break}if(ae.mode=q,le===t)break e;case q:ae.mode=me;case me:if(mt>=6&&ft>=258){Ve.next_out=Jt,Ve.avail_out=ft,Ve.next_in=Te,Ve.avail_in=mt,ae.hold=bt,ae.bits=It,(0,v.default)(Ve,Pt),Jt=Ve.next_out,Ze=Ve.output,ft=Ve.avail_out,Te=Ve.next_in,lt=Ve.input,mt=Ve.avail_in,bt=ae.hold,It=ae.bits,ae.mode===N&&(ae.back=-1);break}for(ae.back=0;!(we=ae.lencode[bt&(1<<ae.lenbits)-1],Fe=we>>>24,Ye=we>>>16&255,Ge=we&65535,Fe<=It);){if(mt===0)break e;mt--,bt+=lt[Te++]<<It,It+=8}if(Ye&&(Ye&240)===0){for(qe=Fe,Ke=Ye,ct=Ge;!(we=ae.lencode[ct+((bt&(1<<qe+Ke)-1)>>qe)],Fe=we>>>24,Ye=we>>>16&255,Ge=we&65535,qe+Fe<=It);){if(mt===0)break e;mt--,bt+=lt[Te++]<<It,It+=8}bt>>>=qe,It-=qe,ae.back+=qe}if(bt>>>=Fe,It-=Fe,ae.back+=Fe,ae.length=Ge,Ye===0){ae.mode=Ue;break}if(Ye&32){ae.back=-1,ae.mode=N;break}if(Ye&64){Ve.msg="invalid literal/length code",ae.mode=be;break}ae.extra=Ye&15,ae.mode=G;case G:if(ae.extra){for($=ae.extra;It<$;){if(mt===0)break e;mt--,bt+=lt[Te++]<<It,It+=8}ae.length+=bt&(1<<ae.extra)-1,bt>>>=ae.extra,It-=ae.extra,ae.back+=ae.extra}ae.was=ae.length,ae.mode=ye;case ye:for(;!(we=ae.distcode[bt&(1<<ae.distbits)-1],Fe=we>>>24,Ye=we>>>16&255,Ge=we&65535,Fe<=It);){if(mt===0)break e;mt--,bt+=lt[Te++]<<It,It+=8}if((Ye&240)===0){for(qe=Fe,Ke=Ye,ct=Ge;!(we=ae.distcode[ct+((bt&(1<<qe+Ke)-1)>>qe)],Fe=we>>>24,Ye=we>>>16&255,Ge=we&65535,qe+Fe<=It);){if(mt===0)break e;mt--,bt+=lt[Te++]<<It,It+=8}bt>>>=qe,It-=qe,ae.back+=qe}if(bt>>>=Fe,It-=Fe,ae.back+=Fe,Ye&64){Ve.msg="invalid distance code",ae.mode=be;break}ae.offset=Ge,ae.extra=Ye&15,ae.mode=Ae;case Ae:if(ae.extra){for($=ae.extra;It<$;){if(mt===0)break e;mt--,bt+=lt[Te++]<<It,It+=8}ae.offset+=bt&(1<<ae.extra)-1,bt>>>=ae.extra,It-=ae.extra,ae.back+=ae.extra}if(ae.offset>ae.dmax){Ve.msg="invalid distance too far back",ae.mode=be;break}ae.mode=ve;case ve:if(ft===0)break e;if(_e=Pt-ft,ae.offset>_e){if(_e=ae.offset-_e,_e>ae.whave&&ae.sane){Ve.msg="invalid distance too far back",ae.mode=be;break}_e>ae.wnext?(_e-=ae.wnext,Ce=ae.wsize-_e):Ce=ae.wnext-_e,_e>ae.length&&(_e=ae.length),Ee=ae.window}else Ee=Ze,Ce=Jt-ae.offset,_e=ae.length;_e>ft&&(_e=ft),ft-=_e,ae.length-=_e;do Ze[Jt++]=Ee[Ce++];while(--_e);ae.length===0&&(ae.mode=me);break;case Ue:if(ft===0)break e;Ze[Jt++]=ae.length,ft--,ae.mode=me;break;case Me:if(ae.wrap){for(;It<32;){if(mt===0)break e;mt--,bt|=lt[Te++]<<It,It+=8}if(Pt-=ft,Ve.total_out+=Pt,ae.total+=Pt,Pt&&(Ve.adler=ae.check=ae.flags?(0,m.default)(ae.check,Ze,Pt,Jt-Pt):(0,A.default)(ae.check,Ze,Pt,Jt-Pt)),Pt=ft,(ae.flags?bt:oe(bt))!==ae.check){Ve.msg="incorrect data check",ae.mode=be;break}bt=0,It=0}ae.mode=nt;case nt:if(ae.wrap&&ae.flags){for(;It<32;){if(mt===0)break e;mt--,bt+=lt[Te++]<<It,It+=8}if(bt!==(ae.total&4294967295)){Ve.msg="incorrect length check",ae.mode=be;break}bt=0,It=0}ae.mode=ne;case ne:Lt=u;break e;case be:Lt=S;break e;case ot:return T;case ue:default:return x}return Ve.next_out=Jt,Ve.avail_out=ft,Ve.next_in=Te,Ve.avail_in=mt,ae.hold=bt,ae.bits=It,(ae.wsize||Pt!==Ve.avail_out&&ae.mode<be&&(ae.mode<Me||le!==n))&&je(Ve,Ve.output,Ve.next_out,Pt-Ve.avail_out)?(ae.mode=ot,T):(or-=Ve.avail_in,Pt-=Ve.avail_out,Ve.total_in+=or,Ve.total_out+=Pt,ae.total+=Pt,ae.wrap&&Pt&&(Ve.adler=ae.check=ae.flags?(0,m.default)(ae.check,Ze,Pt,Ve.next_out-Pt):(0,A.default)(ae.check,Ze,Pt,Ve.next_out-Pt)),Ve.data_type=ae.bits+(ae.last?64:0)+(ae.mode===N?128:0)+(ae.mode===q||ae.mode===H?256:0),(or===0&&Pt===0||le===n)&&Lt===s&&(Lt=w),Lt)}function Xe(Ve){if(!Ve||!Ve.state)return x;var le=Ve.state;return le.window&&(le.window=null),Ve.state=null,s}function Je(Ve,le){var ae;return!Ve||!Ve.state?x:(ae=Ve.state,(ae.wrap&2)===0?x:(ae.head=le,le.done=!1,s))}function et(Ve,le){var ae=le.length,lt,Ze,Te;return!Ve||!Ve.state?x:(lt=Ve.state,lt.wrap!==0&<.mode!==K?x:lt.mode===K&&(Ze=1,Ze=(0,A.default)(Ze,le,ae,0),Ze!==lt.check)?S:(Te=je(Ve,le,ae,ae),Te?(lt.mode=ot,T):(lt.havedict=1,s)))}var at="pako inflate (from Nodeca project)";D.inflateInfo=at},ePAk:function(R,D,e){var g=e("ProS");e("2fGM");var f=g.extendComponentModel({type:"polar",dependencies:["polarAxis","angleAxis"],coordinateSystem:null,findAxisModel:function(A){var m,v=this.ecModel;return v.eachComponent(A,function(h){h.getCoordSysModel()===this&&(m=h)},this),m},defaultOption:{zlevel:0,z:0,center:["50%","50%"],radius:"80%"}});R.exports=f},eRkO:function(R,D,e){var g=e("+TT/"),f=g.getLayoutRect,A=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);A(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}D.layout=c,D.makeBackground=a},eS4l:function(R,D,e){e("HM/N"),e("FNN5")},eUgh:function(R,D){function e(g,f){for(var A=-1,m=g==null?0:g.length,v=Array(m);++A<m;)v[A]=f(g[A],A,g);return v}R.exports=e},ebwN:function(R,D,e){var g=e("Cwc5"),f=e("Kz5y"),A=g(f,"Map");R.exports=A},ekgI:function(R,D,e){var g=e("YESw"),f=Object.prototype,A=f.hasOwnProperty;function m(v){var h=this.__data__;return g?h[v]!==void 0:A.call(h,v)}R.exports=m},ewwo:function(R,D,e){var g=e("bMXI"),f=e("+TT/"),A=f.getLayoutRect,m=e("4mN7");function v(c,a,i){var r=c.getBoxLayoutParams();return r.aspect=i,A(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(E){var C=d.getItemModel(E);return[+C.get("x"),+C.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],x=t[1]-l[1],S=u.width,T=u.height,w=r.coordinateSystem=new g;w.zoomLimit=r.get("scaleLimit"),w.setBoundingRect(l[0],l[1],p,x),w.setViewRect(u.x,u.y,S,T),w.setCenter(r.get("center")),w.setZoom(r.get("zoom")),i.push(w)}}),i}R.exports=h},f1nB:function(R,D,e){var g=e("Tghj"),f=g.__DEV__,A=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};A.registerPreprocessor(function(S){var T=S.graphic;m.isArray(T)?!T[0]||!T[0].elements?S.graphic=[{elements:T}]:S.graphic=[S.graphic[0]]:T&&!T.elements&&(S.graphic=[{elements:[T]}])});var o=A.extendComponentModel({type:"graphic",defaultOption:{elements:[],parentId:null},_elOptionsToUpdate:null,mergeOption:function(S){var T=this.option.elements;this.option.elements=null,o.superApply(this,"mergeOption",arguments),this.option.elements=T},optionUpdated:function(S,T){var w=this.option,E=(T?w:S).elements,C=w.elements=T?[]:w.elements,_=[];this._flatten(E,_);var y=v.mappingToExists(C,_);v.makeIdAndName(y);var b=this._elOptionsToUpdate=[];m.each(y,function(I,M){var F=I.option;if(!F)return;b.push(F),s(I,F),u(C,M,F),p(C[M],F)},this);for(var O=C.length-1;O>=0;O--)C[O]==null?C.splice(O,1):delete C[O].$action},_flatten:function(S,T,w){m.each(S,function(E){if(!E)return;w&&(E.parentOption=w),T.push(E);var C=E.children;E.type==="group"&&C&&this._flatten(C,T,E),delete E.children},this)},useElOptionsToUpdate:function(){var S=this._elOptionsToUpdate;return this._elOptionsToUpdate=null,S}});A.extendComponentView({type:"graphic",init:function(S,T){this._elMap=m.createHashMap(),this._lastGraphicModel},render:function(S,T,w){S!==this._lastGraphicModel&&this._clear(),this._lastGraphicModel=S,this._updateElements(S),this._relocate(S,w)},_updateElements:function(S){var T=S.useElOptionsToUpdate();if(!T)return;var w=this._elMap,E=this.group;m.each(T,function(C){var _=C.$action,y=C.id,b=w.get(y),O=C.parentId,I=O!=null?w.get(O):E,M=C.style;C.type==="text"&&M&&(C.hv&&C.hv[1]&&(M.textVerticalAlign=M.textBaseline=null),!M.hasOwnProperty("textFill")&&M.fill&&(M.textFill=M.fill),!M.hasOwnProperty("textStroke")&&M.stroke&&(M.textStroke=M.stroke));var F=l(C);!_||_==="merge"?b?b.attr(F):d(y,I,F,w):_==="replace"?(n(b,w),d(y,I,F,w)):_==="remove"&&n(b,w);var P=w.get(y);P&&(P.__ecGraphicWidthOption=C.width,P.__ecGraphicHeightOption=C.height,x(P,S,C))})},_relocate:function(S,T){for(var w=S.option.elements,E=this.group,C=this._elMap,_=T.getWidth(),y=T.getHeight(),b=0;b<w.length;b++){var O=w[b],I=C.get(O.id);if(!I||!I.isGroup)continue;var M=I.parent,F=M===E;I.__ecGraphicWidth=i(I.__ecGraphicWidthOption,F?_:M.__ecGraphicWidth)||0,I.__ecGraphicHeight=i(I.__ecGraphicHeightOption,F?y:M.__ecGraphicHeight)||0}for(var b=w.length-1;b>=0;b--){var O=w[b],I=C.get(O.id);if(!I)continue;var M=I.parent,P=M===E?{width:_,height:y}:{width:M.__ecGraphicWidth,height:M.__ecGraphicHeight};c.positionElement(I,O,P,null,{hv:O.hv,boundingMode:O.bounding})}},_clear:function(){var S=this._elMap;S.each(function(T){n(T,S)}),this._elMap=m.createHashMap()},dispose:function(){this._clear()}});function d(S,T,w,E){var C=w.type,_=r.hasOwnProperty(C)?r[C]:h.getShapeClass(C),y=new _(w);T.add(y),E.set(S,y),y.__ecGraphicId=S}function n(S,T){var w=S&&S.parent;w&&(S.type==="group"&&S.traverse(function(E){n(E,T)}),T.removeKey(S.__ecGraphicId),w.remove(S))}function l(S){return S=m.extend({},S),m.each(["id","parentId","$action","hv","bounding"].concat(c.LOCATION_PARAMS),function(T){delete S[T]}),S}function t(S,T){var w;return m.each(T,function(E){S[E]!=null&&S[E]!=="auto"&&(w=!0)}),w}function s(S,T){var w=S.exist;if(T.id=S.keyInfo.id,!T.type&&w&&(T.type=w.type),T.parentId==null){var E=T.parentOption;E?T.parentId=E.id:w&&(T.parentId=w.parentId)}T.parentOption=null}function u(S,T,w){var E=m.extend({},w),C=S[T],_=w.$action||"merge";_==="merge"?C?(m.merge(C,E,!0),c.mergeLayoutParam(C,E,{ignoreSize:!0}),c.copyLayoutParams(w,C)):S[T]=E:_==="replace"?S[T]=E:_==="remove"&&(C&&(S[T]=null))}function p(S,T){if(!S)return;S.hv=T.hv=[t(T,["left","right"]),t(T,["top","bottom"])],S.type==="group"&&(S.width==null&&(S.width=T.width=0),S.height==null&&(S.height=T.height=0))}function x(S,T,w){var E=S.eventData;!S.silent&&!S.ignore&&!E&&(E=S.eventData={componentType:"graphic",componentIndex:T.componentIndex,name:S.name}),E&&(E.info=S.info)}},f3JH:function(R,D,e){e("aTJb"),e("OlYY"),e("fc+c"),e("oY9F"),e("MqEG"),e("LBfv"),e("noeP")},f5HG:function(R,D,e){var g=e("IwbS"),f=e("QBsz"),A=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:A.buildPath,_buildPathCurve:m.buildPath,pointAt:function(c){return this[v(this.shape)?"_pointAtLine":"_pointAtCurve"](c)},_pointAtLine:A.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});R.exports=h},f5Yq:function(R,D,e){var g=e("bYtY"),f=g.isFunction;function A(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,x=!t&&o?o:v,S=s?null:d,T=u?null:T;if(r.setVisual({legendSymbol:h||x,symbol:x,symbolSize:S,symbolKeepAspect:n,symbolRotate:l}),a.isSeriesFiltered(c))return;function w(E,C){if(p){var _=c.getRawValue(C),y=c.getDataParams(C);t&&E.setItemVisual(C,"symbol",o(_,y)),s&&E.setItemVisual(C,"symbolSize",d(_,y)),u&&E.setItemVisual(C,"symbolRotate",l(_,y))}if(E.hasItemOption){var b=E.getItemModel(C),O=b.getShallow("symbol",!0),I=b.getShallow("symbolSize",!0),M=b.getShallow("symbolRotate",!0),F=b.getShallow("symbolKeepAspect",!0);O!=null&&E.setItemVisual(C,"symbol",O),I!=null&&E.setItemVisual(C,"symbolSize",I),M!=null&&E.setItemVisual(C,"symbolRotate",M),F!=null&&E.setItemVisual(C,"symbolKeepAspect",F)}}return{dataEach:r.hasItemOption||p?w:null}}}}R.exports=A},fAei:function(R,D,e){"use strict";e.d(D,"a",function(){return S.a});var g=e("rePB"),f=e("VTBJ"),A=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"),x=e("8XRh"),S=e("WaYH"),T=function(q,me){var G=q.className,ye=q.style,Ae=q.motion,ve=q.motionNodes,Ue=q.motionType,Me=q.onMotionEnd,nt=q.active,ne=q.treeNodeRequiredProps,be=Object(u.a)(q,["className","style","motion","motionNodes","motionType","onMotionEnd","active","treeNodeRequiredProps"]),ot=a.useState(!0),ue=Object(s.a)(ot,2),Q=ue[0],V=ue[1],J=a.useContext(n.a),fe=J.prefixCls,oe=a.useRef(!1),Le=function(){oe.current||Me(),oe.current=!0};return Object(a.useEffect)(function(){ve&&Ue==="hide"&&Q&&V(!1)},[ve]),Object(a.useEffect)(function(){return function(){ve&&Le()}},[]),ve?a.createElement(x.default,Object.assign({ref:me,visible:Q},Ae,{motionAppear:Ue==="show",onAppearEnd:Le,onLeaveEnd:Le}),function(he,te){var Z=he.className,ge=he.style;return a.createElement("div",{ref:te,className:d()("".concat(fe,"-treenode-motion"),Z),style:ge},ve.map(function(Re){var ze=Re.data,dt=ze.key,De=Object(u.a)(ze,["key"]),Tt=Re.isStart,je=Re.isEnd;delete De.children;var st=Object(t.f)(dt,ne);return a.createElement(S.a,Object.assign({},De,st,{active:nt,data:Re.data,key:dt,isStart:Tt,isEnd:je}))}))}):a.createElement(S.a,Object.assign({domRef:me,className:G,style:ye},be,{active:nt}))};T.displayName="MotionTreeNode";var w=a.forwardRef(T),E=w;function C(){var Y=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],q=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[],me=Y.length,G=q.length;if(Math.abs(me-G)!==1)return{add:!1,key:null};function ye(Ae,ve){var Ue=new Map;Ae.forEach(function(nt){Ue.set(nt,!0)});var Me=ve.filter(function(nt){return!Ue.has(nt)});return Me.length===1?Me[0]:null}return me<G?{add:!0,key:ye(Y,q)}:{add:!1,key:ye(q,Y)}}function _(Y,q,me){var G=Y.findIndex(function(Ue){var Me=Ue.data;return Me.key===me}),ye=Y[G+1],Ae=q.findIndex(function(Ue){var Me=Ue.data;return Me.key===me});if(ye){var ve=q.findIndex(function(Ue){var Me=Ue.data;return Me.key===ye.data.key});return q.slice(Ae+1,ve)}return q.slice(Ae+1)}var y={width:0,height:0,display:"flex",overflow:"hidden",opacity:0,border:0,padding:0,margin:0},b=function(){},O="RC_TREE_MOTION_".concat(Math.random()),I={key:O},M={key:O,level:0,index:0,pos:"0",node:I},F={parent:null,children:[],pos:M.pos,data:I,isStart:[],isEnd:[]};function P(Y,q,me,G){return q===!1||!me?Y:Y.slice(0,Math.ceil(me/G)+1)}function j(Y){var q=Y.data.key,me=Y.pos;return Object(t.e)(q,me)}function K(Y){for(var q=String(Y.data.key),me=Y;me.parent;)me=me.parent,q="".concat(me.data.key," > ").concat(q);return q}var N=function(q,me){var G=q.prefixCls,ye=q.data,Ae=q.selectable,ve=q.checkable,Ue=q.expandedKeys,Me=q.selectedKeys,nt=q.checkedKeys,ne=q.loadedKeys,be=q.loadingKeys,ot=q.halfCheckedKeys,ue=q.keyEntities,Q=q.disabled,V=q.dragging,J=q.dragOverNodeKey,fe=q.dropPosition,oe=q.motion,Le=q.height,he=q.itemHeight,te=q.virtual,Z=q.focusable,ge=q.activeItem,Re=q.focused,ze=q.tabIndex,dt=q.onKeyDown,De=q.onFocus,Tt=q.onBlur,je=q.onActiveChange,st=q.onListChangeStart,Xe=q.onListChangeEnd,Je=Object(u.a)(q,["prefixCls","data","selectable","checkable","expandedKeys","selectedKeys","checkedKeys","loadedKeys","loadingKeys","halfCheckedKeys","keyEntities","disabled","dragging","dragOverNodeKey","dropPosition","motion","height","itemHeight","virtual","focusable","activeItem","focused","tabIndex","onKeyDown","onFocus","onBlur","onActiveChange","onListChangeStart","onListChangeEnd"]),et=a.useRef(null);a.useImperativeHandle(me,function(){return{scrollTo:function(wt){et.current.scrollTo(wt)}}});var at=a.useState(Ue),Ve=Object(s.a)(at,2),le=Ve[0],ae=Ve[1],lt=a.useState(ye),Ze=Object(s.a)(lt,2),Te=Ze[0],Jt=Ze[1],mt=a.useState(ye),ft=Object(s.a)(mt,2),bt=ft[0],It=ft[1],or=a.useState([]),Pt=Object(s.a)(or,2),_e=Pt[0],Ce=Pt[1],Ee=a.useState(null),we=Object(s.a)(Ee,2),Fe=we[0],Ye=we[1];function Ge(){Jt(ye),It(ye),Ce([]),Ye(null),Xe()}a.useEffect(function(){ae(Ue);var ct=C(le,Ue);if(ct.key!==null){if(ct.add){var wt=Te.findIndex(function(Oe){var ke=Oe.data.key;return ke===ct.key}),Lt=P(_(Te,ye,ct.key),te,Le,he),de=Te.slice();de.splice(wt+1,0,F),It(de),Ce(Lt),Ye("show")}else{var xe=ye.findIndex(function(Oe){var ke=Oe.data.key;return ke===ct.key}),$=P(_(ye,Te,ct.key),te,Le,he),se=ye.slice();se.splice(xe+1,0,F),It(se),Ce($),Ye("hide")}oe&&st()}else Te!==ye&&(Jt(ye),It(ye))},[Ue,ye]),a.useEffect(function(){V||Ge()},[V]);var qe=oe?bt:ye,Ke={expandedKeys:Ue,selectedKeys:Me,loadedKeys:ne,loadingKeys:be,checkedKeys:nt,halfCheckedKeys:ot,dragOverNodeKey:J,dropPosition:fe,keyEntities:ue};return a.createElement(a.Fragment,null,Re&&ge&&a.createElement("span",{style:y,"aria-live":"assertive"},K(ge)),a.createElement("div",{role:"tree"},a.createElement("input",{style:y,disabled:Z===!1||Q,tabIndex:Z!==!1?ze:null,onKeyDown:dt,onFocus:De,onBlur:Tt,value:"",onChange:b})),a.createElement(p.a,Object.assign({},Je,{data:qe,itemKey:j,height:Le,fullHeight:!1,virtual:te,itemHeight:he,prefixCls:"".concat(G,"-list"),ref:et}),function(ct){var wt=ct.pos,Lt=ct.data,de=Lt.key,xe=Object(u.a)(Lt,["key"]),$=ct.isStart,se=ct.isEnd,Oe=Object(t.e)(de,wt);delete xe.children;var ke=Object(t.f)(Oe,Ke);return a.createElement(E,Object.assign({},xe,ke,{active:ge&&de===ge.data.key,pos:wt,data:ct.data,isStart:$,isEnd:se,motion:oe,motionNodes:de===O?_e:null,motionType:Fe,onMotionEnd:Ge,treeNodeRequiredProps:Ke,onMouseMove:function(){je(null)}}))}))},B=a.forwardRef(N);B.displayName="NodeList";var U=B,H=e("NvD2"),z=function(Y){Object(h.a)(me,Y);var q=Object(c.a)(me);function me(){var G;return Object(m.a)(this,me),G=q.apply(this,arguments),G.destroyed=!1,G.state={keyEntities:{},selectedKeys:[],checkedKeys:[],halfCheckedKeys:[],loadedKeys:[],loadingKeys:[],expandedKeys:[],dragging:!1,dragNodesKeys:[],dragOverNodeKey:null,dropPosition:null,treeData:[],flattenNodes:[],focused:!1,activeKey:null,listChanging:!1,prevProps:null},G.listRef=a.createRef(),G.onNodeDragStart=function(ye,Ae){var ve=G.state,Ue=ve.expandedKeys,Me=ve.keyEntities,nt=G.props.onDragStart,ne=Ae.props.eventKey;G.dragNode=Ae;var be=Object(l.b)(Ue,ne);G.setState({dragging:!0,dragNodesKeys:Object(l.g)(ne,Me)}),G.setExpandedKeys(be),nt&&nt({event:ye,node:Object(t.b)(Ae.props)})},G.onNodeDragEnter=function(ye,Ae){var ve=G.state,Ue=ve.expandedKeys,Me=ve.keyEntities,nt=ve.dragNodesKeys,ne=G.props.onDragEnter,be=Ae.props,ot=be.pos,ue=be.eventKey;if(!G.dragNode||nt.indexOf(ue)!==-1)return;var Q=Object(l.c)(ye,Ae);if(G.dragNode.props.eventKey===ue&&Q===0){G.setState({dragOverNodeKey:"",dropPosition:null});return}setTimeout(function(){G.setState({dragOverNodeKey:ue,dropPosition:Q}),G.delayedDragEnterLogic||(G.delayedDragEnterLogic={}),Object.keys(G.delayedDragEnterLogic).forEach(function(V){clearTimeout(G.delayedDragEnterLogic[V])}),G.delayedDragEnterLogic[ot]=window.setTimeout(function(){if(!G.state.dragging)return;var V=Object(A.a)(Ue),J=Me[ue];J&&(J.children||[]).length&&(V=Object(l.a)(Ue,ue)),"expandedKeys"in G.props||G.setExpandedKeys(V),ne&&ne({event:ye,node:Object(t.b)(Ae.props),expandedKeys:V})},400)},0)},G.onNodeDragOver=function(ye,Ae){var ve=G.state.dragNodesKeys,Ue=G.props.onDragOver,Me=Ae.props.eventKey;if(ve.indexOf(Me)!==-1)return;if(G.dragNode&&Me===G.state.dragOverNodeKey){var nt=Object(l.c)(ye,Ae);if(nt===G.state.dropPosition)return;G.setState({dropPosition:nt})}Ue&&Ue({event:ye,node:Object(t.b)(Ae.props)})},G.onNodeDragLeave=function(ye,Ae){var ve=G.props.onDragLeave;G.setState({dragOverNodeKey:""}),ve&&ve({event:ye,node:Object(t.b)(Ae.props)})},G.onNodeDragEnd=function(ye,Ae){var ve=G.props.onDragEnd;G.setState({dragOverNodeKey:""}),G.cleanDragState(),ve&&ve({event:ye,node:Object(t.b)(Ae.props)}),G.dragNode=null},G.onNodeDrop=function(ye,Ae){var ve=G.state,Ue=ve.dragNodesKeys,Me=Ue===void 0?[]:Ue,nt=ve.dropPosition,ne=G.props.onDrop,be=Ae.props,ot=be.eventKey,ue=be.pos;if(G.setState({dragOverNodeKey:""}),G.cleanDragState(),Me.indexOf(ot)!==-1){Object(r.a)(!1,"Can not drop to dragNode(include it's children node)");return}var Q=Object(l.k)(ue),V={event:ye,node:Object(t.b)(Ae.props),dragNode:G.dragNode?Object(t.b)(G.dragNode.props):null,dragNodesKeys:Me.slice(),dropPosition:nt+Number(Q[Q.length-1]),dropToGap:!1};nt!==0&&(V.dropToGap=!0),ne&&ne(V),G.dragNode=null},G.cleanDragState=function(){var ye=G.state.dragging;ye&&G.setState({dragging:!1})},G.onNodeClick=function(ye,Ae){var ve=G.props.onClick;ve&&ve(ye,Ae)},G.onNodeDoubleClick=function(ye,Ae){var ve=G.props.onDoubleClick;ve&&ve(ye,Ae)},G.onNodeSelect=function(ye,Ae){var ve=G.state.selectedKeys,Ue=G.state.keyEntities,Me=G.props,nt=Me.onSelect,ne=Me.multiple,be=Ae.selected,ot=Ae.key,ue=!be;ue?ne?ve=Object(l.a)(ve,ot):ve=[ot]:ve=Object(l.b)(ve,ot);var Q=ve.map(function(V){var J=Ue[V];return J?J.node:null}).filter(function(V){return V});G.setUncontrolledState({selectedKeys:ve}),nt&&nt(ve,{event:"select",selected:ue,node:Ae,selectedNodes:Q,nativeEvent:ye.nativeEvent})},G.onNodeCheck=function(ye,Ae,ve){var Ue=G.state,Me=Ue.keyEntities,nt=Ue.checkedKeys,ne=Ue.halfCheckedKeys,be=G.props,ot=be.checkStrictly,ue=be.onCheck,Q=Ae.key,V,J={event:"check",node:Ae,checked:ve,nativeEvent:ye.nativeEvent};if(ot){var fe=ve?Object(l.a)(nt,Q):Object(l.b)(nt,Q),oe=Object(l.b)(ne,Q);V={checked:fe,halfChecked:oe},J.checkedNodes=fe.map(function(Re){return Me[Re]}).filter(function(Re){return Re}).map(function(Re){return Re.node}),G.setUncontrolledState({checkedKeys:fe})}else{var Le=Object(H.a)([].concat(Object(A.a)(nt),[Q]),!0,Me),he=Le.checkedKeys,te=Le.halfCheckedKeys;if(!ve){var Z=new Set(he);Z.delete(Q);var ge=Object(H.a)(Array.from(Z),{checked:!1,halfCheckedKeys:te},Me);he=ge.checkedKeys,te=ge.halfCheckedKeys}V=he,J.checkedNodes=[],J.checkedNodesPositions=[],J.halfCheckedKeys=te,he.forEach(function(Re){var ze=Me[Re];if(!ze)return;var dt=ze.node,De=ze.pos;J.checkedNodes.push(dt),J.checkedNodesPositions.push({node:dt,pos:De})}),G.setUncontrolledState({checkedKeys:he},!1,{halfCheckedKeys:te})}ue&&ue(V,J)},G.onNodeLoad=function(ye){return new Promise(function(Ae){G.setState(function(ve){var Ue=ve.loadedKeys,Me=Ue===void 0?[]:Ue,nt=ve.loadingKeys,ne=nt===void 0?[]:nt,be=G.props,ot=be.loadData,ue=be.onLoad,Q=ye.key;if(!ot||Me.indexOf(Q)!==-1||ne.indexOf(Q)!==-1)return{};var V=ot(ye);return V.then(function(){var J=G.state,fe=J.loadedKeys,oe=J.loadingKeys,Le=Object(l.a)(fe,Q),he=Object(l.b)(oe,Q);ue&&ue(Le,{event:"load",node:ye}),G.setUncontrolledState({loadedKeys:Le}),G.setState({loadingKeys:he}),Ae()}),{loadingKeys:Object(l.a)(ne,Q)}})})},G.onNodeMouseEnter=function(ye,Ae){var ve=G.props.onMouseEnter;ve&&ve({event:ye,node:Ae})},G.onNodeMouseLeave=function(ye,Ae){var ve=G.props.onMouseLeave;ve&&ve({event:ye,node:Ae})},G.onNodeContextMenu=function(ye,Ae){var ve=G.props.onRightClick;ve&&(ye.preventDefault(),ve({event:ye,node:Ae}))},G.onFocus=function(){var ye=G.props.onFocus;G.setState({focused:!0}),ye&&ye.apply(void 0,arguments)},G.onBlur=function(){var ye=G.props.onBlur;G.setState({focused:!1}),G.onActiveChange(null),ye&&ye.apply(void 0,arguments)},G.getTreeNodeRequiredProps=function(){var ye=G.state,Ae=ye.expandedKeys,ve=ye.selectedKeys,Ue=ye.loadedKeys,Me=ye.loadingKeys,nt=ye.checkedKeys,ne=ye.halfCheckedKeys,be=ye.dragOverNodeKey,ot=ye.dropPosition,ue=ye.keyEntities;return{expandedKeys:Ae||[],selectedKeys:ve||[],loadedKeys:Ue||[],loadingKeys:Me||[],checkedKeys:nt||[],halfCheckedKeys:ne||[],dragOverNodeKey:be,dropPosition:ot,keyEntities:ue}},G.setExpandedKeys=function(ye){var Ae=G.state.treeData,ve=Object(t.d)(Ae,ye);G.setUncontrolledState({expandedKeys:ye,flattenNodes:ve},!0)},G.onNodeExpand=function(ye,Ae){var ve=G.state.expandedKeys,Ue=G.state.listChanging,Me=G.props,nt=Me.onExpand,ne=Me.loadData,be=Ae.key,ot=Ae.expanded;if(Ue)return;var ue=ve.indexOf(be),Q=!ot;if(Object(r.a)(ot&&ue!==-1||!ot&&ue===-1,"Expand state not sync with index check"),Q?ve=Object(l.a)(ve,be):ve=Object(l.b)(ve,be),G.setExpandedKeys(ve),nt&&nt(ve,{node:Ae,expanded:Q,nativeEvent:ye.nativeEvent}),Q&&ne){var V=G.onNodeLoad(Ae);V&&V.then(function(){var J=Object(t.d)(G.state.treeData,ve);G.setUncontrolledState({flattenNodes:J})})}},G.onListChangeStart=function(){G.setUncontrolledState({listChanging:!0})},G.onListChangeEnd=function(){setTimeout(function(){G.setUncontrolledState({listChanging:!1})})},G.onActiveChange=function(ye){var Ae=G.state.activeKey,ve=G.props.onActiveChange;if(Ae===ye)return;G.setState({activeKey:ye}),ye!==null&&G.scrollTo({key:ye}),ve&&ve(ye)},G.getActiveItem=function(){var ye=G.state,Ae=ye.activeKey,ve=ye.flattenNodes;return Ae===null?null:ve.find(function(Ue){var Me=Ue.data.key;return Me===Ae})||null},G.offsetActiveKey=function(ye){var Ae=G.state,ve=Ae.flattenNodes,Ue=Ae.activeKey,Me=ve.findIndex(function(be){var ot=be.data.key;return ot===Ue});Me===-1&&ye<0&&(Me=ve.length),Me=(Me+ye+ve.length)%ve.length;var nt=ve[Me];if(nt){var ne=nt.data.key;G.onActiveChange(ne)}else G.onActiveChange(null)},G.onKeyDown=function(ye){var Ae=G.state,ve=Ae.activeKey,Ue=Ae.expandedKeys,Me=Ae.checkedKeys,nt=G.props,ne=nt.onKeyDown,be=nt.checkable,ot=nt.selectable;switch(ye.which){case i.a.UP:{G.offsetActiveKey(-1),ye.preventDefault();break}case i.a.DOWN:{G.offsetActiveKey(1),ye.preventDefault();break}}var ue=G.getActiveItem();if(ue&&ue.data){var Q=G.getTreeNodeRequiredProps(),V=ue.data.isLeaf===!1||!!(ue.data.children||[]).length,J=Object(t.b)(Object(f.a)(Object(f.a)({},Object(t.f)(ve,Q)),{},{data:ue.data,active:!0}));switch(ye.which){case i.a.LEFT:{V&&Ue.includes(ve)?G.onNodeExpand({},J):ue.parent&&G.onActiveChange(ue.parent.data.key),ye.preventDefault();break}case i.a.RIGHT:{V&&!Ue.includes(ve)?G.onNodeExpand({},J):ue.children&&ue.children.length&&G.onActiveChange(ue.children[0].data.key),ye.preventDefault();break}case i.a.ENTER:case i.a.SPACE:{be&&!J.disabled&&J.checkable!==!1&&!J.disableCheckbox?G.onNodeCheck({},J,!Me.includes(ve)):!be&&ot&&!J.disabled&&J.selectable!==!1&&G.onNodeSelect({},J);break}}}ne&&ne(ye)},G.setUncontrolledState=function(ye){var Ae=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,ve=arguments.length>2&&arguments[2]!==void 0?arguments[2]:null;if(G.destroyed)return;var Ue=!1,Me=!0,nt={};Object.keys(ye).forEach(function(ne){if(ne in G.props){Me=!1;return}Ue=!0,nt[ne]=ye[ne]}),Ue&&(!Ae||Me)&&G.setState(Object(f.a)(Object(f.a)({},nt),ve))},G.scrollTo=function(ye){G.listRef.current.scrollTo(ye)},G}return Object(v.a)(me,[{key:"componentWillUnmount",value:function(){this.destroyed=!0}},{key:"render",value:function(){var ye,Ae=this.state,ve=Ae.focused,Ue=Ae.flattenNodes,Me=Ae.keyEntities,nt=Ae.dragging,ne=Ae.activeKey,be=this.props,ot=be.prefixCls,ue=be.className,Q=be.style,V=be.showLine,J=be.focusable,fe=be.tabIndex,oe=fe===void 0?0:fe,Le=be.selectable,he=be.showIcon,te=be.icon,Z=be.switcherIcon,ge=be.draggable,Re=be.checkable,ze=be.checkStrictly,dt=be.disabled,De=be.motion,Tt=be.loadData,je=be.filterTreeNode,st=be.height,Xe=be.itemHeight,Je=be.virtual,et=be.titleRender,at=Object(l.f)(this.props);return a.createElement(n.a.Provider,{value:{prefixCls:ot,selectable:Le,showIcon:he,icon:te,switcherIcon:Z,draggable:ge,checkable:Re,checkStrictly:ze,disabled:dt,keyEntities:Me,loadData:Tt,filterTreeNode:je,titleRender:et,onNodeClick:this.onNodeClick,onNodeDoubleClick:this.onNodeDoubleClick,onNodeExpand:this.onNodeExpand,onNodeSelect:this.onNodeSelect,onNodeCheck:this.onNodeCheck,onNodeLoad:this.onNodeLoad,onNodeMouseEnter:this.onNodeMouseEnter,onNodeMouseLeave:this.onNodeMouseLeave,onNodeContextMenu:this.onNodeContextMenu,onNodeDragStart:this.onNodeDragStart,onNodeDragEnter:this.onNodeDragEnter,onNodeDragOver:this.onNodeDragOver,onNodeDragLeave:this.onNodeDragLeave,onNodeDragEnd:this.onNodeDragEnd,onNodeDrop:this.onNodeDrop}},a.createElement("div",{className:d()(ot,ue,(ye={},Object(g.a)(ye,"".concat(ot,"-show-line"),V),Object(g.a)(ye,"".concat(ot,"-focused"),ve),Object(g.a)(ye,"".concat(ot,"-active-focused"),ne!==null),ye))},a.createElement(U,Object.assign({ref:this.listRef,prefixCls:ot,style:Q,data:Ue,disabled:dt,selectable:Le,checkable:!!Re,motion:De,dragging:nt,height:st,itemHeight:Xe,virtual:Je,focusable:J,focused:ve,tabIndex:oe,activeItem:this.getActiveItem(),onFocus:this.onFocus,onBlur:this.onBlur,onKeyDown:this.onKeyDown,onActiveChange:this.onActiveChange,onListChangeStart:this.onListChangeStart,onListChangeEnd:this.onListChangeEnd},this.getTreeNodeRequiredProps(),at))))}}],[{key:"getDerivedStateFromProps",value:function(ye,Ae){var ve=Ae.prevProps,Ue={prevProps:ye};function Me(te){return!ve&&te in ye||ve&&ve[te]!==ye[te]}var nt;if(Me("treeData")?nt=ye.treeData:Me("children")&&(Object(r.a)(!1,"`children` of Tree is deprecated. Please use `treeData` instead."),nt=Object(t.c)(ye.children)),nt){Ue.treeData=nt;var ne=Object(t.a)(nt);Ue.keyEntities=Object(f.a)(Object(g.a)({},O,M),ne.keyEntities)}var be=Ue.keyEntities||Ae.keyEntities;if(Me("expandedKeys")||ve&&Me("autoExpandParent"))Ue.expandedKeys=ye.autoExpandParent||!ve&&ye.defaultExpandParent?Object(l.e)(ye.expandedKeys,be):ye.expandedKeys;else if(!ve&&ye.defaultExpandAll){var ot=Object(f.a)({},be);delete ot[O],Ue.expandedKeys=Object.keys(ot).map(function(te){return ot[te].key})}else!ve&&ye.defaultExpandedKeys&&(Ue.expandedKeys=ye.autoExpandParent||ye.defaultExpandParent?Object(l.e)(ye.defaultExpandedKeys,be):ye.defaultExpandedKeys);if(Ue.expandedKeys||delete Ue.expandedKeys,nt||Ue.expandedKeys){var ue=Object(t.d)(nt||Ae.treeData,Ue.expandedKeys||Ae.expandedKeys);Ue.flattenNodes=ue}if(ye.selectable&&(Me("selectedKeys")?Ue.selectedKeys=Object(l.d)(ye.selectedKeys,ye):!ve&&ye.defaultSelectedKeys&&(Ue.selectedKeys=Object(l.d)(ye.defaultSelectedKeys,ye))),ye.checkable){var Q;if(Me("checkedKeys")?Q=Object(l.j)(ye.checkedKeys)||{}:!ve&&ye.defaultCheckedKeys?Q=Object(l.j)(ye.defaultCheckedKeys)||{}:nt&&(Q=Object(l.j)(ye.checkedKeys)||{checkedKeys:Ae.checkedKeys,halfCheckedKeys:Ae.halfCheckedKeys}),Q){var V=Q,J=V.checkedKeys,fe=J===void 0?[]:J,oe=V.halfCheckedKeys,Le=oe===void 0?[]:oe;if(!ye.checkStrictly){var he=Object(H.a)(fe,!0,be);fe=he.checkedKeys,Le=he.halfCheckedKeys}Ue.checkedKeys=fe,Ue.halfCheckedKeys=Le}}return Me("loadedKeys")&&(Ue.loadedKeys=ye.loadedKeys),Ue}}]),me}(a.Component);z.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:[]},z.TreeNode=S.a;var X=z,W=D.b=X},fE02:function(R,D,e){var g=e("ProS"),f=e("bYtY"),A=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(x,S,T){(this._brushController=new A(T.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(x,S,T,w){this.model=x,this.ecModel=S,this.api=T,u(x,S,this,w,T),s(x,S)},n.onclick=function(x,S,T){l[T].call(this)},n.remove=function(x,S){this._brushController.unmount()},n.dispose=function(x,S){this._brushController.dispose()};var l={zoom:function(){var x=!this._isZoomActive;this.api.dispatchAction({type:"takeGlobalCursor",key:"dataZoomSelect",dataZoomSelectActive:x})},back:function(){this._dispatchZoomAction(v.pop(this.ecModel))}};n._onBrush=function(x,S){if(!S.isEnd||!x.length)return;var T={},w=this.ecModel;this._brushController.updateCovers([]);var E=new m(t(this.model.option),w,{include:["grid"]});E.matchOutputRanges(x,w,function(y,b,O){if(O.type!=="cartesian2d")return;var I=y.brushType;I==="rect"?(C("x",O,b[0]),C("y",O,b[1])):C({lineX:"x",lineY:"y"}[I],O,b)}),v.push(w,T),this._dispatchZoomAction(T);function C(y,b,O){var I=b.getAxis(y),M=I.model,F=_(y,M,w),P=F.findRepresentativeAxisProxy(M).getMinMaxSpan();(P.minValueSpan!=null||P.maxValueSpan!=null)&&(O=h(0,O.slice(),I.scale.getExtent(),0,P.minValueSpan,P.maxValueSpan)),F&&(T[F.id]={dataZoomId:F.id,startValue:O[0],endValue:O[1]})}function _(y,b,O){var I;return O.eachComponent({mainType:"dataZoom",subType:"select"},function(M){var F=M.getAxisModel(y,b.componentIndex);F&&(I=M)}),I}},n._dispatchZoomAction=function(x){var S=[];r(x,function(T,w){S.push(f.clone(T))}),S.length&&this.api.dispatchAction({type:"dataZoom",from:this.uid,batch:S})};function t(x){var S={};return f.each(["xAxisIndex","yAxisIndex"],function(T){S[T]=x[T],S[T]==null&&(S[T]="all"),(S[T]===!1||S[T]==="none")&&(S[T]=[])}),S}function s(x,S){x.setIconStatus("back",v.count(S)>1?"emphasis":"normal")}function u(x,S,T,w,E){var C=T._isZoomActive;w&&w.type==="takeGlobalCursor"&&(C=w.key==="dataZoomSelect"?w.dataZoomSelectActive:!1),T._isZoomActive=C,x.setIconStatus("zoom",C?"emphasis":"normal");var _=new m(t(x.option),S,{include:["grid"]});T._brushController.setPanels(_.makePanelOpts(E,function(y){return y.xAxisDeclared&&!y.yAxisDeclared?"lineX":!y.xAxisDeclared&&y.yAxisDeclared?"lineY":"rect"})).enableBrush(C?{brushType:"auto",brushStyle:{lineWidth:0,fill:"rgba(0,0,0,0.2)"}}:!1)}a.register("dataZoom",d),g.registerPreprocessor(function(x){if(!x)return;var S=x.dataZoom||(x.dataZoom=[]);f.isArray(S)||(x.dataZoom=S=[S]);var T=x.toolbox;if(T&&(f.isArray(T)&&(T=T[0]),T&&T.feature)){var w=T.feature.dataZoom;E("xAxis",w),E("yAxis",w)}function E(_,y){if(!y)return;var b=_+"Index",O=y[b];O!=null&&O!=="all"&&!f.isArray(O)&&(O=O===!1||O==="none"?[]:[O]),C(_,function(I,M){if(O!=null&&O!=="all"&&f.indexOf(O,M)===-1)return;var F={type:"select",$fromToolbox:!0,filterMode:y.filterMode||"filter",id:o+_+M};F[b]=M,S.push(F)})}function C(_,y){var b=x[_];f.isArray(b)||(b=b?[b]:[]),r(b,y)}});var p=d;R.exports=p},fGT3:function(R,D,e){var g=e("4kuk"),f=e("Xi7e"),A=e("ebwN");function m(){this.size=0,this.__data__={hash:new g,map:new(A||f),string:new g}}R.exports=m},fNCr:function(R,D,e){"use strict";Object.defineProperty(D,"__esModule",{value:!0}),D.default=void 0;var g=f(e("tSko"));function f(m){return m&&m.__esModule?m:{default:m}}var A=g;D.default=A,R.exports=A},"fR/l":function(R,D,e){var g=e("CH3K"),f=e("Z0cm");function A(m,v,h){var c=v(m);return f(m)?c:g(c,h(m))}R.exports=A},fUL4:function(R,D,e){"use strict";Object.defineProperty(D,"__esModule",{value:!0}),D.default=void 0;var g=f(e("r+aA"));function f(m){return m&&m.__esModule?m:{default:m}}var A=g;D.default=A,R.exports=A},fW2E:function(R,D){var e={shadowBlur:1,shadowOffsetX:1,shadowOffsetY:1,textShadowBlur:1,textShadowOffsetX:1,textShadowOffsetY:1,textBoxShadowBlur:1,textBoxShadowOffsetX:1,textBoxShadowOffsetY:1};function g(f,A,m){return e.hasOwnProperty(A)?m*=f.dpr:m}R.exports=g},"fc+c":function(R,D,e){var g=e("sS/r"),f=g.extend({type:"dataZoom",render:function(A,m,v,h){this.dataZoomModel=A,this.ecModel=m,this.api=v},getTargetCoordInfo:function(){var A=this.dataZoomModel,m=this.ecModel,v={};A.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}});R.exports=f},fjKi:function(R,D,e){var g=e("ProS");e("Q7if"),e("jndi"),g.registerPreprocessor(function(f){f.markArea=f.markArea||{}})},fls0:function(R,D,e){var g=e("bYtY"),f=e("QBsz"),A=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,x){var S=p.getItemVisual(x,"color"),T=p.getItemVisual(x,u),w=p.getItemVisual(x,u+"Size");if(!T||T==="none")return;g.isArray(w)||(w=[w,w]);var E=A.createSymbol(T,-w[0]/2,-w[1]/2,w[0],w[1],S);return E.name=u,E}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 x=p[2];x?(u.cpx1=x[0],u.cpy1=x[1]):(u.cpx1=NaN,u.cpy1=NaN)}function n(){var u=this,p=u.childOfName("fromSymbol"),x=u.childOfName("toSymbol"),S=u.childOfName("label");if(!p&&!x&&S.ignore)return;for(var T=1,w=this.parent;w;)w.scale&&(T/=w.scale[0]),w=w.parent;var E=u.childOfName("line");if(!this.__dirty&&!E.__dirty)return;var C=E.shape.percent,_=E.pointAt(0),y=E.pointAt(C),b=f.sub([],y,_);if(f.normalize(b,b),p){p.attr("position",_);var O=E.tangentAt(0);p.attr("rotation",Math.PI/2-Math.atan2(O[1],O[0])),p.attr("scale",[T*C,T*C])}if(x){x.attr("position",y);var O=E.tangentAt(1);x.attr("rotation",-Math.PI/2-Math.atan2(O[1],O[0])),x.attr("scale",[T*C,T*C])}if(!S.ignore){S.attr("position",y);var I,M,F,P,j=S.__labelDistance,K=j[0]*T,N=j[1]*T,B=C/2,O=E.tangentAt(B),U=[O[1],-O[0]],H=E.pointAt(B);U[1]>0&&(U[0]=-U[0],U[1]=-U[1]);var z=O[0]<0?-1:1;if(S.__position!=="start"&&S.__position!=="end"){var X=-Math.atan2(O[1],O[0]);y[0]<_[0]&&(X=Math.PI+X),S.attr("rotation",X)}var W;switch(S.__position){case"insideStartTop":case"insideMiddleTop":case"insideEndTop":case"middle":W=-N,F="bottom";break;case"insideStartBottom":case"insideMiddleBottom":case"insideEndBottom":W=N,F="top";break;default:W=0,F="middle"}switch(S.__position){case"end":I=[b[0]*K+y[0],b[1]*N+y[1]],M=b[0]>.8?"left":b[0]<-.8?"right":"center",F=b[1]>.8?"top":b[1]<-.8?"bottom":"middle";break;case"start":I=[-b[0]*K+_[0],-b[1]*N+_[1]],M=b[0]>.8?"right":b[0]<-.8?"left":"center",F=b[1]>.8?"bottom":b[1]<-.8?"top":"middle";break;case"insideStartTop":case"insideStart":case"insideStartBottom":I=[K*z+_[0],_[1]+W],M=O[0]<0?"right":"left",P=[-K*z,-W];break;case"insideMiddleTop":case"insideMiddle":case"insideMiddleBottom":case"middle":I=[H[0],H[1]+W],M="center",P=[0,-W];break;case"insideEndTop":case"insideEnd":case"insideEndBottom":I=[-K*z+y[0],y[1]+W],M=O[0]>=0?"right":"left",P=[K*z,-W];break}S.attr({style:{textVerticalAlign:S.__verticalAlign||F,textAlign:S.__textAlign||M},position:I,scale:[T,T],origin:P})}}function l(u,p,x){v.Group.call(this),this._createLine(u,p,x)}var t=l.prototype;t.beforeUpdate=n,t._createLine=function(u,p,x){var S=u.hostModel,T=u.getItemLayout(p),w=o(T);w.shape.percent=0,v.initProps(w,{shape:{percent:1}},S,p),this.add(w);var E=new v.Text({name:"label",lineLabelOriginalOpacity:1});this.add(E),g.each(a,function(C){var _=r(C,u,p);this.add(_),this[i(C)]=u.getItemVisual(p,C)},this),this._updateCommonStl(u,p,x)},t.updateData=function(u,p,x){var S=u.hostModel,T=this.childOfName("line"),w=u.getItemLayout(p),E={shape:{}};d(E.shape,w),v.updateProps(T,E,S,p),g.each(a,function(C){var _=u.getItemVisual(p,C),y=i(C);if(this[y]!==_){this.remove(this.childOfName(C));var b=r(C,u,p);this.add(b)}this[y]=_},this),this._updateCommonStl(u,p,x)},t._updateCommonStl=function(u,p,x){var S=u.hostModel,T=this.childOfName("line"),w=x&&x.lineStyle,E=x&&x.hoverLineStyle,C=x&&x.labelModel,_=x&&x.hoverLabelModel;if(!x||u.hasItemOption){var y=u.getItemModel(p);w=y.getModel("lineStyle").getLineStyle(),E=y.getModel("emphasis.lineStyle").getLineStyle(),C=y.getModel("label"),_=y.getModel("emphasis.label")}var b=u.getItemVisual(p,"color"),O=g.retrieve3(u.getItemVisual(p,"opacity"),w.opacity,1);T.useStyle(g.defaults({strokeNoScale:!0,fill:"none",stroke:b,opacity:O},w)),T.hoverStyle=E,g.each(a,function(z){var X=this.childOfName(z);X&&(X.setColor(b),X.setStyle({opacity:O}))},this);var I=C.getShallow("show"),M=_.getShallow("show"),F=this.childOfName("label"),P,j;if((I||M)&&(P=b||"#000",j=S.getFormattedLabel(p,"normal",u.dataType),j==null)){var K=S.getRawValue(p);j=K==null?u.getName(p):isFinite(K)?c(K):K}var N=I?j:null,B=M?g.retrieve2(S.getFormattedLabel(p,"emphasis",u.dataType),j):null,U=F.style;if(N!=null||B!=null){v.setTextStyle(F.style,C,{text:N},{autoColor:P}),F.__textAlign=U.textAlign,F.__verticalAlign=U.textVerticalAlign,F.__position=C.get("position")||"middle";var H=C.get("distance");g.isArray(H)||(H=[H,H]),F.__labelDistance=H}B!=null?F.hoverStyle={text:B,textFill:_.getTextColor(!0),fontStyle:_.getShallow("fontStyle"),fontWeight:_.getShallow("fontWeight"),fontSize:_.getShallow("fontSize"),fontFamily:_.getShallow("fontFamily")}:F.hoverStyle={text:null},F.ignore=!I&&!M,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;R.exports=s},fmMI:function(R,D,e){var g=e("Tghj"),f=g.__DEV__,A=e("bYtY"),m=A.each,v=A.filter,h=A.map,c=A.isArray,a=A.indexOf,i=A.isObject,r=A.isString,o=A.createHashMap,d=A.assert,n=A.clone,l=A.merge,t=A.extend,s=A.mixin,u=e("4NO4"),p=e("Qxkt"),x=e("bLfw"),S=e("iXHM"),T=e("5Hur"),w=e("D5nY"),E=w.resetSourceDefaulter,C="\0_ec_inner",_=p.extend({init:function(N,B,U,H){U=U||{},this.option=null,this._theme=new p(U),this._optionManager=H},setOption:function(N,B){d(!(C in N),"please use chart.getOption()"),this._optionManager.setOption(N,B),this.resetOption(null)},resetOption:function(N){var B=!1,U=this._optionManager;if(!N||N==="recreate"){var H=U.mountOption(N==="recreate");!this.option||N==="recreate"?O.call(this,H):(this.restoreData(),this.mergeOption(H)),B=!0}if((N==="timeline"||N==="media")&&this.restoreData(),!N||N==="recreate"||N==="timeline"){var z=U.getTimelineOption(this);z&&(this.mergeOption(z),B=!0)}if(!N||N==="recreate"||N==="media"){var X=U.getMediaOption(this,this._api);X.length&&m(X,function(W){this.mergeOption(W,B=!0)},this)}return B},mergeOption:function(N){var B=this.option,U=this._componentsMap,H=[];E(this),m(N,function(X,W){if(X==null)return;x.hasClass(W)?W&&H.push(W):B[W]=B[W]==null?n(X):l(B[W],X,!0)}),x.topologicalTravel(H,x.getAllClassMainTypes(),z,this);function z(X,W){var Y=u.normalizeToArray(N[X]),q=u.mappingToExists(U.get(X),Y);u.makeIdAndName(q),m(q,function(G,ye){var Ae=G.option;i(Ae)&&(G.keyInfo.mainType=X,G.keyInfo.subType=M(X,Ae,G.exist))});var me=I(U,W);B[X]=[],U.set(X,[]),m(q,function(G,ye){var Ae=G.exist,ve=G.option;if(d(i(ve)||Ae,"Empty component definition"),!ve)Ae.mergeOption({},this),Ae.optionUpdated({},!1);else{var Ue=x.getClass(X,G.keyInfo.subType,!0);if(Ae&&Ae.constructor===Ue)Ae.name=G.keyInfo.name,Ae.mergeOption(ve,this),Ae.optionUpdated(ve,!1);else{var Me=t({dependentModels:me,componentIndex:ye},G.keyInfo);Ae=new Ue(ve,this,this,Me),t(Ae,Me),Ae.init(ve,this,this,Me),Ae.optionUpdated(null,!0)}}U.get(X)[ye]=Ae,B[X][ye]=Ae.option},this),X==="series"&&F(this,U.get("series"))}this._seriesIndicesMap=o(this._seriesIndices=this._seriesIndices||[])},getOption:function(){var N=n(this.option);return m(N,function(B,U){if(x.hasClass(U)){for(var B=u.normalizeToArray(B),H=B.length-1;H>=0;H--)u.isIdInner(B[H])&&B.splice(H,1);N[U]=B}}),delete N[C],N},getTheme:function(){return this._theme},getComponent:function(N,B){var U=this._componentsMap.get(N);if(U)return U[B||0]},queryComponents:function(N){var B=N.mainType;if(!B)return[];var U=N.index,H=N.id,z=N.name,X=this._componentsMap.get(B);if(!X||!X.length)return[];var W;if(U!=null)c(U)||(U=[U]),W=v(h(U,function(me){return X[me]}),function(me){return!!me});else if(H!=null){var Y=c(H);W=v(X,function(me){return Y&&a(H,me.id)>=0||!Y&&me.id===H})}else if(z!=null){var q=c(z);W=v(X,function(me){return q&&a(z,me.name)>=0||!q&&me.name===z})}else W=X.slice();return P(W,N)},findComponents:function(N){var B=N.query,U=N.mainType,H=X(B),z=H?this.queryComponents(H):this._componentsMap.get(U);return W(P(z,N));function X(Y){var q=U+"Index",me=U+"Id",G=U+"Name";return Y&&(Y[q]!=null||Y[me]!=null||Y[G]!=null)?{mainType:U,index:Y[q],id:Y[me],name:Y[G]}:null}function W(Y){return N.filter?v(Y,N.filter):Y}},eachComponent:function(N,B,U){var H=this._componentsMap;if(typeof N=="function")U=B,B=N,H.each(function(X,W){m(X,function(Y,q){B.call(U,W,Y,q)})});else if(r(N))m(H.get(N),B,U);else if(i(N)){var z=this.findComponents(N);m(z,B,U)}},getSeriesByName:function(N){var B=this._componentsMap.get("series");return v(B,function(U){return U.name===N})},getSeriesByIndex:function(N){return this._componentsMap.get("series")[N]},getSeriesByType:function(N){var B=this._componentsMap.get("series");return v(B,function(U){return U.subType===N})},getSeries:function(){return this._componentsMap.get("series").slice()},getSeriesCount:function(){return this._componentsMap.get("series").length},eachSeries:function(N,B){j(this),m(this._seriesIndices,function(U){var H=this._componentsMap.get("series")[U];N.call(B,H,U)},this)},eachRawSeries:function(N,B){m(this._componentsMap.get("series"),N,B)},eachSeriesByType:function(N,B,U){j(this),m(this._seriesIndices,function(H){var z=this._componentsMap.get("series")[H];z.subType===N&&B.call(U,z,H)},this)},eachRawSeriesByType:function(N,B,U){return m(this.getSeriesByType(N),B,U)},isSeriesFiltered:function(N){return j(this),this._seriesIndicesMap.get(N.componentIndex)==null},getCurrentSeriesIndices:function(){return(this._seriesIndices||[]).slice()},filterSeries:function(N,B){j(this);var U=v(this._componentsMap.get("series"),N,B);F(this,U)},restoreData:function(N){var B=this._componentsMap;F(this,B.get("series"));var U=[];B.each(function(H,z){U.push(z)}),x.topologicalTravel(U,x.getAllClassMainTypes(),function(H,z){m(B.get(H),function(X){(H!=="series"||!y(X,N))&&X.restoreData()})})}});function y(N,B){if(B){var U=B.seiresIndex,H=B.seriesId,z=B.seriesName;return U!=null&&N.componentIndex!==U||H!=null&&N.id!==H||z!=null&&N.name!==z}}function b(N,B){var U=N.color&&!N.colorLayer;m(B,function(H,z){if(z==="colorLayer"&&U)return;x.hasClass(z)||(typeof H=="object"?N[z]=N[z]?l(N[z],H,!1):n(H):N[z]==null&&(N[z]=H))})}function O(N){N=N,this.option={},this.option[C]=1,this._componentsMap=o({series:[]}),this._seriesIndices,this._seriesIndicesMap,b(N,this._theme.option),l(N,S,!1),this.mergeOption(N)}function I(N,B){c(B)||(B=B?[B]:[]);var U={};return m(B,function(H){U[H]=(N.get(H)||[]).slice()}),U}function M(N,B,U){var H=B.type?B.type:U?U.subType:x.determineSubType(N,B);return H}function F(N,B){N._seriesIndicesMap=o(N._seriesIndices=h(B,function(U){return U.componentIndex})||[])}function P(N,B){return B.hasOwnProperty("subType")?v(N,function(U){return U.subType===B.subType}):N}function j(N){}s(_,T);var K=_;R.exports=K},fmRc:function(R,D,e){var g=e("Xi7e"),f=e("77Zs"),A=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=A,c.prototype.get=m,c.prototype.has=v,c.prototype.set=h,R.exports=c},ftKO:function(R,D){var e="__lodash_hash_undefined__";function g(f){return this.__data__.set(f,e),this}R.exports=g},fu2T:function(R,D,e){"use strict";var g=e("cIOH"),f=e.n(g),A=e("3dVZ"),m=e.n(A)},fyUT:function(R,D,e){"use strict";var g=e("pVnL"),f=e.n(g),A=e("lSNA"),m=e.n(A),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(W,Y){var q=Object.keys(W);if(Object.getOwnPropertySymbols){var me=Object.getOwnPropertySymbols(W);Y&&(me=me.filter(function(G){return Object.getOwnPropertyDescriptor(W,G).enumerable})),q.push.apply(q,me)}return q}function p(W){for(var Y=1;Y<arguments.length;Y++){var q=arguments[Y]!=null?arguments[Y]:{};Y%2?u(Object(q),!0).forEach(function(me){Object(r.a)(W,me,q[me])}):Object.getOwnPropertyDescriptors?Object.defineProperties(W,Object.getOwnPropertyDescriptors(q)):u(Object(q)).forEach(function(me){Object.defineProperty(W,me,Object.getOwnPropertyDescriptor(q,me))})}return W}function x(W){var Y=S();return function(){var me=Object(t.a)(W),G;if(Y){var ye=Object(t.a)(this).constructor;G=Reflect.construct(me,arguments,ye)}else G=me.apply(this,arguments);return Object(l.a)(this,G)}}function S(){if(typeof Reflect=="undefined"||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(W){return!1}}function T(){}function w(W){W.preventDefault()}var E=function(Y){return Y.replace(/[^\w.-]+/g,"")},C=200,_=600,y=Number.MAX_SAFE_INTEGER||Math.pow(2,53)-1,b=function(Y){return Y!=null},O=function(Y,q){return q===Y||typeof q=="number"&&typeof Y=="number"&&isNaN(q)&&isNaN(Y)},I=function(W){Object(n.a)(q,W);var Y=x(q);function q(me){var G;Object(o.a)(this,q),G=Y.call(this,me),G.onKeyDown=function(ve){var Ue=G.props,Me=Ue.onKeyDown,nt=Ue.onPressEnter;if(ve.keyCode===s.a.UP){var ne=G.getRatio(ve);G.up(ve,ne,null),G.stop()}else if(ve.keyCode===s.a.DOWN){var be=G.getRatio(ve);G.down(ve,be,null),G.stop()}else ve.keyCode===s.a.ENTER&&nt&&nt(ve);if(G.recordCursorPosition(),G.lastKeyCode=ve.keyCode,Me){for(var ot=arguments.length,ue=new Array(ot>1?ot-1:0),Q=1;Q<ot;Q++)ue[Q-1]=arguments[Q];Me.apply(void 0,[ve].concat(ue))}},G.onKeyUp=function(ve){var Ue=G.props.onKeyUp;if(G.stop(),G.recordCursorPosition(),Ue){for(var Me=arguments.length,nt=new Array(Me>1?Me-1:0),ne=1;ne<Me;ne++)nt[ne-1]=arguments[ne];Ue.apply(void 0,[ve].concat(nt))}},G.onChange=function(ve){var Ue=G.props.onChange;G.state.focused&&(G.inputting=!0),G.rawInput=G.props.parser(G.getValueFromEvent(ve)),G.setState({inputValue:G.rawInput}),Ue(G.toNumber(G.rawInput))},G.onMouseUp=function(){var ve=G.props.onMouseUp;G.recordCursorPosition(),ve&&ve.apply(void 0,arguments)},G.onFocus=function(){var ve;G.setState({focused:!0}),(ve=G.props).onFocus.apply(ve,arguments)},G.onBlur=function(){var ve=G.props.onBlur;G.inputting=!1,G.setState({focused:!1});var Ue=G.getCurrentValidValue(G.state.inputValue),Me=G.setValue(Ue,T);if(ve){var nt=G.input.value,ne=G.getInputDisplayValue({focus:!1,value:Me});G.input.value=ne&&Number(ne),ve.apply(void 0,arguments),G.input.value=nt}},G.getRatio=function(ve){var Ue=1;return ve.metaKey||ve.ctrlKey?Ue=.1:ve.shiftKey&&(Ue=10),Ue},G.getFullNum=function(ve){return isNaN(ve)?ve:/e/i.test(String(ve))?Number(ve).toFixed(18).replace(/\.?0+$/,""):ve},G.getPrecision=function(ve){if(b(G.props.precision))return G.props.precision;var Ue=String(ve);if(Ue.indexOf("e-")>=0)return parseInt(Ue.slice(Ue.indexOf("e-")+2),10);var Me=0;return Ue.indexOf(".")>=0&&(Me=Ue.length-Ue.indexOf(".")-1),Me},G.getInputDisplayValue=function(ve){var Ue=ve||G.state,Me=Ue.focused,nt=Ue.inputValue,ne=Ue.value,be;Me?be=nt:be=G.toPrecisionAsStep(ne),be==null&&(be="");var ot=G.formatWrapper(be);return b(G.props.decimalSeparator)&&(ot=ot.toString().replace(".",G.props.decimalSeparator)),ot},G.recordCursorPosition=function(){try{G.cursorStart=G.input.selectionStart,G.cursorEnd=G.input.selectionEnd,G.currentValue=G.input.value,G.cursorBefore=G.input.value.substring(0,G.cursorStart),G.cursorAfter=G.input.value.substring(G.cursorEnd)}catch(ve){}},G.restoreByAfter=function(ve){if(ve===void 0)return!1;var Ue=G.input.value,Me=Ue.lastIndexOf(ve);if(Me===-1)return!1;var nt=G.cursorBefore.length;return G.lastKeyCode===s.a.DELETE&&G.cursorBefore.charAt(nt-1)===ve[0]?(G.fixCaret(nt,nt),!0):Me+ve.length===Ue.length?(G.fixCaret(Me,Me),!0):!1},G.partRestoreByAfter=function(ve){return ve===void 0?!1:Array.prototype.some.call(ve,function(Ue,Me){var nt=ve.substring(Me);return G.restoreByAfter(nt)})},G.isNotCompleteNumber=function(ve){return isNaN(ve)||ve===""||ve===null||ve&&ve.toString().indexOf(".")===ve.toString().length-1},G.stop=function(){G.autoStepTimer&&clearTimeout(G.autoStepTimer)},G.down=function(ve,Ue,Me){G.pressingUpOrDown=!0,G.step("down",ve,Ue,Me)},G.up=function(ve,Ue,Me){G.pressingUpOrDown=!0,G.step("up",ve,Ue,Me)},G.saveInput=function(ve){G.input=ve};var ye=me.value;ye===void 0&&(ye=me.defaultValue),G.state={focused:me.autoFocus};var Ae=G.getValidValue(G.toNumber(ye));return G.state=p(p({},G.state),{},{inputValue:G.toPrecisionAsStep(Ae),value:Ae}),G}return Object(d.a)(q,[{key:"componentDidMount",value:function(){this.componentDidUpdate(null)}},{key:"componentDidUpdate",value:function(G){var ye=this.props,Ae=ye.value,ve=ye.onChange,Ue=ye.max,Me=ye.min,nt=this.state.focused;if(G){if(!O(G.value,Ae)||!O(G.max,Ue)||!O(G.min,Me)){var ne=nt?Ae:this.getValidValue(Ae),be;this.pressingUpOrDown?be=ne:this.inputting?be=this.rawInput:be=this.toPrecisionAsStep(ne),this.setState({value:ne,inputValue:be})}var ot="value"in this.props?Ae:this.state.value;"max"in this.props&&G.max!==Ue&&typeof ot=="number"&&ot>Ue&&ve&&ve(Ue),"min"in this.props&&G.min!==Me&&typeof ot=="number"&&ot<Me&&ve&&ve(Me)}try{if(this.cursorStart!==void 0&&this.state.focused){if(!this.partRestoreByAfter(this.cursorAfter)&&this.state.value!==this.props.value){var ue=this.cursorStart+1;this.cursorAfter?this.lastKeyCode===s.a.BACKSPACE?ue=this.cursorStart-1:this.lastKeyCode===s.a.DELETE&&(ue=this.cursorStart):ue=this.input.value.length,this.fixCaret(ue,ue)}else if(this.currentValue===this.input.value)switch(this.lastKeyCode){case s.a.BACKSPACE:this.fixCaret(this.cursorStart-1,this.cursorStart-1);break;case s.a.DELETE:this.fixCaret(this.cursorStart+1,this.cursorStart+1);break;default:}}}catch(Q){}if(this.lastKeyCode=null,!this.pressingUpOrDown)return;this.props.focusOnUpDown&&this.state.focused&&(document.activeElement!==this.input&&this.focus())}},{key:"componentWillUnmount",value:function(){this.stop()}},{key:"getCurrentValidValue",value:function(G){var ye=G;return ye===""?ye="":this.isNotCompleteNumber(parseFloat(ye))?ye=this.state.value:ye=this.getValidValue(ye),this.toNumber(ye)}},{key:"getValueFromEvent",value:function(G){var ye=G.target.value.trim().replace(/。/g,".");return b(this.props.decimalSeparator)&&(ye=ye.replace(this.props.decimalSeparator,".")),ye}},{key:"getValidValue",value:function(G){var ye=arguments.length>1&&arguments[1]!==void 0?arguments[1]:this.props.min,Ae=arguments.length>2&&arguments[2]!==void 0?arguments[2]:this.props.max,ve=parseFloat(G);return isNaN(ve)?G:(ve<ye&&(ve=ye),ve>Ae&&(ve=Ae),ve)}},{key:"setValue",value:function(G,ye){var Ae=this.props.precision,ve=this.isNotCompleteNumber(parseFloat(G))?null:parseFloat(G),Ue=this.state.value,Me=Ue===void 0?null:Ue,nt=this.state.inputValue,ne=nt===void 0?null:nt,be=typeof ve=="number"?ve.toFixed(Ae):"".concat(ve),ot=ve!==Me||be!=="".concat(ne);return"value"in this.props?(ne=this.toPrecisionAsStep(this.state.value),this.setState({inputValue:ne},ye)):this.setState({value:ve,inputValue:this.toPrecisionAsStep(G)},ye),ot&&this.props.onChange(ve),ve}},{key:"getMaxPrecision",value:function(G){var ye=arguments.length>1&&arguments[1]!==void 0?arguments[1]:1,Ae=this.props,ve=Ae.precision,Ue=Ae.step;if(b(ve))return ve;var Me=this.getPrecision(ye),nt=this.getPrecision(Ue),ne=this.getPrecision(G);return G?Math.max(ne,Me+nt):Me+nt}},{key:"getPrecisionFactor",value:function(G){var ye=arguments.length>1&&arguments[1]!==void 0?arguments[1]:1,Ae=this.getMaxPrecision(G,ye);return Math.pow(10,Ae)}},{key:"focus",value:function(){this.input.focus(),this.recordCursorPosition()}},{key:"blur",value:function(){this.input.blur()}},{key:"select",value:function(){this.input.select()}},{key:"formatWrapper",value:function(G){return this.props.formatter?this.props.formatter(G):G}},{key:"toPrecisionAsStep",value:function(G){if(this.isNotCompleteNumber(G)||G==="")return G;var ye=Math.abs(this.getMaxPrecision(G));return isNaN(ye)?G.toString():Number(G).toFixed(ye)}},{key:"toNumber",value:function(G){var ye=this.props.precision,Ae=this.state.focused,ve=G&&G.length>16&&Ae;return this.isNotCompleteNumber(G)||ve?G:b(ye)?Math.round(G*Math.pow(10,ye))/Math.pow(10,ye):Number(G)}},{key:"upStep",value:function(G,ye){var Ae=this.props.step,ve=this.getPrecisionFactor(G,ye),Ue=Math.abs(this.getMaxPrecision(G,ye)),Me=((ve*G+ve*Ae*ye)/ve).toFixed(Ue);return this.toNumber(Me)}},{key:"downStep",value:function(G,ye){var Ae=this.props.step,ve=this.getPrecisionFactor(G,ye),Ue=Math.abs(this.getMaxPrecision(G,ye)),Me=((ve*G-ve*Ae*ye)/ve).toFixed(Ue);return this.toNumber(Me)}},{key:"step",value:function(G,ye){var Ae=this,ve=arguments.length>2&&arguments[2]!==void 0?arguments[2]:1,Ue=arguments.length>3?arguments[3]:void 0;this.stop(),ye&&(ye.persist(),ye.preventDefault());var Me=this.props;if(Me.disabled)return;var nt=this.getCurrentValidValue(this.state.inputValue)||0;if(this.isNotCompleteNumber(nt))return;var ne=this["".concat(G,"Step")](nt,ve),be=ne>Me.max||ne<Me.min;if(ne>Me.max?ne=Me.max:ne<Me.min&&(ne=Me.min),this.setValue(ne,null),this.setState({focused:!0},function(){Ae.pressingUpOrDown=!1}),be)return;this.autoStepTimer=setTimeout(function(){Ae[G](ye,ve,!0)},Ue?C:_)}},{key:"fixCaret",value:function(G,ye){if(G===void 0||ye===void 0||!this.input||!this.input.value)return;try{var Ae=this.input.selectionStart,ve=this.input.selectionEnd;(G!==Ae||ye!==ve)&&this.input.setSelectionRange(G,ye)}catch(Ue){}}},{key:"render",value:function(){var G,ye=this.props,Ae=ye.prefixCls,ve=ye.disabled,Ue=ye.readOnly,Me=ye.useTouch,nt=ye.autoComplete,ne=ye.upHandler,be=ye.downHandler,ot=ye.className,ue=ye.max,Q=ye.min,V=ye.style,J=ye.title,fe=ye.onMouseEnter,oe=ye.onMouseLeave,Le=ye.onMouseOver,he=ye.onMouseOut,te=ye.required,Z=ye.onClick,ge=ye.tabIndex,Re=ye.type,ze=ye.placeholder,dt=ye.id,De=ye.inputMode,Tt=ye.pattern,je=ye.step,st=ye.maxLength,Xe=ye.autoFocus,Je=ye.name,et=ye.onPaste,at=Object(i.a)(ye,["prefixCls","disabled","readOnly","useTouch","autoComplete","upHandler","downHandler","className","max","min","style","title","onMouseEnter","onMouseLeave","onMouseOver","onMouseOut","required","onClick","tabIndex","type","placeholder","id","inputMode","pattern","step","maxLength","autoFocus","name","onPaste"]),Ve=this.state,le=Ve.value,ae=Ve.focused,lt=a()(Ae,(G={},Object(r.a)(G,ot,!!ot),Object(r.a)(G,"".concat(Ae,"-disabled"),ve),Object(r.a)(G,"".concat(Ae,"-focused"),ae),G)),Ze={};Object.keys(at).forEach(function(Ee){(Ee.substr(0,5)==="data-"||Ee.substr(0,5)==="aria-"||Ee==="role")&&(Ze[Ee]=at[Ee])});var Te=!Ue&&!ve,Jt=this.getInputDisplayValue(null),mt=(le||le===0)&&(isNaN(le)||Number(le)>=ue),ft=(le||le===0)&&(isNaN(le)||Number(le)<=Q),bt=mt||ve||Ue,It=ft||ve||Ue,or=a()("".concat(Ae,"-handler"),"".concat(Ae,"-handler-up"),Object(r.a)({},"".concat(Ae,"-handler-up-disabled"),bt)),Pt=a()("".concat(Ae,"-handler"),"".concat(Ae,"-handler-down"),Object(r.a)({},"".concat(Ae,"-handler-down-disabled"),It)),_e=Me?{onTouchStart:bt?T:this.up,onTouchEnd:this.stop}:{onMouseDown:bt?T:this.up,onMouseUp:this.stop,onMouseLeave:this.stop},Ce=Me?{onTouchStart:It?T:this.down,onTouchEnd:this.stop}:{onMouseDown:It?T:this.down,onMouseUp:this.stop,onMouseLeave:this.stop};return h.a.createElement("div",{className:lt,style:V,title:J,onMouseEnter:fe,onMouseLeave:oe,onMouseOver:Le,onMouseOut:he,onFocus:function(){return null},onBlur:function(){return null}},h.a.createElement("div",{className:"".concat(Ae,"-handler-wrap")},h.a.createElement("span",Object.assign({unselectable:"on"},_e,{role:"button","aria-label":"Increase Value","aria-disabled":bt,className:or}),ne||h.a.createElement("span",{unselectable:"on",className:"".concat(Ae,"-handler-up-inner"),onClick:w})),h.a.createElement("span",Object.assign({unselectable:"on"},Ce,{role:"button","aria-label":"Decrease Value","aria-disabled":It,className:Pt}),be||h.a.createElement("span",{unselectable:"on",className:"".concat(Ae,"-handler-down-inner"),onClick:w}))),h.a.createElement("div",{className:"".concat(Ae,"-input-wrap")},h.a.createElement("input",Object.assign({role:"spinbutton","aria-valuemin":Q,"aria-valuemax":ue,"aria-valuenow":le,required:te,type:Re,placeholder:ze,onPaste:et,onClick:Z,onMouseUp:this.onMouseUp,className:"".concat(Ae,"-input"),tabIndex:ge,autoComplete:nt,onFocus:this.onFocus,onBlur:this.onBlur,onKeyDown:Te?this.onKeyDown:T,onKeyUp:Te?this.onKeyUp:T,autoFocus:Xe,maxLength:st,readOnly:Ue,disabled:ve,max:ue,min:Q,step:je,name:Je,title:J,id:dt,onChange:this.onChange,ref:this.saveInput,value:this.getFullNum(Jt),pattern:Tt,inputMode:De},Ze))))}}]),q}(h.a.Component);I.defaultProps={focusOnUpDown:!0,useTouch:!1,prefixCls:"rc-input-number",max:y,min:-y,step:1,style:{},onChange:T,onKeyDown:T,onPressEnter:T,onFocus:T,onBlur:T,parser:E,required:!1,autoComplete:"off"};var M=I,F=M,P=e("FH2Y"),j=e.n(P),K=e("HQEm"),N=e.n(K),B=e("H84U"),U=e("3Nzz"),H=function(W,Y){var q={};for(var me in W)Object.prototype.hasOwnProperty.call(W,me)&&Y.indexOf(me)<0&&(q[me]=W[me]);if(W!=null&&typeof Object.getOwnPropertySymbols=="function")for(var G=0,me=Object.getOwnPropertySymbols(W);G<me.length;G++)Y.indexOf(me[G])<0&&Object.prototype.propertyIsEnumerable.call(W,me[G])&&(q[me[G]]=W[me[G]]);return q},z=v.forwardRef(function(W,Y){var q=function(G){var ye=G.getPrefixCls,Ae=G.direction,ve=W.className,Ue=W.size,Me=W.prefixCls,nt=W.readOnly,ne=H(W,["className","size","prefixCls","readOnly"]),be=ye("input-number",Me),ot=v.createElement(j.a,{className:"".concat(be,"-handler-up-inner")}),ue=v.createElement(N.a,{className:"".concat(be,"-handler-down-inner")});return v.createElement(U.b.Consumer,null,function(Q){var V,J=Ue||Q,fe=a()((V={},m()(V,"".concat(be,"-lg"),J==="large"),m()(V,"".concat(be,"-sm"),J==="small"),m()(V,"".concat(be,"-rtl"),Ae==="rtl"),m()(V,"".concat(be,"-readonly"),nt),V),ve);return v.createElement(F,f()({ref:Y,className:fe,upHandler:ot,downHandler:ue,prefixCls:be,readOnly:nt},ne))})};return v.createElement(B.a,null,q)});z.defaultProps={step:1};var X=D.a=z},g0SD:function(R,D,e){var g=e("bYtY"),f=e("9wZj"),A=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=A.parsePercent(t.get("x"),d.getWidth()),p=A.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 x=r.get(n.dimensions[0],l),S=r.get(n.dimensions[1],l);s=n.dataToPoint([x,S])}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),x=i(l,r,o);o.setData(x),c(o.getData(),r,n),x.each(function(S){var T=x.getItemModel(S),w=T.getShallow("symbol"),E=T.getShallow("symbolSize"),C=g.isFunction(w),_=g.isFunction(E);if(C||_){var y=o.getRawValue(S),b=o.getDataParams(S);C&&(w=w(y,b)),_&&(E=E(y,b))}x.setItemVisual(S,{symbol:w,symbolSize:E,color:T.get("itemStyle.color")||s.getVisual("color")})}),p.updateData(x),this.group.add(p.group),x.eachItemGraphicEl(function(S){S.traverse(function(T){T.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}R.exports=a},g7p0:function(R,D,e){var g=e("bYtY"),f=e("bLfw"),A=e("+TT/"),m=A.getLayoutParams,v=A.sizeCalculable,h=A.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;R.exports=i},g9YV:function(R,D,e){"use strict";var g=e("cIOH"),f=e.n(g),A=e("pED+"),m=e.n(A),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(R,D){function e(g){return this.__data__.get(g)}R.exports=e},gIYZ:function(R,D,e){"use strict";Object.defineProperty(D,"__esModule",{value:!0}),D.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"};D.default=g},gK9i:function(R,D,e){"use strict";var g=e("pVnL"),f=e.n(g),A=e("lSNA"),m=e.n(A),v=e("q1tI"),h=e.n(v),c=e("TSYQ"),a=e.n(c),i=e("Gytx"),r=e.n(i),o=function(){function V(J,fe){for(var oe=0;oe<fe.length;oe++){var Le=fe[oe];Le.enumerable=Le.enumerable||!1,Le.configurable=!0,"value"in Le&&(Le.writable=!0),Object.defineProperty(J,Le.key,Le)}}return function(J,fe,oe){return fe&&V(J.prototype,fe),oe&&V(J,oe),J}}();function d(V,J,fe){return J in V?Object.defineProperty(V,J,{value:fe,enumerable:!0,configurable:!0,writable:!0}):V[J]=fe,V}function n(V,J){if(!(V instanceof J))throw new TypeError("Cannot call a class as a function")}function l(V,J){if(!V)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return J&&(typeof J=="object"||typeof J=="function")?J:V}function t(V,J){if(typeof J!="function"&&J!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof J);V.prototype=Object.create(J&&J.prototype,{constructor:{value:V,enumerable:!1,writable:!0,configurable:!0}}),J&&(Object.setPrototypeOf?Object.setPrototypeOf(V,J):V.__proto__=J)}var s=function(V){t(J,V);function J(){return n(this,J),l(this,(J.__proto__||Object.getPrototypeOf(J)).apply(this,arguments))}return o(J,[{key:"shouldComponentUpdate",value:function(oe){return this.props.forceRender||!r()(this.props,oe)}},{key:"render",value:function(){var oe;if(this._isActived=this.props.forceRender||this._isActived||this.props.isActive,!this._isActived)return null;var Le=this.props,he=Le.prefixCls,te=Le.isActive,Z=Le.children,ge=Le.destroyInactivePanel,Re=Le.forceRender,ze=Le.role,dt=a()(he+"-content",(oe={},d(oe,he+"-content-active",te),d(oe,he+"-content-inactive",!te),oe)),De=!Re&&!te&&ge?null:h.a.createElement("div",{className:he+"-content-box"},Z);return h.a.createElement("div",{className:dt,role:ze},De)}}]),J}(v.Component),u=s,p=e("UmKh"),x=function(){function V(J,fe){for(var oe=0;oe<fe.length;oe++){var Le=fe[oe];Le.enumerable=Le.enumerable||!1,Le.configurable=!0,"value"in Le&&(Le.writable=!0),Object.defineProperty(J,Le.key,Le)}}return function(J,fe,oe){return fe&&V(J.prototype,fe),oe&&V(J,oe),J}}();function S(V,J,fe){return J in V?Object.defineProperty(V,J,{value:fe,enumerable:!0,configurable:!0,writable:!0}):V[J]=fe,V}function T(V,J){if(!(V instanceof J))throw new TypeError("Cannot call a class as a function")}function w(V,J){if(!V)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return J&&(typeof J=="object"||typeof J=="function")?J:V}function E(V,J){if(typeof J!="function"&&J!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof J);V.prototype=Object.create(J&&J.prototype,{constructor:{value:V,enumerable:!1,writable:!0,configurable:!0}}),J&&(Object.setPrototypeOf?Object.setPrototypeOf(V,J):V.__proto__=J)}var C=function(V){E(J,V);function J(){var fe,oe,Le,he;T(this,J);for(var te=arguments.length,Z=Array(te),ge=0;ge<te;ge++)Z[ge]=arguments[ge];return he=(oe=(Le=w(this,(fe=J.__proto__||Object.getPrototypeOf(J)).call.apply(fe,[this].concat(Z))),Le),Le.handleItemClick=function(){var Re=Le.props,ze=Re.onItemClick,dt=Re.panelKey;typeof ze=="function"&&ze(dt)},Le.handleKeyPress=function(Re){(Re.key==="Enter"||Re.keyCode===13||Re.which===13)&&Le.handleItemClick()},oe),w(Le,he)}return x(J,[{key:"shouldComponentUpdate",value:function(oe){return!r()(this.props,oe)}},{key:"render",value:function(){var oe,Le=this.props,he=Le.className,te=Le.id,Z=Le.style,ge=Le.prefixCls,Re=Le.header,ze=Le.headerClass,dt=Le.children,De=Le.isActive,Tt=Le.showArrow,je=Le.destroyInactivePanel,st=Le.disabled,Xe=Le.accordion,Je=Le.forceRender,et=Le.expandIcon,at=Le.extra,Ve=a()(ge+"-header",S({},ze,ze)),le=a()((oe={},S(oe,ge+"-item",!0),S(oe,ge+"-item-active",De),S(oe,ge+"-item-disabled",st),oe),he),ae=h.a.createElement("i",{className:"arrow"});return Tt&&typeof et=="function"&&(ae=et(this.props)),h.a.createElement("div",{className:le,style:Z,id:te},h.a.createElement("div",{className:Ve,onClick:this.handleItemClick,role:Xe?"tab":"button",tabIndex:st?-1:0,"aria-expanded":""+De,onKeyPress:this.handleKeyPress},Tt&&ae,Re,at&&h.a.createElement("div",{className:ge+"-extra"},at)),h.a.createElement(p.a,{showProp:"isActive",exclusive:!0,component:"",animation:this.props.openAnimation},h.a.createElement(u,{prefixCls:ge,isActive:De,destroyInactivePanel:je,forceRender:Je,role:Xe?"tabpanel":null},dt)))}}]),J}(v.Component);C.defaultProps={showArrow:!0,isActive:!1,destroyInactivePanel:!1,onItemClick:function(){},headerClass:"",forceRender:!1};var _=C,y=e("UwPn");function b(V,J,fe,oe){var Le=void 0;return Object(y.a)(V,fe,{start:function(){J?(Le=V.offsetHeight,V.style.height=0):V.style.height=V.offsetHeight+"px"},active:function(){V.style.height=(J?Le:0)+"px"},end:function(){V.style.height="",oe()}})}function O(V){return{enter:function(fe,oe){return b(fe,!0,V+"-anim",oe)},leave:function(fe,oe){return b(fe,!1,V+"-anim",oe)}}}var I=O,M=e("TOwV"),F=function(){function V(J,fe){for(var oe=0;oe<fe.length;oe++){var Le=fe[oe];Le.enumerable=Le.enumerable||!1,Le.configurable=!0,"value"in Le&&(Le.writable=!0),Object.defineProperty(J,Le.key,Le)}}return function(J,fe,oe){return fe&&V(J.prototype,fe),oe&&V(J,oe),J}}();function P(V){if(Array.isArray(V)){for(var J=0,fe=Array(V.length);J<V.length;J++)fe[J]=V[J];return fe}else return Array.from(V)}function j(V,J,fe){return J in V?Object.defineProperty(V,J,{value:fe,enumerable:!0,configurable:!0,writable:!0}):V[J]=fe,V}function K(V,J){if(!(V instanceof J))throw new TypeError("Cannot call a class as a function")}function N(V,J){if(!V)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return J&&(typeof J=="object"||typeof J=="function")?J:V}function B(V,J){if(typeof J!="function"&&J!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof J);V.prototype=Object.create(J&&J.prototype,{constructor:{value:V,enumerable:!1,writable:!0,configurable:!0}}),J&&(Object.setPrototypeOf?Object.setPrototypeOf(V,J):V.__proto__=J)}function U(V){var J=V;return Array.isArray(J)||(J=J?[J]:[]),J.map(function(fe){return String(fe)})}var H=function(V){B(J,V);function J(fe){K(this,J);var oe=N(this,(J.__proto__||Object.getPrototypeOf(J)).call(this,fe));z.call(oe);var Le=fe.activeKey,he=fe.defaultActiveKey,te=he;return"activeKey"in fe&&(te=Le),oe.state={openAnimation:fe.openAnimation||I(fe.prefixCls),activeKey:U(te)},oe}return F(J,[{key:"shouldComponentUpdate",value:function(oe,Le){return!r()(this.props,oe)||!r()(this.state,Le)}},{key:"render",value:function(){var oe,Le=this.props,he=Le.prefixCls,te=Le.className,Z=Le.style,ge=Le.accordion,Re=a()((oe={},j(oe,he,!0),j(oe,te,!!te),oe));return h.a.createElement("div",{className:Re,style:Z,role:ge?"tablist":null},this.getItems())}}],[{key:"getDerivedStateFromProps",value:function(oe){var Le={};return"activeKey"in oe&&(Le.activeKey=U(oe.activeKey)),"openAnimation"in oe&&(Le.openAnimation=oe.openAnimation),Le.activeKey||Le.openAnimation?Le:null}}]),J}(v.Component),z=function(){var J=this;this.onClickItem=function(fe){var oe=J.state.activeKey;if(J.props.accordion)oe=oe[0]===fe?[]:[fe];else{oe=[].concat(P(oe));var Le=oe.indexOf(fe),he=Le>-1;he?oe.splice(Le,1):oe.push(fe)}J.setActiveKey(oe)},this.getNewChild=function(fe,oe){if(!fe)return null;var Le=J.state.activeKey,he=J.props,te=he.prefixCls,Z=he.accordion,ge=he.destroyInactivePanel,Re=he.expandIcon,ze=fe.key||String(oe),dt=fe.props,De=dt.header,Tt=dt.headerClass,je=dt.disabled,st=!1;Z?st=Le[0]===ze:st=Le.indexOf(ze)>-1;var Xe={key:ze,panelKey:ze,header:De,headerClass:Tt,isActive:st,prefixCls:te,destroyInactivePanel:ge,openAnimation:J.state.openAnimation,accordion:Z,children:fe.props.children,onItemClick:je?null:J.onClickItem,expandIcon:Re};return typeof fe.type=="string"?fe:h.a.cloneElement(fe,Xe)},this.getItems=function(){var fe=J.props.children,oe=Object(M.isFragment)(fe)?fe.props.children:fe,Le=v.Children.map(oe,J.getNewChild);return Object(M.isFragment)(fe)?h.a.createElement(h.a.Fragment,null,Le):Le},this.setActiveKey=function(fe){"activeKey"in J.props||J.setState({activeKey:fe}),J.props.onChange(J.props.accordion?fe[0]:fe)}};H.defaultProps={prefixCls:"rc-collapse",onChange:function(){},accordion:!1,destroyInactivePanel:!1},H.Panel=_;var X=H,W=X,Y=X.Panel,q=e("fEPi"),me=e.n(q),G=e("H84U"),ye=function(J){var fe=v.useContext(G.b),oe=fe.getPrefixCls,Le=J.prefixCls,he=J.className,te=he===void 0?"":he,Z=J.showArrow,ge=Z===void 0?!0:Z,Re=oe("collapse",Le),ze=a()(m()({},"".concat(Re,"-no-arrow"),!ge),te);return v.createElement(W.Panel,f()({},J,{prefixCls:Re,className:ze}))},Ae=ye,ve=e("xEkU"),Ue=e.n(ve);function Me(V,J,fe){var oe,Le;return Object(y.a)(V,"ant-motion-collapse-legacy",{start:function(){J?(oe=V.offsetHeight,V.style.height="0px",V.style.opacity="0"):(V.style.height="".concat(V.offsetHeight,"px"),V.style.opacity="1")},active:function(){Le&&Ue.a.cancel(Le),Le=Ue()(function(){V.style.height="".concat(J?oe:0,"px"),V.style.opacity=J?"1":"0"})},end:function(){Le&&Ue.a.cancel(Le),V.style.height="",V.style.opacity="",fe()}})}var nt={enter:function(J,fe){return Me(J,!0,fe)},leave:function(J,fe){return Me(J,!1,fe)},appear:function(J,fe){return Me(J,!0,fe)}},ne=nt,be=e("0n0R"),ot=function(J){var fe,oe=v.useContext(G.b),Le=oe.getPrefixCls,he=oe.direction,te=J.prefixCls,Z=J.className,ge=Z===void 0?"":Z,Re=J.bordered,ze=J.ghost,dt=Le("collapse",te),De=function(){var et=J.expandIconPosition;return et!==void 0?et:he==="rtl"?"right":"left"},Tt=function(){var et=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},at=J.expandIcon,Ve=at?at(et):v.createElement(me.a,{rotate:et.isActive?90:void 0});return Object(be.a)(Ve,function(){return{className:a()(Ve.props.className,"".concat(dt,"-arrow"))}})},je=De(),st=a()((fe={},m()(fe,"".concat(dt,"-borderless"),!Re),m()(fe,"".concat(dt,"-icon-position-").concat(je),!0),m()(fe,"".concat(dt,"-rtl"),he==="rtl"),m()(fe,"".concat(dt,"-ghost"),!!ze),fe),ge),Xe=f()(f()({},ne),{appear:function(){}});return v.createElement(W,f()({openAnimation:Xe},J,{expandIcon:function(et){return Tt(et)},prefixCls:dt,className:st}))};ot.Panel=Ae,ot.defaultProps={bordered:!0};var ue=ot,Q=D.a=ue},gKaM:function(R,D,e){"use strict";Object.defineProperty(D,"__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"};D.default=g},gPAo:function(R,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 A=g;R.exports=A},gRFJ:function(R,D,e){R.exports=[e("rdUC"),e("ynwM"),e("RELg"),e("DlR+"),e("CrYA"),e("PD8m")]},gaXo:function(module,exports){typeof JSON!="object"&&(JSON={}),function(){"use strict";var rx_one=/^[\],:{}\s]*$/,rx_two=/\\(?:["\\\/bfnrt]|u[0-9a-fA-F]{4})/g,rx_three=/"[^"\\\n\r]*"|true|false|null|-?\d+(?:\.\d*)?(?:[eE][+\-]?\d+)?/g,rx_four=/(?:^|:|,)(?:\s*\[)+/g,rx_escapable=/[\\"\u0000-\u001f\u007f-\u009f\u00ad\u0600-\u0604\u070f\u17b4\u17b5\u200c-\u200f\u2028-\u202f\u2060-\u206f\ufeff\ufff0-\uffff]/g,rx_dangerous=/[\u0000\u00ad\u0600-\u0604\u070f\u17b4\u17b5\u200c-\u200f\u2028-\u202f\u2060-\u206f\ufeff\ufff0-\uffff]/g;function f(R){return R<10?"0"+R:R}function this_value(){return this.valueOf()}typeof Date.prototype.toJSON!="function"&&(Date.prototype.toJSON=function(){return isFinite(this.valueOf())?this.getUTCFullYear()+"-"+f(this.getUTCMonth()+1)+"-"+f(this.getUTCDate())+"T"+f(this.getUTCHours())+":"+f(this.getUTCMinutes())+":"+f(this.getUTCSeconds())+"Z":null},Boolean.prototype.toJSON=this_value,Number.prototype.toJSON=this_value,String.prototype.toJSON=this_value);var gap,indent,meta,rep;function quote(R){return rx_escapable.lastIndex=0,rx_escapable.test(R)?'"'+R.replace(rx_escapable,function(D){var e=meta[D];return typeof e=="string"?e:"\\u"+("0000"+D.charCodeAt(0).toString(16)).slice(-4)})+'"':'"'+R+'"'}function str(R,D){var e,g,f,A,m=gap,v,h=D[R];h&&typeof h=="object"&&typeof h.toJSON=="function"&&(h=h.toJSON(R)),typeof rep=="function"&&(h=rep.call(D,R,h));switch(typeof h){case"string":return quote(h);case"number":return isFinite(h)?String(h):"null";case"boolean":case"null":return String(h);case"object":if(!h)return"null";if(gap+=indent,v=[],Object.prototype.toString.apply(h)==="[object Array]"){for(A=h.length,e=0;e<A;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(A=rep.length,e=0;e<A;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(R,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=D,D&&typeof D!="function"&&(typeof D!="object"||typeof D.length!="number"))throw new Error("JSON.stringify");return str("",{"":R})}),typeof JSON.parse!="function"&&(JSON.parse=function(text,reviver){var j;function walk(R,D){var e,g,f=R[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(R,D,f)}if(text=String(text),rx_dangerous.lastIndex=0,rx_dangerous.test(text)&&(text=text.replace(rx_dangerous,function(R){return"\\u"+("0000"+R.charCodeAt(0).toString(16)).slice(-4)})),rx_one.test(text.replace(rx_two,"@").replace(rx_three,"]").replace(rx_four,"")))return j=eval("("+text+")"),typeof reviver=="function"?walk({"":j},""):j;throw new SyntaxError("JSON.parse")})}()},gawk:function(R,D,e){var g=e("+TT/"),f=e("bYtY"),A=e("4NO4"),m=A.groupData;function v(O,I,M){O.eachSeriesByType("sankey",function(F){var P=F.get("nodeWidth"),j=F.get("nodeGap"),K=h(F,I);F.layoutInfo=K;var N=K.width,B=K.height,U=F.getGraph(),H=U.nodes,z=U.edges;a(H);var X=f.filter(H,function(me){return me.getLayout().value===0}),W=X.length!==0?0:F.get("layoutIterations"),Y=F.get("orient"),q=F.get("nodeAlign");c(H,z,P,j,N,B,W,Y,q)})}function h(O,I){return g.getLayoutRect(O.getBoxLayoutParams(),{width:I.getWidth(),height:I.getHeight()})}function c(O,I,M,F,P,j,K,N,B){i(O,I,M,P,j,N,B),l(O,I,j,P,F,K,N),b(O,N)}function a(O){f.each(O,function(I){var M=_(I.outEdges,C),F=_(I.inEdges,C),P=I.getValue()||0,j=Math.max(M,F,P);I.setLayout({value:j},!0)})}function i(O,I,M,F,P,j,K){for(var N=[],B=[],U=[],H=[],z=0,X=0,W=0;W<I.length;W++)N[W]=1;for(W=0;W<O.length;W++)B[W]=O[W].inEdges.length,B[W]===0&&U.push(O[W]);for(var Y=-1;U.length;){for(var q=0;q<U.length;q++){var me=U[q],G=me.hostGraph.data.getRawDataItem(me.dataIndex),ye=G.depth!=null&&G.depth>=0;ye&&G.depth>Y&&(Y=G.depth),me.setLayout({depth:ye?G.depth:z},!0),j==="vertical"?me.setLayout({dy:M},!0):me.setLayout({dx:M},!0);for(var Ae=0;Ae<me.outEdges.length;Ae++){var ve=me.outEdges[Ae],Ue=I.indexOf(ve);N[Ue]=0;var Me=ve.node2,nt=O.indexOf(Me);--B[nt]===0&&H.indexOf(Me)<0&&H.push(Me)}}++z,U=H,H=[]}for(W=0;W<N.length;W++)if(N[W]===1)throw new Error("Sankey is a DAG, the original data has cycle!");var ne=Y>z-1?Y:z-1;K&&K!=="left"&&o(O,K,j,ne);var X=j==="vertical"?(P-M)/ne:(F-M)/ne;n(O,X,j)}function r(O){var I=O.hostGraph.data.getRawDataItem(O.dataIndex);return I.depth!=null&&I.depth>=0}function o(O,I,M,F){if(I==="right"){for(var P=[],j=O,K=0;j.length;){for(var N=0;N<j.length;N++){var B=j[N];B.setLayout({skNodeHeight:K},!0);for(var U=0;U<B.inEdges.length;U++){var H=B.inEdges[U];P.indexOf(H.node1)<0&&P.push(H.node1)}}j=P,P=[],++K}f.each(O,function(z){r(z)||z.setLayout({depth:Math.max(0,F-z.getLayout().skNodeHeight)},!0)})}else I==="justify"&&d(O,F)}function d(O,I){f.each(O,function(M){!r(M)&&!M.outEdges.length&&M.setLayout({depth:I},!0)})}function n(O,I,M){f.each(O,function(F){var P=F.getLayout().depth*I;M==="vertical"?F.setLayout({y:P},!0):F.setLayout({x:P},!0)})}function l(O,I,M,F,P,j,K){var N=t(O,K);s(N,I,M,F,P,K),u(N,P,M,F,K);for(var B=1;j>0;j--)B*=.99,p(N,B,K),u(N,P,M,F,K),y(N,B,K),u(N,P,M,F,K)}function t(O,I){var M=[],F=I==="vertical"?"y":"x",P=m(O,function(j){return j.getLayout()[F]});return P.keys.sort(function(j,K){return j-K}),f.each(P.keys,function(j){M.push(P.buckets.get(j))}),M}function s(O,I,M,F,P,j){var K=Infinity;f.each(O,function(N){var B=N.length,U=0;f.each(N,function(z){U+=z.getLayout().value});var H=j==="vertical"?(F-(B-1)*P)/U:(M-(B-1)*P)/U;H<K&&(K=H)}),f.each(O,function(N){f.each(N,function(B,U){var H=B.getLayout().value*K;j==="vertical"?(B.setLayout({x:U},!0),B.setLayout({dx:H},!0)):(B.setLayout({y:U},!0),B.setLayout({dy:H},!0))})}),f.each(I,function(N){var B=+N.getValue()*K;N.setLayout({dy:B},!0)})}function u(O,I,M,F,P){var j=P==="vertical"?"x":"y";f.each(O,function(K){K.sort(function(q,me){return q.getLayout()[j]-me.getLayout()[j]});for(var N,B,U,H=0,z=K.length,X=P==="vertical"?"dx":"dy",W=0;W<z;W++)B=K[W],U=H-B.getLayout()[j],U>0&&(N=B.getLayout()[j]+U,P==="vertical"?B.setLayout({x:N},!0):B.setLayout({y:N},!0)),H=B.getLayout()[j]+B.getLayout()[X]+I;var Y=P==="vertical"?F:M;if(U=H-I-Y,U>0)for(N=B.getLayout()[j]-U,P==="vertical"?B.setLayout({x:N},!0):B.setLayout({y:N},!0),H=N,W=z-2;W>=0;--W)B=K[W],U=B.getLayout()[j]+B.getLayout()[X]+I-H,U>0&&(N=B.getLayout()[j]-U,P==="vertical"?B.setLayout({x:N},!0):B.setLayout({y:N},!0)),H=B.getLayout()[j]})}function p(O,I,M){f.each(O.slice().reverse(),function(F){f.each(F,function(P){if(P.outEdges.length){var j=_(P.outEdges,x,M)/_(P.outEdges,C,M);if(isNaN(j)){var K=P.outEdges.length;j=K?_(P.outEdges,S,M)/K:0}if(M==="vertical"){var N=P.getLayout().x+(j-E(P,M))*I;P.setLayout({x:N},!0)}else{var B=P.getLayout().y+(j-E(P,M))*I;P.setLayout({y:B},!0)}}})})}function x(O,I){return E(O.node2,I)*O.getValue()}function S(O,I){return E(O.node2,I)}function T(O,I){return E(O.node1,I)*O.getValue()}function w(O,I){return E(O.node1,I)}function E(O,I){return I==="vertical"?O.getLayout().x+O.getLayout().dx/2:O.getLayout().y+O.getLayout().dy/2}function C(O){return O.getValue()}function _(O,I,M){for(var F=0,P=O.length,j=-1;++j<P;){var K=+I.call(O,O[j],M);isNaN(K)||(F+=K)}return F}function y(O,I,M){f.each(O,function(F){f.each(F,function(P){if(P.inEdges.length){var j=_(P.inEdges,T,M)/_(P.inEdges,C,M);if(isNaN(j)){var K=P.inEdges.length;j=K?_(P.inEdges,w,M)/K:0}if(M==="vertical"){var N=P.getLayout().x+(j-E(P,M))*I;P.setLayout({x:N},!0)}else{var B=P.getLayout().y+(j-E(P,M))*I;P.setLayout({y:B},!0)}}})})}function b(O,I){var M=I==="vertical"?"x":"y";f.each(O,function(F){F.outEdges.sort(function(P,j){return P.node2.getLayout()[M]-j.node2.getLayout()[M]}),F.inEdges.sort(function(P,j){return P.node1.getLayout()[M]-j.node1.getLayout()[M]})}),f.each(O,function(F){var P=0,j=0;f.each(F.outEdges,function(K){K.setLayout({sy:P},!0),P+=K.getLayout().dy}),f.each(F.inEdges,function(K){K.setLayout({ty:j},!0),j+=K.getLayout().dy})})}R.exports=v},"giR+":function(R,D,e){"use strict";var g=e("cIOH"),f=e.n(g),A=e("QbM5"),m=e.n(A)},gut8:function(R,D){var e={NONE:0,STYLE_BIND:1,PLAIN_TEXT:2},g=9;D.ContextCachedBy=e,D.WILL_BE_RESTORED=g},gvm7:function(R,D,e){var g=e("bYtY"),f=e("dqUG");function A(v){this._zr=v.getZr(),this._show=!1,this._hideTimeout}A.prototype={constructor:A,_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=A;R.exports=m},gwTy:function(R,D,e){},h54F:function(R,D,e){var g=e("ProS"),f=e("YXkt"),A=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(x,S){x.wrapMethod("getItemModel",function(y){var b=u._categoriesModels,O=y.getShallow("category"),I=b[O];return I&&(I.parentModel=y.parentModel,y.parentModel=I),y});var T=u.getModel("edgeLabel"),w=new h({label:T.option},T.parentModel,l),E=u.getModel("emphasis.edgeLabel"),C=new h({emphasis:{label:E.option}},E.parentModel,l);S.wrapMethod("getItemModel",function(y){return y.customizeGetParent(_),y});function _(y){return y=this.parsePath(y),y&&y[0]==="label"?w:y&&y[0]==="emphasis"&&y[1]==="label"?C: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),x=s.getName(p.node1.dataIndex),S=s.getName(p.node2.dataIndex),T=[];return x!=null&&T.push(x),S!=null&&T.push(S),T=a(T.join(" > ")),u.value&&(T+=" : "+a(u.value)),T}else return o.superApply(this,"formatTooltip",arguments)},_updateCategoriesData:function(){var n=A.map(this.option.categories||[],function(t){return t.value!=null?t:A.extend({value:0},t)}),l=new f(["value"],this);l.initData(n),this._categoriesData=l,this._categoriesModels=l.mapArray(function(t){return l.getItemModel(t,!0)})},setZoom:function(n){this.option.zoom=n},setCenter:function(n){this.option.center=n},isAnimationEnabled:function(){return o.superCall(this,"isAnimationEnabled")&&!(this.get("layout")==="force"&&this.get("force.layoutAnimation"))},defaultOption:{zlevel:0,z:2,coordinateSystem:"view",legendHoverLink:!0,hoverAnimation:!0,layout:null,focusNodeAdjacency:!1,circular:{rotateLabel:!1},force:{initLayout:null,repulsion:[0,50],gravity:.1,friction:.6,edgeLength:30,layoutAnimation:!0},left:"center",top:"center",symbol:"circle",symbolSize:10,edgeSymbol:["none","none"],edgeSymbolSize:10,edgeLabel:{position:"middle",distance:5},draggable:!1,roam:!1,center:null,zoom:1,nodeScaleRatio:.6,label:{show:!1,formatter:"{b}"},itemStyle:{},lineStyle:{color:"#aaa",width:1,curveness:0,opacity:.5},emphasis:{label:{show:!0}}}}),d=o;R.exports=d},h7HQ:function(R,D,e){var g=e("y+Vt"),f=e("T6xi"),A=g.extend({type:"polygon",shape:{points:null,smooth:!1,smoothConstraint:null},buildPath:function(v,h){f.buildPath(v,h,!0)}});R.exports=A},h8O9:function(R,D,e){var g=e("bYtY"),f=g.map,A=e("zM3Q"),m=e("7hqr"),v=m.isDimensionStacked;function h(c){return{seriesType:c,plan:A(),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 x=u.end-u.start,S=d&&new Float32Array(x*l),T=u.start,w=0,E=[],C=[];T<u.end;T++){var _;if(l===1){var y=p.get(n[0],T);_=!isNaN(y)&&r.dataToPoint(y,null,C)}else{var y=E[0]=p.get(n[0],T),b=E[1]=p.get(n[1],T);_=!isNaN(y)&&!isNaN(b)&&r.dataToPoint(E,null,C)}d?(S[w++]=_?_[0]:NaN,S[w++]=_?_[1]:NaN):p.setItemLayout(T,_&&_.slice()||[NaN,NaN])}d&&p.setLayout("symbolPoints",S)}return l&&{progress:s}}}}R.exports=h},hD7B:function(R,D,e){var g=e("bYtY"),f=["getDom","getZr","getWidth","getHeight","getDevicePixelRatio","dispatchAction","isDisposed","on","off","getDataURL","getConnectedDataURL","getModel","getOption","getViewOfComponentModel","getViewOfSeriesModel"];function A(v){g.each(f,function(h){this[h]=g.bind(v[h],v)},this)}var m=A;R.exports=m},hFmY:function(R,D,e){var g=e("ProS"),f={type:"axisAreaSelect",event:"axisAreaSelected"};g.registerAction(f,function(A,m){m.eachComponent({mainType:"parallelAxis",query:A},function(v){v.axis.model.setActiveIntervals(A.intervals)})}),g.registerAction("parallelAxisExpand",function(A,m){m.eachComponent({mainType:"parallel",query:A},function(v){v.setAxisExpand(A)})})},hJvP:function(R,D,e){var g=e("2dDv"),f=e("IDmD");function A(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:A})},hM6l:function(R,D,e){var g=e("bYtY"),f=g.each,A=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,x){this.dim=u,this.scale=p,this._extent=x||[0,0],this.inverse=!1,this.onBand=!1};n.prototype={constructor:n,contain:function(u){var p=this._extent,x=Math.min(p[0],p[1]),S=Math.max(p[0],p[1]);return u>=x&&u<=S},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 x=this._extent;x[0]=u,x[1]=p},dataToCoord:function(u,p){var x=this._extent,S=this.scale;return u=S.normalize(u),this.onBand&&S.type==="ordinal"&&(x=x.slice(),l(x,S.count())),v(u,d,x,p)},coordToData:function(u,p){var x=this._extent,S=this.scale;this.onBand&&S.type==="ordinal"&&(x=x.slice(),l(x,S.count()));var T=v(u,x,d,p);return this.scale.scale(T)},pointToData:function(u,p){},getTicksCoords:function(u){u=u||{};var p=u.tickModel||this.getTickModel(),x=i(this,p),S=x.ticks,T=A(S,function(E){return{coord:this.dataToCoord(E),tickValue:E}},this),w=p.get("alignWithLabel");return t(this,T,w,u.clamp),T},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 x=this.scale.getMinorTicks(p),S=A(x,function(T){return A(T,function(w){return{coord:this.dataToCoord(w),tickValue:w}},this)},this);return S},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(),x=p[1]-p[0]+(this.onBand?1:0);x===0&&(x=1);var S=Math.abs(u[1]-u[0]);return Math.abs(S)/x},isHorizontal:null,getRotate:null,calculateCategoryInterval:function(){return o(this)}};function l(u,p){var x=u[1]-u[0],S=p,T=x/S/2;u[0]+=T,u[1]-=T}function t(u,p,x,S){var T=p.length;if(!u.onBand||x||!T)return;var w=u.getExtent(),E,C;if(T===1)p[0].coord=w[0],E=p[1]={coord:w[0]};else{var _=p[T-1].tickValue-p[0].tickValue,y=(p[T-1].coord-p[0].coord)/_;f(p,function(M){M.coord-=y/2});var b=u.scale.getExtent();C=1+b[1]-p[T-1].tickValue,E={coord:p[T-1].coord+y*C},p.push(E)}var O=w[0]>w[1];I(p[0].coord,w[0])&&(S?p[0].coord=w[0]:p.shift()),S&&I(w[0],p[0].coord)&&p.unshift({coord:w[0]}),I(w[1],E.coord)&&(S?E.coord=w[1]:p.pop()),S&&I(E.coord,w[1])&&p.push({coord:w[1]});function I(M,F){return M=c(M),F=c(F),O?M>F:M<F}}var s=n;R.exports=s},hNWo:function(R,D,e){var g=e("ProS"),f=e("bYtY"),A=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 x=s.legendVisualProvider,S=x.getAllNames();o.isSeriesFiltered(s)||(n=n.concat(S)),S.length?d=d.concat(S):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 A(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;R.exports=r},hOwI:function(R,D){var e=Math.log(2);function g(A,m,v,h,c,a){var i=h+"-"+c,r=A.length;if(a.hasOwnProperty(i))return a[i];if(m===1){var o=Math.round(Math.log((1<<r)-1&~c)/e);return A[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)*A[v][t]*g(A,m-1,n,d,c|u,a),s++)}return a[i]=l,l}function f(A,m){var v=[[A[0],A[1],1,0,0,0,-m[0]*A[0],-m[0]*A[1]],[0,0,0,A[0],A[1],1,-m[1]*A[0],-m[1]*A[1]],[A[2],A[3],1,0,0,0,-m[2]*A[2],-m[2]*A[3]],[0,0,0,A[2],A[3],1,-m[3]*A[2],-m[3]*A[3]],[A[4],A[5],1,0,0,0,-m[4]*A[4],-m[4]*A[5]],[0,0,0,A[4],A[5],1,-m[5]*A[4],-m[5]*A[5]],[A[6],A[7],1,0,0,0,-m[6]*A[6],-m[6]*A[7]],[0,0,0,A[6],A[7],1,-m[7]*A[6],-m[7]*A[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}}D.buildTransformer=f},hX1E:function(R,D){var e=Math.PI*2;function g(f){return f%=e,f<0&&(f+=e),f}D.normalizeRadian=g},hXwI:function(R,D,e){"use strict";Object.defineProperty(D,"__esModule",{value:!0}),D.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 A(v,h,c){return h&&f(v.prototype,h),c&&f(v,c),v}var m=function(){function v(){g(this,v)}return A(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}();D.default=m},hi0g:function(R,D,e){var g=e("bYtY"),f=g.createHashMap,A=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(w,E,C){l.isInstance(E)||(E=l.seriesDataToSource(E)),C=C||{},w=(w||[]).slice();for(var _=(C.dimsDef||[]).slice(),y=f(),b=f(),O=[],I=x(E,w,_,C.dimCount),M=0;M<I;M++){var F=_[M]=h({},c(_[M])?_[M]:{name:_[M]}),P=F.name,j=O[M]=new u;P!=null&&y.get(P)==null&&(j.name=j.displayName=P,y.set(P,M)),F.type!=null&&(j.type=F.type),F.displayName!=null&&(j.displayName=F.displayName)}var K=C.encodeDef;!K&&C.encodeDefaulter&&(K=C.encodeDefaulter(E,I)),K=f(K),K.each(function(q,me){if(q=r(q).slice(),q.length===1&&!m(q[0])&&q[0]<0){K.set(me,!1);return}var G=K.set(me,[]);A(q,function(ye,Ae){m(ye)&&(ye=y.get(ye)),ye!=null&&ye<I&&(G[Ae]=ye,B(O[ye],me,Ae))})});var N=0;A(w,function(q,me){var G,q,ye,Ae;if(m(q))G=q,q={};else{G=q.name;var ve=q.ordinalMeta;q.ordinalMeta=null,q=a(q),q.ordinalMeta=ve,ye=q.dimsDef,Ae=q.otherDims,q.name=q.coordDim=q.coordDimIndex=q.dimsDef=q.otherDims=null}var Ue=K.get(G);if(Ue===!1)return;var Ue=r(Ue);if(!Ue.length)for(var Me=0;Me<(ye&&ye.length||1);Me++){for(;N<O.length&&O[N].coordDim!=null;)N++;N<O.length&&Ue.push(N++)}A(Ue,function(nt,ne){var be=O[nt];if(B(v(be,q),G,ne),be.name==null&&ye){var ot=ye[ne];!c(ot)&&(ot={name:ot}),be.name=be.displayName=ot.name,be.defaultTooltip=ot.defaultTooltip}Ae&&v(be.otherDims,Ae)})});function B(q,me,G){s.get(me)!=null?q.otherDims[me]=G:(q.coordDim=me,q.coordDimIndex=G,b.set(me,!0))}var U=C.generateCoord,H=C.generateCoordCount,z=H!=null;H=U?H||1:0;for(var X=U||"value",W=0;W<I;W++){var j=O[W]=O[W]||new u,Y=j.coordDim;Y==null&&(j.coordDim=S(X,b,z),j.coordDimIndex=0,(!U||H<=0)&&(j.isExtraCoord=!0),H--),j.name==null&&(j.name=S(j.coordDim,y)),j.type==null&&(d(E,W,j.name)===n.Must||j.isExtraCoord&&(j.otherDims.itemName!=null||j.otherDims.seriesName!=null))&&(j.type="ordinal")}return O}function x(w,E,C,_){var y=Math.max(w.dimensionsDetectCount||1,E.length,C.length,_||0);return A(E,function(b){var O=b.dimsDef;O&&(y=Math.max(y,O.length))}),y}function S(w,E,C){if(C||E.get(w)!=null){for(var _=0;E.get(w+_)!=null;)_++;w+=_}return E.set(w,!0),w}var T=p;R.exports=T},hkKa:function(R,D,e){"use strict";e.d(D,"a",function(){return v});var g=e("J4zp"),f=e.n(g),A=e("q1tI"),m=e.n(A);function v(){var h=A.useReducer(function(i){return i+1},0),c=f()(h,2),a=c[1];return a}},hw6D:function(R,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]=A(t)?t:m(i)})}),c.each(function(o){var d=g.find(a[o],function(n){return A(n)})||m(i);a[o].push(d.slice()),c.setItemLayout(o,a[o])})})}function A(v){return!isNaN(v[0])&&!isNaN(v[1])}function m(v){return[v.cx,v.cy]}R.exports=f},hwYd:function(R,D,e){"use strict";var g=e("TqRt"),f=e("284h");Object.defineProperty(D,"__esModule",{value:!0}),D.default=void 0;var A=f(e("q1tI")),m=g(e("Nu4q")),v=g(e("KQxl")),h=function(i,r){return A.createElement(v.default,Object.assign({},i,{ref:r,icon:m.default}))};h.displayName="PictureTwoTone";var c=A.forwardRef(h);D.default=c},hydK:function(R,D){var e="http://www.w3.org/2000/svg";function g(f){return document.createElementNS(e,f)}D.createElement=g},hyiK:function(R,D){function e(g,f,A,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*(A-g)+g;return i===v?Infinity:i>v?c:0}R.exports=e},i38C:function(R,D,e){var g=e("Tghj"),f=g.__DEV__,A=e("bYtY"),m=A.createHashMap,v=A.retrieve,h=A.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,x){var S=t.getComponent("parallelAxis",p),T=u[x];n.set(T,S),r(S)&&d.firstCategoryDimIndex==null&&(l.set(T,S),d.firstCategoryDimIndex=x)})}};function r(o){return o.get("type")==="category"}D.getCoordSysInfoBySeries=a},i6bk:function(R,D,e){"use strict";e.d(D,"b",function(){return g}),e.d(D,"a",function(){return f});function g(A){return A!=null&&A===A.window}function f(A,m){if(typeof window=="undefined")return 0;var v=m?"scrollTop":"scrollLeft",h=0;return g(A)?h=A[m?"pageYOffset":"pageXOffset"]:A instanceof Document?h=A.documentElement[v]:A&&(h=A[v]),A&&!g(A)&&typeof h!="number"&&(h=(A.ownerDocument||A).documentElement[v]),h}},i8CU:function(R,D,e){"use strict";Object.defineProperty(D,"__esModule",{value:!0}),D.default=void 0;var g=f(e("Fm1+"));function f(m){return m&&m.__esModule?m:{default:m}}var A=g;D.default=A,R.exports=A},iLNv:function(R,D){var e="\0__throttleOriginMethod",g="\0__throttleRate",f="\0__throttleType";function A(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 x=s||c,S=s||a;s=null,n=i-(S?r:o)-x,clearTimeout(d),S?d=setTimeout(u,x):n>=0?u():d=setTimeout(u,-n),r=i};return p.clear=function(){d&&(clearTimeout(d),d=null)},p.debounceNextCall=function(x){s=x},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]=A(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])}D.throttle=A,D.createOrUpdate=m,D.clear=v},iPDy:function(R,D,e){var g=e("ProS"),f=e("bYtY"),A=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(){}});R.exports=A},iQDF:function(R,D,e){"use strict";var g=e("ZTW2"),f=e.n(g),A=e("+BJd"),m=e("+L6B")},iRjW:function(R,D,e){var g=e("bYtY"),f=e("Yl7c"),A=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=A(r),i[r.main]=o},a.determineSubType=function(r,o){var d=o.type;if(!d){var n=A(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,x=u.noEntryList,S={};for(g.each(n,function(y){S[y]=!0});x.length;){var T=x.pop(),w=p[T],E=!!S[T];E&&(t.call(s,T,w.originalDeps.slice()),delete S[T]),g.each(w.successor,E?_:C)}g.each(S,function(){throw new Error("Circle dependency may exists")});function C(y){p[y].entryCount--,p[y].entryCount===0&&x.push(y)}function _(y){S[y]=!0,C(y)}};function r(n){var l={},t=[];return g.each(n,function(s){var u=o(l,s),p=u.originalDeps=i(s),x=d(p,n);u.entryCount=x.length,u.entryCount===0&&t.push(s),g.each(x,function(S){g.indexOf(u.predecessor,S)<0&&u.predecessor.push(S);var T=o(l,S);g.indexOf(T.successor,S)<0&&T.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}}D.getUID=v,D.enableSubTypeDefaulter=h,D.enableTopologicalTravel=c},iUHT:function(R,D,e){"use strict";Object.defineProperty(D,"__esModule",{value:!0}),D.default=void 0;function g(w,E){if(!(w instanceof E))throw new TypeError("Cannot call a class as a function")}function f(w,E){for(var C=0;C<E.length;C++){var _=E[C];_.enumerable=_.enumerable||!1,_.configurable=!0,"value"in _&&(_.writable=!0),Object.defineProperty(w,_.key,_)}}function A(w,E,C){return E&&f(w.prototype,E),C&&f(w,C),w}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 x=[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 S=[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],T=function(){function w(E){g(this,w),this.keys=[];for(var C=[],_=[],y=[],b=0,O=56;b<56;++b,O-=8){O+=O<-5?65:O<-3?31:O<-1?63:O===27?35:0;var I=O&7;C[b]=(E[O>>>3]&1<<I)!==0?1:0}for(var M=0;M<16;++M){var F=M<<1,P=F+1;y[F]=y[P]=0;for(var j=28;j<59;j+=28)for(var K=j-28;K<j;++K){var N=K+v[M];_[K]=N<j?C[N]:C[N-28]}for(var B=0;B<24;++B)_[m[B]]!==0&&(y[F]|=1<<23-B),_[m[B+24]]!==0&&(y[P]|=1<<23-B)}for(var U=0,H=0,z=0;U<16;++U){var X=y[H++],W=y[H++];this.keys[z]=(X&16515072)<<6,this.keys[z]|=(X&4032)<<10,this.keys[z]|=(W&16515072)>>>10,this.keys[z]|=(W&4032)>>>6,++z,this.keys[z]=(X&258048)<<12,this.keys[z]|=(X&63)<<16,this.keys[z]|=(W&258048)>>>4,this.keys[z]|=W&63,++z}}return A(w,[{key:"enc8",value:function(C){var _=C.slice(),y=0,b,O,I;b=_[y++]<<24|_[y++]<<16|_[y++]<<8|_[y++],O=_[y++]<<24|_[y++]<<16|_[y++]<<8|_[y++],I=(b>>>4^O)&252645135,O^=I,b^=I<<4,I=(b>>>16^O)&65535,O^=I,b^=I<<16,I=(O>>>2^b)&858993459,b^=I,O^=I<<2,I=(O>>>8^b)&16711935,b^=I,O^=I<<8,O=O<<1|O>>>31&1,I=(b^O)&2863311530,b^=I,O^=I,b=b<<1|b>>>31&1;for(var M=0,F=0;M<8;++M){I=O<<28|O>>>4,I^=this.keys[F++];var P=x[I&63];P|=u[I>>>8&63],P|=t[I>>>16&63],P|=n[I>>>24&63],I=O^this.keys[F++],P|=S[I&63],P|=p[I>>>8&63],P|=s[I>>>16&63],P|=l[I>>>24&63],b^=P,I=b<<28|b>>>4,I^=this.keys[F++],P=x[I&63],P|=u[I>>>8&63],P|=t[I>>>16&63],P|=n[I>>>24&63],I=b^this.keys[F++],P|=S[I&63],P|=p[I>>>8&63],P|=s[I>>>16&63],P|=l[I>>>24&63],O^=P}for(O=O<<31|O>>>1,I=(b^O)&2863311530,b^=I,O^=I,b=b<<31|b>>>1,I=(b>>>8^O)&16711935,O^=I,b^=I<<8,I=(b>>>2^O)&858993459,O^=I,b^=I<<2,I=(O>>>16^b)&65535,b^=I,O^=I<<16,I=(O>>>4^b)&252645135,b^=I,O^=I<<4,I=[O,b],y=0;y<8;y++)_[y]=(I[y>>>2]>>>8*(3-y%4))%256,_[y]<0&&(_[y]+=256);return _}},{key:"encrypt",value:function(C){return this.enc8(C.slice(0,8)).concat(this.enc8(C.slice(8,16)))}}]),w}();D.default=T},iXHM:function(R,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};R.exports=g},iXp4:function(R,D,e){var g=e("ItGF"),f=[["shadowBlur",0],["shadowColor","#000"],["shadowOffsetX",0],["shadowOffsetY",0]];function A(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}R.exports=A},iYpf:function(R,D,e){"use strict";var g=e("TqRt"),f=e("284h");Object.defineProperty(D,"__esModule",{value:!0}),D.default=void 0;var A=f(e("q1tI")),m=g(e("ZLWo")),v=g(e("KQxl")),h=function(i,r){return A.createElement(v.default,Object.assign({},i,{ref:r,icon:m.default}))};h.displayName="FolderOpenOutlined";var c=A.forwardRef(h);D.default=c},ieMj:function(R,D,e){var g=e("OELB"),f=e("7aKB"),A=e("4NgU"),m=e("lE7J"),v=g.round,h=A.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 x=g.round(l+(t+1)*p);x>o[0]&&x<o[1]&&s.push(x),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;R.exports=c},j5sG:function(R,D,e){"use strict";Object.defineProperty(D,"__esModule",{value:!0}),D.createSensor=void 0;var g=f(e("NohK"));function f(m){return m&&m.__esModule?m:{default:m}}var A=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}};D.createSensor=A},jCoz:function(R,D,e){var g=e("bYtY"),f=e("4NgU"),A=e("OELB"),m=e("ieMj"),v=f.prototype,h=m.prototype,c=A.getPrecisionSafe,a=A.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,x=u.getExtent();return g.map(h.getTicks.call(this,s),function(S){var T=A.round(o(this.base,S));return T=S===p[0]&&u.__fixMin?l(T,x[0]):T,T=S===p[1]&&u.__fixMax?l(T,x[1]):T,T},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,x=p.getExtent();return p.__fixMin&&(u[0]=l(u[0],x[0])),p.__fixMax&&(u[1]=l(u[1],x[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 x=A.quantity(p),S=s/p*x;for(S<=.5&&(x*=10);!isNaN(x)&&Math.abs(x)<1&&Math.abs(x)>0;)x*=10;var T=[A.round(r(u[0]/x)*x),A.round(i(u[1]/x)*x)];this._interval=x,this._niceExtent=T},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;R.exports=t},jN4g:function(R,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"},A=f,m=e("6VBw"),v=function(a,i){return g.createElement(m.a,Object.assign({},a,{ref:i,icon:A}))};v.displayName="CloseCircleFilled";var h=D.a=g.forwardRef(v)},jO45:function(R,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"},A=f,m=e("6VBw"),v=function(a,i){return g.createElement(m.a,Object.assign({},a,{ref:i,icon:A}))};v.displayName="CheckCircleFilled";var h=D.a=g.forwardRef(v)},jTL6:function(R,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)}});R.exports=f},je13:function(R,D,e){var g=e("5nXd"),f=e("gRFJ"),A=[e("uQRt")];R.exports=g.createStore(f,A)},jett:function(R,D,e){var g=e("ProS");e("VSLf"),e("oBaM"),e("FGaS");var f=e("mOdp"),A=e("f5Yq"),m=e("hw6D"),v=e("0/Rx"),h=e("eJH7");g.registerVisual(f("radar")),g.registerVisual(A("radar","circle")),g.registerLayout(m),g.registerProcessor(v("radar")),g.registerPreprocessor(h)},jhfD:function(R,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"},A=f,m=e("6VBw"),v=function(a,i){return g.createElement(m.a,Object.assign({},a,{ref:i,icon:A}))};v.displayName="ArrowLeftOutlined";var h=D.a=g.forwardRef(v)},jkPA:function(R,D,e){var g=e("bYtY"),f=g.createHashMap,A=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 A(r)&&r.value!=null?r.value:r+""}var i=v;R.exports=i},jndi:function(R,D,e){var g=e("bYtY"),f=e("Qe9p"),A=e("YXkt"),m=e("OELB"),v=e("IwbS"),h=e("kj2x"),c=e("iPDy"),a=function(t,s,u,p){var x=h.dataTransform(t,p[0]),S=h.dataTransform(t,p[1]),T=g.retrieve,w=x.coord,E=S.coord;w[0]=T(w[0],-Infinity),w[1]=T(w[1],-Infinity),E[0]=T(E[0],Infinity),E[1]=T(E[1],Infinity);var C=g.mergeAll([{},x,S]);return C.coord=[x.coord,S.coord],C.x0=x.x,C.y0=x.y,C.x1=S.x,C.y1=S.y,C};function i(t){return!isNaN(t)&&!isFinite(t)}function r(t,s,u,p){var x=1-t;return i(s[x])&&i(u[x])}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,x){var S=p.coordinateSystem,T=t.getItemModel(s),w,E=m.parsePercent(T.get(u[0]),x.getWidth()),C=m.parsePercent(T.get(u[1]),x.getHeight());if(!isNaN(E)&&!isNaN(C))w=[E,C];else{if(p.getMarkerPosition)w=p.getMarkerPosition(t.getValues(u,s));else{var _=t.get(u[0],s),y=t.get(u[1],s),b=[_,y];S.clampData&&S.clampData(b,b),w=S.dataToPoint(b,!0)}if(S.type==="cartesian2d"){var O=S.getAxis("x"),I=S.getAxis("y"),_=t.get(u[0],s),y=t.get(u[1],s);i(_)?w[0]=O.toGlobalCoord(O.getExtent()[u[0]==="x0"?0:1]):i(y)&&(w[1]=I.toGlobalCoord(I.getExtent()[u[1]==="y0"?0:1]))}isNaN(E)||(w[0]=E),isNaN(C)||(w[1]=C)}return w}var n=[["x0","y0"],["x1","y0"],["x1","y1"],["x0","y1"]];c.extend({type:"markArea",updateTransform:function(t,s,u){s.eachSeries(function(p){var x=p.markAreaModel;if(x){var S=x.getData();S.each(function(T){var w=g.map(n,function(C){return d(S,T,C,p,u)});S.setItemLayout(T,w);var E=S.getItemGraphicEl(T);E.setShape("points",w)})}},this)},renderSeries:function(t,s,u,p){var x=t.coordinateSystem,S=t.id,T=t.getData(),w=this.markerGroupMap,E=w.get(S)||w.set(S,{group:new v.Group});this.group.add(E.group),E.__keep=!0;var C=l(x,t,s);s.setData(C),C.each(function(_){C.setItemLayout(_,g.map(n,function(y){return d(C,_,y,t,p)})),C.setItemVisual(_,{color:T.getVisual("color")})}),C.diff(E.__data).add(function(_){var y=new v.Polygon({shape:{points:C.getItemLayout(_)}});C.setItemGraphicEl(_,y),E.group.add(y)}).update(function(_,y){var b=E.__data.getItemGraphicEl(y);v.updateProps(b,{shape:{points:C.getItemLayout(_)}},s,_),E.group.add(b),C.setItemGraphicEl(_,b)}).remove(function(_){var y=E.__data.getItemGraphicEl(_);E.group.remove(y)}).execute(),C.eachItemGraphicEl(function(_,y){var b=C.getItemModel(y),O=b.getModel("label"),I=b.getModel("emphasis.label"),M=C.getItemVisual(y,"color");_.useStyle(g.defaults(b.getModel("itemStyle").getItemStyle(),{fill:f.modifyAlpha(M,.4),stroke:M})),_.hoverStyle=b.getModel("emphasis.itemStyle").getItemStyle(),v.setLabelStyle(_.style,_.hoverStyle,O,I,{labelFetcher:s,labelDataIndex:y,defaultText:C.getName(y)||"",isRectText:!0,autoColor:M}),v.setHoverStyle(_,{}),_.dataModel=s}),E.__data=C,E.group.silent=s.get("silent")||t.get("silent")}});function l(t,s,u){var p,x,S=["x0","y0","x1","y1"];t?(p=g.map(t&&t.dimensions,function(E){var C=s.getData(),_=C.getDimensionInfo(C.mapDimension(E))||{};return g.defaults({name:E},_)}),x=new A(g.map(S,function(E,C){return{name:E,type:p[C%2].type}}),u)):(p=[{name:"value",type:"float"}],x=new A(p,u));var T=g.map(u.get("data"),g.curry(a,s,t,u));t&&(T=g.filter(T,g.curry(o,t)));var w=t?function(E,C,_,y){return E.coord[Math.floor(y/2)][y%2]}:function(E){return E.value};return x.initData(T,null,w),x.hasItemOption=!0,x}},"jsU+":function(R,D,e){var g=e("ProS"),f=e("bYtY"),A=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=A.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;R.exports=v},jtI2:function(R,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"}});R.exports=f},juDX:function(R,D,e){e("P47w");var g=e("aX58"),f=g.registerPainter,A=e("3CBa");f("svg",A)},"k+1r":function(R,D,e){var g=e("QkVE");function f(A){var m=g(this,A).delete(A);return this.size-=m?1:0,m}R.exports=f},k5C7:function(R,D,e){e("0JAE"),e("g7p0"),e("7mYs")},k9D9:function(R,D){var e="original",g="arrayRows",f="objectRows",A="keyedColumns",m="unknown",v="typedArray",h="column",c="row";D.SOURCE_FORMAT_ORIGINAL=e,D.SOURCE_FORMAT_ARRAY_ROWS=g,D.SOURCE_FORMAT_OBJECT_ROWS=f,D.SOURCE_FORMAT_KEYED_COLUMNS=A,D.SOURCE_FORMAT_UNKNOWN=m,D.SOURCE_FORMAT_TYPED_ARRAY=v,D.SERIES_LAYOUT_BY_COLUMN=h,D.SERIES_LAYOUT_BY_ROW=c},kDyi:function(R,D){function e(g){var f=g.findComponents({mainType:"legend"});f&&f.length&&g.filterSeries(function(A){for(var m=0;m<f.length;m++)if(!f[m].isSelected(A.name))return!1;return!0})}R.exports=e},kGiB:function(R,D,e){"use strict";Object.defineProperty(D,"__esModule",{value:!0}),D.default=void 0;var g=f(e("ABKa"));function f(m){return m&&m.__esModule?m:{default:m}}var A=g;D.default=A,R.exports=A},kMLO:function(R,D,e){var g=e("XxSj"),f=e("Qe9p"),A=e("bYtY"),m=A.isArray,v="itemStyle",h={seriesType:"treemap",reset:function(t,s,u,p){var x=t.getData().tree,S=x.root,T=t.getModel(v);if(S.isRemoved())return;var w=A.map(x.levelModels,function(E){return E?E.get(v):null});c(S,{},w,T,t.getViewRoot().getAncestors(),t)}};function c(t,s,u,p,x,S){var T=t.getModel(),w=t.getLayout();if(!w||w.invisible||!w.isInView)return;var E=t.getModel(v),C=u[t.depth],_=a(E,s,C,p),y=E.get("borderColor"),b=E.get("borderColorSaturation"),O;b!=null&&(O=i(_,t),y=r(b,O)),t.setVisual("borderColor",y);var I=t.viewChildren;if(!I||!I.length)O=i(_,t),t.setVisual("color",O);else{var M=d(t,T,w,E,_,I);A.each(I,function(F,P){if(F.depth>=x.length||F===x[F.depth]){var j=l(T,_,F,P,M,S);c(F,j,u,p,x,S)}})}}function a(t,s,u,p){var x=A.extend({},s);return A.each(["color","colorAlpha","colorSaturation"],function(S){var T=t.get(S,!0);T==null&&u&&(T=u[S]),T==null&&(T=s[S]),T==null&&(T=p.get(S)),T!=null&&(x[S]=T)}),x}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,x,S){if(!S||!S.length)return;var T=n(s,"color")||x.color!=null&&x.color!=="none"&&(n(s,"colorAlpha")||n(s,"colorSaturation"));if(!T)return;var w=s.get("visualMin"),E=s.get("visualMax"),C=u.dataExtent.slice();w!=null&&w<C[0]&&(C[0]=w),E!=null&&E>C[1]&&(C[1]=E);var _=s.get("colorMappingBy"),y={type:T.name,dataExtent:C,visual:T.range};y.type==="color"&&(_==="index"||_==="id")?(y.mappingMethod="category",y.loop=!0):y.mappingMethod="linear";var b=new g(y);return b.__drColorMappingBy=_,b}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,x,S){var T=A.extend({},s);if(x){var w=x.type,E=w==="color"&&x.__drColorMappingBy,C=E==="index"?p:E==="id"?S.mapIdToIndex(u.getId()):u.getValue(t.get("visualDimension"));T[w]=x.mapValueToVisual(C)}return T}R.exports=h},"kVK+":function(R,D){D.read=function(e,g,f,A,m){var v,h,c=m*8-A-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+=A;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,A),v=v-i}return(n?-1:1)*h*Math.pow(2,v-A)},D.write=function(e,g,f,A,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=A?0:v-1,l=A?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(R,D){function e(g,f){return function(A){return g(f(A))}}R.exports=e},kj2x:function(R,D,e){var g=e("bYtY"),f=e("OELB"),A=e("7hqr"),m=A.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,x,S,T,w){var E=[],C=m(p,S),_=C?p.getCalculationInfo("stackResultDimension"):S,y=s(p,_,u),b=p.indicesOfNearest(_,y)[0];E[T]=p.get(x,b),E[w]=p.get(_,b);var O=p.get(S,b),I=f.getPrecision(p.get(S,b));return I=Math.min(I,20),I>=0&&(E[w]=+E[w].toFixed(I)),[E,O]}var i=g.curry,r={min:i(a,"min"),max:i(a,"max"),average:i(a,"average")};function o(u,p){var x=u.getData(),S=u.coordinateSystem;if(p&&!c(p)&&!g.isArray(p.coord)&&S){var T=S.dimensions,w=d(p,x,S,u);if(p=g.clone(p),p.type&&r[p.type]&&w.baseAxis&&w.valueAxis){var E=v(T,w.baseAxis.dim),C=v(T,w.valueAxis.dim),_=r[p.type](x,w.baseDataDim,w.valueDataDim,E,C);p.coord=_[0],p.value=_[1]}else{for(var y=[p.xAxis!=null?p.xAxis:p.radiusAxis,p.yAxis!=null?p.yAxis:p.angleAxis],b=0;b<2;b++)r[y[b]]&&(y[b]=s(x,x.mapDimension(T[b]),y[b]));p.coord=y}}return p}function d(u,p,x,S){var T={};return u.valueIndex!=null||u.valueDim!=null?(T.valueDataDim=u.valueIndex!=null?p.getDimension(u.valueIndex):u.valueDim,T.valueAxis=x.getAxis(n(S,T.valueDataDim)),T.baseAxis=x.getOtherAxis(T.valueAxis),T.baseDataDim=p.mapDimension(T.baseAxis.dim)):(T.baseAxis=S.getBaseAxis(),T.valueAxis=x.getOtherAxis(T.baseAxis),T.baseDataDim=p.mapDimension(T.baseAxis.dim),T.valueDataDim=p.mapDimension(T.valueAxis.dim)),T}function n(u,p){var x=u.getData(),S=x.dimensions;p=x.getDimension(p);for(var T=0;T<S.length;T++){var w=x.getDimensionInfo(S[T]);if(w.name===p)return w.coordDim}}function l(u,p){return u&&u.containData&&p.coord&&!h(p)?u.containData(p.coord):!0}function t(u,p,x,S){return S<2?u.coord&&u.coord[S]:u.value}function s(u,p,x){if(x==="average"){var S=0,T=0;return u.each(p,function(w,E){isNaN(w)||(S+=w,T++)}),S/T}else return x==="median"?u.getMedian(p):u.getDataExtent(p,!0)[x==="max"?1:0]}D.dataTransform=o,D.getAxisInfo=d,D.dataFilter=l,D.dimValueGetter=t,D.numCalculate=s},knOB:function(R,D,e){var g=e("bYtY"),f=e("hM6l");function A(v,h){f.call(this,"radius",v,h),this.type="category"}A.prototype={constructor:A,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(A,f);var m=A;R.exports=m},ko1b:function(R,D,e){var g=e("bYtY"),f=e("T4UG"),A=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(S){return new m(S,this,l)},this),p=A.createTree(t,this,null,x);function x(S){S.wrapMethod("getItemModel",function(T,w){var E=p.getNodeByDataIndex(w),C=u[E.depth];return C&&(T.parentModel=C),T})}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 x=new m(p),S=x.get("color");(x.get("itemStyle.color")||S&&S!=="none")&&(s=!0)}),!s){var u=n[0]||(n[0]={});u.color=t.slice()}return n}R.exports=r},kzFp:function(R,D,e){"use strict";Object.defineProperty(D,"__esModule",{value:!0});var g=D.pick=function(A,m){var v={};return m.forEach(function(h){v[h]=A[h]}),v}},kzvK:function(R,D,e){var g=e("sS/r"),f=g.extend({type:"timeline"});R.exports=f},"l+S1":function(R,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"},A=f,m=e("6VBw"),v=function(a,i){return g.createElement(m.a,Object.assign({},a,{ref:i,icon:A}))};v.displayName="SearchOutlined";var h=D.a=g.forwardRef(v)},lE7J:function(R,D,e){var g=e("OELB"),f=g.round;function A(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])}D.intervalScaleNiceTicks=A,D.getIntervalPrecision=m,D.fixExtent=h},lELe:function(R,D,e){var g=e("bYtY");function f(A){var m=[];g.each(A.series,function(v){v&&v.type==="map"&&(m.push(v),v.map=v.map||v.mapType,g.defaults(v,v.mapLocation))})}R.exports=f},lLGD:function(R,D,e){var g=e("ProS"),f=e("bYtY"),A=e("nVfU"),m=A.layout,v=A.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(R,D,e){"use strict";function g(Te){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?g=function(mt){return typeof mt}:g=function(mt){return mt&&typeof Symbol=="function"&&mt.constructor===Symbol&&mt!==Symbol.prototype?"symbol":typeof mt},g(Te)}Object.defineProperty(D,"__esModule",{value:!0}),D.deflateInit=Ve,D.deflateInit2=at,D.deflateReset=Je,D.deflateResetKeep=Xe,D.deflateSetHeader=et,D.deflate=le,D.deflateEnd=ae,D.deflateSetDictionary=lt,D.deflateInfo=D.Z_DEFLATED=D.Z_UNKNOWN=D.Z_DEFAULT_STRATEGY=D.Z_FIXED=D.Z_RLE=D.Z_HUFFMAN_ONLY=D.Z_FILTERED=D.Z_DEFAULT_COMPRESSION=D.Z_BUF_ERROR=D.Z_DATA_ERROR=D.Z_STREAM_ERROR=D.Z_STREAM_END=D.Z_OK=D.Z_BLOCK=D.Z_FINISH=D.Z_FULL_FLUSH=D.Z_PARTIAL_FLUSH=D.Z_NO_FLUSH=void 0;var f=i(e("6BzB")),A=i(e("c5fP")),m=c(e("xlC8")),v=c(e("QV2g")),h=c(e("xSIq"));function c(Te){return Te&&Te.__esModule?Te:{default:Te}}function a(){if(typeof WeakMap!="function")return null;var Te=new WeakMap;return a=function(){return Te},Te}function i(Te){if(Te&&Te.__esModule)return Te;if(Te===null||g(Te)!=="object"&&typeof Te!="function")return{default:Te};var Jt=a();if(Jt&&Jt.has(Te))return Jt.get(Te);var mt={},ft=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var bt in Te)if(Object.prototype.hasOwnProperty.call(Te,bt)){var It=ft?Object.getOwnPropertyDescriptor(Te,bt):null;It&&(It.get||It.set)?Object.defineProperty(mt,bt,It):mt[bt]=Te[bt]}return mt.default=Te,Jt&&Jt.set(Te,mt),mt}var r=0;D.Z_NO_FLUSH=r;var o=1;D.Z_PARTIAL_FLUSH=o;var d=3;D.Z_FULL_FLUSH=d;var n=4;D.Z_FINISH=n;var l=5;D.Z_BLOCK=l;var t=0;D.Z_OK=t;var s=1;D.Z_STREAM_END=s;var u=-2;D.Z_STREAM_ERROR=u;var p=-3;D.Z_DATA_ERROR=p;var x=-5;D.Z_BUF_ERROR=x;var S=-1;D.Z_DEFAULT_COMPRESSION=S;var T=1;D.Z_FILTERED=T;var w=2;D.Z_HUFFMAN_ONLY=w;var E=3;D.Z_RLE=E;var C=4;D.Z_FIXED=C;var _=0;D.Z_DEFAULT_STRATEGY=_;var y=2;D.Z_UNKNOWN=y;var b=8;D.Z_DEFLATED=b;var O=9,I=15,M=8,F=29,P=256,j=P+1+F,K=30,N=19,B=2*j+1,U=15,H=3,z=258,X=z+H+1,W=32,Y=42,q=69,me=73,G=91,ye=103,Ae=113,ve=666,Ue=1,Me=2,nt=3,ne=4,be=3;function ot(Te,Jt){return Te.msg=h.default[Jt],Jt}function ue(Te){return(Te<<1)-(Te>4?9:0)}function Q(Te){for(var Jt=Te.length;--Jt>=0;)Te[Jt]=0}function V(Te){var Jt=Te.state,mt=Jt.pending;if(mt>Te.avail_out&&(mt=Te.avail_out),mt===0)return;f.arraySet(Te.output,Jt.pending_buf,Jt.pending_out,mt,Te.next_out),Te.next_out+=mt,Jt.pending_out+=mt,Te.total_out+=mt,Te.avail_out-=mt,Jt.pending-=mt,Jt.pending===0&&(Jt.pending_out=0)}function J(Te,Jt){A._tr_flush_block(Te,Te.block_start>=0?Te.block_start:-1,Te.strstart-Te.block_start,Jt),Te.block_start=Te.strstart,V(Te.strm)}function fe(Te,Jt){Te.pending_buf[Te.pending++]=Jt}function oe(Te,Jt){Te.pending_buf[Te.pending++]=Jt>>>8&255,Te.pending_buf[Te.pending++]=Jt&255}function Le(Te,Jt,mt,ft){var bt=Te.avail_in;return bt>ft&&(bt=ft),bt===0?0:(Te.avail_in-=bt,f.arraySet(Jt,Te.input,Te.next_in,bt,mt),Te.state.wrap===1?Te.adler=(0,m.default)(Te.adler,Jt,bt,mt):Te.state.wrap===2&&(Te.adler=(0,v.default)(Te.adler,Jt,bt,mt)),Te.next_in+=bt,Te.total_in+=bt,bt)}function he(Te,Jt){var mt=Te.max_chain_length,ft=Te.strstart,bt,It,or=Te.prev_length,Pt=Te.nice_match,_e=Te.strstart>Te.w_size-X?Te.strstart-(Te.w_size-X):0,Ce=Te.window,Ee=Te.w_mask,we=Te.prev,Fe=Te.strstart+z,Ye=Ce[ft+or-1],Ge=Ce[ft+or];Te.prev_length>=Te.good_match&&(mt>>=2),Pt>Te.lookahead&&(Pt=Te.lookahead);do{if(bt=Jt,Ce[bt+or]!==Ge||Ce[bt+or-1]!==Ye||Ce[bt]!==Ce[ft]||Ce[++bt]!==Ce[ft+1])continue;ft+=2,bt++;do;while(Ce[++ft]===Ce[++bt]&&Ce[++ft]===Ce[++bt]&&Ce[++ft]===Ce[++bt]&&Ce[++ft]===Ce[++bt]&&Ce[++ft]===Ce[++bt]&&Ce[++ft]===Ce[++bt]&&Ce[++ft]===Ce[++bt]&&Ce[++ft]===Ce[++bt]&&ft<Fe);if(It=z-(Fe-ft),ft=Fe-z,It>or){if(Te.match_start=Jt,or=It,It>=Pt)break;Ye=Ce[ft+or-1],Ge=Ce[ft+or]}}while((Jt=we[Jt&Ee])>_e&&--mt!==0);return or<=Te.lookahead?or:Te.lookahead}function te(Te){var Jt=Te.w_size,mt,ft,bt,It,or;do{if(It=Te.window_size-Te.lookahead-Te.strstart,Te.strstart>=Jt+(Jt-X)){f.arraySet(Te.window,Te.window,Jt,Jt,0),Te.match_start-=Jt,Te.strstart-=Jt,Te.block_start-=Jt,ft=Te.hash_size,mt=ft;do bt=Te.head[--mt],Te.head[mt]=bt>=Jt?bt-Jt:0;while(--ft);ft=Jt,mt=ft;do bt=Te.prev[--mt],Te.prev[mt]=bt>=Jt?bt-Jt:0;while(--ft);It+=Jt}if(Te.strm.avail_in===0)break;if(ft=Le(Te.strm,Te.window,Te.strstart+Te.lookahead,It),Te.lookahead+=ft,Te.lookahead+Te.insert>=H)for(or=Te.strstart-Te.insert,Te.ins_h=Te.window[or],Te.ins_h=(Te.ins_h<<Te.hash_shift^Te.window[or+1])&Te.hash_mask;Te.insert&&!(Te.ins_h=(Te.ins_h<<Te.hash_shift^Te.window[or+H-1])&Te.hash_mask,Te.prev[or&Te.w_mask]=Te.head[Te.ins_h],Te.head[Te.ins_h]=or,or++,Te.insert--,Te.lookahead+Te.insert<H););}while(Te.lookahead<X&&Te.strm.avail_in!==0)}function Z(Te,Jt){var mt=65535;for(mt>Te.pending_buf_size-5&&(mt=Te.pending_buf_size-5);;){if(Te.lookahead<=1){if(te(Te),Te.lookahead===0&&Jt===r)return Ue;if(Te.lookahead===0)break}Te.strstart+=Te.lookahead,Te.lookahead=0;var ft=Te.block_start+mt;if((Te.strstart===0||Te.strstart>=ft)&&(Te.lookahead=Te.strstart-ft,Te.strstart=ft,J(Te,!1),Te.strm.avail_out===0))return Ue;if(Te.strstart-Te.block_start>=Te.w_size-X&&(J(Te,!1),Te.strm.avail_out===0))return Ue}return Te.insert=0,Jt===n?(J(Te,!0),Te.strm.avail_out===0?nt:ne):(Te.strstart>Te.block_start&&(J(Te,!1),Te.strm.avail_out===0),Ue)}function ge(Te,Jt){for(var mt,ft;;){if(Te.lookahead<X){if(te(Te),Te.lookahead<X&&Jt===r)return Ue;if(Te.lookahead===0)break}if(mt=0,Te.lookahead>=H&&(Te.ins_h=(Te.ins_h<<Te.hash_shift^Te.window[Te.strstart+H-1])&Te.hash_mask,mt=Te.prev[Te.strstart&Te.w_mask]=Te.head[Te.ins_h],Te.head[Te.ins_h]=Te.strstart),mt!==0&&Te.strstart-mt<=Te.w_size-X&&(Te.match_length=he(Te,mt)),Te.match_length>=H)if(ft=A._tr_tally(Te,Te.strstart-Te.match_start,Te.match_length-H),Te.lookahead-=Te.match_length,Te.match_length<=Te.max_lazy_match&&Te.lookahead>=H){Te.match_length--;do Te.strstart++,Te.ins_h=(Te.ins_h<<Te.hash_shift^Te.window[Te.strstart+H-1])&Te.hash_mask,mt=Te.prev[Te.strstart&Te.w_mask]=Te.head[Te.ins_h],Te.head[Te.ins_h]=Te.strstart;while(--Te.match_length!==0);Te.strstart++}else Te.strstart+=Te.match_length,Te.match_length=0,Te.ins_h=Te.window[Te.strstart],Te.ins_h=(Te.ins_h<<Te.hash_shift^Te.window[Te.strstart+1])&Te.hash_mask;else ft=A._tr_tally(Te,0,Te.window[Te.strstart]),Te.lookahead--,Te.strstart++;if(ft&&(J(Te,!1),Te.strm.avail_out===0))return Ue}return Te.insert=Te.strstart<H-1?Te.strstart:H-1,Jt===n?(J(Te,!0),Te.strm.avail_out===0?nt:ne):Te.last_lit&&(J(Te,!1),Te.strm.avail_out===0)?Ue:Me}function Re(Te,Jt){for(var mt,ft,bt;;){if(Te.lookahead<X){if(te(Te),Te.lookahead<X&&Jt===r)return Ue;if(Te.lookahead===0)break}if(mt=0,Te.lookahead>=H&&(Te.ins_h=(Te.ins_h<<Te.hash_shift^Te.window[Te.strstart+H-1])&Te.hash_mask,mt=Te.prev[Te.strstart&Te.w_mask]=Te.head[Te.ins_h],Te.head[Te.ins_h]=Te.strstart),Te.prev_length=Te.match_length,Te.prev_match=Te.match_start,Te.match_length=H-1,mt!==0&&Te.prev_length<Te.max_lazy_match&&Te.strstart-mt<=Te.w_size-X&&(Te.match_length=he(Te,mt),Te.match_length<=5&&(Te.strategy===T||Te.match_length===H&&Te.strstart-Te.match_start>4096)&&(Te.match_length=H-1)),Te.prev_length>=H&&Te.match_length<=Te.prev_length){bt=Te.strstart+Te.lookahead-H,ft=A._tr_tally(Te,Te.strstart-1-Te.prev_match,Te.prev_length-H),Te.lookahead-=Te.prev_length-1,Te.prev_length-=2;do++Te.strstart<=bt&&(Te.ins_h=(Te.ins_h<<Te.hash_shift^Te.window[Te.strstart+H-1])&Te.hash_mask,mt=Te.prev[Te.strstart&Te.w_mask]=Te.head[Te.ins_h],Te.head[Te.ins_h]=Te.strstart);while(--Te.prev_length!==0);if(Te.match_available=0,Te.match_length=H-1,Te.strstart++,ft&&(J(Te,!1),Te.strm.avail_out===0))return Ue}else if(Te.match_available){if(ft=A._tr_tally(Te,0,Te.window[Te.strstart-1]),ft&&J(Te,!1),Te.strstart++,Te.lookahead--,Te.strm.avail_out===0)return Ue}else Te.match_available=1,Te.strstart++,Te.lookahead--}return Te.match_available&&(ft=A._tr_tally(Te,0,Te.window[Te.strstart-1]),Te.match_available=0),Te.insert=Te.strstart<H-1?Te.strstart:H-1,Jt===n?(J(Te,!0),Te.strm.avail_out===0?nt:ne):Te.last_lit&&(J(Te,!1),Te.strm.avail_out===0)?Ue:Me}function ze(Te,Jt){for(var mt,ft,bt,It,or=Te.window;;){if(Te.lookahead<=z){if(te(Te),Te.lookahead<=z&&Jt===r)return Ue;if(Te.lookahead===0)break}if(Te.match_length=0,Te.lookahead>=H&&Te.strstart>0&&(bt=Te.strstart-1,ft=or[bt],ft===or[++bt]&&ft===or[++bt]&&ft===or[++bt])){It=Te.strstart+z;do;while(ft===or[++bt]&&ft===or[++bt]&&ft===or[++bt]&&ft===or[++bt]&&ft===or[++bt]&&ft===or[++bt]&&ft===or[++bt]&&ft===or[++bt]&&bt<It);Te.match_length=z-(It-bt),Te.match_length>Te.lookahead&&(Te.match_length=Te.lookahead)}if(Te.match_length>=H?(mt=A._tr_tally(Te,1,Te.match_length-H),Te.lookahead-=Te.match_length,Te.strstart+=Te.match_length,Te.match_length=0):(mt=A._tr_tally(Te,0,Te.window[Te.strstart]),Te.lookahead--,Te.strstart++),mt&&(J(Te,!1),Te.strm.avail_out===0))return Ue}return Te.insert=0,Jt===n?(J(Te,!0),Te.strm.avail_out===0?nt:ne):Te.last_lit&&(J(Te,!1),Te.strm.avail_out===0)?Ue:Me}function dt(Te,Jt){for(var mt;;){if(Te.lookahead===0&&(te(Te),Te.lookahead===0)){if(Jt===r)return Ue;break}if(Te.match_length=0,mt=A._tr_tally(Te,0,Te.window[Te.strstart]),Te.lookahead--,Te.strstart++,mt&&(J(Te,!1),Te.strm.avail_out===0))return Ue}return Te.insert=0,Jt===n?(J(Te,!0),Te.strm.avail_out===0?nt:ne):Te.last_lit&&(J(Te,!1),Te.strm.avail_out===0)?Ue:Me}function De(Te,Jt,mt,ft,bt){this.good_length=Te,this.max_lazy=Jt,this.nice_length=mt,this.max_chain=ft,this.func=bt}var Tt;Tt=[new De(0,0,0,0,Z),new De(4,4,8,4,ge),new De(4,5,16,8,ge),new De(4,6,32,32,ge),new De(4,4,16,16,Re),new De(8,16,32,32,Re),new De(8,16,128,128,Re),new De(8,32,128,256,Re),new De(32,128,258,1024,Re),new De(32,258,258,4096,Re)];function je(Te){Te.window_size=2*Te.w_size,Q(Te.head),Te.max_lazy_match=Tt[Te.level].max_lazy,Te.good_match=Tt[Te.level].good_length,Te.nice_match=Tt[Te.level].nice_length,Te.max_chain_length=Tt[Te.level].max_chain,Te.strstart=0,Te.block_start=0,Te.lookahead=0,Te.insert=0,Te.match_length=Te.prev_length=H-1,Te.match_available=0,Te.ins_h=0}function st(){this.strm=null,this.status=0,this.pending_buf=null,this.pending_buf_size=0,this.pending_out=0,this.pending=0,this.wrap=0,this.gzhead=null,this.gzindex=0,this.method=b,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(B*2),this.dyn_dtree=new f.Buf16((2*K+1)*2),this.bl_tree=new f.Buf16((2*N+1)*2),Q(this.dyn_ltree),Q(this.dyn_dtree),Q(this.bl_tree),this.l_desc=null,this.d_desc=null,this.bl_desc=null,this.bl_count=new f.Buf16(U+1),this.heap=new f.Buf16(2*j+1),Q(this.heap),this.heap_len=0,this.heap_max=0,this.depth=new f.Buf16(2*j+1),Q(this.depth),this.l_buf=0,this.lit_bufsize=0,this.last_lit=0,this.d_buf=0,this.opt_len=0,this.static_len=0,this.matches=0,this.insert=0,this.bi_buf=0,this.bi_valid=0}function Xe(Te){var Jt;return!Te||!Te.state?ot(Te,u):(Te.total_in=Te.total_out=0,Te.data_type=y,Jt=Te.state,Jt.pending=0,Jt.pending_out=0,Jt.wrap<0&&(Jt.wrap=-Jt.wrap),Jt.status=Jt.wrap?Y:Ae,Te.adler=Jt.wrap===2?0:1,Jt.last_flush=r,A._tr_init(Jt),t)}function Je(Te){var Jt=Xe(Te);return Jt===t&&je(Te.state),Jt}function et(Te,Jt){return!Te||!Te.state||Te.state.wrap!==2?u:(Te.state.gzhead=Jt,t)}function at(Te,Jt,mt,ft,bt,It){if(!Te)return u;var or=1;if(Jt===S&&(Jt=6),ft<0?(or=0,ft=-ft):ft>15&&(or=2,ft-=16),bt<1||bt>O||mt!==b||ft<8||ft>15||Jt<0||Jt>9||It<0||It>C)return ot(Te,u);ft===8&&(ft=9);var Pt=new st;return Te.state=Pt,Pt.strm=Te,Pt.wrap=or,Pt.gzhead=null,Pt.w_bits=ft,Pt.w_size=1<<Pt.w_bits,Pt.w_mask=Pt.w_size-1,Pt.hash_bits=bt+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<<bt+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=Jt,Pt.strategy=It,Pt.method=mt,Je(Te)}function Ve(Te,Jt){return at(Te,Jt,b,I,M,_)}function le(Te,Jt){var mt,ft,bt,It;if(!Te||!Te.state||Jt>l||Jt<0)return Te?ot(Te,u):u;if(ft=Te.state,!Te.output||!Te.input&&Te.avail_in!==0||ft.status===ve&&Jt!==n)return ot(Te,Te.avail_out===0?x:u);if(ft.strm=Te,mt=ft.last_flush,ft.last_flush=Jt,ft.status===Y)if(ft.wrap===2)Te.adler=0,fe(ft,31),fe(ft,139),fe(ft,8),ft.gzhead?(fe(ft,(ft.gzhead.text?1:0)+(ft.gzhead.hcrc?2:0)+(ft.gzhead.extra?4:0)+(ft.gzhead.name?8:0)+(ft.gzhead.comment?16:0)),fe(ft,ft.gzhead.time&255),fe(ft,ft.gzhead.time>>8&255),fe(ft,ft.gzhead.time>>16&255),fe(ft,ft.gzhead.time>>24&255),fe(ft,ft.level===9?2:ft.strategy>=w||ft.level<2?4:0),fe(ft,ft.gzhead.os&255),ft.gzhead.extra&&ft.gzhead.extra.length&&(fe(ft,ft.gzhead.extra.length&255),fe(ft,ft.gzhead.extra.length>>8&255)),ft.gzhead.hcrc&&(Te.adler=(0,v.default)(Te.adler,ft.pending_buf,ft.pending,0)),ft.gzindex=0,ft.status=q):(fe(ft,0),fe(ft,0),fe(ft,0),fe(ft,0),fe(ft,0),fe(ft,ft.level===9?2:ft.strategy>=w||ft.level<2?4:0),fe(ft,be),ft.status=Ae);else{var or=b+(ft.w_bits-8<<4)<<8,Pt=-1;ft.strategy>=w||ft.level<2?Pt=0:ft.level<6?Pt=1:ft.level===6?Pt=2:Pt=3,or|=Pt<<6,ft.strstart!==0&&(or|=W),or+=31-or%31,ft.status=Ae,oe(ft,or),ft.strstart!==0&&(oe(ft,Te.adler>>>16),oe(ft,Te.adler&65535)),Te.adler=1}if(ft.status===q)if(ft.gzhead.extra){for(bt=ft.pending;ft.gzindex<(ft.gzhead.extra.length&65535)&&!(ft.pending===ft.pending_buf_size&&(ft.gzhead.hcrc&&ft.pending>bt&&(Te.adler=(0,v.default)(Te.adler,ft.pending_buf,ft.pending-bt,bt)),V(Te),bt=ft.pending,ft.pending===ft.pending_buf_size));)fe(ft,ft.gzhead.extra[ft.gzindex]&255),ft.gzindex++;ft.gzhead.hcrc&&ft.pending>bt&&(Te.adler=(0,v.default)(Te.adler,ft.pending_buf,ft.pending-bt,bt)),ft.gzindex===ft.gzhead.extra.length&&(ft.gzindex=0,ft.status=me)}else ft.status=me;if(ft.status===me)if(ft.gzhead.name){bt=ft.pending;do{if(ft.pending===ft.pending_buf_size&&(ft.gzhead.hcrc&&ft.pending>bt&&(Te.adler=(0,v.default)(Te.adler,ft.pending_buf,ft.pending-bt,bt)),V(Te),bt=ft.pending,ft.pending===ft.pending_buf_size)){It=1;break}ft.gzindex<ft.gzhead.name.length?It=ft.gzhead.name.charCodeAt(ft.gzindex++)&255:It=0,fe(ft,It)}while(It!==0);ft.gzhead.hcrc&&ft.pending>bt&&(Te.adler=(0,v.default)(Te.adler,ft.pending_buf,ft.pending-bt,bt)),It===0&&(ft.gzindex=0,ft.status=G)}else ft.status=G;if(ft.status===G)if(ft.gzhead.comment){bt=ft.pending;do{if(ft.pending===ft.pending_buf_size&&(ft.gzhead.hcrc&&ft.pending>bt&&(Te.adler=(0,v.default)(Te.adler,ft.pending_buf,ft.pending-bt,bt)),V(Te),bt=ft.pending,ft.pending===ft.pending_buf_size)){It=1;break}ft.gzindex<ft.gzhead.comment.length?It=ft.gzhead.comment.charCodeAt(ft.gzindex++)&255:It=0,fe(ft,It)}while(It!==0);ft.gzhead.hcrc&&ft.pending>bt&&(Te.adler=(0,v.default)(Te.adler,ft.pending_buf,ft.pending-bt,bt)),It===0&&(ft.status=ye)}else ft.status=ye;if(ft.status===ye&&(ft.gzhead.hcrc?(ft.pending+2>ft.pending_buf_size&&V(Te),ft.pending+2<=ft.pending_buf_size&&(fe(ft,Te.adler&255),fe(ft,Te.adler>>8&255),Te.adler=0,ft.status=Ae)):ft.status=Ae),ft.pending!==0){if(V(Te),Te.avail_out===0)return ft.last_flush=-1,t}else if(Te.avail_in===0&&ue(Jt)<=ue(mt)&&Jt!==n)return ot(Te,x);if(ft.status===ve&&Te.avail_in!==0)return ot(Te,x);if(Te.avail_in!==0||ft.lookahead!==0||Jt!==r&&ft.status!==ve){var _e=ft.strategy===w?dt(ft,Jt):ft.strategy===E?ze(ft,Jt):Tt[ft.level].func(ft,Jt);if((_e===nt||_e===ne)&&(ft.status=ve),_e===Ue||_e===nt)return Te.avail_out===0&&(ft.last_flush=-1),t;if(_e===Me&&(Jt===o?A._tr_align(ft):Jt!==l&&(A._tr_stored_block(ft,0,0,!1),Jt===d&&(Q(ft.head),ft.lookahead===0&&(ft.strstart=0,ft.block_start=0,ft.insert=0))),V(Te),Te.avail_out===0))return ft.last_flush=-1,t}return Jt!==n?t:ft.wrap<=0?s:(ft.wrap===2?(fe(ft,Te.adler&255),fe(ft,Te.adler>>8&255),fe(ft,Te.adler>>16&255),fe(ft,Te.adler>>24&255),fe(ft,Te.total_in&255),fe(ft,Te.total_in>>8&255),fe(ft,Te.total_in>>16&255),fe(ft,Te.total_in>>24&255)):(oe(ft,Te.adler>>>16),oe(ft,Te.adler&65535)),V(Te),ft.wrap>0&&(ft.wrap=-ft.wrap),ft.pending!==0?t:s)}function ae(Te){var Jt;return!Te||!Te.state?u:(Jt=Te.state.status,Jt!==Y&&Jt!==q&&Jt!==me&&Jt!==G&&Jt!==ye&&Jt!==Ae&&Jt!==ve?ot(Te,u):(Te.state=null,Jt===Ae?ot(Te,p):t))}function lt(Te,Jt){var mt=Jt.length,ft,bt,It,or,Pt,_e,Ce,Ee;if(!Te||!Te.state)return u;if(ft=Te.state,or=ft.wrap,or===2||or===1&&ft.status!==Y||ft.lookahead)return u;for(or===1&&(Te.adler=(0,m.default)(Te.adler,Jt,mt,0)),ft.wrap=0,mt>=ft.w_size&&(or===0&&(Q(ft.head),ft.strstart=0,ft.block_start=0,ft.insert=0),Ee=new f.Buf8(ft.w_size),f.arraySet(Ee,Jt,mt-ft.w_size,ft.w_size,0),Jt=Ee,mt=ft.w_size),Pt=Te.avail_in,_e=Te.next_in,Ce=Te.input,Te.avail_in=mt,Te.next_in=0,Te.input=Jt,te(ft);ft.lookahead>=H;){bt=ft.strstart,It=ft.lookahead-(H-1);do ft.ins_h=(ft.ins_h<<ft.hash_shift^ft.window[bt+H-1])&ft.hash_mask,ft.prev[bt&ft.w_mask]=ft.head[ft.ins_h],ft.head[ft.ins_h]=bt,bt++;while(--It);ft.strstart=bt,ft.lookahead=H-1,te(ft)}return ft.strstart+=ft.lookahead,ft.block_start=ft.strstart,ft.insert=ft.lookahead,ft.lookahead=0,ft.match_length=ft.prev_length=H-1,ft.match_available=0,Te.next_in=_e,Te.input=Ce,Te.avail_in=Pt,ft.wrap=or,t}var Ze="pako deflate (from Nodeca project)";D.deflateInfo=Ze},lOQZ:function(R,D,e){var g=e("QBsz"),f=e("U/Mo"),A=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(x){var S=x.getModel().get("lineStyle.curveness")||0,T=g.clone(x.node1.getLayout()),w=g.clone(x.node2.getLayout()),E,C=(T[0]+w[0])/2,_=(T[1]+w[1])/2;+S&&(S*=3,E=[t*S+C*(1-S),s*S+_*(1-S)]),x.setLayout([T,w,E])})}var a={value:function(i,r,o,d,n,l,t,s){var u=0,p=d.getSum("value"),x=Math.PI*2/(p||s);o.eachNode(function(S){var T=S.getValue("value"),w=x*(p?T:1)/2;u+=w,S.setLayout([n*Math.cos(u)+l,n*Math.sin(u)+t]),u+=w})},symbolSize:function(i,r,o,d,n,l,t,s){var u=0;h.length=s;var p=m(i);o.eachNode(function(T){var w=A(T);isNaN(w)&&(w=2),w<0&&(w=0),w*=p;var E=Math.asin(w/2/n);isNaN(E)&&(E=v/2),h[T.dataIndex]=E,u+=E*2});var x=(2*v-u)/s/2,S=0;o.eachNode(function(T){var w=x+h[T.dataIndex];S+=w,T.setLayout([n*Math.cos(S)+l,n*Math.sin(S)+t]),S+=w})}};D.circularLayout=c},lSCD:function(R,D,e){var g=e("NykK"),f=e("GoyQ"),A="[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==A||i==h}R.exports=c},lUTK:function(R,D,e){"use strict";var g=e("cIOH"),f=e.n(g),A=e("x54q"),m=e.n(A),v=e("5Dmo")},lZu9:function(R,D,e){(function(g){g(e("VrN/"),e("1eCo"),e("8EBN"))})(function(g){"use strict";g.defineMode("markdown",function(f,A){var m=g.getMode(f,"text/html"),v=m.name=="null";function h(U){if(g.findModeByName){var H=g.findModeByName(U);H&&(U=H.mime||H.mimes[0])}var z=g.getMode(f,U);return z.name=="null"?null:z}A.highlightFormatting===void 0&&(A.highlightFormatting=!1),A.maxBlockquoteDepth===void 0&&(A.maxBlockquoteDepth=0),A.taskLists===void 0&&(A.taskLists=!1),A.strikethrough===void 0&&(A.strikethrough=!1),A.emoji===void 0&&(A.emoji=!1),A.fencedCodeBlockHighlighting===void 0&&(A.fencedCodeBlockHighlighting=!0),A.fencedCodeBlockDefaultMode===void 0&&(A.fencedCodeBlockDefaultMode="text/plain"),A.xml===void 0&&(A.xml=!0),A.tokenTypeOverrides===void 0&&(A.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)&&A.tokenTypeOverrides[a]&&(c[a]=A.tokenTypeOverrides[a]);var i=/^([*\-_])(?:\s*\1){2,}\s*$/,r=/^(?:[*\-+]|^[0-9]+([.)]))\s+/,o=/^\[(x| )\](?=\s)/i,d=A.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 x(U,H,z){return H.f=H.inline=z,z(U,H)}function S(U,H,z){return H.f=H.block=z,z(U,H)}function T(U){return!U||!/\S/.test(U.string)}function w(U){if(U.linkTitle=!1,U.linkHref=!1,U.linkText=!1,U.em=!1,U.strong=!1,U.strikethrough=!1,U.quote=0,U.indentedCode=!1,U.f==C){var H=v;if(!H){var z=g.innerMode(m,U.htmlState);H=z.mode.name=="xml"&&z.state.tagStart===null&&!z.state.context&&z.state.tokenize.isInText}H&&(U.f=O,U.block=E,U.htmlState=null)}return U.trailingSpace=0,U.trailingSpaceNewLine=!1,U.prevLine=U.thisLine,U.thisLine={stream:null},null}function E(U,H){var z=U.column()===H.indentation,X=T(H.prevLine.stream),W=H.indentedCode,Y=H.prevLine.hr,q=H.list!==!1,me=(H.listStack[H.listStack.length-1]||0)+3;H.indentedCode=!1;var G=H.indentation;if(H.indentationDiff===null&&(H.indentationDiff=H.indentation,q)){for(H.list=null;G<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=G-H.listStack[H.listStack.length-1])}var ye=!X&&!Y&&!H.prevLine.header&&(!q||!W)&&!H.prevLine.fencedCodeEnd,Ae=(H.list===!1||Y||X)&&H.indentation<=me&&U.match(i),ve=null;if(H.indentationDiff>=4&&(W||H.prevLine.fencedCodeEnd||H.prevLine.header||X))return U.skipToEnd(),H.indentedCode=!0,c.code;if(U.eatSpace())return null;if(z&&H.indentation<=me&&(ve=U.match(d))&&ve[1].length<=6)return H.quote=0,H.header=ve[1].length,H.thisLine.header=!0,A.highlightFormatting&&(H.formatting="header"),H.f=H.inline,y(H);if(H.indentation<=me&&U.eat(">"))return H.quote=z?1:H.quote+1,A.highlightFormatting&&(H.formatting="quote"),U.eatSpace(),y(H);if(!Ae&&!H.setext&&z&&H.indentation<=me&&(ve=U.match(r))){var Ue=ve[1]?"ol":"ul";return H.indentation=G+U.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,A.taskLists&&U.match(o,!1)&&(H.taskList=!0),H.f=H.inline,A.highlightFormatting&&(H.formatting=["list","list-"+Ue]),y(H)}else{if(z&&H.indentation<=me&&(ve=U.match(t,!0)))return H.quote=0,H.fencedEndRE=new RegExp(ve[1]+"+ *$"),H.localMode=A.fencedCodeBlockHighlighting&&h(ve[2]||A.fencedCodeBlockDefaultMode),H.localMode&&(H.localState=g.startState(H.localMode)),H.f=H.block=_,A.highlightFormatting&&(H.formatting="code-block"),H.code=-1,y(H);if(H.setext||(!ye||!q)&&!H.quote&&H.list===!1&&!H.code&&!Ae&&!s.test(U.string)&&(ve=U.lookAhead(1))&&(ve=ve.match(n)))return H.setext?(H.header=H.setext,H.setext=0,U.skipToEnd(),A.highlightFormatting&&(H.formatting="header")):(H.header=ve[0].charAt(0)=="="?1:2,H.setext=H.header),H.thisLine.header=!0,H.f=H.inline,y(H);if(Ae)return U.skipToEnd(),H.hr=!0,H.thisLine.hr=!0,c.hr;if(U.peek()==="[")return x(U,H,j)}return x(U,H,H.inline)}function C(U,H){var z=m.token(U,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&&U.current().indexOf(">")>-1)&&(H.f=O,H.block=E,H.htmlState=null)}return z}function _(U,H){var z=H.listStack[H.listStack.length-1]||0,X=H.indentation<z,W=z+3;if(H.fencedEndRE&&H.indentation<=W&&(X||U.match(H.fencedEndRE))){A.highlightFormatting&&(H.formatting="code-block");var Y;return X||(Y=y(H)),H.localMode=H.localState=null,H.block=E,H.f=O,H.fencedEndRE=null,H.code=0,H.thisLine.fencedCodeEnd=!0,X?S(U,H,H.block):Y}else return H.localMode?H.localMode.token(U,H.localState):(U.skipToEnd(),c.code)}function y(U){var H=[];if(U.formatting){H.push(c.formatting),typeof U.formatting=="string"&&(U.formatting=[U.formatting]);for(var z=0;z<U.formatting.length;z++)H.push(c.formatting+"-"+U.formatting[z]),U.formatting[z]==="header"&&H.push(c.formatting+"-"+U.formatting[z]+"-"+U.header),U.formatting[z]==="quote"&&(!A.maxBlockquoteDepth||A.maxBlockquoteDepth>=U.quote?H.push(c.formatting+"-"+U.formatting[z]+"-"+U.quote):H.push("error"))}if(U.taskOpen)return H.push("meta"),H.length?H.join(" "):null;if(U.taskClosed)return H.push("property"),H.length?H.join(" "):null;if(U.linkHref?H.push(c.linkHref,"url"):(U.strong&&H.push(c.strong),U.em&&H.push(c.em),U.strikethrough&&H.push(c.strikethrough),U.emoji&&H.push(c.emoji),U.linkText&&H.push(c.linkText),U.code&&H.push(c.code),U.image&&H.push(c.image),U.imageAltText&&H.push(c.imageAltText,"link"),U.imageMarker&&H.push(c.imageMarker)),U.header&&H.push(c.header,c.header+"-"+U.header),U.quote&&(H.push(c.quote),!A.maxBlockquoteDepth||A.maxBlockquoteDepth>=U.quote?H.push(c.quote+"-"+U.quote):H.push(c.quote+"-"+A.maxBlockquoteDepth)),U.list!==!1){var X=(U.listStack.length-1)%3;X?X===1?H.push(c.list2):H.push(c.list3):H.push(c.list1)}return U.trailingSpaceNewLine?H.push("trailing-space-new-line"):U.trailingSpace&&H.push("trailing-space-"+(U.trailingSpace%2?"a":"b")),H.length?H.join(" "):null}function b(U,H){return U.match(l,!0)?y(H):void 0}function O(U,H){var z=H.text(U,H);if(typeof z!="undefined")return z;if(H.list)return H.list=null,y(H);if(H.taskList){var X=U.match(o,!0)[1]===" ";return X?H.taskOpen=!0:H.taskClosed=!0,A.highlightFormatting&&(H.formatting="task"),H.taskList=!1,y(H)}if(H.taskOpen=!1,H.taskClosed=!1,H.header&&U.match(/^#+$/,!0))return A.highlightFormatting&&(H.formatting="header"),y(H);var W=U.next();if(H.linkTitle){H.linkTitle=!1;var Y=W;W==="("&&(Y=")"),Y=(Y+"").replace(/([.?*+^\[\]\\(){}|-])/g,"\\$1");var q="^\\s*(?:[^"+Y+"\\\\]+|\\\\\\\\|\\\\.)"+Y;if(U.match(new RegExp(q),!0))return c.linkHref}if(W==="`"){var me=H.formatting;A.highlightFormatting&&(H.formatting="code"),U.eatWhile("`");var G=U.current().length;if(H.code==0&&(!H.quote||G==1))return H.code=G,y(H);if(G==H.code){var ye=y(H);return H.code=0,ye}else return H.formatting=me,y(H)}else if(H.code)return y(H);if(W==="\\"&&(U.next(),A.highlightFormatting)){var Ae=y(H),ve=c.formatting+"-escape";return Ae?Ae+" "+ve:ve}if(W==="!"&&U.match(/\[[^\]]*\] ?(?:\(|\[)/,!1))return H.imageMarker=!0,H.image=!0,A.highlightFormatting&&(H.formatting="image"),y(H);if(W==="["&&H.imageMarker&&U.match(/[^\]]*\](\(.*?\)| ?\[.*?\])/,!1))return H.imageMarker=!1,H.imageAltText=!0,A.highlightFormatting&&(H.formatting="image"),y(H);if(W==="]"&&H.imageAltText){A.highlightFormatting&&(H.formatting="image");var Ae=y(H);return H.imageAltText=!1,H.image=!1,H.inline=H.f=M,Ae}if(W==="["&&!H.image)return H.linkText&&U.match(/^.*?\]/)||(H.linkText=!0,A.highlightFormatting&&(H.formatting="link")),y(H);if(W==="]"&&H.linkText){A.highlightFormatting&&(H.formatting="link");var Ae=y(H);return H.linkText=!1,H.inline=H.f=U.match(/\(.*?\)| ?\[.*?\]/,!1)?M:O,Ae}if(W==="<"&&U.match(/^(https?|ftps?):\/\/(?:[^\\>]|\\.)+>/,!1)){H.f=H.inline=I,A.highlightFormatting&&(H.formatting="link");var Ae=y(H);return Ae?Ae+=" ":Ae="",Ae+c.linkInline}if(W==="<"&&U.match(/^[^> \\]+@(?:[^\\>]|\\.)+>/,!1)){H.f=H.inline=I,A.highlightFormatting&&(H.formatting="link");var Ae=y(H);return Ae?Ae+=" ":Ae="",Ae+c.linkEmail}if(A.xml&&W==="<"&&U.match(/^(!--|\?|!\[CDATA\[|[a-z][a-z0-9-]*(?:\s+[a-z_:.\-]+(?:\s*=\s*[^>]+)?)*\s*(?:>|$))/i,!1)){var Ue=U.string.indexOf(">",U.pos);if(Ue!=-1){var Me=U.string.substring(U.start,Ue);/markdown\s*=\s*('|"){0,1}1('|"){0,1}/.test(Me)&&(H.md_inside=!0)}return U.backUp(1),H.htmlState=g.startState(m),S(U,H,C)}if(A.xml&&W==="<"&&U.match(/^\/\w*?>/))return H.md_inside=!1,"tag";if(W==="*"||W==="_"){for(var nt=1,ne=U.pos==1?" ":U.string.charAt(U.pos-2);nt<3&&U.eat(W);)nt++;var be=U.peek()||" ",ot=!/\s/.test(be)&&(!u.test(be)||/\s/.test(ne)||u.test(ne)),ue=!/\s/.test(ne)&&(!u.test(ne)||/\s/.test(be)||u.test(be)),Q=null,V=null;if(nt%2&&(!H.em&&ot&&(W==="*"||!ue||u.test(ne))?Q=!0:H.em==W&&ue&&(W==="*"||!ot||u.test(be))&&(Q=!1)),nt>1&&(!H.strong&&ot&&(W==="*"||!ue||u.test(ne))?V=!0:H.strong==W&&ue&&(W==="*"||!ot||u.test(be))&&(V=!1)),V!=null||Q!=null){A.highlightFormatting&&(H.formatting=Q==null?"strong":V==null?"em":"strong em"),Q===!0&&(H.em=W),V===!0&&(H.strong=W);var ye=y(H);return Q===!1&&(H.em=!1),V===!1&&(H.strong=!1),ye}}else if(W===" "&&(U.eat("*")||U.eat("_"))){if(U.peek()===" ")return y(H);U.backUp(1)}if(A.strikethrough){if(W==="~"&&U.eatWhile(W)){if(H.strikethrough){A.highlightFormatting&&(H.formatting="strikethrough");var ye=y(H);return H.strikethrough=!1,ye}else if(U.match(/^[^\s]/,!1))return H.strikethrough=!0,A.highlightFormatting&&(H.formatting="strikethrough"),y(H)}else if(W===" "&&U.match(/^~~/,!0)){if(U.peek()===" ")return y(H);U.backUp(2)}}if(A.emoji&&W===":"&&U.match(/^(?:[a-z_\d+][a-z_\d+-]*|\-[a-z_\d+][a-z_\d+-]*):/)){H.emoji=!0,A.highlightFormatting&&(H.formatting="emoji");var J=y(H);return H.emoji=!1,J}return W===" "&&(U.match(/^ +$/,!1)?H.trailingSpace++:H.trailingSpace&&(H.trailingSpaceNewLine=!0)),y(H)}function I(U,H){var z=U.next();if(z===">"){H.f=H.inline=O,A.highlightFormatting&&(H.formatting="link");var X=y(H);return X?X+=" ":X="",X+c.linkInline}return U.match(/^[^>]+/,!0),c.linkInline}function M(U,H){if(U.eatSpace())return null;var z=U.next();return z==="("||z==="["?(H.f=H.inline=P(z==="("?")":"]"),A.highlightFormatting&&(H.formatting="link-string"),H.linkHref=!0,y(H)):"error"}var F={")":/^(?:[^\\\(\)]|\\.|\((?:[^\\\(\)]|\\.)*\))*?(?=\))/,"]":/^(?:[^\\\[\]]|\\.|\[(?:[^\\\[\]]|\\.)*\])*?(?=\])/};function P(U){return function(H,z){var X=H.next();if(X===U){z.f=z.inline=O,A.highlightFormatting&&(z.formatting="link-string");var W=y(z);return z.linkHref=!1,W}return H.match(F[U]),z.linkHref=!0,y(z)}}function j(U,H){return U.match(/^([^\]\\]|\\.)*\]:/,!1)?(H.f=K,U.next(),A.highlightFormatting&&(H.formatting="link"),H.linkText=!0,y(H)):x(U,H,O)}function K(U,H){if(U.match(/^\]:/,!0)){H.f=H.inline=N,A.highlightFormatting&&(H.formatting="link");var z=y(H);return H.linkText=!1,z}return U.match(/^([^\]\\]|\\.)+/,!0),c.linkText}function N(U,H){return U.eatSpace()?null:(U.match(/^[^\s]+/,!0),U.peek()===void 0?H.linkTitle=!0:U.match(/^(?:\s+(?:"(?:[^"\\]|\\\\|\\.)+"|'(?:[^'\\]|\\\\|\\.)+'|\((?:[^)\\]|\\\\|\\.)+\)))?/,!0),H.f=H.inline=O,c.linkHref+" url")}var B={startState:function(){return{f:E,prevLine:{stream:null},thisLine:{stream:null},block:E,htmlState:null,indentation:0,inline:O,text:b,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,z){if(z.formatting=!1,H!=z.thisLine.stream){if(z.header=0,z.hr=!1,H.match(/^\s*$/,!0))return w(z),null;if(z.prevLine=z.thisLine,z.thisLine={stream:H},z.taskList=!1,z.trailingSpace=0,z.trailingSpaceNewLine=!1,!z.localState&&(z.f=z.block,z.f!=C)){var X=H.match(/^\s*/,!0)[0].replace(/\t/g,p).length;if(z.indentation=X,z.indentationDiff=null,X>0)return null}}return z.f(H,z)},innerMode:function(H){return H.block==C?{state:H.htmlState,mode:m}:H.localState?{state:H.localState,mode:H.localMode}:{state:H,mode:B}},indent:function(H,z,X){return H.block==C&&m.indent?m.indent(H.htmlState,z,X):H.localState&&H.localMode.indent?H.localMode.indent(H.localState,z,X):g.Pass},blankLine:w,getType:y,blockCommentStart:"<!--",blockCommentEnd:"-->",closeBrackets:"()[]{}''\"\"``",fold:"markdown"};return B},"xml"),g.defineMIME("text/markdown","markdown"),g.defineMIME("text/x-markdown","markdown")})},laiN:function(R,D,e){var g=e("ProS");e("GVMX"),e("MH26"),g.registerPreprocessor(function(f){f.markLine=f.markLine||{}})},ljhN:function(R,D){function e(g,f){return g===f||g!==g&&f!==f}R.exports=e},lnY3:function(R,D,e){},loD1:function(R,D){function e(g,f,A,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>A+a||h<g-a&&h<A-a)return!1;if(g!==A)i=(f-m)/(g-A),r=(g*m-A*f)/(g-A);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}D.containStroke=e},lrIw:function(R,D,e){"use strict";var g=e("pVnL"),f=e.n(g),A=e("cDf5"),m=e.n(A),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 x(w){return w&&w.type&&(w.type.isSelectOption||w.type.isSelectOptGroup)}var S=function(E,C){var _=E.prefixCls,y=E.className,b=E.children,O=E.dataSource,I=Object(i.a)(b),M=c.useRef();c.useImperativeHandle(C,function(){return M.current});var F;if(I.length===1&&Object(s.b)(I[0])&&!x(I[0])){var P=h()(I,1);F=P[0]}var j=function(){return F},K;return I.length&&x(I[0])?K=b:K=O?O.map(function(N){if(Object(s.b)(N))return N;switch(m()(N)){case"string":return c.createElement(u,{key:N,value:N},N);case"object":{var B=N.value;return c.createElement(u,{key:B,value:B},N.text)}default:throw new Error("AutoComplete[dataSource] only supports type `string[] | Object[]`.")}}):[],c.useEffect(function(){Object(t.a)(!("dataSource"in E),"AutoComplete","`dataSource` is deprecated, please use `options` instead."),Object(t.a)(!F||!("size"in E),"AutoComplete","You need to control style self instead of setting `size` when using customize input.")},[]),c.createElement(l.a,null,function(N){var B=N.getPrefixCls,U=B("select",_);return c.createElement(p,f()({ref:M},Object(d.default)(E,["dataSource"]),{prefixCls:U,className:o()(y,"".concat(U,"-auto-complete")),mode:n.a.SECRET_COMBOBOX_MODE_DO_NOT_USE,getInputElement:j}),K)})},T=c.forwardRef(S);T.Option=u,D.a=T},lwQL:function(R,D,e){var g=e("ProS"),f=e("bYtY"),A=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(T,w){var E=T.getVisual("opacity");return E!=null?E:T.getModel().get(w)}function p(T,w,E){var C=T.getGraphicEl(),_=u(T,w);E!=null&&(_==null&&(_=1),_*=E),C.downplay&&C.downplay(),C.traverse(function(y){if(!y.isGroup){var b=y.lineLabelOriginalOpacity;(b==null||E!=null)&&(b=_),y.setStyle("opacity",b)}})}function x(T,w){var E=u(T,w),C=T.getGraphicEl();C.traverse(function(_){!_.isGroup&&_.setStyle("opacity",E)}),C.highlight&&C.highlight()}var S=g.extendChartView({type:"graph",init:function(T,w){var E=new A,C=new m,_=this.group;this._controller=new v(w.getZr()),this._controllerHost={target:_},_.add(E.group),_.add(C.group),this._symbolDraw=E,this._lineDraw=C,this._firstRender=!0},render:function(T,w,E){var C=this,_=T.coordinateSystem;this._model=T;var y=this._symbolDraw,b=this._lineDraw,O=this.group;if(_.type==="view"){var I={position:_.position,scale:_.scale};this._firstRender?O.attr(I):i.updateProps(O,I,T)}r(T.getGraph(),d(T));var M=T.getData();y.updateData(M);var F=T.getEdgeData();b.updateData(F),this._updateNodeAndLinkScale(),this._updateController(T,w,E),clearTimeout(this._layoutTimeout);var P=T.forceLayout,j=T.get("force.layoutAnimation");P&&this._startForceLayoutIteration(P,j),M.eachItemGraphicEl(function(U,H){var z=M.getItemModel(H);U.off("drag").off("dragend");var X=z.get("draggable");X&&U.on("drag",function(){P&&(P.warmUp(),!this._layouting&&this._startForceLayoutIteration(P,j),P.setFixed(H),M.setItemLayout(H,U.position))},this).on("dragend",function(){P&&P.setUnfixed(H)},this),U.setDraggable(X&&P),U[n]&&U.off("mouseover",U[n]),U[l]&&U.off("mouseout",U[l]),z.get("focusNodeAdjacency")&&(U.on("mouseover",U[n]=function(){C._clearTimer(),E.dispatchAction({type:"focusNodeAdjacency",seriesId:T.id,dataIndex:U.dataIndex})}),U.on("mouseout",U[l]=function(){C._dispatchUnfocus(E)}))},this),M.graph.eachEdge(function(U){var H=U.getGraphicEl();H[n]&&H.off("mouseover",H[n]),H[l]&&H.off("mouseout",H[l]),U.getModel().get("focusNodeAdjacency")&&(H.on("mouseover",H[n]=function(){C._clearTimer(),E.dispatchAction({type:"focusNodeAdjacency",seriesId:T.id,edgeDataIndex:U.dataIndex})}),H.on("mouseout",H[l]=function(){C._dispatchUnfocus(E)}))});var K=T.get("layout")==="circular"&&T.get("circular.rotateLabel"),N=M.getLayout("cx"),B=M.getLayout("cy");M.eachItemGraphicEl(function(U,H){var z=M.getItemModel(H),X=z.get("label.rotate")||0,W=U.getSymbolPath();if(K){var Y=M.getItemLayout(H),q=Math.atan2(Y[1]-B,Y[0]-N);q<0&&(q=Math.PI*2+q);var me=Y[0]<N;me&&(q=q-Math.PI);var G=me?"left":"right";i.modifyLabelStyle(W,{textRotation:-q,textPosition:G,textOrigin:"center"},{textPosition:G})}else i.modifyLabelStyle(W,{textRotation:X*=Math.PI/180})}),this._firstRender=!1},dispose:function(){this._controller&&this._controller.dispose(),this._controllerHost={},this._clearTimer()},_dispatchUnfocus:function(T,w){var E=this;this._clearTimer(),this._unfocusDelayTimer=setTimeout(function(){E._unfocusDelayTimer=null,T.dispatchAction({type:"unfocusNodeAdjacency",seriesId:E._model.id})},500)},_clearTimer:function(){this._unfocusDelayTimer&&(clearTimeout(this._unfocusDelayTimer),this._unfocusDelayTimer=null)},focusNodeAdjacency:function(T,w,E,C){var _=T.getData(),y=_.graph,b=C.dataIndex,O=C.edgeDataIndex,I=y.getNodeByIndex(b),M=y.getEdgeByIndex(O);if(!I&&!M)return;y.eachNode(function(F){p(F,t,.1)}),y.eachEdge(function(F){p(F,s,.1)}),I&&(x(I,t),f.each(I.edges,function(F){if(F.dataIndex<0)return;x(F,s),x(F.node1,t),x(F.node2,t)})),M&&(x(M,s),x(M.node1,t),x(M.node2,t))},unfocusNodeAdjacency:function(T,w,E,C){var _=T.getData().graph;_.eachNode(function(y){p(y,t)}),_.eachEdge(function(y){p(y,s)})},_startForceLayoutIteration:function(T,w){var E=this;(function C(){T.step(function(_){E.updateLayout(E._model),(E._layouting=!_)&&(w?E._layoutTimeout=setTimeout(C,16):C())})})()},_updateController:function(T,w,E){var C=this._controller,_=this._controllerHost,y=this.group;if(C.setPointerChecker(function(b,O,I){var M=y.getBoundingRect();return M.applyTransform(y.transform),M.contain(O,I)&&!a(b,E,T)}),T.coordinateSystem.type!=="view"){C.disable();return}C.enable(T.get("roam")),_.zoomLimit=T.get("scaleLimit"),_.zoom=T.coordinateSystem.getZoom(),C.off("pan").off("zoom").on("pan",function(b){h.updateViewOnPan(_,b.dx,b.dy),E.dispatchAction({seriesId:T.id,type:"graphRoam",dx:b.dx,dy:b.dy})}).on("zoom",function(b){h.updateViewOnZoom(_,b.scale,b.originX,b.originY),E.dispatchAction({seriesId:T.id,type:"graphRoam",zoom:b.scale,originX:b.originX,originY:b.originY}),this._updateNodeAndLinkScale(),r(T.getGraph(),d(T)),this._lineDraw.updateLayout()},this)},_updateNodeAndLinkScale:function(){var T=this._model,w=T.getData(),E=d(T),C=[E,E];w.eachItemGraphicEl(function(_,y){_.attr("scale",C)})},updateLayout:function(T){r(T.getGraph(),d(T)),this._symbolDraw.updateLayout(),this._lineDraw.updateLayout()},remove:function(T,w){this._symbolDraw&&this._symbolDraw.remove(),this._lineDraw&&this._lineDraw.remove()}});R.exports=S},m9t5:function(R,D,e){var g=e("KCsZ"),f=g([["fill","color"],["shadowBlur"],["shadowOffsetX"],["shadowOffsetY"],["opacity"],["shadowColor"]]),A={getAreaStyle:function(m,v){return f(this,m,v)}};R.exports=A},mFDi:function(R,D,e){var g=e("QBsz"),f=e("Fofx"),A=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,A(a,a,d),A(i,i,d),A(r,r,d),A(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;R.exports=c},mHUz:function(R,D,e){"use strict";Object.defineProperty(D,"__esModule",{value:!0}),D.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};D.default=g},mLcG:function(R,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)};R.exports=e},"mO/d":function(R,D,e){"use strict";Object.defineProperty(D,"__esModule",{value:!0}),D.default=void 0;var g=f(e("I9Y+"));function f(m){return m&&m.__esModule?m:{default:m}}var A=g;D.default=A,R.exports=A},mOdp:function(R,D,e){var g=e("bYtY"),f=g.createHashMap;function A(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)}})}}}R.exports=A},mTgk:function(R,D,e){"use strict";Object.defineProperty(D,"__esModule",{value:!0}),D.default=void 0;var g=f(e("mHUz"));function f(a){return a&&a.__esModule?a:{default:a}}var A={};function m(a,i){if(i===void 0)throw new Error('Undefined keysym for key "'+a+'"');if(a in A)throw new Error('Duplicate entry for key "'+a+'"');A[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 A)throw new Error('Duplicate entry for key "'+a+'"');A[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 A)throw new Error('Duplicate entry for key "'+a+'"');A[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=A;D.default=c},mYwL:function(R,D,e){var g=e("bYtY"),f=e("IwbS"),A=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=A.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}R.exports=v},mdPL:function(R,D,e){(function(g){var f=e("WFqU"),A=D&&!D.nodeType&&D,m=A&&typeof g=="object"&&g&&!g.nodeType&&g,v=m&&m.exports===A,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")(R))},mdZa:function(R,D,e){"use strict";typeof Object.assign!="function"&&Object.defineProperty(Object,"assign",{value:function(f,A){"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,A){A=A||{bubbles:!1,cancelable:!1,detail:void 0};var m=document.createEvent("CustomEvent");return m.initCustomEvent(f,A.bubbles,A.cancelable,A.detail),m}g.prototype=window.Event.prototype,typeof window.CustomEvent!="function"&&(window.CustomEvent=g)}(),Number.isInteger=Number.isInteger||function(f){return typeof f=="number"&&isFinite(f)&&Math.floor(f)===f}},mr32:function(R,D,e){"use strict";var g=e("lSNA"),f=e.n(g),A=e("pVnL"),m=e.n(A),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(_,y){var b={};for(var O in _)Object.prototype.hasOwnProperty.call(_,O)&&y.indexOf(O)<0&&(b[O]=_[O]);if(_!=null&&typeof Object.getOwnPropertySymbols=="function")for(var I=0,O=Object.getOwnPropertySymbols(_);I<O.length;I++)y.indexOf(O[I])<0&&Object.prototype.propertyIsEnumerable.call(_,O[I])&&(b[O[I]]=_[O[I]]);return b},t=function(y){var b,O=c.useContext(n.b),I=O.getPrefixCls,M=function(H){var z=y.checked,X=y.onChange,W=y.onClick;X&&X(!z),W&&W(H)},F=y.prefixCls,P=y.className,j=y.checked,K=l(y,["prefixCls","className","checked"]),N=I("tag",F),B=i()(N,(b={},f()(b,"".concat(N,"-checkable"),!0),f()(b,"".concat(N,"-checkable-checked"),j),b),P);return delete K.onChange,c.createElement("span",m()({},K,{className:B,onClick:M}))},s=t,u=e("09Wf"),p=e("g0mS"),x=function(_,y){var b={};for(var O in _)Object.prototype.hasOwnProperty.call(_,O)&&y.indexOf(O)<0&&(b[O]=_[O]);if(_!=null&&typeof Object.getOwnPropertySymbols=="function")for(var I=0,O=Object.getOwnPropertySymbols(_);I<O.length;I++)y.indexOf(O[I])<0&&Object.prototype.propertyIsEnumerable.call(_,O[I])&&(b[O[I]]=_[O[I]]);return b},S=new RegExp("^(".concat(u.a.join("|"),")(-inverse)?$")),T=new RegExp("^(".concat(u.b.join("|"),")$")),w=function(y,b){var O,I=y.prefixCls,M=y.className,F=y.style,P=y.children,j=y.icon,K=y.color,N=y.onClose,B=y.closeIcon,U=y.closable,H=U===void 0?!1:U,z=x(y,["prefixCls","className","style","children","icon","color","onClose","closeIcon","closable"]),X=c.useContext(n.b),W=X.getPrefixCls,Y=X.direction,q=c.useState(!0),me=h()(q,2),G=me[0],ye=me[1];c.useEffect(function(){"visible"in z&&ye(z.visible)},[z.visible]);var Ae=function(){return K?S.test(K)||T.test(K):!1},ve=m()({backgroundColor:K&&!Ae()?K:void 0},F),Ue=Ae(),Me=W("tag",I),nt=i()(Me,(O={},f()(O,"".concat(Me,"-").concat(K),Ue),f()(O,"".concat(Me,"-has-color"),K&&!Ue),f()(O,"".concat(Me,"-hidden"),!G),f()(O,"".concat(Me,"-rtl"),Y==="rtl"),O),M),ne=function(oe){if(oe.stopPropagation(),N&&N(oe),oe.defaultPrevented)return;"visible"in z||ye(!1)},be=function(){return H?B?c.createElement("div",{className:"".concat(Me,"-close-icon"),onClick:ne},B):c.createElement(d.a,{className:"".concat(Me,"-close-icon"),onClick:ne}):null},ot="onClick"in z||P&&P.type==="a",ue=Object(r.default)(z,["visible"]),Q=j||null,V=Q?c.createElement(c.Fragment,null,Q,c.createElement("span",null,P)):P,J=c.createElement("span",m()({},ue,{ref:b,className:nt,style:ve}),V,be());return ot?c.createElement(p.a,null,J):J},E=c.forwardRef(w);E.displayName="Tag",E.CheckableTag=s;var C=D.a=E},mxV5:function(module,exports,__webpack_require__){(function(global){var require,require;(function(R){if(!0)module.exports=R();else var D})(function(){var define,module,exports;return function(){function R(D,e,g){function f(v,h){if(!e[v]){if(!D[v]){var c=typeof require=="function"&&require;if(!h&&c)return require(v,!0);if(A)return A(v,!0);var a=new Error("Cannot find module '"+v+"'");throw a.code="MODULE_NOT_FOUND",a}var i=e[v]={exports:{}};D[v][0].call(i.exports,function(r){var o=D[v][1][r];return f(o||r)},i,i.exports,R,D,e,g)}return e[v].exports}for(var A=typeof require=="function"&&require,m=0;m<g.length;m++)f(g[m]);return f}return R}()({1:[function(R,D,e){"use strict";var g=R("./browser/client");g.Buffer=R("buffer").Buffer,g.urllib=R("../shims/xhr"),g.version=R("./browser/version").version,D.exports=g},{"../shims/xhr":291,"./browser/client":2,"./browser/version":5,buffer:73}],2:[function(R,D,e){(function(g,f){"use strict";var A=R("babel-runtime/core-js/promise"),m=i(A),v=R("babel-runtime/regenerator"),h=i(v),c=R("babel-runtime/core-js/object/assign"),a=i(c);function i(j){return j&&j.__esModule?j:{default:j}}var r=R("debug")("ali-oss"),o=R("copy-to"),d=R("xml2js"),n=R("agentkeepalive"),l=R("merge-descriptors"),t=R("url"),s=R("is-type-of"),u=R("platform"),p=R("utility"),x=R("urllib"),S=R("./version"),T=R("bowser"),w=R("../common/signUtils"),E=R("../common/utils/isIP"),C=E.isIP,_=R("../common/client/initOptions"),y=R("../common/utils/createRequest"),b=y.createRequest,O=new n;function I(){var j=u.name,K=u.version;j&&j.toLowerCase&&j.toLowerCase()==="ie"&&K.split(".")[0]<10&&console.warn("ali-oss does not support the current browser")}function M(){return location&&location.protocol==="https:"}function F(j,K){if(I(),!(this instanceof F))return new F(j,K);j&&j.inited?this.options=j:this.options=F.initOptions(j),this.options.cancelFlag=!1,this.options.urllib?this.urllib=this.options.urllib:(this.urllib=x,this.agent=this.options.agent||O),this.ctx=K,this.userAgent=this._getUserAgent(),this.options.amendTimeSkewed=0}D.exports=F,F.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 N=(0,a.default)({secure:M(),useFetch:!1},K);return _(N)};var P=F.prototype;P.debug=r,l(P,R("./object")),l(P,R("../common/bucket/getBucketWebsite")),l(P,R("../common/bucket/putBucketWebsite")),l(P,R("../common/bucket/deleteBucketWebsite")),l(P,R("../common/bucket/getBucketLifecycle")),l(P,R("../common/bucket/putBucketLifecycle")),l(P,R("../common/bucket/deleteBucketLifecycle")),l(P,R("../common/bucket/putBucketVersioning")),l(P,R("../common/bucket/getBucketVersioning")),l(P,R("./managed-upload")),l(P,R("../common/multipart")),l(P,R("../common/parallel")),P.signature=function(K){return this.debug("authorization stringToSign: %s",K,"info"),w.computeSignature(this.options.accessKeySecret,K)},P.authorization=function(K,N,B,U){var H=w.buildCanonicalString(K.toUpperCase(),N,{headers:U,parameters:B});return w.authorization(this.options.accessKeyId,this.options.accessKeySecret,H)},P.request=function(K){var N,B,U,H,z,X;return h.default.async(function(Y){for(;;)switch(Y.prev=Y.next){case 0:return N=b.call(this,K),this.options.useFetch||(N.params.mode="disable-fetch"),B=void 0,U=void 0,H=!!K.stream,Y.prev=5,Y.next=8,h.default.awrap(this.urllib.request(N.url,N.params));case 8:B=Y.sent,this.debug("response %s %s, got %s, headers: %j",K.method,N.url,B.status,B.headers,"info"),Y.next=15;break;case 12:Y.prev=12,Y.t0=Y.catch(5),U=Y.t0;case 15:if(z=void 0,!(B&&K.successStatuses&&K.successStatuses.indexOf(B.status)===-1)){Y.next=28;break}return Y.next=19,h.default.awrap(this.requestError(B));case 19:if(z=Y.sent,!(z.code==="RequestTimeTooSkewed"&&!H)){Y.next=25;break}return this.options.amendTimeSkewed=+new Date(z.serverTime)-new Date,Y.next=24,h.default.awrap(this.request(K));case 24:return Y.abrupt("return",Y.sent);case 25:z.params=K,Y.next=32;break;case 28:if(!U){Y.next=32;break}return Y.next=31,h.default.awrap(this.requestError(U));case 31:z=Y.sent;case 32:if(!z){Y.next=34;break}throw z;case 34:if(!K.xmlResponse){Y.next=39;break}return Y.next=37,h.default.awrap(this.parseXML(B.data));case 37:X=Y.sent,B.data=X;case 39:return Y.abrupt("return",B);case 40:case"end":return Y.stop()}},null,this,[[5,12]])},P._getResource=function(K){var N="/";return K.bucket&&(N+=K.bucket+"/"),K.object&&(N+=K.object),N},P._isIP=C,P._escape=function(K){return p.encodeURIComponent(K).replace(/%2F/g,"/")},P._getReqUrl=function(K){var N={};o(this.options.endpoint).to(N);var B=this._isIP(N.hostname),U=this.options.cname;K.bucket&&!U&&!B&&(N.host=K.bucket+"."+N.host);var H="/";K.bucket&&B&&(H+=K.bucket+"/"),K.object&&(H+=this._escape(K.object).replace(/\+/g,"%2B")),N.pathname=H;var z={};if(K.query&&l(z,K.query),K.subres){var X={};s.string(K.subres)?X[K.subres]="":s.array(K.subres)?K.subres.forEach(function(W){X[W]=""}):X=K.subres,l(z,X)}return N.query=z,t.format(N)},P._getUserAgent=function(){var K=f&&f.browser?"js":"nodejs",N="aliyun-sdk-"+K+"/"+S.version,B=u.description;return!B&&f&&(B="Node.js "+f.version.slice(1)+" on "+f.platform+" "+f.arch),this._checkUserAgent(N+" "+B)},P._checkUserAgent=function(K){var N=K.replace(/\u03b1/,"alpha").replace(/\u03b2/,"beta");return N},P.checkBrowserAndVersion=function(K,N){return T.name===K&&T.version.split(".")[0]===N},P.parseXML=function(K){return new m.default(function(N,B){g.isBuffer(K)&&(K=K.toString()),d.parseString(K,{explicitRoot:!1,explicitArray:!1},function(U,H){U?B(U):N(H)})})},P.requestError=function(K){var N,B,U,H;return h.default.async(function(X){for(;;)switch(X.prev=X.next){case 0:if(N=null,!(!K.data||!K.data.length)){X.next=5;break}K.status===-1||K.status===-2?(N=new Error(K.message),N.name=K.name,N.status=K.status,N.code=K.name):(K.status===404?(N=new Error("Object not exists"),N.name="NoSuchKeyError",N.status=404,N.code="NoSuchKey"):K.status===412?(N=new Error("Pre condition failed"),N.name="PreconditionFailedError",N.status=412,N.code="PreconditionFailed"):(N=new Error("Unknow error, status: "+K.status),N.name="UnknowError",N.status=K.status),N.requestId=K.headers["x-oss-request-id"],N.host=""),X.next=33;break;case 5:return B=String(K.data),this.debug("request response error data: %s",B,"error"),U=void 0,X.prev=8,X.next=11,h.default.awrap(this.parseXML(B));case 11:if(X.t0=X.sent,X.t0){X.next=14;break}X.t0={};case 14:U=X.t0,X.next=24;break;case 17:return X.prev=17,X.t1=X.catch(8),this.debug(B,"error"),X.t1.message+=`
|
|
|
raw xml: `+B,X.t1.status=K.status,X.t1.requestId=K.headers["x-oss-request-id"],X.abrupt("return",X.t1);case 24:H=U.Message||"unknow request error, status: "+K.status,U.Condition&&(H+=" (condition: "+U.Condition+")"),N=new Error(H),N.name=U.Code?U.Code+"Error":"UnknowError",N.status=K.status,N.code=U.Code,N.requestId=U.RequestId,N.hostId=U.HostId,N.serverTime=U.ServerTime;case 33:return this.debug("generate error %j",N,"error"),X.abrupt("return",N);case 35:case"end":return X.stop()}},null,this,[[8,17]])}}).call(this,{isBuffer:R("../../node_modules/is-buffer/index.js")},R("_process"))},{"../../node_modules/is-buffer/index.js":197,"../common/bucket/deleteBucketLifecycle":6,"../common/bucket/deleteBucketWebsite":7,"../common/bucket/getBucketLifecycle":8,"../common/bucket/getBucketVersioning":9,"../common/bucket/getBucketWebsite":10,"../common/bucket/putBucketLifecycle":11,"../common/bucket/putBucketVersioning":12,"../common/bucket/putBucketWebsite":13,"../common/client/initOptions":15,"../common/multipart":18,"../common/parallel":33,"../common/signUtils":34,"../common/utils/createRequest":38,"../common/utils/isIP":45,"./managed-upload":3,"./object":4,"./version":5,_process:208,agentkeepalive:48,"babel-runtime/core-js/object/assign":54,"babel-runtime/core-js/promise":61,"babel-runtime/regenerator":68,bowser:70,"copy-to":76,debug:288,"is-type-of":289,"merge-descriptors":200,platform:206,url:238,urllib:291,utility:290,xml2js:249}],3:[function(R,D,e){(function(g){"use strict";var f=R("babel-runtime/core-js/array/from"),A=a(f),m=R("babel-runtime/core-js/promise"),v=a(m),h=R("babel-runtime/regenerator"),c=a(h);function a(w){return w&&w.__esModule?w:{default:w}}var i=R("is-type-of"),r=R("util"),o=R("path"),d=R("mime"),n=R("copy-to"),l=R("../common/utils/isBlob"),t=l.isBlob,s=R("../common/utils/isFile"),u=s.isFile,p=e;p.multipartUpload=function(E,C,_){var y,b,O,I,M,F,P,j,K;return c.default.async(function(B){for(;;)switch(B.prev=B.next){case 0:if(this.resetCancelFlag(),_=_||{},!(_.checkpoint&&_.checkpoint.uploadId)){B.next=6;break}return B.next=5,c.default.awrap(this._resumeMultipart(_.checkpoint,_));case 5:return B.abrupt("return",B.sent);case 6:return y=100*1024,_.mime||(u(C)?_.mime=d.getType(o.extname(C.name)):t(C)?_.mime=C.type:_.mime=d.getType(o.extname(C))),_.headers=_.headers||{},this._convertMetaToHeaders(_.meta,_.headers),B.next=12,c.default.awrap(this._getFileSize(C));case 12:if(b=B.sent,!(b<y)){B.next=25;break}return O=this._createStream(C,0,b),_.contentLength=b,B.next=18,c.default.awrap(this.putStream(E,O,_));case 18:if(I=B.sent,!(_&&_.progress)){B.next=22;break}return B.next=22,c.default.awrap(_.progress(1));case 22:return M={res:I.res,bucket:this.options.bucket,name:E,etag:I.res.headers.etag},(_.headers&&_.headers["x-oss-callback"]||_.callback)&&(M.data=I.data),B.abrupt("return",M);case 25:if(!(_.partSize&&!(parseInt(_.partSize,10)===_.partSize))){B.next=27;break}throw new Error("partSize must be int number");case 27:if(!(_.partSize&&_.partSize<y)){B.next=29;break}throw new Error("partSize must not be smaller than "+y);case 29:return B.next=31,c.default.awrap(this.initMultipartUpload(E,_));case 31:if(F=B.sent,P=F.uploadId,j=this._getPartSize(b,_.partSize),K={file:C,name:E,fileSize:b,partSize:j,uploadId:P,doneParts:[]},!(_&&_.progress)){B.next=38;break}return B.next=38,c.default.awrap(_.progress(0,K,F.res));case 38:return B.next=40,c.default.awrap(this._resumeMultipart(K,_));case 40:return B.abrupt("return",B.sent);case 41:case"end":return B.stop()}},null,this)},p._resumeMultipart=function(E,C){var _,y,b,O,I,M,F,P,j,K,N,B,U,H,z,X,W,Y;return c.default.async(function(me){for(;;)switch(me.prev=me.next){case 0:if(_=this,!this.isCancel()){me.next=3;break}throw this._makeCancelEvent();case 3:return y=E.file,b=E.fileSize,O=E.partSize,I=E.uploadId,M=E.doneParts,F=E.name,P=[],M.length>0&&n(M).to(P),j=this._divideParts(b,O),K=j.length,N=!1,B=function(ye,Ae){var ve=this;return new v.default(function(Me,nt){var ne,be,ot,ue;return c.default.async(function(V){for(;;)switch(V.prev=V.next){case 0:if(V.prev=0,ye.isCancel()){V.next=18;break}return ne=j[Ae-1],be={stream:ye._createStream(y,ne.start,ne.end),size:ne.end-ne.start},V.next=6,c.default.awrap(ye._uploadPart(F,I,Ae,be));case 6:if(ot=V.sent,!(!ye.isCancel()&&!N)){V.next=15;break}if(E.doneParts.push({number:Ae,etag:ot.res.headers.etag}),!C.progress){V.next=12;break}return V.next=12,c.default.awrap(C.progress(M.length/K,E,ot.res));case 12:Me({number:Ae,etag:ot.res.headers.etag}),V.next=16;break;case 15:Me();case 16:V.next=19;break;case 18:Me();case 19:V.next=30;break;case 21:V.prev=21,V.t0=V.catch(0),ue=new Error,ue.name=V.t0.name,ue.message=V.t0.message,ue.stack=V.t0.stack,ue.partNum=Ae,n(V.t0).to(ue),nt(ue);case 30:case"end":return V.stop()}},null,ve,[[0,21]])})},U=(0,A.default)(new Array(K),function(G,ye){return ye+1}),H=P.map(function(G){return G.number}),z=U.filter(function(G){return H.indexOf(G)<0}),X=5,W=C.parallel||X,me.next=17,c.default.awrap(this._parallel(z,W,function(G){return new v.default(function(ye,Ae){B(_,G).then(function(ve){ve&&P.push(ve),ye()}).catch(function(ve){Ae(ve)})})}));case 17:if(Y=me.sent,N=!0,!this.isCancel()){me.next=22;break}throw B=null,this._makeCancelEvent();case 22:if(!(Y&&Y.length>0)){me.next=25;break}throw Y[0].message="Failed to upload some parts with error: "+Y[0].toString()+" part_num: "+Y[0].partNum,Y[0];case 25:return me.next=27,c.default.awrap(this.completeMultipartUpload(F,I,P,C));case 27:return me.abrupt("return",me.sent);case 28:case"end":return me.stop()}},null,this)},p._getFileSize=function(E){return c.default.async(function(_){for(;;)switch(_.prev=_.next){case 0:if(!i.buffer(E)){_.next=4;break}return _.abrupt("return",E.length);case 4:if(!(t(E)||u(E))){_.next=6;break}return _.abrupt("return",E.size);case 6:throw new Error("_getFileSize requires Buffer/File/Blob.");case 7:case"end":return _.stop()}},null,this)};var x=R("stream"),S=x.Readable;function T(w,E){if(!(this instanceof T))return new T(w,E);S.call(this,E),this.file=w,this.reader=new FileReader,this.start=0,this.finish=!1,this.fileBuffer=null}r.inherits(T,S),T.prototype.readFileAndPush=function(E){if(this.fileBuffer)for(var C=!0;C&&this.fileBuffer&&this.start<this.fileBuffer.length;){var _=this.start,y=_+E;y=y>this.fileBuffer.length?this.fileBuffer.length:y,this.start=y,C=this.push(this.fileBuffer.slice(_,y))}},T.prototype._read=function(E){if(this.file&&this.start>=this.file.size||this.fileBuffer&&this.start>=this.fileBuffer.length||this.finish||this.start===0&&!this.file){this.finish||(this.fileBuffer=null,this.finish=!0),this.push(null);return}var C=16*1024;E=E||C;var _=this;this.reader.onload=function(b){_.fileBuffer=g.from(new Uint8Array(b.target.result)),_.file=null,_.readFileAndPush(E)},this.start===0?this.reader.readAsArrayBuffer(this.file):this.readFileAndPush(E)},p._createStream=function(E,C,_){if(t(E)||u(E))return new T(E.slice(C,_));throw new Error("_createStream requires File/Blob.")},p._getPartSize=function(E,C){var _=10*1e3,y=1024*1024;return C?Math.max(Math.ceil(E/_),C):y},p._divideParts=function(E,C){for(var _=Math.ceil(E/C),y=[],b=0;b<_;b++){var O=C*b,I=Math.min(O+C,E);y.push({start:O,end:I})}return y}}).call(this,R("buffer").Buffer)},{"../common/utils/isBlob":43,"../common/utils/isFile":44,"babel-runtime/core-js/array/from":52,"babel-runtime/core-js/promise":61,"babel-runtime/regenerator":68,buffer:73,"copy-to":76,"is-type-of":289,mime:202,path:205,stream:230,util:243}],4:[function(R,D,e){"use strict";var g=R("babel-runtime/core-js/promise"),f=i(g),A=R("babel-runtime/core-js/object/keys"),m=i(A),v=R("babel-runtime/core-js/object/assign"),h=i(v),c=R("babel-runtime/regenerator"),a=i(c);function i(_){return _&&_.__esModule?_:{default:_}}var r=R("utility"),o=R("fs"),d=R("is-type-of"),n=R("url"),l=R("copy-to"),t=R("path"),s=R("mime"),u=R("../common/callback"),p=R("../common/signUtils"),x=R("merge-descriptors"),S=R("../common/utils/isBlob"),T=S.isBlob,w=R("../common/utils/isFile"),E=w.isFile,C=e;C.append=function(y,b,O){var I;return a.default.async(function(F){for(;;)switch(F.prev=F.next){case 0:return O=O||{},O.position===void 0&&(O.position="0"),O.subres={append:"",position:O.position},O.method="POST",F.next=6,a.default.awrap(this.put(y,b,O));case 6:return I=F.sent,I.nextAppendPosition=I.res.headers["x-oss-next-append-position"],F.abrupt("return",I);case 9:case"end":return F.stop()}},null,this)},C.put=function(y,b,O){var I,M,F,P,j,K,N;return a.default.async(function(U){for(;;)switch(U.prev=U.next){case 0:if(I=void 0,O=O||{},y=this._objectName(y),!d.buffer(b)){U.next=7;break}I=b,U.next=33;break;case 7:if(!(T(b)||E(b))){U.next=32;break}return O.mime||(E(b)?O.mime=s.getType(t.extname(b.name)):O.mime=b.type),M=this._createStream(b,0,b.size),U.next=12,a.default.awrap(this._getFileSize(b));case 12:return O.contentLength=U.sent,U.prev=13,U.next=16,a.default.awrap(this.putStream(y,M,O));case 16:return F=U.sent,U.abrupt("return",F);case 20:if(U.prev=20,U.t0=U.catch(13),!(U.t0.code==="RequestTimeTooSkewed")){U.next=29;break}return this.options.amendTimeSkewed=+new Date(U.t0.serverTime)-new Date,U.next=26,a.default.awrap(this.put(y,b,O));case 26:return U.abrupt("return",U.sent);case 29:throw U.t0;case 30:U.next=33;break;case 32:throw new TypeError("Must provide Buffer/Blob/File for put.");case 33:return O.headers=O.headers||{},this._convertMetaToHeaders(O.meta,O.headers),P=O.method||"PUT",j=this._objectRequestParams(P,y,O),u.encodeCallback(j,O),j.mime=O.mime,j.content=I,j.successStatuses=[200],U.next=43,a.default.awrap(this.request(j));case 43:return K=U.sent,N={name:y,url:this._objectUrl(y),res:K.res},j.headers&&j.headers["x-oss-callback"]&&(N.data=JSON.parse(K.data.toString())),U.abrupt("return",N);case 47:case"end":return U.stop()}},null,this,[[13,20]])},C.putStream=function(y,b,O){var I,M,F,P;return a.default.async(function(K){for(;;)switch(K.prev=K.next){case 0:return O=O||{},O.headers=O.headers||{},y=this._objectName(y),O.contentLength?O.headers["Content-Length"]=O.contentLength:O.headers["Transfer-Encoding"]="chunked",this._convertMetaToHeaders(O.meta,O.headers),I=O.method||"PUT",M=this._objectRequestParams(I,y,O),u.encodeCallback(M,O),M.mime=O.mime,M.stream=b,M.successStatuses=[200],K.next=13,a.default.awrap(this.request(M));case 13:return F=K.sent,P={name:y,url:this._objectUrl(y),res:F.res},M.headers&&M.headers["x-oss-callback"]&&(P.data=JSON.parse(F.data.toString())),K.abrupt("return",P);case 17:case"end":return K.stop()}},null,this)},x(C,R("../common/object/copyObject")),x(C,R("../common/object/getObjectTagging")),x(C,R("../common/object/putObjectTagging")),x(C,R("../common/object/deleteObjectTagging")),x(C,R("../common/image")),x(C,R("../common/object/getBucketVersions")),x(C,R("../common/object/getACL")),x(C,R("../common/object/putACL")),x(C,R("../common/object/head")),x(C,R("../common/object/delete")),x(C,R("../common/object/get")),x(C,R("../common/object/putSymlink")),x(C,R("../common/object/getSymlink")),x(C,R("../common/object/deleteMulti")),x(C,R("../common/object/getObjectMeta")),C.putMeta=function(y,b,O){var I;return a.default.async(function(F){for(;;)switch(F.prev=F.next){case 0:return F.next=2,a.default.awrap(this.copy(y,y,{meta:b||{},timeout:O&&O.timeout,ctx:O&&O.ctx}));case 2:return I=F.sent,F.abrupt("return",I);case 4:case"end":return F.stop()}},null,this)},C.list=function(y,b){var O,I,M,F,P;return a.default.async(function(K){for(;;)switch(K.prev=K.next){case 0:return O=this._objectRequestParams("GET","",b),O.query=y,O.xmlResponse=!0,O.successStatuses=[200],K.next=6,a.default.awrap(this.request(O));case 6:return I=K.sent,M=I.data.Contents,F=this,M&&(Array.isArray(M)||(M=[M]),M=M.map(function(N){return{name:N.Key,url:F._objectUrl(N.Key),lastModified:N.LastModified,etag:N.ETag,type:N.Type,size:Number(N.Size),storageClass:N.StorageClass,owner:{id:N.Owner.ID,displayName:N.Owner.DisplayName}}})),P=I.data.CommonPrefixes||null,P&&(Array.isArray(P)||(P=[P]),P=P.map(function(N){return N.Prefix})),K.abrupt("return",{res:I.res,objects:M,prefixes:P,nextMarker:I.data.NextMarker||null,isTruncated:I.data.IsTruncated==="true"});case 13:case"end":return K.stop()}},null,this)},C.restore=function(y,b){var O,I;return a.default.async(function(F){for(;;)switch(F.prev=F.next){case 0:return b=b||{},b.subres=(0,h.default)({restore:""},b.subres),b.versionId&&(b.subres.versionId=b.versionId),O=this._objectRequestParams("POST",y,b),O.successStatuses=[202],F.next=7,a.default.awrap(this.request(O));case 7:return I=F.sent,F.abrupt("return",{res:I.res});case 9:case"end":return F.stop()}},null,this)},C.signatureUrl=function(y,b){b=b||{},y=this._objectName(y),b.method=b.method||"GET";var O=r.timestamp()+(b.expires||1800),I={bucket:this.options.bucket,object:y},M=this._getResource(I);this.options.stsToken&&(b["security-token"]=this.options.stsToken);var F=p._signatureForURL(this.options.accessKeySecret,b,M,O),P=n.parse(this._getReqUrl(I));return P.query={OSSAccessKeyId:this.options.accessKeyId,Expires:O,Signature:F.Signature},l(F.subResource).to(P.query),P.format()},C.getObjectUrl=function(y,b){return b?b[b.length-1]!=="/"&&(b+="/"):b=this.options.endpoint.format(),b+this._escape(this._objectName(y))},C._objectUrl=function(y){return this._getReqUrl({bucket:this.options.bucket,object:y})},C.generateObjectUrl=function(_,y){if(y)y[y.length-1]!=="/"&&(y+="/");else{y=this.options.endpoint.format();var b=n.parse(y),O=this.options.bucket;b.hostname=O+"."+b.hostname,b.host=O+"."+b.host,y=b.format()}return y+this._escape(this._objectName(_))},C._objectRequestParams=function(y,b,O){if(!this.options.bucket)throw new Error("Please create a bucket first");O=O||{},b=this._objectName(b);var I={object:b,bucket:this.options.bucket,method:y,subres:O&&O.subres,timeout:O&&O.timeout,ctx:O&&O.ctx};return O.headers&&(I.headers={},l(O.headers).to(I.headers)),I},C._objectName=function(y){return y.replace(/^\/+/,"")},C._convertMetaToHeaders=function(y,b){if(!y)return;(0,m.default)(y).forEach(function(O){b["x-oss-meta-"+O]=y[O]})},C._deleteFileSafe=function(y){var b=this;return new f.default(function(O){o.exists(y,function(I){I?o.unlink(y,function(M){M&&b.debug("unlink %j error: %s",y,M,"error"),O()}):O()})})}},{"../common/callback":14,"../common/image":16,"../common/object/copyObject":19,"../common/object/delete":20,"../common/object/deleteMulti":21,"../common/object/deleteObjectTagging":22,"../common/object/get":23,"../common/object/getACL":24,"../common/object/getBucketVersions":25,"../common/object/getObjectMeta":26,"../common/object/getObjectTagging":27,"../common/object/getSymlink":28,"../common/object/head":29,"../common/object/putACL":30,"../common/object/putObjectTagging":31,"../common/object/putSymlink":32,"../common/signUtils":34,"../common/utils/isBlob":43,"../common/utils/isFile":44,"babel-runtime/core-js/object/assign":54,"babel-runtime/core-js/object/keys":60,"babel-runtime/core-js/promise":61,"babel-runtime/regenerator":68,"copy-to":76,fs:71,"is-type-of":289,"merge-descriptors":200,mime:202,path:205,url:238,utility:290}],5:[function(R,D,e){"use strict";e.version="6.10.0"},{}],6:[function(R,D,e){"use strict";var g=R("babel-runtime/regenerator"),f=A(g);function A(c){return c&&c.__esModule?c:{default:c}}var m=R("../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(R,D,e){"use strict";var g=R("babel-runtime/regenerator"),f=A(g);function A(c){return c&&c.__esModule?c:{default:c}}var m=R("../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(R,D,e){"use strict";var g=R("babel-runtime/regenerator"),f=A(g);function A(o){return o&&o.__esModule?o:{default:o}}var m=R("../utils/checkBucketName"),v=m.checkBucketName,h=R("../utils/isArray"),c=h.isArray,a=R("../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(x){return x.ID&&(x.id=x.ID,delete x.ID),x.Tag&&!c(x.Tag)&&(x.Tag=[x.Tag]),i(x,"firstLowerCase")})),p.abrupt("return",{rules:s,res:t.res});case 10:case"end":return p.stop()}},null,this)}},{"../utils/checkBucketName":35,"../utils/formatObjKey":40,"../utils/isArray":42,"babel-runtime/regenerator":68}],9:[function(R,D,e){"use strict";var g=R("babel-runtime/regenerator"),f=A(g);function A(c){return c&&c.__esModule?c:{default:c}}var m=R("../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(R,D,e){"use strict";var g=R("babel-runtime/regenerator"),f=A(g);function A(i){return i&&i.__esModule?i:{default:i}}var m=R("../utils/checkBucketName"),v=m.checkBucketName,h=R("../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(R,D,e){"use strict";var g=R("babel-runtime/regenerator"),f=A(g);function A(E){return E&&E.__esModule?E:{default:E}}var m=R("../utils/checkBucketName"),v=m.checkBucketName,h=R("../utils/isArray"),c=h.isArray,a=R("../utils/deepCopy"),i=a.deepCopy,r=R("../utils/isObject"),o=r.isObject,d=R("../utils/obj2xml"),n=d.obj2xml,l=R("../utils/checkObjectTag"),t=l.checkObjectTag,s=R("../utils/getStrBytesCount"),u=s.getStrBytesCount,p=e;p.putBucketLifecycle=function(C,_,y){var b,O,I,M,F;return f.default.async(function(j){for(;;)switch(j.prev=j.next){case 0:if(v(C),c(_)){j.next=3;break}throw new Error("rules must be Array");case 3:return b=this._bucketRequestParams("PUT",C,"lifecycle",y),O=[],I={LifecycleConfiguration:{Rule:O}},_.forEach(function(K){x(K),w(K),K.id&&(K.ID=K.id,delete K.id),O.push(K)}),M=n(I,{headers:!0,firstUpperCase:!0}),b.content=M,b.mime="xml",b.successStatuses=[200],j.next=13,f.default.awrap(this.request(b));case 13:return F=j.sent,j.abrupt("return",{res:F.res});case 15:case"end":return j.stop()}},null,this)};function x(E){E.days&&(E.expiration={days:E.days}),E.date&&(E.expiration={createdBeforeDate:E.date})}function S(E,C){var _=E.days,y=E.createdBeforeDate;if(!_&&!y)throw new Error(C+" must includes days or createdBeforeDate");if(_&&!/^[1-9][0-9]*$/.test(_))throw new Error("days must be a positive integer");if(y&&!/\d{4}-\d{2}-\d{2}T00:00:00.000Z/.test(y))throw new Error("createdBeforeDate must be date and conform to iso8601 format")}function T(E){if(!c(E)&&!o(E))throw new Error("tag must be Object or Array");E=o(E)?[E]:E;var C={},_=i(E);_.forEach(function(y){C[y.key]=y.value}),t(C)}function w(E){if(E.id&&u(E.id)>255)throw new Error("ID is composed of 255 bytes at most");if(E.prefix===""||E.prefix===void 0)throw new Error("Rule must includes prefix");if(!["Enabled","Disabled"].includes(E.status))throw new Error("Status must be Enabled or Disabled");if(E.transition){if(!["IA","Archive"].includes(E.transition.storageClass))throw new Error("StorageClass must be IA or Archive");S(E.transition,"Transition")}if(E.expiration){if(!E.expiration.expiredObjectDeleteMarker)S(E.expiration,"Expiration");else if(E.expiration.days||E.expiration.createdBeforeDate)throw new Error("expiredObjectDeleteMarker cannot be used with days or createdBeforeDate")}if(E.abortMultipartUpload&&S(E.abortMultipartUpload,"AbortMultipartUpload"),!E.expiration&&!E.abortMultipartUpload&&!E.transition&&!E.noncurrentVersionTransition)throw new Error("Rule must includes expiration or abortMultipartUpload or transition or noncurrentVersionTransition");if(E.tag){if(E.abortMultipartUpload)throw new Error("Tag cannot be used with abortMultipartUpload");T(E.tag)}}},{"../utils/checkBucketName":35,"../utils/checkObjectTag":36,"../utils/deepCopy":39,"../utils/getStrBytesCount":41,"../utils/isArray":42,"../utils/isObject":46,"../utils/obj2xml":47,"babel-runtime/regenerator":68}],12:[function(R,D,e){"use strict";var g=R("babel-runtime/regenerator"),f=A(g);function A(i){return i&&i.__esModule?i:{default:i}}var m=R("../utils/checkBucketName"),v=m.checkBucketName,h=R("../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(R,D,e){"use strict";var g=R("babel-runtime/regenerator"),f=A(g);function A(o){return o&&o.__esModule?o:{default:o}}var m=R("../utils/checkBucketName"),v=m.checkBucketName,h=R("../utils/obj2xml"),c=h.obj2xml,a=R("../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,x;return f.default.async(function(T){for(;;)switch(T.prev=T.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)){T.next=12;break}if(i(n.routingRules)){T.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],T.next=18,f.default.awrap(this.request(t));case 18:return x=T.sent,T.abrupt("return",{res:x.res});case 20:case"end":return T.stop()}},null,this)}},{"../utils/checkBucketName":35,"../utils/isArray":42,"../utils/obj2xml":47,"babel-runtime/regenerator":68}],14:[function(R,D,e){(function(g){"use strict";var f=R("babel-runtime/core-js/object/keys"),A=h(f),m=R("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,A.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,R("buffer").Buffer)},{"babel-runtime/core-js/json/stringify":53,"babel-runtime/core-js/object/keys":60,buffer:73}],15:[function(R,D,e){"use strict";var g=R("babel-runtime/core-js/object/assign"),f=A(g);function A(r){return r&&r.__esModule?r:{default:r}}var m=R("humanize-ms"),v=R("url"),h=R("../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)}D.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(R,D,e){"use strict";var g=R("merge-descriptors"),f=e;g(f,R("./processObjectSave"))},{"./processObjectSave":17,"merge-descriptors":200}],17:[function(R,D,e){"use strict";var g=R("babel-runtime/regenerator"),f=A(g);function A(o){return o&&o.__esModule?o:{default:o}}var m=R("../utils/checkBucketName"),v=m.checkBucketName,h=R("querystring"),c=R("js-base64"),a=c.Base64.encode,i=e;i.processObjectSave=function(d,n,l,t){var s,u,p,x;return f.default.async(function(T){for(;;)switch(T.prev=T.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),T.next=12,f.default.awrap(this.request(s));case 12:return x=T.sent,T.abrupt("return",{res:x.res,status:x.res.status});case 14:case"end":return T.stop()}},null,this)};function r(o,d){if(!o)throw new Error(d+" is required");if(typeof o!="string")throw new Error(d+" must be String")}},{"../utils/checkBucketName":35,"babel-runtime/regenerator":68,"js-base64":199,querystring:212}],18:[function(R,D,e){"use strict";var g=R("babel-runtime/regenerator"),f=A(g);function A(i){return i&&i.__esModule?i:{default:i}}var m=R("copy-to"),v=R("./callback"),h=R("./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(x){for(;;)switch(x.prev=x.next){case 0:return u={stream:this._createStream(n,l,t),size:t-l},x.next=3,f.default.awrap(this._uploadPart(r,o,d,u,s));case 3:return x.abrupt("return",x.sent);case 4:case"end":return x.stop()}},null,this)},a.completeMultipartUpload=function(r,o,d,n){var l,t,s,u,p,x,S,T;return f.default.async(function(E){for(;;)switch(E.prev=E.next){case 0:for(l=d.concat().sort(function(C,_){return C.number-_.number}).filter(function(C,_,y){return!_||C.number!==y[_-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},x=this._objectRequestParams("POST",r,p),v.encodeCallback(x,p),x.mime="xml",x.content=t,x.headers&&x.headers["x-oss-callback"]||(x.xmlResponse=!0),x.successStatuses=[200],E.next=17,f.default.awrap(this.request(x));case 17:return S=E.sent,T={res:S.res,bucket:x.bucket,name:r,etag:S.res.headers.etag},x.headers&&x.headers["x-oss-callback"]&&(T.data=JSON.parse(S.data.toString())),E.abrupt("return",T);case 21:case"end":return E.stop()}},null,this)},a._uploadPart=function(r,o,d,n,l){var t,s,u;return f.default.async(function(x){for(;;)switch(x.prev=x.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],x.next=11,f.default.awrap(this.request(s));case 11:if(u=x.sent,u.res.headers.etag){x.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,x.abrupt("return",{name:r,etag:u.res.headers.etag,res:u.res});case 17:case"end":return x.stop()}},null,this)}},{"./callback":14,"./utils/deepCopy":39,"babel-runtime/regenerator":68,"copy-to":76}],19:[function(R,D,e){"use strict";var g=R("babel-runtime/regenerator"),f=c(g),A=R("babel-runtime/core-js/object/keys"),m=c(A),v=R("babel-runtime/helpers/typeof"),h=c(v);function c(o){return o&&o.__esModule?o:{default:o}}var a=R("../utils/checkBucketName"),i=a.checkBucketName,r=e;r.copy=function(d,n,l,t){var s,u,p;return f.default.async(function(S){for(;;)switch(S.prev=S.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(T){t.headers["x-oss-copy-source-"+T.toLowerCase()]=t.headers[T]}),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],S.next=14,f.default.awrap(this.request(s));case 14:return u=S.sent,p=u.data,p&&(p={etag:p.ETag,lastModified:p.LastModified}),S.abrupt("return",{data:p,res:u.res});case 18:case"end":return S.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(R,D,e){"use strict";var g=R("babel-runtime/regenerator"),f=v(g),A=R("babel-runtime/core-js/object/assign"),m=v(A);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(R,D,e){"use strict";var g=R("babel-runtime/regenerator"),f=v(g),A=R("babel-runtime/core-js/object/assign"),m=v(A);function v(r){return r&&r.__esModule?r:{default:r}}var h=R("utility"),c=R("../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,x,S,T,w,E,C;return f.default.async(function(y){for(;;)switch(y.prev=y.next){case 0:if(n=[],!(!o||!o.length)){y.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 x={Delete:{Quiet:!!d.quiet,Object:n}},S=a(x,{headers:!0}),d.subres=(0,m.default)({delete:""},d.subres),d.versionId&&(d.subres.versionId=d.versionId),T=this._objectRequestParams("POST","",d),T.mime="xml",T.content=S,T.xmlResponse=!0,T.successStatuses=[200],y.next=15,f.default.awrap(this.request(T));case 15:return w=y.sent,E=w.data,C=E&&E.Deleted||null,C&&(Array.isArray(C)||(C=[C])),y.abrupt("return",{res:w.res,deleted:C||[]});case 20:case"end":return y.stop()}},null,this)}},{"../utils/obj2xml":47,"babel-runtime/core-js/object/assign":54,"babel-runtime/regenerator":68,utility:290}],22:[function(R,D,e){"use strict";var g=R("babel-runtime/regenerator"),f=v(g),A=R("babel-runtime/core-js/object/assign"),m=v(A);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(R,D,e){"use strict";var g=R("babel-runtime/regenerator"),f=v(g),A=R("babel-runtime/core-js/object/assign"),m=v(A);function v(i){return i&&i.__esModule?i:{default:i}}var h=R("fs"),c=R("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(R,D,e){"use strict";var g=R("babel-runtime/regenerator"),f=v(g),A=R("babel-runtime/core-js/object/assign"),m=v(A);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(R,D,e){"use strict";var g=R("babel-runtime/core-js/object/keys"),f=c(g),A=R("babel-runtime/regenerator"),m=c(A),v=R("babel-runtime/core-js/object/assign"),h=c(v);function c(s){return s&&s.__esModule?s:{default:s}}var a=e,i=R("../utils/isObject"),r=i.isObject,o=R("../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,x,S,T,w,E;return m.default.async(function(_){for(;;)switch(_.prev=_.next){case 0:if(!(s.versionIdMarker&&s.keyMarker===void 0)){_.next=2;break}throw new Error("A version-id marker cannot be specified without a key marker");case 2:return 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),_.next=10,m.default.awrap(this.request(p));case 10:return x=_.sent,S=x.data.Version||[],T=x.data.DeleteMarker||[],w=this,S&&(Array.isArray(S)||(S=[S]),S=S.map(function(y){return{name:y.Key,url:w._objectUrl(y.Key),lastModified:y.LastModified,isLatest:y.IsLatest==="true",versionId:y.VersionId,etag:y.ETag,type:y.Type,size:Number(y.Size),storageClass:y.StorageClass,owner:{id:y.Owner.ID,displayName:y.Owner.DisplayName}}})),T&&(d(T)||(T=[T]),T=T.map(function(y){return{name:y.Key,lastModified:y.LastModified,versionId:y.VersionId,owner:{id:y.Owner.ID,displayName:y.Owner.DisplayName}}})),E=x.data.CommonPrefixes||null,E&&(d(E)||(E=[E]),E=E.map(function(y){return y.Prefix})),_.abrupt("return",{res:x.res,objects:S,deleteMarker:T,prefixes:E,nextMarker:x.data.NextMarker||null,NextVersionIdMarker:x.data.NextVersionIdMarker||null,isTruncated:x.data.IsTruncated==="true"});case 19:case"end":return _.stop()}},null,this)}function l(s){return s.replace(/([A-Z])/g,"-$1").toLowerCase()}function t(){var s=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},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(R,D,e){"use strict";var g=R("babel-runtime/regenerator"),f=v(g),A=R("babel-runtime/core-js/object/assign"),m=v(A);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(R,D,e){"use strict";var g=R("babel-runtime/regenerator"),f=v(g),A=R("babel-runtime/core-js/object/assign"),m=v(A);function v(i){return i&&i.__esModule?i:{default:i}}var h=e,c=R("../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(x){s[x.Key]=x.Value}),p.abrupt("return",{status:n.status,res:n.res,tag:s});case 16:case"end":return p.stop()}},null,this)}},{"../utils/isObject":46,"babel-runtime/core-js/object/assign":54,"babel-runtime/regenerator":68}],28:[function(R,D,e){"use strict";var g=R("babel-runtime/regenerator"),f=v(g),A=R("babel-runtime/core-js/object/assign"),m=v(A);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(R,D,e){"use strict";var g=R("babel-runtime/regenerator"),f=c(g),A=R("babel-runtime/core-js/object/keys"),m=c(A),v=R("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(R,D,e){"use strict";var g=R("babel-runtime/regenerator"),f=v(g),A=R("babel-runtime/core-js/object/assign"),m=v(A);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(R,D,e){"use strict";var g=R("babel-runtime/regenerator"),f=c(g),A=R("babel-runtime/core-js/object/keys"),m=c(A),v=R("babel-runtime/core-js/object/assign"),h=c(v);function c(n){return n&&n.__esModule?n:{default:n}}var a=R("../utils/obj2xml"),i=a.obj2xml,r=R("../utils/checkObjectTag"),o=r.checkObjectTag,d=e;d.putObjectTagging=function(l,t){var s=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},u,p,x;return f.default.async(function(T){for(;;)switch(T.prev=T.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(w){return{Key:w,Value:t[w]}}),p={Tagging:{TagSet:{Tag:t}}},u.mime="xml",u.content=i(p),T.next=12,f.default.awrap(this.request(u));case 12:return x=T.sent,T.abrupt("return",{res:x.res,status:x.status});case 14:case"end":return T.stop()}},null,this)}},{"../utils/checkObjectTag":36,"../utils/obj2xml":47,"babel-runtime/core-js/object/assign":54,"babel-runtime/core-js/object/keys":60,"babel-runtime/regenerator":68}],32:[function(R,D,e){"use strict";var g=R("babel-runtime/regenerator"),f=v(g),A=R("babel-runtime/core-js/object/assign"),m=v(A);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(R,D,e){"use strict";var g=R("babel-runtime/regenerator"),f=v(g),A=R("babel-runtime/core-js/promise"),m=v(A);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,x;return f.default.async(function(T){for(;;)switch(T.prev=T.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,x=0;case 8:if(!(x<a.length)){T.next=26;break}if(!d.isCancel()){T.next=11;break}return T.abrupt("break",26);case 11:if(o?l.push(r(d,a[x],o)):l.push(r(d,a[x])),!(l.length===i||p===u&&x===a.length-1)){T.next=23;break}return T.prev=13,p+=1,T.next=17,f.default.awrap(m.default.all(l));case 17:T.next=22;break;case 19:T.prev=19,T.t0=T.catch(13),n.push(T.t0);case 22:l=[];case 23:x++,T.next=8;break;case 26:return T.abrupt("return",n);case 27:case"end":return T.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(E){return function(){if(E===null)throw new Error("Callback was already called.");var C=E;E=null;for(var _=arguments.length,y=Array(_),b=0;b<_;b++)y[b]=arguments[b];C.apply(this,y)}}function t(E){var C=-1,_=E.length;return function(){return++C<_&&!o.isCancel()?{value:E[C],key:C}:null}}var s=t(a),u=!1,p=0,x=!1;function S(E,C){p-=1,E?(u=!0,n.push(E),d(n)):C==={}||u&&p<=0?(u=!0,d(n)):x||(o.isCancel()?d(n):w())}function T(E,C){r(E).then(function(_){C(null,_)}).catch(function(_){C(_)})}function w(){for(x=!0;p<i&&!u&&!o.isCancel();){var E=s();if(E===null||n.length>0){u=!0,p<=0&&d(n);return}p+=1,T(E.value,l(S))}x=!1}w()})},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(R,D,e){(function(g){"use strict";var f=R("babel-runtime/core-js/json/stringify"),A=h(f),m=R("babel-runtime/core-js/object/keys"),v=h(m);function h(i){return i&&i.__esModule?i:{default:i}}var c=R("./../../shims/crypto/crypto.js"),a=R("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(x){var S=x.toLowerCase();S.indexOf(t)===0&&(u[S]=String(l[x]).trim())}),(0,v.default)(u).sort().forEach(function(x){s.push(x+":"+u[x])}),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(w){var E="response-"+w.toLowerCase();s[E]=o.response[w]}),(0,v.default)(o).forEach(function(w){var E=w.toLowerCase(),C=o[w];E.indexOf("x-oss-")===0?l[E]=C:(E.indexOf("content-md5")===0||E.indexOf("content-type")===0)&&(l[w]=C)}),Object.prototype.hasOwnProperty.call(o,"security-token")&&(s["security-token"]=o["security-token"]),Object.prototype.hasOwnProperty.call(o,"callback")){var x={callbackUrl:encodeURI(o.callback.url),callbackBody:o.callback.body};if(o.callback.host&&(x.callbackHost=o.callback.host),o.callback.contentType&&(x.callbackBodyType=o.callback.contentType),s.callback=g.from((0,A.default)(x)).toString("base64"),o.callback.customValue){var S={};(0,v.default)(o.callback.customValue).forEach(function(w){S["x:"+w]=o.callback.customValue[w]}),s["callback-var"]=g.from((0,A.default)(S)).toString("base64")}}var T=this.buildCanonicalString(o.method,d,{headers:l,parameters:s},n.toString());return{Signature:this.computeSignature(r,T),subResource:s}}}).call(this,R("buffer").Buffer)},{"./../../shims/crypto/crypto.js":284,"babel-runtime/core-js/json/stringify":53,"babel-runtime/core-js/object/keys":60,buffer:73,"is-type-of":289}],35:[function(R,D,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.checkBucketName=void 0,e.checkBucketName=function(g,f){var A=f?/^[a-z0-9][a-z0-9-]{1,61}[a-z0-9]$/:/^[a-z0-9_][a-z0-9-_]{1,61}[a-z0-9_]$/;if(!A.test(g))throw new Error("The bucket must be conform to the specifications")}},{}],36:[function(R,D,e){"use strict";var g=R("babel-runtime/core-js/object/entries"),f=A(g);function A(o){return o&&o.__esModule?o:{default:o}}Object.defineProperty(e,"__esModule",{value:!0}),e.checkObjectTag=void 0;var m=R("./checkValid"),v=m.checkValid,h=R("./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(R,D,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.checkValid=void 0;function g(f,A){A.forEach(function(m){if(m.validator)m.validator(f);else if(m.pattern&&!m.pattern.test(f))throw new Error(m.msg)})}e.checkValid=g},{}],38:[function(R,D,e){(function(g){"use strict";var f=R("babel-runtime/core-js/object/assign"),A=m(f);function m(l){return l&&l.__esModule?l:{default:l}}Object.defineProperty(e,"__esModule",{value:!0}),e.createRequest=void 0;var v=R("./../../../shims/crypto/crypto.js"),h=R("debug")("ali-oss"),c=R("mime"),a=R("dateformat"),i=R("copy-to"),r=R("path");function o(l,t){return l[t]||l[t.toLowerCase()]}function d(l,t){delete l[t],delete l[t.toLowerCase()]}function n(l){var t=new Date;this.options.amendTimeSkewed&&(t=+new Date+this.options.amendTimeSkewed);var s={"x-oss-date":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,A.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 x=l.timeout||this.options.timeout,S={method:l.method,content:l.content,stream:l.stream,headers:s,timeout:x,writeStream:l.writeStream,customResponse:l.customResponse,ctx:l.ctx||this.ctx};return this.agent&&(S.agent=this.agent),this.httpsAgent&&(S.httpsAgent=this.httpsAgent),{url:p,params:S}}e.createRequest=n}).call(this,R("buffer").Buffer)},{"./../../../shims/crypto/crypto.js":284,"babel-runtime/core-js/object/assign":54,buffer:73,"copy-to":76,dateformat:190,debug:288,mime:202,path:205}],39:[function(R,D,e){"use strict";var g=R("babel-runtime/core-js/object/keys"),f=v(g),A=R("babel-runtime/helpers/typeof"),m=v(A);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(R,D,e){"use strict";var g=R("babel-runtime/core-js/object/keys"),f=v(g),A=R("babel-runtime/helpers/typeof"),m=v(A);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(R,D,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.getStrBytesCount=void 0;function g(f){for(var A=0,m=0;m<f.length;m++){var v=f.charAt(m);/^[\u00-\uff]$/.test(v)?A+=1:A+=2}return A}e.getStrBytesCount=g},{}],42:[function(R,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(R,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(R,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(R,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}$/,A=/^\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)||A.test(g)}},{}],46:[function(R,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(R,D,e){"use strict";var g=R("babel-runtime/core-js/object/keys"),f=A(g);function A(c){return c&&c.__esModule?c:{default:c}}Object.defineProperty(e,"__esModule",{value:!0}),e.obj2xml=void 0;var m=R("./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(R,D,e){D.exports=g,D.exports.HttpsAgent=g;function g(){}},{}],49:[function(R,D,e){D.exports=R("./register")().Promise},{"./register":51}],50:[function(R,D,e){"use strict";var g="@@any-promise/REGISTRATION",f=null;D.exports=function(A,m){return function(h,c){h=h||null,c=c||{};var a=c.global!==!1;if(f===null&&a&&(f=A[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&&(A[g]=f)),f}}},{}],51:[function(R,D,e){"use strict";D.exports=R("./loader")(window,g);function g(){if(typeof window.Promise=="undefined")throw new Error("any-promise browser requires a polyfill or explicit registration e.g: require('any-promise/register/bluebird')");return{Promise:window.Promise,implementation:"window.Promise"}}},{"./loader":50}],52:[function(R,D,e){D.exports={default:R("core-js/library/fn/array/from"),__esModule:!0}},{"core-js/library/fn/array/from":77}],53:[function(R,D,e){D.exports={default:R("core-js/library/fn/json/stringify"),__esModule:!0}},{"core-js/library/fn/json/stringify":78}],54:[function(R,D,e){D.exports={default:R("core-js/library/fn/object/assign"),__esModule:!0}},{"core-js/library/fn/object/assign":79}],55:[function(R,D,e){D.exports={default:R("core-js/library/fn/object/create"),__esModule:!0}},{"core-js/library/fn/object/create":80}],56:[function(R,D,e){D.exports={default:R("core-js/library/fn/object/define-property"),__esModule:!0}},{"core-js/library/fn/object/define-property":81}],57:[function(R,D,e){D.exports={default:R("core-js/library/fn/object/entries"),__esModule:!0}},{"core-js/library/fn/object/entries":82}],58:[function(R,D,e){D.exports={default:R("core-js/library/fn/object/get-own-property-names"),__esModule:!0}},{"core-js/library/fn/object/get-own-property-names":83}],59:[function(R,D,e){D.exports={default:R("core-js/library/fn/object/get-prototype-of"),__esModule:!0}},{"core-js/library/fn/object/get-prototype-of":84}],60:[function(R,D,e){D.exports={default:R("core-js/library/fn/object/keys"),__esModule:!0}},{"core-js/library/fn/object/keys":85}],61:[function(R,D,e){D.exports={default:R("core-js/library/fn/promise"),__esModule:!0}},{"core-js/library/fn/promise":86}],62:[function(R,D,e){D.exports={default:R("core-js/library/fn/set-immediate"),__esModule:!0}},{"core-js/library/fn/set-immediate":87}],63:[function(R,D,e){D.exports={default:R("core-js/library/fn/string/from-code-point"),__esModule:!0}},{"core-js/library/fn/string/from-code-point":88}],64:[function(R,D,e){D.exports={default:R("core-js/library/fn/symbol"),__esModule:!0}},{"core-js/library/fn/symbol":90}],65:[function(R,D,e){D.exports={default:R("core-js/library/fn/symbol/has-instance"),__esModule:!0}},{"core-js/library/fn/symbol/has-instance":89}],66:[function(R,D,e){D.exports={default:R("core-js/library/fn/symbol/iterator"),__esModule:!0}},{"core-js/library/fn/symbol/iterator":91}],67:[function(R,D,e){"use strict";e.__esModule=!0;var g=R("../core-js/symbol/iterator"),f=h(g),A=R("../core-js/symbol"),m=h(A),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(R,D,e){D.exports=R("regenerator-runtime")},{"regenerator-runtime":226}],69:[function(R,D,e){"use strict";e.byteLength=a,e.toByteArray=r,e.fromByteArray=n;for(var g=[],f=[],A=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],x=new A(i(l,u,p)),S=0,T=p>0?u-4:u,w;for(w=0;w<T;w+=4)t=f[l.charCodeAt(w)]<<18|f[l.charCodeAt(w+1)]<<12|f[l.charCodeAt(w+2)]<<6|f[l.charCodeAt(w+3)],x[S++]=t>>16&255,x[S++]=t>>8&255,x[S++]=t&255;return p===2&&(t=f[l.charCodeAt(w)]<<2|f[l.charCodeAt(w+1)]>>4,x[S++]=t&255),p===1&&(t=f[l.charCodeAt(w)]<<10|f[l.charCodeAt(w+1)]<<4|f[l.charCodeAt(w+2)]>>2,x[S++]=t>>8&255,x[S++]=t&255),x}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=[],x=t;x<s;x+=3)u=(l[x]<<16&16711680)+(l[x+1]<<8&65280)+(l[x+2]&255),p.push(o(u));return p.join("")}function n(l){for(var t,s=l.length,u=s%3,p=[],x=16383,S=0,T=s-u;S<T;S+=x)p.push(d(l,S,S+x>T?T:S+x));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(R,D,e){/*!
|
|
|
* Bowser - a browser detector
|
|
|
* https://github.com/ded/bowser
|
|
|
* MIT License | (c) Dustin Diaz 2015
|
|
|
*/!function(g,f,A){typeof D!="undefined"&&D.exports?D.exports=A():typeof define=="function"&&define.amd?define(f,A):g[f]=A()}(this,"bowser",function(){var g=!0;function f(i){function r(B){var U=i.match(B);return U&&U.length>1&&U[1]||""}function o(B){var U=i.match(B);return U&&U.length>1&&U[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),x=/sailfish/i.test(i),S=/tizen/i.test(i),T=/(web|hpw)(o|0)s/i.test(i),w=/windows phone/i.test(i),E=/SamsungBrowser/i.test(i),C=!w&&/windows/i.test(i),_=!d&&!p&&/macintosh/i.test(i),y=!l&&!x&&!S&&!T&&/linux/i.test(i),b=o(/edg([ea]|ios)\/(\d+(\.\d+)?)/i),O=r(/version\/(\d+(\.\d+)?)/i),I=/tablet/i.test(i)&&!/tablet pc/i.test(i),M=!I&&/[^-]mobi/i.test(i),F=/xbox/i.test(i),P;/opera/i.test(i)?P={name:"Opera",opera:g,version:O||r(/(?:opera|opr|opios)[\s\/](\d+(\.\d+)?)/i)}:/opr\/|opios/i.test(i)?P={name:"Opera",opera:g,version:r(/(?:opr|opios)[\s\/](\d+(\.\d+)?)/i)||O}:/SamsungBrowser/i.test(i)?P={name:"Samsung Internet for Android",samsungBrowser:g,version:O||r(/(?:SamsungBrowser)[\s\/](\d+(\.\d+)?)/i)}:/Whale/i.test(i)?P={name:"NAVER Whale browser",whale:g,version:r(/(?:whale)[\s\/](\d+(?:\.\d+)+)/i)}:/MZBrowser/i.test(i)?P={name:"MZ Browser",mzbrowser:g,version:r(/(?:MZBrowser)[\s\/](\d+(?:\.\d+)+)/i)}:/coast/i.test(i)?P={name:"Opera Coast",coast:g,version:O||r(/(?:coast)[\s\/](\d+(\.\d+)?)/i)}:/focus/i.test(i)?P={name:"Focus",focus:g,version:r(/(?:focus)[\s\/](\d+(?:\.\d+)+)/i)}:/yabrowser/i.test(i)?P={name:"Yandex Browser",yandexbrowser:g,version:O||r(/(?:yabrowser)[\s\/](\d+(\.\d+)?)/i)}:/ucbrowser/i.test(i)?P={name:"UC Browser",ucbrowser:g,version:r(/(?:ucbrowser)[\s\/](\d+(?:\.\d+)+)/i)}:/mxios/i.test(i)?P={name:"Maxthon",maxthon:g,version:r(/(?:mxios)[\s\/](\d+(?:\.\d+)+)/i)}:/epiphany/i.test(i)?P={name:"Epiphany",epiphany:g,version:r(/(?:epiphany)[\s\/](\d+(?:\.\d+)+)/i)}:/puffin/i.test(i)?P={name:"Puffin",puffin:g,version:r(/(?:puffin)[\s\/](\d+(?:\.\d+)?)/i)}:/sleipnir/i.test(i)?P={name:"Sleipnir",sleipnir:g,version:r(/(?:sleipnir)[\s\/](\d+(?:\.\d+)+)/i)}:/k-meleon/i.test(i)?P={name:"K-Meleon",kMeleon:g,version:r(/(?:k-meleon)[\s\/](\d+(?:\.\d+)+)/i)}:w?(P={name:"Windows Phone",osname:"Windows Phone",windowsphone:g},b?(P.msedge=g,P.version=b):(P.msie=g,P.version=r(/iemobile\/(\d+(\.\d+)?)/i))):/msie|trident/i.test(i)?P={name:"Internet Explorer",msie:g,version:r(/(?:msie |rv:)(\d+(\.\d+)?)/i)}:u?P={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)?P={name:"Microsoft Edge",msedge:g,version:b}:/vivaldi/i.test(i)?P={name:"Vivaldi",vivaldi:g,version:r(/vivaldi\/(\d+(\.\d+)?)/i)||O}:x?P={name:"Sailfish",osname:"Sailfish OS",sailfish:g,version:r(/sailfish\s?browser\/(\d+(\.\d+)?)/i)}:/seamonkey\//i.test(i)?P={name:"SeaMonkey",seamonkey:g,version:r(/seamonkey\/(\d+(\.\d+)?)/i)}:/firefox|iceweasel|fxios/i.test(i)?(P={name:"Firefox",firefox:g,version:r(/(?:firefox|iceweasel|fxios)[ \/](\d+(\.\d+)?)/i)},/\((mobile|tablet);[^\)]*rv:[\d\.]+\)/i.test(i)&&(P.firefoxos=g,P.osname="Firefox OS")):p?P={name:"Amazon Silk",silk:g,version:r(/silk\/(\d+(\.\d+)?)/i)}:/phantom/i.test(i)?P={name:"PhantomJS",phantom:g,version:r(/phantomjs\/(\d+(\.\d+)?)/i)}:/slimerjs/i.test(i)?P={name:"SlimerJS",slimer:g,version:r(/slimerjs\/(\d+(\.\d+)?)/i)}:/blackberry|\bbb\d+/i.test(i)||/rim\stablet/i.test(i)?P={name:"BlackBerry",osname:"BlackBerry OS",blackberry:g,version:O||r(/blackberry[\d]+\/(\d+(\.\d+)?)/i)}:T?(P={name:"WebOS",osname:"WebOS",webos:g,version:O||r(/w(?:eb)?osbrowser\/(\d+(\.\d+)?)/i)},/touchpad\//i.test(i)&&(P.touchpad=g)):/bada/i.test(i)?P={name:"Bada",osname:"Bada",bada:g,version:r(/dolfin\/(\d+(\.\d+)?)/i)}:S?P={name:"Tizen",osname:"Tizen",tizen:g,version:r(/(?:tizen\s?)?browser\/(\d+(\.\d+)?)/i)||O}:/qupzilla/i.test(i)?P={name:"QupZilla",qupzilla:g,version:r(/(?:qupzilla)[\s\/](\d+(?:\.\d+)+)/i)||O}:/chromium/i.test(i)?P={name:"Chromium",chromium:g,version:r(/(?:chromium)[\s\/](\d+(?:\.\d+)?)/i)||O}:/chrome|crios|crmo/i.test(i)?P={name:"Chrome",chrome:g,version:r(/(?:chrome|crios|crmo)\/(\d+(\.\d+)?)/i)}:l?P={name:"Android",version:O}:/safari|applewebkit/i.test(i)?(P={name:"Safari",safari:g},O&&(P.version=O)):d?(P={name:d=="iphone"?"iPhone":d=="ipad"?"iPad":"iPod"},O&&(P.version=O)):/googlebot/i.test(i)?P={name:"Googlebot",googlebot:g,version:r(/googlebot\/(\d+(\.\d+))/i)||O}:P={name:r(/^(.*)\/(.*) /),version:o(/^(.*)\/(.*) /)},!P.msedge&&/(apple)?webkit/i.test(i)?(/(apple)?webkit\/537\.36/i.test(i)?(P.name=P.name||"Blink",P.blink=g):(P.name=P.name||"Webkit",P.webkit=g),!P.version&&O&&(P.version=O)):!P.opera&&/gecko\//i.test(i)&&(P.name=P.name||"Gecko",P.gecko=g,P.version=P.version||r(/gecko\/(\d+(\.\d+)?)/i)),!P.windowsphone&&(l||P.silk)?(P.android=g,P.osname="Android"):!P.windowsphone&&d?(P[d]=g,P.ios=g,P.osname="iOS"):_?(P.mac=g,P.osname="macOS"):F?(P.xbox=g,P.osname="Xbox"):C?(P.windows=g,P.osname="Windows"):y&&(P.linux=g,P.osname="Linux");function j(B){switch(B){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="";P.windows?K=j(r(/Windows ((NT|XP)( \d\d?.\d)?)/i)):P.windowsphone?K=r(/windows phone (?:os)?\s?(\d+(\.\d+)*)/i):P.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):P.webos?K=r(/(?:web|hpw)os\/(\d+(\.\d+)*)/i):P.blackberry?K=r(/rim\stablet\sos\s(\d+(\.\d+)*)/i):P.bada?K=r(/bada\/(\d+(\.\d+)*)/i):P.tizen&&(K=r(/tizen[\/\s](\d+(\.\d+)*)/i)),K&&(P.osversion=K);var N=!P.windows&&K.split(".")[0];return I||s||d=="ipad"||l&&(N==3||N>=4&&!M)||P.silk?P.tablet=g:(M||d=="iphone"||d=="ipod"||l||t||P.blackberry||P.webos||P.bada)&&(P.mobile=g),P.msedge||P.msie&&P.version>=10||P.yandexbrowser&&P.version>=15||P.vivaldi&&P.version>=1||P.chrome&&P.version>=20||P.samsungBrowser&&P.version>=4||P.whale&&h([P.version,"1.0"])===1||P.mzbrowser&&h([P.version,"6.0"])===1||P.focus&&h([P.version,"1.0"])===1||P.firefox&&P.version>=20||P.safari&&P.version>=6||P.opera&&P.version>=10||P.ios&&P.osversion&&P.osversion.split(".")[0]>=6||P.blackberry&&P.version>=10.1||P.chromium&&P.version>=20?P.a=g:P.msie&&P.version<10||P.chrome&&P.version<20||P.firefox&&P.version<20||P.safari&&P.version<6||P.opera&&P.version<10||P.ios&&P.osversion&&P.osversion.split(".")[0]<6||P.chromium&&P.version<20?P.c=g:P.x=g,P}var A=f(typeof navigator!="undefined"&&navigator.userAgent||"");A.test=function(i){for(var r=0;r<i.length;++r){var o=i[r];if(typeof o=="string"&&o in A)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=A;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 A.isUnsupportedBrowser=c,A.compareVersions=h,A.check=a,A._detect=f,A.detect=f,A})},{}],71:[function(R,D,e){},{}],72:[function(R,D,e){var g=R("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 A(a){if(a&&!f(a))throw new Error("Unknown encoding: "+a)}var m=e.StringDecoder=function(a){this.encoding=(a||"utf8").toLowerCase().replace(/[-_]/,""),A(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(R,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 A=R("base64-js"),m=R("ieee754"),v=R("isarray");e.Buffer=f,e.SlowBuffer=p,e.INSPECT_MAX_BYTES=50,f.TYPED_ARRAY_SUPPORT=g.TYPED_ARRAY_SUPPORT!==void 0?g.TYPED_ARRAY_SUPPORT:h(),e.kMaxLength=c();function h(){try{var ue=new Uint8Array(1);return ue.__proto__={__proto__:Uint8Array.prototype,foo:function(){return 42}},ue.foo()===42&&typeof ue.subarray=="function"&&ue.subarray(1,1).byteLength===0}catch(Q){return!1}}function c(){return f.TYPED_ARRAY_SUPPORT?2147483647:1073741823}function a(ue,Q){if(c()<Q)throw new RangeError("Invalid typed array length");return f.TYPED_ARRAY_SUPPORT?(ue=new Uint8Array(Q),ue.__proto__=f.prototype):(ue===null&&(ue=new f(Q)),ue.length=Q),ue}function f(ue,Q,V){if(!f.TYPED_ARRAY_SUPPORT&&!(this instanceof f))return new f(ue,Q,V);if(typeof ue=="number"){if(typeof Q=="string")throw new Error("If encoding is specified then the first argument must be a string");return d(this,ue)}return i(this,ue,Q,V)}f.poolSize=8192,f._augment=function(ue){return ue.__proto__=f.prototype,ue};function i(ue,Q,V,J){if(typeof Q=="number")throw new TypeError('"value" argument must not be a number');return typeof ArrayBuffer!="undefined"&&Q instanceof ArrayBuffer?t(ue,Q,V,J):typeof Q=="string"?n(ue,Q,V):s(ue,Q)}f.from=function(ue,Q,V){return i(null,ue,Q,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(ue){if(typeof ue!="number")throw new TypeError('"size" argument must be a number');if(ue<0)throw new RangeError('"size" argument must not be negative')}function o(ue,Q,V,J){return r(Q),Q<=0?a(ue,Q):V!==void 0?typeof J=="string"?a(ue,Q).fill(V,J):a(ue,Q).fill(V):a(ue,Q)}f.alloc=function(ue,Q,V){return o(null,ue,Q,V)};function d(ue,Q){if(r(Q),ue=a(ue,Q<0?0:u(Q)|0),!f.TYPED_ARRAY_SUPPORT)for(var V=0;V<Q;++V)ue[V]=0;return ue}f.allocUnsafe=function(ue){return d(null,ue)},f.allocUnsafeSlow=function(ue){return d(null,ue)};function n(ue,Q,V){if((typeof V!="string"||V==="")&&(V="utf8"),!f.isEncoding(V))throw new TypeError('"encoding" must be a valid string encoding');var J=x(Q,V)|0;ue=a(ue,J);var fe=ue.write(Q,V);return fe!==J&&(ue=ue.slice(0,fe)),ue}function l(ue,Q){var V=Q.length<0?0:u(Q.length)|0;ue=a(ue,V);for(var J=0;J<V;J+=1)ue[J]=Q[J]&255;return ue}function t(ue,Q,V,J){if(Q.byteLength,V<0||Q.byteLength<V)throw new RangeError("'offset' is out of bounds");if(Q.byteLength<V+(J||0))throw new RangeError("'length' is out of bounds");return V===void 0&&J===void 0?Q=new Uint8Array(Q):J===void 0?Q=new Uint8Array(Q,V):Q=new Uint8Array(Q,V,J),f.TYPED_ARRAY_SUPPORT?(ue=Q,ue.__proto__=f.prototype):ue=l(ue,Q),ue}function s(ue,Q){if(f.isBuffer(Q)){var V=u(Q.length)|0;return ue=a(ue,V),ue.length===0||Q.copy(ue,0,0,V),ue}if(Q){if(typeof ArrayBuffer!="undefined"&&Q.buffer instanceof ArrayBuffer||"length"in Q)return typeof Q.length!="number"||ot(Q.length)?a(ue,0):l(ue,Q);if(Q.type==="Buffer"&&v(Q.data))return l(ue,Q.data)}throw new TypeError("First argument must be a string, Buffer, ArrayBuffer, Array, or array-like object.")}function u(ue){if(ue>=c())throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+c().toString(16)+" bytes");return ue|0}function p(ue){return+ue!=ue&&(ue=0),f.alloc(+ue)}f.isBuffer=function(Q){return!!(Q!=null&&Q._isBuffer)},f.compare=function(Q,V){if(!f.isBuffer(Q)||!f.isBuffer(V))throw new TypeError("Arguments must be Buffers");if(Q===V)return 0;for(var J=Q.length,fe=V.length,oe=0,Le=Math.min(J,fe);oe<Le;++oe)if(Q[oe]!==V[oe]){J=Q[oe],fe=V[oe];break}return J<fe?-1:fe<J?1:0},f.isEncoding=function(Q){switch(String(Q).toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"latin1":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return!0;default:return!1}},f.concat=function(Q,V){if(!v(Q))throw new TypeError('"list" argument must be an Array of Buffers');if(Q.length===0)return f.alloc(0);var J;if(V===void 0)for(V=0,J=0;J<Q.length;++J)V+=Q[J].length;var fe=f.allocUnsafe(V),oe=0;for(J=0;J<Q.length;++J){var Le=Q[J];if(!f.isBuffer(Le))throw new TypeError('"list" argument must be an Array of Buffers');Le.copy(fe,oe),oe+=Le.length}return fe};function x(ue,Q){if(f.isBuffer(ue))return ue.length;if(typeof ArrayBuffer!="undefined"&&typeof ArrayBuffer.isView=="function"&&(ArrayBuffer.isView(ue)||ue instanceof ArrayBuffer))return ue.byteLength;typeof ue!="string"&&(ue=""+ue);var V=ue.length;if(V===0)return 0;for(var J=!1;;)switch(Q){case"ascii":case"latin1":case"binary":return V;case"utf8":case"utf-8":case void 0:return Ue(ue).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return V*2;case"hex":return V>>>1;case"base64":return ne(ue).length;default:if(J)return Ue(ue).length;Q=(""+Q).toLowerCase(),J=!0}}f.byteLength=x;function S(ue,Q,V){var J=!1;if((Q===void 0||Q<0)&&(Q=0),Q>this.length)return"";if((V===void 0||V>this.length)&&(V=this.length),V<=0)return"";if(V>>>=0,Q>>>=0,V<=Q)return"";for(ue||(ue="utf8");;)switch(ue){case"hex":return B(this,Q,V);case"utf8":case"utf-8":return F(this,Q,V);case"ascii":return K(this,Q,V);case"latin1":case"binary":return N(this,Q,V);case"base64":return M(this,Q,V);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return U(this,Q,V);default:if(J)throw new TypeError("Unknown encoding: "+ue);ue=(ue+"").toLowerCase(),J=!0}}f.prototype._isBuffer=!0;function T(ue,Q,V){var J=ue[Q];ue[Q]=ue[V],ue[V]=J}f.prototype.swap16=function(){var Q=this.length;if(Q%2!==0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(var V=0;V<Q;V+=2)T(this,V,V+1);return this},f.prototype.swap32=function(){var Q=this.length;if(Q%4!==0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(var V=0;V<Q;V+=4)T(this,V,V+3),T(this,V+1,V+2);return this},f.prototype.swap64=function(){var Q=this.length;if(Q%8!==0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(var V=0;V<Q;V+=8)T(this,V,V+7),T(this,V+1,V+6),T(this,V+2,V+5),T(this,V+3,V+4);return this},f.prototype.toString=function(){var Q=this.length|0;return Q===0?"":arguments.length===0?F(this,0,Q):S.apply(this,arguments)},f.prototype.equals=function(Q){if(!f.isBuffer(Q))throw new TypeError("Argument must be a Buffer");return this===Q?!0:f.compare(this,Q)===0},f.prototype.inspect=function(){var Q="",V=e.INSPECT_MAX_BYTES;return this.length>0&&(Q=this.toString("hex",0,V).match(/.{2}/g).join(" "),this.length>V&&(Q+=" ... ")),"<Buffer "+Q+">"},f.prototype.compare=function(Q,V,J,fe,oe){if(!f.isBuffer(Q))throw new TypeError("Argument must be a Buffer");if(V===void 0&&(V=0),J===void 0&&(J=Q?Q.length:0),fe===void 0&&(fe=0),oe===void 0&&(oe=this.length),V<0||J>Q.length||fe<0||oe>this.length)throw new RangeError("out of range index");if(fe>=oe&&V>=J)return 0;if(fe>=oe)return-1;if(V>=J)return 1;if(V>>>=0,J>>>=0,fe>>>=0,oe>>>=0,this===Q)return 0;for(var Le=oe-fe,he=J-V,te=Math.min(Le,he),Z=this.slice(fe,oe),ge=Q.slice(V,J),Re=0;Re<te;++Re)if(Z[Re]!==ge[Re]){Le=Z[Re],he=ge[Re];break}return Le<he?-1:he<Le?1:0};function w(ue,Q,V,J,fe){if(ue.length===0)return-1;if(typeof V=="string"?(J=V,V=0):V>2147483647?V=2147483647:V<-2147483648&&(V=-2147483648),V=+V,isNaN(V)&&(V=fe?0:ue.length-1),V<0&&(V=ue.length+V),V>=ue.length){if(fe)return-1;V=ue.length-1}else if(V<0)if(fe)V=0;else return-1;if(typeof Q=="string"&&(Q=f.from(Q,J)),f.isBuffer(Q))return Q.length===0?-1:E(ue,Q,V,J,fe);if(typeof Q=="number")return Q=Q&255,f.TYPED_ARRAY_SUPPORT&&typeof Uint8Array.prototype.indexOf=="function"?fe?Uint8Array.prototype.indexOf.call(ue,Q,V):Uint8Array.prototype.lastIndexOf.call(ue,Q,V):E(ue,[Q],V,J,fe);throw new TypeError("val must be string, number or Buffer")}function E(ue,Q,V,J,fe){var oe=1,Le=ue.length,he=Q.length;if(J!==void 0&&(J=String(J).toLowerCase(),J==="ucs2"||J==="ucs-2"||J==="utf16le"||J==="utf-16le")){if(ue.length<2||Q.length<2)return-1;oe=2,Le/=2,he/=2,V/=2}function te(dt,De){return oe===1?dt[De]:dt.readUInt16BE(De*oe)}var Z;if(fe){var ge=-1;for(Z=V;Z<Le;Z++)if(te(ue,Z)===te(Q,ge===-1?0:Z-ge)){if(ge===-1&&(ge=Z),Z-ge+1===he)return ge*oe}else ge!==-1&&(Z-=Z-ge),ge=-1}else for(V+he>Le&&(V=Le-he),Z=V;Z>=0;Z--){for(var Re=!0,ze=0;ze<he;ze++)if(te(ue,Z+ze)!==te(Q,ze)){Re=!1;break}if(Re)return Z}return-1}f.prototype.includes=function(Q,V,J){return this.indexOf(Q,V,J)!==-1},f.prototype.indexOf=function(Q,V,J){return w(this,Q,V,J,!0)},f.prototype.lastIndexOf=function(Q,V,J){return w(this,Q,V,J,!1)};function C(ue,Q,V,J){V=Number(V)||0;var fe=ue.length-V;J?(J=Number(J),J>fe&&(J=fe)):J=fe;var oe=Q.length;if(oe%2!==0)throw new TypeError("Invalid hex string");J>oe/2&&(J=oe/2);for(var Le=0;Le<J;++Le){var he=parseInt(Q.substr(Le*2,2),16);if(isNaN(he))return Le;ue[V+Le]=he}return Le}function _(ue,Q,V,J){return be(Ue(Q,ue.length-V),ue,V,J)}function y(ue,Q,V,J){return be(Me(Q),ue,V,J)}function b(ue,Q,V,J){return y(ue,Q,V,J)}function O(ue,Q,V,J){return be(ne(Q),ue,V,J)}function I(ue,Q,V,J){return be(nt(Q,ue.length-V),ue,V,J)}f.prototype.write=function(Q,V,J,fe){if(V===void 0)fe="utf8",J=this.length,V=0;else if(J===void 0&&typeof V=="string")fe=V,J=this.length,V=0;else if(isFinite(V))V=V|0,isFinite(J)?(J=J|0,fe===void 0&&(fe="utf8")):(fe=J,J=void 0);else throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");var oe=this.length-V;if((J===void 0||J>oe)&&(J=oe),Q.length>0&&(J<0||V<0)||V>this.length)throw new RangeError("Attempt to write outside buffer bounds");fe||(fe="utf8");for(var Le=!1;;)switch(fe){case"hex":return C(this,Q,V,J);case"utf8":case"utf-8":return _(this,Q,V,J);case"ascii":return y(this,Q,V,J);case"latin1":case"binary":return b(this,Q,V,J);case"base64":return O(this,Q,V,J);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return I(this,Q,V,J);default:if(Le)throw new TypeError("Unknown encoding: "+fe);fe=(""+fe).toLowerCase(),Le=!0}},f.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};function M(ue,Q,V){return Q===0&&V===ue.length?A.fromByteArray(ue):A.fromByteArray(ue.slice(Q,V))}function F(ue,Q,V){V=Math.min(ue.length,V);for(var J=[],fe=Q;fe<V;){var oe=ue[fe],Le=null,he=oe>239?4:oe>223?3:oe>191?2:1;if(fe+he<=V){var te,Z,ge,Re;switch(he){case 1:oe<128&&(Le=oe);break;case 2:te=ue[fe+1],(te&192)===128&&(Re=(oe&31)<<6|te&63,Re>127&&(Le=Re));break;case 3:te=ue[fe+1],Z=ue[fe+2],(te&192)===128&&(Z&192)===128&&(Re=(oe&15)<<12|(te&63)<<6|Z&63,Re>2047&&(Re<55296||Re>57343)&&(Le=Re));break;case 4:te=ue[fe+1],Z=ue[fe+2],ge=ue[fe+3],(te&192)===128&&(Z&192)===128&&(ge&192)===128&&(Re=(oe&15)<<18|(te&63)<<12|(Z&63)<<6|ge&63,Re>65535&&Re<1114112&&(Le=Re))}}Le===null?(Le=65533,he=1):Le>65535&&(Le-=65536,J.push(Le>>>10&1023|55296),Le=56320|Le&1023),J.push(Le),fe+=he}return j(J)}var P=4096;function j(ue){var Q=ue.length;if(Q<=P)return String.fromCharCode.apply(String,ue);for(var V="",J=0;J<Q;)V+=String.fromCharCode.apply(String,ue.slice(J,J+=P));return V}function K(ue,Q,V){var J="";V=Math.min(ue.length,V);for(var fe=Q;fe<V;++fe)J+=String.fromCharCode(ue[fe]&127);return J}function N(ue,Q,V){var J="";V=Math.min(ue.length,V);for(var fe=Q;fe<V;++fe)J+=String.fromCharCode(ue[fe]);return J}function B(ue,Q,V){var J=ue.length;(!Q||Q<0)&&(Q=0),(!V||V<0||V>J)&&(V=J);for(var fe="",oe=Q;oe<V;++oe)fe+=ve(ue[oe]);return fe}function U(ue,Q,V){for(var J=ue.slice(Q,V),fe="",oe=0;oe<J.length;oe+=2)fe+=String.fromCharCode(J[oe]+J[oe+1]*256);return fe}f.prototype.slice=function(Q,V){var J=this.length;Q=~~Q,V=V===void 0?J:~~V,Q<0?(Q+=J,Q<0&&(Q=0)):Q>J&&(Q=J),V<0?(V+=J,V<0&&(V=0)):V>J&&(V=J),V<Q&&(V=Q);var fe;if(f.TYPED_ARRAY_SUPPORT)fe=this.subarray(Q,V),fe.__proto__=f.prototype;else{var oe=V-Q;fe=new f(oe,void 0);for(var Le=0;Le<oe;++Le)fe[Le]=this[Le+Q]}return fe};function H(ue,Q,V){if(ue%1!==0||ue<0)throw new RangeError("offset is not uint");if(ue+Q>V)throw new RangeError("Trying to access beyond buffer length")}f.prototype.readUIntLE=function(Q,V,J){Q=Q|0,V=V|0,J||H(Q,V,this.length);for(var fe=this[Q],oe=1,Le=0;++Le<V&&(oe*=256);)fe+=this[Q+Le]*oe;return fe},f.prototype.readUIntBE=function(Q,V,J){Q=Q|0,V=V|0,J||H(Q,V,this.length);for(var fe=this[Q+--V],oe=1;V>0&&(oe*=256);)fe+=this[Q+--V]*oe;return fe},f.prototype.readUInt8=function(Q,V){return V||H(Q,1,this.length),this[Q]},f.prototype.readUInt16LE=function(Q,V){return V||H(Q,2,this.length),this[Q]|this[Q+1]<<8},f.prototype.readUInt16BE=function(Q,V){return V||H(Q,2,this.length),this[Q]<<8|this[Q+1]},f.prototype.readUInt32LE=function(Q,V){return V||H(Q,4,this.length),(this[Q]|this[Q+1]<<8|this[Q+2]<<16)+this[Q+3]*16777216},f.prototype.readUInt32BE=function(Q,V){return V||H(Q,4,this.length),this[Q]*16777216+(this[Q+1]<<16|this[Q+2]<<8|this[Q+3])},f.prototype.readIntLE=function(Q,V,J){Q=Q|0,V=V|0,J||H(Q,V,this.length);for(var fe=this[Q],oe=1,Le=0;++Le<V&&(oe*=256);)fe+=this[Q+Le]*oe;return oe*=128,fe>=oe&&(fe-=Math.pow(2,8*V)),fe},f.prototype.readIntBE=function(Q,V,J){Q=Q|0,V=V|0,J||H(Q,V,this.length);for(var fe=V,oe=1,Le=this[Q+--fe];fe>0&&(oe*=256);)Le+=this[Q+--fe]*oe;return oe*=128,Le>=oe&&(Le-=Math.pow(2,8*V)),Le},f.prototype.readInt8=function(Q,V){return V||H(Q,1,this.length),this[Q]&128?(255-this[Q]+1)*-1:this[Q]},f.prototype.readInt16LE=function(Q,V){V||H(Q,2,this.length);var J=this[Q]|this[Q+1]<<8;return J&32768?J|4294901760:J},f.prototype.readInt16BE=function(Q,V){V||H(Q,2,this.length);var J=this[Q+1]|this[Q]<<8;return J&32768?J|4294901760:J},f.prototype.readInt32LE=function(Q,V){return V||H(Q,4,this.length),this[Q]|this[Q+1]<<8|this[Q+2]<<16|this[Q+3]<<24},f.prototype.readInt32BE=function(Q,V){return V||H(Q,4,this.length),this[Q]<<24|this[Q+1]<<16|this[Q+2]<<8|this[Q+3]},f.prototype.readFloatLE=function(Q,V){return V||H(Q,4,this.length),m.read(this,Q,!0,23,4)},f.prototype.readFloatBE=function(Q,V){return V||H(Q,4,this.length),m.read(this,Q,!1,23,4)},f.prototype.readDoubleLE=function(Q,V){return V||H(Q,8,this.length),m.read(this,Q,!0,52,8)},f.prototype.readDoubleBE=function(Q,V){return V||H(Q,8,this.length),m.read(this,Q,!1,52,8)};function z(ue,Q,V,J,fe,oe){if(!f.isBuffer(ue))throw new TypeError('"buffer" argument must be a Buffer instance');if(Q>fe||Q<oe)throw new RangeError('"value" argument is out of bounds');if(V+J>ue.length)throw new RangeError("Index out of range")}f.prototype.writeUIntLE=function(Q,V,J,fe){if(Q=+Q,V=V|0,J=J|0,!fe){var oe=Math.pow(2,8*J)-1;z(this,Q,V,J,oe,0)}var Le=1,he=0;for(this[V]=Q&255;++he<J&&(Le*=256);)this[V+he]=Q/Le&255;return V+J},f.prototype.writeUIntBE=function(Q,V,J,fe){if(Q=+Q,V=V|0,J=J|0,!fe){var oe=Math.pow(2,8*J)-1;z(this,Q,V,J,oe,0)}var Le=J-1,he=1;for(this[V+Le]=Q&255;--Le>=0&&(he*=256);)this[V+Le]=Q/he&255;return V+J},f.prototype.writeUInt8=function(Q,V,J){return Q=+Q,V=V|0,J||z(this,Q,V,1,255,0),f.TYPED_ARRAY_SUPPORT||(Q=Math.floor(Q)),this[V]=Q&255,V+1};function X(ue,Q,V,J){Q<0&&(Q=65535+Q+1);for(var fe=0,oe=Math.min(ue.length-V,2);fe<oe;++fe)ue[V+fe]=(Q&255<<8*(J?fe:1-fe))>>>(J?fe:1-fe)*8}f.prototype.writeUInt16LE=function(Q,V,J){return Q=+Q,V=V|0,J||z(this,Q,V,2,65535,0),f.TYPED_ARRAY_SUPPORT?(this[V]=Q&255,this[V+1]=Q>>>8):X(this,Q,V,!0),V+2},f.prototype.writeUInt16BE=function(Q,V,J){return Q=+Q,V=V|0,J||z(this,Q,V,2,65535,0),f.TYPED_ARRAY_SUPPORT?(this[V]=Q>>>8,this[V+1]=Q&255):X(this,Q,V,!1),V+2};function W(ue,Q,V,J){Q<0&&(Q=4294967295+Q+1);for(var fe=0,oe=Math.min(ue.length-V,4);fe<oe;++fe)ue[V+fe]=Q>>>(J?fe:3-fe)*8&255}f.prototype.writeUInt32LE=function(Q,V,J){return Q=+Q,V=V|0,J||z(this,Q,V,4,4294967295,0),f.TYPED_ARRAY_SUPPORT?(this[V+3]=Q>>>24,this[V+2]=Q>>>16,this[V+1]=Q>>>8,this[V]=Q&255):W(this,Q,V,!0),V+4},f.prototype.writeUInt32BE=function(Q,V,J){return Q=+Q,V=V|0,J||z(this,Q,V,4,4294967295,0),f.TYPED_ARRAY_SUPPORT?(this[V]=Q>>>24,this[V+1]=Q>>>16,this[V+2]=Q>>>8,this[V+3]=Q&255):W(this,Q,V,!1),V+4},f.prototype.writeIntLE=function(Q,V,J,fe){if(Q=+Q,V=V|0,!fe){var oe=Math.pow(2,8*J-1);z(this,Q,V,J,oe-1,-oe)}var Le=0,he=1,te=0;for(this[V]=Q&255;++Le<J&&(he*=256);)Q<0&&te===0&&this[V+Le-1]!==0&&(te=1),this[V+Le]=(Q/he>>0)-te&255;return V+J},f.prototype.writeIntBE=function(Q,V,J,fe){if(Q=+Q,V=V|0,!fe){var oe=Math.pow(2,8*J-1);z(this,Q,V,J,oe-1,-oe)}var Le=J-1,he=1,te=0;for(this[V+Le]=Q&255;--Le>=0&&(he*=256);)Q<0&&te===0&&this[V+Le+1]!==0&&(te=1),this[V+Le]=(Q/he>>0)-te&255;return V+J},f.prototype.writeInt8=function(Q,V,J){return Q=+Q,V=V|0,J||z(this,Q,V,1,127,-128),f.TYPED_ARRAY_SUPPORT||(Q=Math.floor(Q)),Q<0&&(Q=255+Q+1),this[V]=Q&255,V+1},f.prototype.writeInt16LE=function(Q,V,J){return Q=+Q,V=V|0,J||z(this,Q,V,2,32767,-32768),f.TYPED_ARRAY_SUPPORT?(this[V]=Q&255,this[V+1]=Q>>>8):X(this,Q,V,!0),V+2},f.prototype.writeInt16BE=function(Q,V,J){return Q=+Q,V=V|0,J||z(this,Q,V,2,32767,-32768),f.TYPED_ARRAY_SUPPORT?(this[V]=Q>>>8,this[V+1]=Q&255):X(this,Q,V,!1),V+2},f.prototype.writeInt32LE=function(Q,V,J){return Q=+Q,V=V|0,J||z(this,Q,V,4,2147483647,-2147483648),f.TYPED_ARRAY_SUPPORT?(this[V]=Q&255,this[V+1]=Q>>>8,this[V+2]=Q>>>16,this[V+3]=Q>>>24):W(this,Q,V,!0),V+4},f.prototype.writeInt32BE=function(Q,V,J){return Q=+Q,V=V|0,J||z(this,Q,V,4,2147483647,-2147483648),Q<0&&(Q=4294967295+Q+1),f.TYPED_ARRAY_SUPPORT?(this[V]=Q>>>24,this[V+1]=Q>>>16,this[V+2]=Q>>>8,this[V+3]=Q&255):W(this,Q,V,!1),V+4};function Y(ue,Q,V,J,fe,oe){if(V+J>ue.length)throw new RangeError("Index out of range");if(V<0)throw new RangeError("Index out of range")}function q(ue,Q,V,J,fe){return fe||Y(ue,Q,V,4,34028234663852886e22,-34028234663852886e22),m.write(ue,Q,V,J,23,4),V+4}f.prototype.writeFloatLE=function(Q,V,J){return q(this,Q,V,!0,J)},f.prototype.writeFloatBE=function(Q,V,J){return q(this,Q,V,!1,J)};function me(ue,Q,V,J,fe){return fe||Y(ue,Q,V,8,17976931348623157e292,-17976931348623157e292),m.write(ue,Q,V,J,52,8),V+8}f.prototype.writeDoubleLE=function(Q,V,J){return me(this,Q,V,!0,J)},f.prototype.writeDoubleBE=function(Q,V,J){return me(this,Q,V,!1,J)},f.prototype.copy=function(Q,V,J,fe){if(J||(J=0),!fe&&fe!==0&&(fe=this.length),V>=Q.length&&(V=Q.length),V||(V=0),fe>0&&fe<J&&(fe=J),fe===J)return 0;if(Q.length===0||this.length===0)return 0;if(V<0)throw new RangeError("targetStart out of bounds");if(J<0||J>=this.length)throw new RangeError("sourceStart out of bounds");if(fe<0)throw new RangeError("sourceEnd out of bounds");fe>this.length&&(fe=this.length),Q.length-V<fe-J&&(fe=Q.length-V+J);var oe=fe-J,Le;if(this===Q&&J<V&&V<fe)for(Le=oe-1;Le>=0;--Le)Q[Le+V]=this[Le+J];else if(oe<1e3||!f.TYPED_ARRAY_SUPPORT)for(Le=0;Le<oe;++Le)Q[Le+V]=this[Le+J];else Uint8Array.prototype.set.call(Q,this.subarray(J,J+oe),V);return oe},f.prototype.fill=function(Q,V,J,fe){if(typeof Q=="string"){if(typeof V=="string"?(fe=V,V=0,J=this.length):typeof J=="string"&&(fe=J,J=this.length),Q.length===1){var oe=Q.charCodeAt(0);oe<256&&(Q=oe)}if(fe!==void 0&&typeof fe!="string")throw new TypeError("encoding must be a string");if(typeof fe=="string"&&!f.isEncoding(fe))throw new TypeError("Unknown encoding: "+fe)}else typeof Q=="number"&&(Q=Q&255);if(V<0||this.length<V||this.length<J)throw new RangeError("Out of range index");if(J<=V)return this;V=V>>>0,J=J===void 0?this.length:J>>>0,Q||(Q=0);var Le;if(typeof Q=="number")for(Le=V;Le<J;++Le)this[Le]=Q;else{var he=f.isBuffer(Q)?Q:Ue(new f(Q,fe).toString()),te=he.length;for(Le=0;Le<J-V;++Le)this[Le+V]=he[Le%te]}return this};var G=/[^+\/0-9A-Za-z-_]/g;function ye(ue){if(ue=Ae(ue).replace(G,""),ue.length<2)return"";for(;ue.length%4!==0;)ue=ue+"=";return ue}function Ae(ue){return ue.trim?ue.trim():ue.replace(/^\s+|\s+$/g,"")}function ve(ue){return ue<16?"0"+ue.toString(16):ue.toString(16)}function Ue(ue,Q){Q=Q||Infinity;for(var V,J=ue.length,fe=null,oe=[],Le=0;Le<J;++Le){if(V=ue.charCodeAt(Le),V>55295&&V<57344){if(!fe){if(V>56319){(Q-=3)>-1&&oe.push(239,191,189);continue}else if(Le+1===J){(Q-=3)>-1&&oe.push(239,191,189);continue}fe=V;continue}if(V<56320){(Q-=3)>-1&&oe.push(239,191,189),fe=V;continue}V=(fe-55296<<10|V-56320)+65536}else fe&&((Q-=3)>-1&&oe.push(239,191,189));if(fe=null,V<128){if((Q-=1)<0)break;oe.push(V)}else if(V<2048){if((Q-=2)<0)break;oe.push(V>>6|192,V&63|128)}else if(V<65536){if((Q-=3)<0)break;oe.push(V>>12|224,V>>6&63|128,V&63|128)}else if(V<1114112){if((Q-=4)<0)break;oe.push(V>>18|240,V>>12&63|128,V>>6&63|128,V&63|128)}else throw new Error("Invalid code point")}return oe}function Me(ue){for(var Q=[],V=0;V<ue.length;++V)Q.push(ue.charCodeAt(V)&255);return Q}function nt(ue,Q){for(var V,J,fe,oe=[],Le=0;Le<ue.length&&!((Q-=2)<0);++Le)V=ue.charCodeAt(Le),J=V>>8,fe=V%256,oe.push(fe),oe.push(J);return oe}function ne(ue){return A.toByteArray(ye(ue))}function be(ue,Q,V,J){for(var fe=0;fe<J&&!(fe+V>=Q.length||fe>=ue.length);++fe)Q[fe+V]=ue[fe];return fe}function ot(ue){return ue!==ue}}).call(this,typeof global!="undefined"?global:typeof self!="undefined"?self:typeof window!="undefined"?window:{},R("buffer").Buffer)},{"base64-js":69,buffer:73,ieee754:195,isarray:198}],74:[function(R,D,e){D.exports={"100":"Continue","101":"Switching Protocols","102":"Processing","200":"OK","201":"Created","202":"Accepted","203":"Non-Authoritative Information","204":"No Content","205":"Reset Content","206":"Partial Content","207":"Multi-Status","208":"Already Reported","226":"IM Used","300":"Multiple Choices","301":"Moved Permanently","302":"Found","303":"See Other","304":"Not Modified","305":"Use Proxy","307":"Temporary Redirect","308":"Permanent Redirect","400":"Bad Request","401":"Unauthorized","402":"Payment Required","403":"Forbidden","404":"Not Found","405":"Method Not Allowed","406":"Not Acceptable","407":"Proxy Authentication Required","408":"Request Timeout","409":"Conflict","410":"Gone","411":"Length Required","412":"Precondition Failed","413":"Payload Too Large","414":"URI Too Long","415":"Unsupported Media Type","416":"Range Not Satisfiable","417":"Expectation Failed","418":"I'm a teapot","421":"Misdirected Request","422":"Unprocessable Entity","423":"Locked","424":"Failed Dependency","425":"Unordered Collection","426":"Upgrade Required","428":"Precondition Required","429":"Too Many Requests","431":"Request Header Fields Too Large","451":"Unavailable For Legal Reasons","500":"Internal Server Error","501":"Not Implemented","502":"Bad Gateway","503":"Service Unavailable","504":"Gateway Timeout","505":"HTTP Version Not Supported","506":"Variant Also Negotiates","507":"Insufficient Storage","508":"Loop Detected","509":"Bandwidth Limit Exceeded","510":"Not Extended","511":"Network Authentication Required"}},{}],75:[function(R,D,e){D.exports={O_RDONLY:0,O_WRONLY:1,O_RDWR:2,S_IFMT:61440,S_IFREG:32768,S_IFDIR:16384,S_IFCHR:8192,S_IFBLK:24576,S_IFIFO:4096,S_IFLNK:40960,S_IFSOCK:49152,O_CREAT:512,O_EXCL:2048,O_NOCTTY:131072,O_TRUNC:1024,O_APPEND:8,O_DIRECTORY:1048576,O_NOFOLLOW:256,O_SYNC:128,O_SYMLINK:2097152,O_NONBLOCK:4,S_IRWXU:448,S_IRUSR:256,S_IWUSR:128,S_IXUSR:64,S_IRWXG:56,S_IRGRP:32,S_IWGRP:16,S_IXGRP:8,S_IRWXO:7,S_IROTH:4,S_IWOTH:2,S_IXOTH:1,E2BIG:7,EACCES:13,EADDRINUSE:48,EADDRNOTAVAIL:49,EAFNOSUPPORT:47,EAGAIN:35,EALREADY:37,EBADF:9,EBADMSG:94,EBUSY:16,ECANCELED:89,ECHILD:10,ECONNABORTED:53,ECONNREFUSED:61,ECONNRESET:54,EDEADLK:11,EDESTADDRREQ:39,EDOM:33,EDQUOT:69,EEXIST:17,EFAULT:14,EFBIG:27,EHOSTUNREACH:65,EIDRM:90,EILSEQ:92,EINPROGRESS:36,EINTR:4,EINVAL:22,EIO:5,EISCONN:56,EISDIR:21,ELOOP:62,EMFILE:24,EMLINK:31,EMSGSIZE:40,EMULTIHOP:95,ENAMETOOLONG:63,ENETDOWN:50,ENETRESET:52,ENETUNREACH:51,ENFILE:23,ENOBUFS:55,ENODATA:96,ENODEV:19,ENOENT:2,ENOEXEC:8,ENOLCK:77,ENOLINK:97,ENOMEM:12,ENOMSG:91,ENOPROTOOPT:42,ENOSPC:28,ENOSR:98,ENOSTR:99,ENOSYS:78,ENOTCONN:57,ENOTDIR:20,ENOTEMPTY:66,ENOTSOCK:38,ENOTSUP:45,ENOTTY:25,ENXIO:6,EOPNOTSUPP:102,EOVERFLOW:84,EPERM:1,EPIPE:32,EPROTO:100,EPROTONOSUPPORT:43,EPROTOTYPE:41,ERANGE:34,EROFS:30,ESPIPE:29,ESRCH:3,ESTALE:70,ETIME:101,ETIMEDOUT:60,ETXTBSY:26,EWOULDBLOCK:35,EXDEV:18,SIGHUP:1,SIGINT:2,SIGQUIT:3,SIGILL:4,SIGTRAP:5,SIGABRT:6,SIGIOT:6,SIGBUS:10,SIGFPE:8,SIGKILL:9,SIGUSR1:30,SIGSEGV:11,SIGUSR2:31,SIGPIPE:13,SIGALRM:14,SIGTERM:15,SIGCHLD:20,SIGCONT:19,SIGSTOP:17,SIGTSTP:18,SIGTTIN:21,SIGTTOU:22,SIGURG:16,SIGXCPU:24,SIGXFSZ:25,SIGVTALRM:26,SIGPROF:27,SIGWINCH:28,SIGIO:23,SIGSYS:12,SSL_OP_ALL:2147486719,SSL_OP_ALLOW_UNSAFE_LEGACY_RENEGOTIATION:262144,SSL_OP_CIPHER_SERVER_PREFERENCE:4194304,SSL_OP_CISCO_ANYCONNECT:32768,SSL_OP_COOKIE_EXCHANGE:8192,SSL_OP_CRYPTOPRO_TLSEXT_BUG:2147483648,SSL_OP_DONT_INSERT_EMPTY_FRAGMENTS:2048,SSL_OP_EPHEMERAL_RSA:0,SSL_OP_LEGACY_SERVER_CONNECT:4,SSL_OP_MICROSOFT_BIG_SSLV3_BUFFER:32,SSL_OP_MICROSOFT_SESS_ID_BUG:1,SSL_OP_MSIE_SSLV2_RSA_PADDING:0,SSL_OP_NETSCAPE_CA_DN_BUG:536870912,SSL_OP_NETSCAPE_CHALLENGE_BUG:2,SSL_OP_NETSCAPE_DEMO_CIPHER_CHANGE_BUG:1073741824,SSL_OP_NETSCAPE_REUSE_CIPHER_CHANGE_BUG:8,SSL_OP_NO_COMPRESSION:131072,SSL_OP_NO_QUERY_MTU:4096,SSL_OP_NO_SESSION_RESUMPTION_ON_RENEGOTIATION:65536,SSL_OP_NO_SSLv2:16777216,SSL_OP_NO_SSLv3:33554432,SSL_OP_NO_TICKET:16384,SSL_OP_NO_TLSv1:67108864,SSL_OP_NO_TLSv1_1:268435456,SSL_OP_NO_TLSv1_2:134217728,SSL_OP_PKCS1_CHECK_1:0,SSL_OP_PKCS1_CHECK_2:0,SSL_OP_SINGLE_DH_USE:1048576,SSL_OP_SINGLE_ECDH_USE:524288,SSL_OP_SSLEAY_080_CLIENT_DH_BUG:128,SSL_OP_SSLREF2_REUSE_CERT_TYPE_BUG:0,SSL_OP_TLS_BLOCK_PADDING_BUG:512,SSL_OP_TLS_D5_BUG:256,SSL_OP_TLS_ROLLBACK_BUG:8388608,ENGINE_METHOD_DSA:2,ENGINE_METHOD_DH:4,ENGINE_METHOD_RAND:8,ENGINE_METHOD_ECDH:16,ENGINE_METHOD_ECDSA:32,ENGINE_METHOD_CIPHERS:64,ENGINE_METHOD_DIGESTS:128,ENGINE_METHOD_STORE:256,ENGINE_METHOD_PKEY_METHS:512,ENGINE_METHOD_PKEY_ASN1_METHS:1024,ENGINE_METHOD_ALL:65535,ENGINE_METHOD_NONE:0,DH_CHECK_P_NOT_SAFE_PRIME:2,DH_CHECK_P_NOT_PRIME:1,DH_UNABLE_TO_CHECK_GENERATOR:4,DH_NOT_SUITABLE_GENERATOR:8,NPN_ENABLED:1,RSA_PKCS1_PADDING:1,RSA_SSLV23_PADDING:2,RSA_NO_PADDING:3,RSA_PKCS1_OAEP_PADDING:4,RSA_X931_PADDING:5,RSA_PKCS1_PSS_PADDING:6,POINT_CONVERSION_COMPRESSED:2,POINT_CONVERSION_UNCOMPRESSED:4,POINT_CONVERSION_HYBRID:6,F_OK:0,R_OK:4,W_OK:2,X_OK:1,UV_UDP_REUSEADDR:4}},{}],76:[function(R,D,e){/*!
|
|
|
* copy-to - index.js
|
|
|
* Copyright(c) 2014 dead_horse <dead_horse@qq.com>
|
|
|
* MIT Licensed
|
|
|
*/"use strict";var g=Array.prototype.slice;D.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(!A(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 A(m,v){return m[v]===void 0&&m.__lookupGetter__(v)===void 0&&m.__lookupSetter__(v)===void 0}},{}],77:[function(R,D,e){R("../../modules/es6.string.iterator"),R("../../modules/es6.array.from"),D.exports=R("../../modules/_core").Array.from},{"../../modules/_core":99,"../../modules/es6.array.from":168,"../../modules/es6.string.iterator":180}],78:[function(R,D,e){var g=R("../../modules/_core"),f=g.JSON||(g.JSON={stringify:JSON.stringify});D.exports=function(m){return f.stringify.apply(f,arguments)}},{"../../modules/_core":99}],79:[function(R,D,e){R("../../modules/es6.object.assign"),D.exports=R("../../modules/_core").Object.assign},{"../../modules/_core":99,"../../modules/es6.object.assign":171}],80:[function(R,D,e){R("../../modules/es6.object.create");var g=R("../../modules/_core").Object;D.exports=function(A,m){return g.create(A,m)}},{"../../modules/_core":99,"../../modules/es6.object.create":172}],81:[function(R,D,e){R("../../modules/es6.object.define-property");var g=R("../../modules/_core").Object;D.exports=function(A,m,v){return g.defineProperty(A,m,v)}},{"../../modules/_core":99,"../../modules/es6.object.define-property":173}],82:[function(R,D,e){R("../../modules/es7.object.entries"),D.exports=R("../../modules/_core").Object.entries},{"../../modules/_core":99,"../../modules/es7.object.entries":182}],83:[function(R,D,e){R("../../modules/es6.object.get-own-property-names");var g=R("../../modules/_core").Object;D.exports=function(A){return g.getOwnPropertyNames(A)}},{"../../modules/_core":99,"../../modules/es6.object.get-own-property-names":174}],84:[function(R,D,e){R("../../modules/es6.object.get-prototype-of"),D.exports=R("../../modules/_core").Object.getPrototypeOf},{"../../modules/_core":99,"../../modules/es6.object.get-prototype-of":175}],85:[function(R,D,e){R("../../modules/es6.object.keys"),D.exports=R("../../modules/_core").Object.keys},{"../../modules/_core":99,"../../modules/es6.object.keys":176}],86:[function(R,D,e){R("../modules/es6.object.to-string"),R("../modules/es6.string.iterator"),R("../modules/web.dom.iterable"),R("../modules/es6.promise"),R("../modules/es7.promise.finally"),R("../modules/es7.promise.try"),D.exports=R("../modules/_core").Promise},{"../modules/_core":99,"../modules/es6.object.to-string":177,"../modules/es6.promise":178,"../modules/es6.string.iterator":180,"../modules/es7.promise.finally":183,"../modules/es7.promise.try":184,"../modules/web.dom.iterable":187}],87:[function(R,D,e){R("../modules/web.immediate"),D.exports=R("../modules/_core").setImmediate},{"../modules/_core":99,"../modules/web.immediate":188}],88:[function(R,D,e){R("../../modules/es6.string.from-code-point"),D.exports=R("../../modules/_core").String.fromCodePoint},{"../../modules/_core":99,"../../modules/es6.string.from-code-point":179}],89:[function(R,D,e){R("../../modules/es6.function.has-instance"),D.exports=R("../../modules/_wks-ext").f("hasInstance")},{"../../modules/_wks-ext":165,"../../modules/es6.function.has-instance":170}],90:[function(R,D,e){R("../../modules/es6.symbol"),R("../../modules/es6.object.to-string"),R("../../modules/es7.symbol.async-iterator"),R("../../modules/es7.symbol.observable"),D.exports=R("../../modules/_core").Symbol},{"../../modules/_core":99,"../../modules/es6.object.to-string":177,"../../modules/es6.symbol":181,"../../modules/es7.symbol.async-iterator":185,"../../modules/es7.symbol.observable":186}],91:[function(R,D,e){R("../../modules/es6.string.iterator"),R("../../modules/web.dom.iterable"),D.exports=R("../../modules/_wks-ext").f("iterator")},{"../../modules/_wks-ext":165,"../../modules/es6.string.iterator":180,"../../modules/web.dom.iterable":187}],92:[function(R,D,e){D.exports=function(g){if(typeof g!="function")throw TypeError(g+" is not a function!");return g}},{}],93:[function(R,D,e){D.exports=function(){}},{}],94:[function(R,D,e){D.exports=function(g,f,A,m){if(!(g instanceof f)||m!==void 0&&m in g)throw TypeError(A+": incorrect invocation!");return g}},{}],95:[function(R,D,e){var g=R("./_is-object");D.exports=function(f){if(!g(f))throw TypeError(f+" is not an object!");return f}},{"./_is-object":119}],96:[function(R,D,e){var g=R("./_to-iobject"),f=R("./_to-length"),A=R("./_to-absolute-index");D.exports=function(m){return function(v,h,c){var a=g(v),i=f(a.length),r=A(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(R,D,e){var g=R("./_cof"),f=R("./_wks")("toStringTag"),A=g(function(){return arguments}())=="Arguments",m=function(h,c){try{return h[c]}catch(a){}};D.exports=function(v){var h,c,a;return v===void 0?"Undefined":v===null?"Null":typeof(c=m(h=Object(v),f))=="string"?c:A?g(h):(a=g(h))=="Object"&&typeof h.callee=="function"?"Arguments":a}},{"./_cof":98,"./_wks":166}],98:[function(R,D,e){var g={}.toString;D.exports=function(f){return g.call(f).slice(8,-1)}},{}],99:[function(R,D,e){var g=D.exports={version:"2.6.11"};typeof __e=="number"&&(__e=g)},{}],100:[function(R,D,e){"use strict";var g=R("./_object-dp"),f=R("./_property-desc");D.exports=function(A,m,v){m in A?g.f(A,m,f(0,v)):A[m]=v}},{"./_object-dp":132,"./_property-desc":146}],101:[function(R,D,e){var g=R("./_a-function");D.exports=function(f,A,m){if(g(f),A===void 0)return f;switch(m){case 1:return function(v){return f.call(A,v)};case 2:return function(v,h){return f.call(A,v,h)};case 3:return function(v,h,c){return f.call(A,v,h,c)}}return function(){return f.apply(A,arguments)}}},{"./_a-function":92}],102:[function(R,D,e){D.exports=function(g){if(g==null)throw TypeError("Can't call method on "+g);return g}},{}],103:[function(R,D,e){D.exports=!R("./_fails")(function(){return Object.defineProperty({},"a",{get:function(){return 7}}).a!=7})},{"./_fails":108}],104:[function(R,D,e){var g=R("./_is-object"),f=R("./_global").document,A=g(f)&&g(f.createElement);D.exports=function(m){return A?f.createElement(m):{}}},{"./_global":110,"./_is-object":119}],105:[function(R,D,e){D.exports="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(",")},{}],106:[function(R,D,e){var g=R("./_object-keys"),f=R("./_object-gops"),A=R("./_object-pie");D.exports=function(m){var v=g(m),h=f.f;if(h)for(var c=h(m),a=A.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(R,D,e){var g=R("./_global"),f=R("./_core"),A=R("./_ctx"),m=R("./_hide"),v=R("./_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]={}),x=p[h],S=n?g:l?g[r]:(g[r]||{})[h],T,w,E;n&&(o=r);for(T in o){if(w=!d&&S&&S[T]!==void 0,w&&v(p,T))continue;E=w?S[T]:o[T],p[T]=n&&typeof S[T]!="function"?o[T]:s&&w?A(E,g):u&&S[T]==E?function(C){var _=function(b,O,I){if(this instanceof C){switch(arguments.length){case 0:return new C;case 1:return new C(b);case 2:return new C(b,O)}return new C(b,O,I)}return C.apply(this,arguments)};return _[h]=C[h],_}(E):t&&typeof E=="function"?A(Function.call,E):E,t&&((p.virtual||(p.virtual={}))[T]=E,i&a.R&&x&&!x[T]&&m(x,T,E))}};c.F=1,c.G=2,c.S=4,c.P=8,c.B=16,c.W=32,c.U=64,c.R=128,D.exports=c},{"./_core":99,"./_ctx":101,"./_global":110,"./_has":111,"./_hide":112}],108:[function(R,D,e){D.exports=function(g){try{return!!g()}catch(f){return!0}}},{}],109:[function(R,D,e){var g=R("./_ctx"),f=R("./_iter-call"),A=R("./_is-array-iter"),m=R("./_an-object"),v=R("./_to-length"),h=R("./core.get-iterator-method"),c={},a={},e=D.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,x,S;if(typeof l!="function")throw TypeError(i+" is not iterable!");if(A(l)){for(u=v(i.length);u>s;s++)if(S=r?t(m(p=i[s])[0],p[1]):t(i[s]),S===c||S===a)return S}else for(x=l.call(i);!(p=x.next()).done;)if(S=f(x,t,p.value,r),S===c||S===a)return S};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(R,D,e){var g=D.exports=typeof window!="undefined"&&window.Math==Math?window:typeof self!="undefined"&&self.Math==Math?self:Function("return this")();typeof __g=="number"&&(__g=g)},{}],111:[function(R,D,e){var g={}.hasOwnProperty;D.exports=function(f,A){return g.call(f,A)}},{}],112:[function(R,D,e){var g=R("./_object-dp"),f=R("./_property-desc");D.exports=R("./_descriptors")?function(A,m,v){return g.f(A,m,f(1,v))}:function(A,m,v){return A[m]=v,A}},{"./_descriptors":103,"./_object-dp":132,"./_property-desc":146}],113:[function(R,D,e){var g=R("./_global").document;D.exports=g&&g.documentElement},{"./_global":110}],114:[function(R,D,e){D.exports=!R("./_descriptors")&&!R("./_fails")(function(){return Object.defineProperty(R("./_dom-create")("div"),"a",{get:function(){return 7}}).a!=7})},{"./_descriptors":103,"./_dom-create":104,"./_fails":108}],115:[function(R,D,e){D.exports=function(g,f,A){var m=A===void 0;switch(f.length){case 0:return m?g():g.call(A);case 1:return m?g(f[0]):g.call(A,f[0]);case 2:return m?g(f[0],f[1]):g.call(A,f[0],f[1]);case 3:return m?g(f[0],f[1],f[2]):g.call(A,f[0],f[1],f[2]);case 4:return m?g(f[0],f[1],f[2],f[3]):g.call(A,f[0],f[1],f[2],f[3])}return g.apply(A,f)}},{}],116:[function(R,D,e){var g=R("./_cof");D.exports=Object("z").propertyIsEnumerable(0)?Object:function(f){return g(f)=="String"?f.split(""):Object(f)}},{"./_cof":98}],117:[function(R,D,e){var g=R("./_iterators"),f=R("./_wks")("iterator"),A=Array.prototype;D.exports=function(m){return m!==void 0&&(g.Array===m||A[f]===m)}},{"./_iterators":125,"./_wks":166}],118:[function(R,D,e){var g=R("./_cof");D.exports=Array.isArray||function(A){return g(A)=="Array"}},{"./_cof":98}],119:[function(R,D,e){D.exports=function(g){return typeof g=="object"?g!==null:typeof g=="function"}},{}],120:[function(R,D,e){var g=R("./_an-object");D.exports=function(f,A,m,v){try{return v?A(g(m)[0],m[1]):A(m)}catch(c){var h=f.return;throw h!==void 0&&g(h.call(f)),c}}},{"./_an-object":95}],121:[function(R,D,e){"use strict";var g=R("./_object-create"),f=R("./_property-desc"),A=R("./_set-to-string-tag"),m={};R("./_hide")(m,R("./_wks")("iterator"),function(){return this}),D.exports=function(v,h,c){v.prototype=g(m,{next:f(1,c)}),A(v,h+" Iterator")}},{"./_hide":112,"./_object-create":131,"./_property-desc":146,"./_set-to-string-tag":150,"./_wks":166}],122:[function(R,D,e){"use strict";var g=R("./_library"),f=R("./_export"),A=R("./_redefine"),m=R("./_hide"),v=R("./_iterators"),h=R("./_iter-create"),c=R("./_set-to-string-tag"),a=R("./_object-gpo"),i=R("./_wks")("iterator"),r=!([].keys&&"next"in[].keys()),o="@@iterator",d="keys",n="values",l=function(){return this};D.exports=function(t,s,u,p,x,S,T){h(u,s,p);var w=function(N){if(!r&&N in y)return y[N];switch(N){case d:return function(){return new u(this,N)};case n:return function(){return new u(this,N)}}return function(){return new u(this,N)}},E=s+" Iterator",C=x==n,_=!1,y=t.prototype,b=y[i]||y[o]||x&&y[x],O=b||w(x),I=x?C?w("entries"):O:void 0,M=s=="Array"&&y.entries||b,F,P,j;if(M&&(j=a(M.call(new t)),j!==Object.prototype&&j.next&&(c(j,E,!0),!g&&typeof j[i]!="function"&&m(j,i,l))),C&&b&&b.name!==n&&(_=!0,O=function(){return b.call(this)}),(!g||T)&&(r||_||!y[i])&&m(y,i,O),v[s]=O,v[E]=l,x)if(F={values:C?O:w(n),keys:S?O:w(d),entries:I},T)for(P in F)P in y||A(y,P,F[P]);else f(f.P+f.F*(r||_),s,F);return F}},{"./_export":107,"./_hide":112,"./_iter-create":121,"./_iterators":125,"./_library":126,"./_object-gpo":138,"./_redefine":148,"./_set-to-string-tag":150,"./_wks":166}],123:[function(R,D,e){var g=R("./_wks")("iterator"),f=!1;try{var A=[7][g]();A.return=function(){f=!0},Array.from(A,function(){throw 2})}catch(m){}D.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(R,D,e){D.exports=function(g,f){return{value:f,done:!!g}}},{}],125:[function(R,D,e){D.exports={}},{}],126:[function(R,D,e){D.exports=!0},{}],127:[function(R,D,e){var g=R("./_uid")("meta"),f=R("./_is-object"),A=R("./_has"),m=R("./_object-dp").f,v=0,h=Object.isExtensible||function(){return!0},c=!R("./_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(!A(l,g)){if(!h(l))return"F";if(!t)return"E";a(l)}return l[g].i},r=function(l,t){if(!A(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)&&!A(l,g)&&a(l),l},d=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(R,D,e){var g=R("./_global"),f=R("./_task").set,A=g.MutationObserver||g.WebKitMutationObserver,m=g.process,v=g.Promise,h=R("./_cof")(m)=="process";D.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(A&&!(g.navigator&&g.navigator.standalone)){var o=!0,d=document.createTextNode("");new A(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(R,D,e){"use strict";var g=R("./_a-function");function f(A){var m,v;this.promise=new A(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)}D.exports.f=function(A){return new f(A)}},{"./_a-function":92}],130:[function(R,D,e){"use strict";var g=R("./_descriptors"),f=R("./_object-keys"),A=R("./_object-gops"),m=R("./_object-pie"),v=R("./_to-object"),h=R("./_iobject"),c=Object.assign;D.exports=!c||R("./_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=A.f,t=m.f;d>n;)for(var s=h(arguments[n++]),u=l?f(s).concat(l(s)):f(s),p=u.length,x=0,S;p>x;)S=u[x++],(!g||t.call(s,S))&&(o[S]=s[S]);return o}:c},{"./_descriptors":103,"./_fails":108,"./_iobject":116,"./_object-gops":137,"./_object-keys":140,"./_object-pie":141,"./_to-object":160}],131:[function(R,D,e){var g=R("./_an-object"),f=R("./_object-dps"),A=R("./_enum-bug-keys"),m=R("./_shared-key")("IE_PROTO"),v=function(){},h="prototype",c=function(){var i=R("./_dom-create")("iframe"),r=A.length,o="<",d=">",n;for(i.style.display="none",R("./_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][A[r]];return c()};D.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(R,D,e){var g=R("./_an-object"),f=R("./_ie8-dom-define"),A=R("./_to-primitive"),m=Object.defineProperty;e.f=R("./_descriptors")?Object.defineProperty:function(h,c,a){if(g(h),c=A(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(R,D,e){var g=R("./_object-dp"),f=R("./_an-object"),A=R("./_object-keys");D.exports=R("./_descriptors")?Object.defineProperties:function(v,h){f(v);for(var c=A(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(R,D,e){var g=R("./_object-pie"),f=R("./_property-desc"),A=R("./_to-iobject"),m=R("./_to-primitive"),v=R("./_has"),h=R("./_ie8-dom-define"),c=Object.getOwnPropertyDescriptor;e.f=R("./_descriptors")?c:function(i,r){if(i=A(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(R,D,e){var g=R("./_to-iobject"),f=R("./_object-gopn").f,A={}.toString,m=typeof window=="object"&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[],v=function(c){try{return f(c)}catch(a){return m.slice()}};D.exports.f=function(c){return m&&A.call(c)=="[object Window]"?v(c):f(g(c))}},{"./_object-gopn":136,"./_to-iobject":158}],136:[function(R,D,e){var g=R("./_object-keys-internal"),f=R("./_enum-bug-keys").concat("length","prototype");e.f=Object.getOwnPropertyNames||function(m){return g(m,f)}},{"./_enum-bug-keys":105,"./_object-keys-internal":139}],137:[function(R,D,e){e.f=Object.getOwnPropertySymbols},{}],138:[function(R,D,e){var g=R("./_has"),f=R("./_to-object"),A=R("./_shared-key")("IE_PROTO"),m=Object.prototype;D.exports=Object.getPrototypeOf||function(v){return v=f(v),g(v,A)?v[A]: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(R,D,e){var g=R("./_has"),f=R("./_to-iobject"),A=R("./_array-includes")(!1),m=R("./_shared-key")("IE_PROTO");D.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++])&&(~A(i,r)||i.push(r));return i}},{"./_array-includes":96,"./_has":111,"./_shared-key":151,"./_to-iobject":158}],140:[function(R,D,e){var g=R("./_object-keys-internal"),f=R("./_enum-bug-keys");D.exports=Object.keys||function(m){return g(m,f)}},{"./_enum-bug-keys":105,"./_object-keys-internal":139}],141:[function(R,D,e){e.f={}.propertyIsEnumerable},{}],142:[function(R,D,e){var g=R("./_export"),f=R("./_core"),A=R("./_fails");D.exports=function(m,v){var h=(f.Object||{})[m]||Object[m],c={};c[m]=v(h),g(g.S+g.F*A(function(){h(1)}),"Object",c)}},{"./_core":99,"./_export":107,"./_fails":108}],143:[function(R,D,e){var g=R("./_descriptors"),f=R("./_object-keys"),A=R("./_to-iobject"),m=R("./_object-pie").f;D.exports=function(v){return function(h){for(var c=A(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(R,D,e){D.exports=function(g){try{return{e:!1,v:g()}}catch(f){return{e:!0,v:f}}}},{}],145:[function(R,D,e){var g=R("./_an-object"),f=R("./_is-object"),A=R("./_new-promise-capability");D.exports=function(m,v){if(g(m),f(v)&&v.constructor===m)return v;var h=A.f(m),c=h.resolve;return c(v),h.promise}},{"./_an-object":95,"./_is-object":119,"./_new-promise-capability":129}],146:[function(R,D,e){D.exports=function(g,f){return{enumerable:!(g&1),configurable:!(g&2),writable:!(g&4),value:f}}},{}],147:[function(R,D,e){var g=R("./_hide");D.exports=function(f,A,m){for(var v in A)m&&f[v]?f[v]=A[v]:g(f,v,A[v]);return f}},{"./_hide":112}],148:[function(R,D,e){D.exports=R("./_hide")},{"./_hide":112}],149:[function(R,D,e){"use strict";var g=R("./_global"),f=R("./_core"),A=R("./_object-dp"),m=R("./_descriptors"),v=R("./_wks")("species");D.exports=function(h){var c=typeof f[h]=="function"?f[h]:g[h];m&&c&&!c[v]&&A.f(c,v,{configurable:!0,get:function(){return this}})}},{"./_core":99,"./_descriptors":103,"./_global":110,"./_object-dp":132,"./_wks":166}],150:[function(R,D,e){var g=R("./_object-dp").f,f=R("./_has"),A=R("./_wks")("toStringTag");D.exports=function(m,v,h){m&&!f(m=h?m:m.prototype,A)&&g(m,A,{configurable:!0,value:v})}},{"./_has":111,"./_object-dp":132,"./_wks":166}],151:[function(R,D,e){var g=R("./_shared")("keys"),f=R("./_uid");D.exports=function(A){return g[A]||(g[A]=f(A))}},{"./_shared":152,"./_uid":162}],152:[function(R,D,e){var g=R("./_core"),f=R("./_global"),A="__core-js_shared__",m=f[A]||(f[A]={});(D.exports=function(v,h){return m[v]||(m[v]=h!==void 0?h:{})})("versions",[]).push({version:g.version,mode:R("./_library")?"pure":"global",copyright:"\xA9 2019 Denis Pushkarev (zloirock.ru)"})},{"./_core":99,"./_global":110,"./_library":126}],153:[function(R,D,e){var g=R("./_an-object"),f=R("./_a-function"),A=R("./_wks")("species");D.exports=function(m,v){var h=g(m).constructor,c;return h===void 0||(c=g(h)[A])==null?v:f(c)}},{"./_a-function":92,"./_an-object":95,"./_wks":166}],154:[function(R,D,e){var g=R("./_to-integer"),f=R("./_defined");D.exports=function(A){return function(m,v){var h=String(f(m)),c=g(v),a=h.length,i,r;return c<0||c>=a?A?"":void 0:(i=h.charCodeAt(c),i<55296||i>56319||c+1===a||(r=h.charCodeAt(c+1))<56320||r>57343?A?h.charAt(c):i:A?h.slice(c,c+2):(i-55296<<10)+(r-56320)+65536)}}},{"./_defined":102,"./_to-integer":157}],155:[function(R,D,e){var g=R("./_ctx"),f=R("./_invoke"),A=R("./_html"),m=R("./_dom-create"),v=R("./_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 S=+this;if(d.hasOwnProperty(S)){var T=d[S];delete d[S],T()}},p=function(S){u.call(S.data)};(!c||!a)&&(c=function(S){for(var T=[],w=1;arguments.length>w;)T.push(arguments[w++]);return d[++o]=function(){f(typeof S=="function"?S:Function(S),T)},l(o),o},a=function(S){delete d[S]},R("./_cof")(h)=="process"?l=function(S){h.nextTick(g(u,S,1))}:r&&r.now?l=function(S){r.now(g(u,S,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(S){v.postMessage(S+"","*")},v.addEventListener("message",p,!1)):n in m("script")?l=function(S){A.appendChild(m("script"))[n]=function(){A.removeChild(this),u.call(S)}}:l=function(S){setTimeout(g(u,S,1),0)}),D.exports={set:c,clear:a}},{"./_cof":98,"./_ctx":101,"./_dom-create":104,"./_global":110,"./_html":113,"./_invoke":115}],156:[function(R,D,e){var g=R("./_to-integer"),f=Math.max,A=Math.min;D.exports=function(m,v){return m=g(m),m<0?f(m+v,0):A(m,v)}},{"./_to-integer":157}],157:[function(R,D,e){var g=Math.ceil,f=Math.floor;D.exports=function(A){return isNaN(A=+A)?0:(A>0?f:g)(A)}},{}],158:[function(R,D,e){var g=R("./_iobject"),f=R("./_defined");D.exports=function(A){return g(f(A))}},{"./_defined":102,"./_iobject":116}],159:[function(R,D,e){var g=R("./_to-integer"),f=Math.min;D.exports=function(A){return A>0?f(g(A),9007199254740991):0}},{"./_to-integer":157}],160:[function(R,D,e){var g=R("./_defined");D.exports=function(f){return Object(g(f))}},{"./_defined":102}],161:[function(R,D,e){var g=R("./_is-object");D.exports=function(f,A){if(!g(f))return f;var m,v;if(A&&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(!A&&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(R,D,e){var g=0,f=Math.random();D.exports=function(A){return"Symbol(".concat(A===void 0?"":A,")_",(++g+f).toString(36))}},{}],163:[function(R,D,e){var g=R("./_global"),f=g.navigator;D.exports=f&&f.userAgent||""},{"./_global":110}],164:[function(R,D,e){var g=R("./_global"),f=R("./_core"),A=R("./_library"),m=R("./_wks-ext"),v=R("./_object-dp").f;D.exports=function(h){var c=f.Symbol||(f.Symbol=A?{}: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(R,D,e){e.f=R("./_wks")},{"./_wks":166}],166:[function(R,D,e){var g=R("./_shared")("wks"),f=R("./_uid"),A=R("./_global").Symbol,m=typeof A=="function",v=D.exports=function(h){return g[h]||(g[h]=m&&A[h]||(m?A:f)("Symbol."+h))};v.store=g},{"./_global":110,"./_shared":152,"./_uid":162}],167:[function(R,D,e){var g=R("./_classof"),f=R("./_wks")("iterator"),A=R("./_iterators");D.exports=R("./_core").getIteratorMethod=function(m){if(m!=null)return m[f]||m["@@iterator"]||A[g(m)]}},{"./_classof":97,"./_core":99,"./_iterators":125,"./_wks":166}],168:[function(R,D,e){"use strict";var g=R("./_ctx"),f=R("./_export"),A=R("./_to-object"),m=R("./_iter-call"),v=R("./_is-array-iter"),h=R("./_to-length"),c=R("./_create-property"),a=R("./core.get-iterator-method");f(f.S+f.F*!R("./_iter-detect")(function(i){Array.from(i)}),"Array",{from:function(r){var o=A(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,x,S,T;if(t&&(l=g(l,n>2?arguments[2]:void 0,2)),u!=null&&!(d==Array&&v(u)))for(T=u.call(o),x=new d;!(S=T.next()).done;s++)c(x,s,t?m(T,l,[S.value,s],!0):S.value);else for(p=h(o.length),x=new d(p);p>s;s++)c(x,s,t?l(o[s],s):o[s]);return x.length=s,x}})},{"./_create-property":100,"./_ctx":101,"./_export":107,"./_is-array-iter":117,"./_iter-call":120,"./_iter-detect":123,"./_to-length":159,"./_to-object":160,"./core.get-iterator-method":167}],169:[function(R,D,e){"use strict";var g=R("./_add-to-unscopables"),f=R("./_iter-step"),A=R("./_iterators"),m=R("./_to-iobject");D.exports=R("./_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"),A.Arguments=A.Array,g("keys"),g("values"),g("entries")},{"./_add-to-unscopables":93,"./_iter-define":122,"./_iter-step":124,"./_iterators":125,"./_to-iobject":158}],170:[function(R,D,e){"use strict";var g=R("./_is-object"),f=R("./_object-gpo"),A=R("./_wks")("hasInstance"),m=Function.prototype;A in m||R("./_object-dp").f(m,A,{value:function(h){if(typeof this!="function"||!g(h))return!1;if(!g(this.prototype))return h instanceof this;for(;h=f(h);)if(this.prototype===h)return!0;return!1}})},{"./_is-object":119,"./_object-dp":132,"./_object-gpo":138,"./_wks":166}],171:[function(R,D,e){var g=R("./_export");g(g.S+g.F,"Object",{assign:R("./_object-assign")})},{"./_export":107,"./_object-assign":130}],172:[function(R,D,e){var g=R("./_export");g(g.S,"Object",{create:R("./_object-create")})},{"./_export":107,"./_object-create":131}],173:[function(R,D,e){var g=R("./_export");g(g.S+g.F*!R("./_descriptors"),"Object",{defineProperty:R("./_object-dp").f})},{"./_descriptors":103,"./_export":107,"./_object-dp":132}],174:[function(R,D,e){R("./_object-sap")("getOwnPropertyNames",function(){return R("./_object-gopn-ext").f})},{"./_object-gopn-ext":135,"./_object-sap":142}],175:[function(R,D,e){var g=R("./_to-object"),f=R("./_object-gpo");R("./_object-sap")("getPrototypeOf",function(){return function(m){return f(g(m))}})},{"./_object-gpo":138,"./_object-sap":142,"./_to-object":160}],176:[function(R,D,e){var g=R("./_to-object"),f=R("./_object-keys");R("./_object-sap")("keys",function(){return function(m){return f(g(m))}})},{"./_object-keys":140,"./_object-sap":142,"./_to-object":160}],177:[function(R,D,e){arguments[4][71][0].apply(e,arguments)},{dup:71}],178:[function(R,D,e){"use strict";var g=R("./_library"),f=R("./_global"),A=R("./_ctx"),m=R("./_classof"),v=R("./_export"),h=R("./_is-object"),c=R("./_a-function"),a=R("./_an-instance"),i=R("./_for-of"),r=R("./_species-constructor"),o=R("./_task").set,d=R("./_microtask")(),n=R("./_new-promise-capability"),l=R("./_perform"),t=R("./_user-agent"),s=R("./_promise-resolve"),u="Promise",p=f.TypeError,x=f.process,S=x&&x.versions,T=S&&S.v8||"",w=f[u],E=m(x)=="process",C=function(){},_,y,b,O,I=y=n.f,M=!!function(){try{var H=w.resolve(1),z=(H.constructor={})[R("./_wks")("species")]=function(X){X(C,C)};return(E||typeof PromiseRejectionEvent=="function")&&H.then(C)instanceof z&&T.indexOf("6.6")!==0&&t.indexOf("Chrome/66")===-1}catch(X){}}(),F=function(z){var X;return h(z)&&typeof(X=z.then)=="function"?X:!1},P=function(z,X){if(z._n)return;z._n=!0;var W=z._c;d(function(){for(var Y=z._v,q=z._s==1,me=0,G=function(Ae){var ve=q?Ae.ok:Ae.fail,Ue=Ae.resolve,Me=Ae.reject,nt=Ae.domain,ne,be,ot;try{ve?(q||(z._h==2&&N(z),z._h=1),ve===!0?ne=Y:(nt&&nt.enter(),ne=ve(Y),nt&&(nt.exit(),ot=!0)),ne===Ae.promise?Me(p("Promise-chain cycle")):(be=F(ne))?be.call(ne,Ue,Me):Ue(ne)):Me(Y)}catch(ue){nt&&!ot&&nt.exit(),Me(ue)}};W.length>me;)G(W[me++]);z._c=[],z._n=!1,X&&!z._h&&j(z)})},j=function(z){o.call(f,function(){var X=z._v,W=K(z),Y,q,me;if(W&&(Y=l(function(){E?x.emit("unhandledRejection",X,z):(q=f.onunhandledrejection)?q({promise:z,reason:X}):(me=f.console)&&me.error&&me.error("Unhandled promise rejection",X)}),z._h=E||K(z)?2:1),z._a=void 0,W&&Y.e)throw Y.v})},K=function(z){return z._h!==1&&(z._a||z._c).length===0},N=function(z){o.call(f,function(){var X;E?x.emit("rejectionHandled",z):(X=f.onrejectionhandled)&&X({promise:z,reason:z._v})})},B=function(z){var X=this;if(X._d)return;X._d=!0,X=X._w||X,X._v=z,X._s=2,X._a||(X._a=X._c.slice()),P(X,!0)},U=function H(z){var X=this,W;if(X._d)return;X._d=!0,X=X._w||X;try{if(X===z)throw p("Promise can't be resolved itself");(W=F(z))?d(function(){var Y={_w:X,_d:!1};try{W.call(z,A(H,Y,1),A(B,Y,1))}catch(q){B.call(Y,q)}}):(X._v=z,X._s=1,P(X,!1))}catch(Y){B.call({_w:X,_d:!1},Y)}};M||(w=function(z){a(this,w,u,"_h"),c(z),_.call(this);try{z(A(U,this,1),A(B,this,1))}catch(X){B.call(this,X)}},_=function(z){this._c=[],this._a=void 0,this._s=0,this._d=!1,this._v=void 0,this._h=0,this._n=!1},_.prototype=R("./_redefine-all")(w.prototype,{then:function(z,X){var W=I(r(this,w));return W.ok=typeof z=="function"?z:!0,W.fail=typeof X=="function"&&X,W.domain=E?x.domain:void 0,this._c.push(W),this._a&&this._a.push(W),this._s&&P(this,!1),W.promise},catch:function(z){return this.then(void 0,z)}}),b=function(){var z=new _;this.promise=z,this.resolve=A(U,z,1),this.reject=A(B,z,1)},n.f=I=function(z){return z===w||z===O?new b(z):y(z)}),v(v.G+v.W+v.F*!M,{Promise:w}),R("./_set-to-string-tag")(w,u),R("./_set-species")(u),O=R("./_core")[u],v(v.S+v.F*!M,u,{reject:function(z){var X=I(this),W=X.reject;return W(z),X.promise}}),v(v.S+v.F*(g||!M),u,{resolve:function(z){return s(g&&this===O?w:this,z)}}),v(v.S+v.F*!(M&&R("./_iter-detect")(function(H){w.all(H).catch(C)})),u,{all:function(z){var X=this,W=I(X),Y=W.resolve,q=W.reject,me=l(function(){var G=[],ye=0,Ae=1;i(z,!1,function(ve){var Ue=ye++,Me=!1;G.push(void 0),Ae++,X.resolve(ve).then(function(nt){if(Me)return;Me=!0,G[Ue]=nt,--Ae||Y(G)},q)}),--Ae||Y(G)});return me.e&&q(me.v),W.promise},race:function(z){var X=this,W=I(X),Y=W.reject,q=l(function(){i(z,!1,function(me){X.resolve(me).then(W.resolve,Y)})});return q.e&&Y(q.v),W.promise}})},{"./_a-function":92,"./_an-instance":94,"./_classof":97,"./_core":99,"./_ctx":101,"./_export":107,"./_for-of":109,"./_global":110,"./_is-object":119,"./_iter-detect":123,"./_library":126,"./_microtask":128,"./_new-promise-capability":129,"./_perform":144,"./_promise-resolve":145,"./_redefine-all":147,"./_set-species":149,"./_set-to-string-tag":150,"./_species-constructor":153,"./_task":155,"./_user-agent":163,"./_wks":166}],179:[function(R,D,e){var g=R("./_export"),f=R("./_to-absolute-index"),A=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?A(r):A(((r-=65536)>>10)+55296,r%1024+56320))}return c.join("")}})},{"./_export":107,"./_to-absolute-index":156}],180:[function(R,D,e){"use strict";var g=R("./_string-at")(!0);R("./_iter-define")(String,"String",function(f){this._t=String(f),this._i=0},function(){var f=this._t,A=this._i,m;return A>=f.length?{value:void 0,done:!0}:(m=g(f,A),this._i+=m.length,{value:m,done:!1})})},{"./_iter-define":122,"./_string-at":154}],181:[function(R,D,e){"use strict";var g=R("./_global"),f=R("./_has"),A=R("./_descriptors"),m=R("./_export"),v=R("./_redefine"),h=R("./_meta").KEY,c=R("./_fails"),a=R("./_shared"),i=R("./_set-to-string-tag"),r=R("./_uid"),o=R("./_wks"),d=R("./_wks-ext"),n=R("./_wks-define"),l=R("./_enum-keys"),t=R("./_is-array"),s=R("./_an-object"),u=R("./_is-object"),p=R("./_to-object"),x=R("./_to-iobject"),S=R("./_to-primitive"),T=R("./_property-desc"),w=R("./_object-create"),E=R("./_object-gopn-ext"),C=R("./_object-gopd"),_=R("./_object-gops"),y=R("./_object-dp"),b=R("./_object-keys"),O=C.f,I=y.f,M=E.f,F=g.Symbol,P=g.JSON,j=P&&P.stringify,K="prototype",N=o("_hidden"),B=o("toPrimitive"),U={}.propertyIsEnumerable,H=a("symbol-registry"),z=a("symbols"),X=a("op-symbols"),W=Object[K],Y=typeof F=="function"&&!!_.f,q=g.QObject,me=!q||!q[K]||!q[K].findChild,G=A&&c(function(){return w(I({},"a",{get:function(){return I(this,"a",{value:7}).a}})).a!=7})?function(oe,Le,he){var te=O(W,Le);te&&delete W[Le],I(oe,Le,he),te&&oe!==W&&I(W,Le,te)}:I,ye=function(Le){var he=z[Le]=w(F[K]);return he._k=Le,he},Ae=Y&&typeof F.iterator=="symbol"?function(oe){return typeof oe=="symbol"}:function(oe){return oe instanceof F},ve=function(Le,he,te){return Le===W&&ve(X,he,te),s(Le),he=S(he,!0),s(te),f(z,he)?(te.enumerable?(f(Le,N)&&Le[N][he]&&(Le[N][he]=!1),te=w(te,{enumerable:T(0,!1)})):(f(Le,N)||I(Le,N,T(1,{})),Le[N][he]=!0),G(Le,he,te)):I(Le,he,te)},Ue=function(Le,he){s(Le);for(var te=l(he=x(he)),Z=0,ge=te.length,Re;ge>Z;)ve(Le,Re=te[Z++],he[Re]);return Le},Me=function(Le,he){return he===void 0?w(Le):Ue(w(Le),he)},nt=function(Le){var he=U.call(this,Le=S(Le,!0));return this===W&&f(z,Le)&&!f(X,Le)?!1:he||!f(this,Le)||!f(z,Le)||f(this,N)&&this[N][Le]?he:!0},ne=function(Le,he){if(Le=x(Le),he=S(he,!0),Le===W&&f(z,he)&&!f(X,he))return;var te=O(Le,he);return te&&f(z,he)&&!(f(Le,N)&&Le[N][he])&&(te.enumerable=!0),te},be=function(Le){for(var he=M(x(Le)),te=[],Z=0,ge;he.length>Z;)!f(z,ge=he[Z++])&&ge!=N&&ge!=h&&te.push(ge);return te},ot=function(Le){for(var he=Le===W,te=M(he?X:x(Le)),Z=[],ge=0,Re;te.length>ge;)f(z,Re=te[ge++])&&(he?f(W,Re):!0)&&Z.push(z[Re]);return Z};Y||(F=function(){if(this instanceof F)throw TypeError("Symbol is not a constructor!");var Le=r(arguments.length>0?arguments[0]:void 0),he=function te(Z){this===W&&te.call(X,Z),f(this,N)&&f(this[N],Le)&&(this[N][Le]=!1),G(this,Le,T(1,Z))};return A&&me&&G(W,Le,{configurable:!0,set:he}),ye(Le)},v(F[K],"toString",function(){return this._k}),C.f=ne,y.f=ve,R("./_object-gopn").f=E.f=be,R("./_object-pie").f=nt,_.f=ot,A&&!R("./_library")&&v(W,"propertyIsEnumerable",nt,!0),d.f=function(oe){return ye(o(oe))}),m(m.G+m.W+m.F*!Y,{Symbol:F});for(var ue="hasInstance,isConcatSpreadable,iterator,match,replace,search,species,split,toPrimitive,toStringTag,unscopables".split(","),Q=0;ue.length>Q;)o(ue[Q++]);for(var V=b(o.store),J=0;V.length>J;)n(V[J++]);m(m.S+m.F*!Y,"Symbol",{for:function(Le){return f(H,Le+="")?H[Le]:H[Le]=F(Le)},keyFor:function(Le){if(!Ae(Le))throw TypeError(Le+" is not a symbol!");for(var he in H)if(H[he]===Le)return he},useSetter:function(){me=!0},useSimple:function(){me=!1}}),m(m.S+m.F*!Y,"Object",{create:Me,defineProperty:ve,defineProperties:Ue,getOwnPropertyDescriptor:ne,getOwnPropertyNames:be,getOwnPropertySymbols:ot});var fe=c(function(){_.f(1)});m(m.S+m.F*fe,"Object",{getOwnPropertySymbols:function(Le){return _.f(p(Le))}}),P&&m(m.S+m.F*(!Y||c(function(){var oe=F();return j([oe])!="[null]"||j({a:oe})!="{}"||j(Object(oe))!="{}"})),"JSON",{stringify:function(Le){for(var he=[Le],te=1,Z,ge;arguments.length>te;)he.push(arguments[te++]);return ge=Z=he[1],!u(Z)&&Le===void 0||Ae(Le)?void 0:(t(Z)||(Z=function(ze,dt){if(typeof ge=="function"&&(dt=ge.call(this,ze,dt)),!Ae(dt))return dt}),he[1]=Z,j.apply(P,he))}}),F[K][B]||R("./_hide")(F[K],B,F[K].valueOf),i(F,"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(R,D,e){var g=R("./_export"),f=R("./_object-to-array")(!0);g(g.S,"Object",{entries:function(m){return f(m)}})},{"./_export":107,"./_object-to-array":143}],183:[function(R,D,e){"use strict";var g=R("./_export"),f=R("./_core"),A=R("./_global"),m=R("./_species-constructor"),v=R("./_promise-resolve");g(g.P+g.R,"Promise",{finally:function(c){var a=m(this,f.Promise||A.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(R,D,e){"use strict";var g=R("./_export"),f=R("./_new-promise-capability"),A=R("./_perform");g(g.S,"Promise",{try:function(v){var h=f.f(this),c=A(v);return(c.e?h.reject:h.resolve)(c.v),h.promise}})},{"./_export":107,"./_new-promise-capability":129,"./_perform":144}],185:[function(R,D,e){R("./_wks-define")("asyncIterator")},{"./_wks-define":164}],186:[function(R,D,e){R("./_wks-define")("observable")},{"./_wks-define":164}],187:[function(R,D,e){R("./es6.array.iterator");for(var g=R("./_global"),f=R("./_hide"),A=R("./_iterators"),m=R("./_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),A[c]=A.Array}},{"./_global":110,"./_hide":112,"./_iterators":125,"./_wks":166,"./es6.array.iterator":169}],188:[function(R,D,e){var g=R("./_export"),f=R("./_task");g(g.G+g.B,{setImmediate:f.set,clearImmediate:f.clear})},{"./_export":107,"./_task":155}],189:[function(R,D,e){(function(g){"use strict";var f=R("babel-runtime/helpers/typeof"),A=m(f);function m(S){return S&&S.__esModule?S:{default:S}}function v(S){return Array.isArray?Array.isArray(S):x(S)==="[object Array]"}e.isArray=v;function h(S){return typeof S=="boolean"}e.isBoolean=h;function c(S){return S===null}e.isNull=c;function a(S){return S==null}e.isNullOrUndefined=a;function i(S){return typeof S=="number"}e.isNumber=i;function r(S){return typeof S=="string"}e.isString=r;function o(S){return(typeof S=="undefined"?"undefined":(0,A.default)(S))==="symbol"}e.isSymbol=o;function d(S){return S===void 0}e.isUndefined=d;function n(S){return x(S)==="[object RegExp]"}e.isRegExp=n;function l(S){return(typeof S=="undefined"?"undefined":(0,A.default)(S))==="object"&&S!==null}e.isObject=l;function t(S){return x(S)==="[object Date]"}e.isDate=t;function s(S){return x(S)==="[object Error]"||S instanceof Error}e.isError=s;function u(S){return typeof S=="function"}e.isFunction=u;function p(S){return S===null||typeof S=="boolean"||typeof S=="number"||typeof S=="string"||(typeof S=="undefined"?"undefined":(0,A.default)(S))==="symbol"||typeof S=="undefined"}e.isPrimitive=p,e.isBuffer=g.isBuffer;function x(S){return Object.prototype.toString.call(S)}}).call(this,{isBuffer:R("../../is-buffer/index.js")})},{"../../is-buffer/index.js":197,"babel-runtime/helpers/typeof":67}],190:[function(R,D,e){"use strict";var g=R("babel-runtime/helpers/typeof"),f=A(g);function A(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",x=n[p+"Date"](),S=n[p+"Day"](),T=n[p+"Month"](),w=n[p+"FullYear"](),E=n[p+"Hours"](),C=n[p+"Minutes"](),_=n[p+"Seconds"](),y=n[p+"Milliseconds"](),b=t?0:n.getTimezoneOffset(),O=c(n),I=a(n),M={d:x,dd:h(x),ddd:v.i18n.dayNames[S],dddd:v.i18n.dayNames[S+7],m:T+1,mm:h(T+1),mmm:v.i18n.monthNames[T],mmmm:v.i18n.monthNames[T+12],yy:String(w).slice(2),yyyy:w,h:E%12||12,hh:h(E%12||12),H:E,HH:h(E),M:C,MM:h(C),s:_,ss:h(_),l:h(y,3),L:h(Math.round(y/10)),t:E<12?"a":"p",tt:E<12?"am":"pm",T:E<12?"A":"P",TT:E<12?"AM":"PM",Z:s?"GMT":t?"UTC":(String(n).match(o)||[""]).pop().replace(d,""),o:(b>0?"-":"+")+h(Math.floor(Math.abs(b)/60)*100+Math.abs(b)%60,4),S:["th","st","nd","rd"][x%10>3?0:(x%100-x%10!=10)*x%10],W:O,N:I};return l.replace(r,function(F){return F in M?M[F]:F.slice(1,F.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"?D.exports=v:m.dateFormat=v})(void 0)},{"babel-runtime/helpers/typeof":67}],191:[function(R,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=/["'&<>]/;D.exports=f;function f(A){var m=""+A,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=""";break;case 38:h="&";break;case 39:h="'";break;case 60:h="<";break;case 62:h=">";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(R,D,e){function g(){this._events=this._events||{},this._maxListeners=this._maxListeners||void 0}D.exports=g,g.EventEmitter=g,g.prototype._events=void 0,g.prototype._maxListeners=void 0,g.defaultMaxListeners=10,g.prototype.setMaxListeners=function(h){if(!A(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 A(h){return typeof h=="number"}function m(h){return typeof h=="object"&&h!==null}function v(h){return h===void 0}},{}],193:[function(R,D,e){var g=R("http"),f=D.exports;for(var A in g)g.hasOwnProperty(A)&&(f[A]=g[A]);f.request=function(m,v){return m||(m={}),m.scheme="https",m.protocol="https:",g.request.call(this,m,v)}},{http:231}],194:[function(R,D,e){/*!
|
|
|
* humanize-ms - index.js
|
|
|
* Copyright(c) 2014 dead_horse <dead_horse@qq.com>
|
|
|
* MIT Licensed
|
|
|
*/"use strict";var g=R("util"),f=R("ms");D.exports=function(A){if(typeof A=="number")return A;var m=f(A);if(m===void 0){var v=new Error(g.format("humanize-ms(%j) result undefined",A));console.warn(v.stack)}return m}},{ms:204,util:243}],195:[function(R,D,e){e.read=function(g,f,A,m,v){var h,c,a=v*8-m-1,i=(1<<a)-1,r=i>>1,o=-7,d=A?v-1:0,n=A?-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,A,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[A+l]=a&255,l+=t,a/=256,v-=8);for(c=c<<v|a,r+=v;r>0;g[A+l]=c&255,l+=t,c/=256,r-=8);g[A+l-t]|=s*128}},{}],196:[function(R,D,e){typeof Object.create=="function"?D.exports=function(f,A){A&&(f.super_=A,f.prototype=Object.create(A.prototype,{constructor:{value:f,enumerable:!1,writable:!0,configurable:!0}}))}:D.exports=function(f,A){if(A){f.super_=A;var m=function(){};m.prototype=A.prototype,f.prototype=new m,f.prototype.constructor=f}}},{}],197:[function(R,D,e){/*!
|
|
|
* Determine if an object is a Buffer
|
|
|
*
|
|
|
* @author Feross Aboukhadijeh <https://feross.org>
|
|
|
* @license MIT
|
|
|
*/D.exports=function(A){return A!=null&&(g(A)||f(A)||!!A._isBuffer)};function g(A){return!!A.constructor&&typeof A.constructor.isBuffer=="function"&&A.constructor.isBuffer(A)}function f(A){return typeof A.readFloatLE=="function"&&typeof A.slice=="function"&&g(A.slice(0,0))}},{}],198:[function(R,D,e){var g={}.toString;D.exports=Array.isArray||function(f){return g.call(f)=="[object Array]"}},{}],199:[function(require,module,exports){(function(global){(function(R,D){typeof exports=="object"&&typeof module!="undefined"?module.exports=D(R):typeof define=="function"&&define.amd?define(D):D(R)})(typeof self!="undefined"?self:typeof window!="undefined"?window:typeof global!="undefined"?global:this,function(global){"use strict";global=global||{};var _Base64=global.Base64,version="2.5.2",buffer;if(typeof module!="undefined"&&module.exports)try{buffer=eval("require('buffer').Buffer")}catch(R){buffer=void 0}var b64chars="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",b64tab=function(R){for(var D={},e=0,g=R.length;e<g;e++)D[R.charAt(e)]=e;return D}(b64chars),fromCharCode=String.fromCharCode,cb_utob=function(D){if(D.length<2){var e=D.charCodeAt(0);return e<128?D: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+(D.charCodeAt(0)-55296)*1024+(D.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(D){return D.replace(re_utob,cb_utob)},cb_encode=function(D){var e=[0,2,1][D.length%3],g=D.charCodeAt(0)<<16|(D.length>1?D.charCodeAt(1):0)<<8|(D.length>2?D.charCodeAt(2):0),f=[b64chars.charAt(g>>>18),b64chars.charAt(g>>>12&63),e>=2?"=":b64chars.charAt(g>>>6&63),e>=1?"=":b64chars.charAt(g&63)];return f.join("")},btoa=global.btoa?function(R){return global.btoa(R)}:function(R){return R.replace(/[\s\S]{1,3}/g,cb_encode)},_encode=function(D){var e=Object.prototype.toString.call(D)==="[object Uint8Array]";return e?D.toString("base64"):btoa(utob(String(D)))},encode=function(D,e){return e?_encode(String(D)).replace(/[+\/]/g,function(g){return g=="+"?"-":"_"}).replace(/=/g,""):_encode(D)},encodeURI=function(D){return encode(D,!0)},re_btou=/[\xC0-\xDF][\x80-\xBF]|[\xE0-\xEF][\x80-\xBF]{2}|[\xF0-\xF7][\x80-\xBF]{3}/g,cb_btou=function(D){switch(D.length){case 4:var e=(7&D.charCodeAt(0))<<18|(63&D.charCodeAt(1))<<12|(63&D.charCodeAt(2))<<6|63&D.charCodeAt(3),g=e-65536;return fromCharCode((g>>>10)+55296)+fromCharCode((g&1023)+56320);case 3:return fromCharCode((15&D.charCodeAt(0))<<12|(63&D.charCodeAt(1))<<6|63&D.charCodeAt(2));default:return fromCharCode((31&D.charCodeAt(0))<<6|63&D.charCodeAt(1))}},btou=function(D){return D.replace(re_btou,cb_btou)},cb_decode=function(D){var e=D.length,g=e%4,f=(e>0?b64tab[D.charAt(0)]<<18:0)|(e>1?b64tab[D.charAt(1)]<<12:0)|(e>2?b64tab[D.charAt(2)]<<6:0)|(e>3?b64tab[D.charAt(3)]:0),A=[fromCharCode(f>>>16),fromCharCode(f>>>8&255),fromCharCode(f&255)];return A.length-=[0,0,2,1][g],A.join("")},_atob=global.atob?function(R){return global.atob(R)}:function(R){return R.replace(/\S{1,4}/g,cb_decode)},atob=function(D){return _atob(String(D).replace(/[^A-Za-z0-9\+\/]/g,""))},_decode=buffer?buffer.from&&Uint8Array&&buffer.from!==Uint8Array.from?function(R){return(R.constructor===buffer.constructor?R:buffer.from(R,"base64")).toString()}:function(R){return(R.constructor===buffer.constructor?R:new buffer(R,"base64")).toString()}:function(R){return btou(_atob(R))},decode=function(D){return _decode(String(D).replace(/[-_]/g,function(e){return e=="-"?"+":"/"}).replace(/[^A-Za-z0-9\+\/]/g,""))},noConflict=function(){var D=global.Base64;return global.Base64=_Base64,D};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(D){return{value:D,enumerable:!1,writable:!0,configurable:!0}};global.Base64.extendString=function(){Object.defineProperty(String.prototype,"fromBase64",noEnum(function(){return decode(this)})),Object.defineProperty(String.prototype,"toBase64",noEnum(function(R){return encode(this,R)})),Object.defineProperty(String.prototype,"toBase64URI",noEnum(function(){return encode(this,!0)}))}}return global.Meteor&&(Base64=global.Base64),typeof module!="undefined"&&module.exports?module.exports.Base64=global.Base64:typeof define=="function"&&define.amd&&define([],function(){return global.Base64}),{Base64:global.Base64}})}).call(this,typeof global!="undefined"?global:typeof self!="undefined"?self:typeof window!="undefined"?window:{})},{}],200:[function(R,D,e){/*!
|
|
|
* merge-descriptors
|
|
|
* Copyright(c) 2014 Jonathan Ong
|
|
|
* Copyright(c) 2015 Douglas Christopher Wilson
|
|
|
* MIT Licensed
|
|
|
*/"use strict";D.exports=f;var g=Object.prototype.hasOwnProperty;function f(A,m,v){if(!A)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(A,c))return;var a=Object.getOwnPropertyDescriptor(m,c);Object.defineProperty(A,c,a)}),A}},{}],201:[function(R,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,A){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(!A&&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(A||!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 A=f.replace(/^.*[/\\]/,"").toLowerCase(),m=A.replace(/^.*\./,"").toLowerCase(),v=A.length<f.length,h=m.length<A.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},D.exports=g},{}],202:[function(R,D,e){"use strict";var g=R("./Mime");D.exports=new g(R("./types/standard"))},{"./Mime":201,"./types/standard":203}],203:[function(R,D,e){D.exports={"application/andrew-inset":["ez"],"application/applixware":["aw"],"application/atom+xml":["atom"],"application/atomcat+xml":["atomcat"],"application/atomdeleted+xml":["atomdeleted"],"application/atomsvc+xml":["atomsvc"],"application/atsc-dwd+xml":["dwd"],"application/atsc-held+xml":["held"],"application/atsc-rsat+xml":["rsat"],"application/bdoc":["bdoc"],"application/calendar+xml":["xcs"],"application/ccxml+xml":["ccxml"],"application/cdfx+xml":["cdfx"],"application/cdmi-capability":["cdmia"],"application/cdmi-container":["cdmic"],"application/cdmi-domain":["cdmid"],"application/cdmi-object":["cdmio"],"application/cdmi-queue":["cdmiq"],"application/cu-seeme":["cu"],"application/dash+xml":["mpd"],"application/davmount+xml":["davmount"],"application/docbook+xml":["dbk"],"application/dssc+der":["dssc"],"application/dssc+xml":["xdssc"],"application/ecmascript":["ecma","es"],"application/emma+xml":["emma"],"application/emotionml+xml":["emotionml"],"application/epub+zip":["epub"],"application/exi":["exi"],"application/fdt+xml":["fdt"],"application/font-tdpfr":["pfr"],"application/geo+json":["geojson"],"application/gml+xml":["gml"],"application/gpx+xml":["gpx"],"application/gxf":["gxf"],"application/gzip":["gz"],"application/hjson":["hjson"],"application/hyperstudio":["stk"],"application/inkml+xml":["ink","inkml"],"application/ipfix":["ipfix"],"application/its+xml":["its"],"application/java-archive":["jar","war","ear"],"application/java-serialized-object":["ser"],"application/java-vm":["class"],"application/javascript":["js","mjs"],"application/json":["json","map"],"application/json5":["json5"],"application/jsonml+json":["jsonml"],"application/ld+json":["jsonld"],"application/lgr+xml":["lgr"],"application/lost+xml":["lostxml"],"application/mac-binhex40":["hqx"],"application/mac-compactpro":["cpt"],"application/mads+xml":["mads"],"application/manifest+json":["webmanifest"],"application/marc":["mrc"],"application/marcxml+xml":["mrcx"],"application/mathematica":["ma","nb","mb"],"application/mathml+xml":["mathml"],"application/mbox":["mbox"],"application/mediaservercontrol+xml":["mscml"],"application/metalink+xml":["metalink"],"application/metalink4+xml":["meta4"],"application/mets+xml":["mets"],"application/mmt-aei+xml":["maei"],"application/mmt-usd+xml":["musd"],"application/mods+xml":["mods"],"application/mp21":["m21","mp21"],"application/mp4":["mp4s","m4p"],"application/mrb-consumer+xml":["*xdf"],"application/mrb-publish+xml":["*xdf"],"application/msword":["doc","dot"],"application/mxf":["mxf"],"application/n-quads":["nq"],"application/n-triples":["nt"],"application/node":["cjs"],"application/octet-stream":["bin","dms","lrf","mar","so","dist","distz","pkg","bpk","dump","elc","deploy","exe","dll","deb","dmg","iso","img","msi","msp","msm","buffer"],"application/oda":["oda"],"application/oebps-package+xml":["opf"],"application/ogg":["ogx"],"application/omdoc+xml":["omdoc"],"application/onenote":["onetoc","onetoc2","onetmp","onepkg"],"application/oxps":["oxps"],"application/p2p-overlay+xml":["relo"],"application/patch-ops-error+xml":["*xer"],"application/pdf":["pdf"],"application/pgp-encrypted":["pgp"],"application/pgp-signature":["asc","sig"],"application/pics-rules":["prf"],"application/pkcs10":["p10"],"application/pkcs7-mime":["p7m","p7c"],"application/pkcs7-signature":["p7s"],"application/pkcs8":["p8"],"application/pkix-attr-cert":["ac"],"application/pkix-cert":["cer"],"application/pkix-crl":["crl"],"application/pkix-pkipath":["pkipath"],"application/pkixcmp":["pki"],"application/pls+xml":["pls"],"application/postscript":["ai","eps","ps"],"application/provenance+xml":["provx"],"application/pskc+xml":["pskcxml"],"application/raml+yaml":["raml"],"application/rdf+xml":["rdf","owl"],"application/reginfo+xml":["rif"],"application/relax-ng-compact-syntax":["rnc"],"application/resource-lists+xml":["rl"],"application/resource-lists-diff+xml":["rld"],"application/rls-services+xml":["rs"],"application/route-apd+xml":["rapd"],"application/route-s-tsid+xml":["sls"],"application/route-usd+xml":["rusd"],"application/rpki-ghostbusters":["gbr"],"application/rpki-manifest":["mft"],"application/rpki-roa":["roa"],"application/rsd+xml":["rsd"],"application/rss+xml":["rss"],"application/rtf":["rtf"],"application/sbml+xml":["sbml"],"application/scvp-cv-request":["scq"],"application/scvp-cv-response":["scs"],"application/scvp-vp-request":["spq"],"application/scvp-vp-response":["spp"],"application/sdp":["sdp"],"application/senml+xml":["senmlx"],"application/sensml+xml":["sensmlx"],"application/set-payment-initiation":["setpay"],"application/set-registration-initiation":["setreg"],"application/shf+xml":["shf"],"application/sieve":["siv","sieve"],"application/smil+xml":["smi","smil"],"application/sparql-query":["rq"],"application/sparql-results+xml":["srx"],"application/srgs":["gram"],"application/srgs+xml":["grxml"],"application/sru+xml":["sru"],"application/ssdl+xml":["ssdl"],"application/ssml+xml":["ssml"],"application/swid+xml":["swidtag"],"application/tei+xml":["tei","teicorpus"],"application/thraud+xml":["tfi"],"application/timestamped-data":["tsd"],"application/toml":["toml"],"application/ttml+xml":["ttml"],"application/urc-ressheet+xml":["rsheet"],"application/voicexml+xml":["vxml"],"application/wasm":["wasm"],"application/widget":["wgt"],"application/winhlp":["hlp"],"application/wsdl+xml":["wsdl"],"application/wspolicy+xml":["wspolicy"],"application/xaml+xml":["xaml"],"application/xcap-att+xml":["xav"],"application/xcap-caps+xml":["xca"],"application/xcap-diff+xml":["xdf"],"application/xcap-el+xml":["xel"],"application/xcap-error+xml":["xer"],"application/xcap-ns+xml":["xns"],"application/xenc+xml":["xenc"],"application/xhtml+xml":["xhtml","xht"],"application/xliff+xml":["xlf"],"application/xml":["xml","xsl","xsd","rng"],"application/xml-dtd":["dtd"],"application/xop+xml":["xop"],"application/xproc+xml":["xpl"],"application/xslt+xml":["xslt"],"application/xspf+xml":["xspf"],"application/xv+xml":["mxml","xhvml","xvml","xvm"],"application/yang":["yang"],"application/yin+xml":["yin"],"application/zip":["zip"],"audio/3gpp":["*3gpp"],"audio/adpcm":["adp"],"audio/basic":["au","snd"],"audio/midi":["mid","midi","kar","rmi"],"audio/mobile-xmf":["mxmf"],"audio/mp3":["*mp3"],"audio/mp4":["m4a","mp4a"],"audio/mpeg":["mpga","mp2","mp2a","mp3","m2a","m3a"],"audio/ogg":["oga","ogg","spx"],"audio/s3m":["s3m"],"audio/silk":["sil"],"audio/wav":["wav"],"audio/wave":["*wav"],"audio/webm":["weba"],"audio/xm":["xm"],"font/collection":["ttc"],"font/otf":["otf"],"font/ttf":["ttf"],"font/woff":["woff"],"font/woff2":["woff2"],"image/aces":["exr"],"image/apng":["apng"],"image/bmp":["bmp"],"image/cgm":["cgm"],"image/dicom-rle":["drle"],"image/emf":["emf"],"image/fits":["fits"],"image/g3fax":["g3"],"image/gif":["gif"],"image/heic":["heic"],"image/heic-sequence":["heics"],"image/heif":["heif"],"image/heif-sequence":["heifs"],"image/hej2k":["hej2"],"image/hsj2":["hsj2"],"image/ief":["ief"],"image/jls":["jls"],"image/jp2":["jp2","jpg2"],"image/jpeg":["jpeg","jpg","jpe"],"image/jph":["jph"],"image/jphc":["jhc"],"image/jpm":["jpm"],"image/jpx":["jpx","jpf"],"image/jxr":["jxr"],"image/jxra":["jxra"],"image/jxrs":["jxrs"],"image/jxs":["jxs"],"image/jxsc":["jxsc"],"image/jxsi":["jxsi"],"image/jxss":["jxss"],"image/ktx":["ktx"],"image/png":["png"],"image/sgi":["sgi"],"image/svg+xml":["svg","svgz"],"image/t38":["t38"],"image/tiff":["tif","tiff"],"image/tiff-fx":["tfx"],"image/webp":["webp"],"image/wmf":["wmf"],"message/disposition-notification":["disposition-notification"],"message/global":["u8msg"],"message/global-delivery-status":["u8dsn"],"message/global-disposition-notification":["u8mdn"],"message/global-headers":["u8hdr"],"message/rfc822":["eml","mime"],"model/3mf":["3mf"],"model/gltf+json":["gltf"],"model/gltf-binary":["glb"],"model/iges":["igs","iges"],"model/mesh":["msh","mesh","silo"],"model/mtl":["mtl"],"model/obj":["obj"],"model/stl":["stl"],"model/vrml":["wrl","vrml"],"model/x3d+binary":["*x3db","x3dbz"],"model/x3d+fastinfoset":["x3db"],"model/x3d+vrml":["*x3dv","x3dvz"],"model/x3d+xml":["x3d","x3dz"],"model/x3d-vrml":["x3dv"],"text/cache-manifest":["appcache","manifest"],"text/calendar":["ics","ifb"],"text/coffeescript":["coffee","litcoffee"],"text/css":["css"],"text/csv":["csv"],"text/html":["html","htm","shtml"],"text/jade":["jade"],"text/jsx":["jsx"],"text/less":["less"],"text/markdown":["markdown","md"],"text/mathml":["mml"],"text/mdx":["mdx"],"text/n3":["n3"],"text/plain":["txt","text","conf","def","list","log","in","ini"],"text/richtext":["rtx"],"text/rtf":["*rtf"],"text/sgml":["sgml","sgm"],"text/shex":["shex"],"text/slim":["slim","slm"],"text/stylus":["stylus","styl"],"text/tab-separated-values":["tsv"],"text/troff":["t","tr","roff","man","me","ms"],"text/turtle":["ttl"],"text/uri-list":["uri","uris","urls"],"text/vcard":["vcard"],"text/vtt":["vtt"],"text/xml":["*xml"],"text/yaml":["yaml","yml"],"video/3gpp":["3gp","3gpp"],"video/3gpp2":["3g2"],"video/h261":["h261"],"video/h263":["h263"],"video/h264":["h264"],"video/jpeg":["jpgv"],"video/jpm":["*jpm","jpgm"],"video/mj2":["mj2","mjp2"],"video/mp2t":["ts"],"video/mp4":["mp4","mp4v","mpg4"],"video/mpeg":["mpeg","mpg","mpe","m1v","m2v"],"video/ogg":["ogv"],"video/quicktime":["qt","mov"],"video/webm":["webm"]}},{}],204:[function(R,D,e){var g=1e3,f=g*60,A=f*60,m=A*24,v=m*7,h=m*365.25;D.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*A;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>=A?Math.round(o/A)+"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>=A?r(o,d,A,"hour"):d>=f?r(o,d,f,"minute"):d>=g?r(o,d,g,"second"):o+" ms"}function r(o,d,n,l){var t=d>=n*1.5;return Math.round(o/n)+" "+l+(t?"s":"")}},{}],205:[function(R,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 A(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=A(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,R("_process"))},{_process:208}],206:[function(R,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},A=f[typeof window]&&window||this,m=A,v=f[typeof e]&&e,h=f[typeof D]&&D&&!D.nodeType&&D,c=v&&h&&typeof g=="object"&&g;c&&(c.global===c||c.window===c||c.self===c)&&(A=c);var a=Math.pow(2,53)-1,i=/\bOpera/,r=this,o=Object.prototype,d=o.hasOwnProperty,n=o.toString;function l(y){return y=String(y),y.charAt(0).toUpperCase()+y.slice(1)}function t(y,b,O){var I={"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 b&&O&&/^Win/i.test(y)&&!/^Windows Phone /i.test(y)&&(I=I[/[\d.]+$/.exec(y)])&&(y="Windows "+I),y=String(y),b&&O&&(y=y.replace(RegExp(b,"i"),O)),y=u(y.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]),y}function s(y,b){var O=-1,I=y?y.length:0;if(typeof I=="number"&&I>-1&&I<=a)for(;++O<I;)b(y[O],O,y);else p(y,b)}function u(y){return y=E(y),/^(?:webOS|i(?:OS|P))/.test(y)?y:l(y)}function p(y,b){for(var O in y)d.call(y,O)&&b(y[O],O,y)}function x(y){return y==null?l(y):n.call(y).slice(8,-1)}function S(y,b){var O=y!=null?typeof y[b]:"number";return!/^(?:boolean|number|string|undefined)$/.test(O)&&(O=="object"?!!y[b]:!0)}function T(y){return String(y).replace(/([ -])(?!$)/g,"$1?")}function w(y,b){var O=null;return s(y,function(I,M){O=b(O,I,M,y)}),O}function E(y){return String(y).replace(/^ +| +$/g,"")}function C(y){var b=A,O=y&&typeof y=="object"&&x(y)!="String";O&&(b=y,y=null);var I=b.navigator||{},M=I.userAgent||"";y||(y=M);var F=O||r==m,P=O?!!I.likeChrome:/\bChrome\b/.test(y)&&!/internal|\n/i.test(n.toString()),j="Object",K=O?j:"ScriptBridgingProxyObject",N=O?j:"Environment",B=O&&b.java?"JavaPackage":x(b.java),U=O?j:"RuntimeObject",H=/\bJava/.test(B)&&b.java,z=H&&x(b.environment)==N,X=H?"a":"\u03B1",W=H?"b":"\u03B2",Y=b.document||{},q=b.operamini||b.opera,me=i.test(me=O&&q?q["[[Class]]"]:x(q))?me:q=null,G,ye=y,Ae=[],ve=null,Ue=y==M,Me=Ue&&q&&typeof q.version=="function"&&q.version(),nt,ne=V([{label:"EdgeHTML",pattern:"Edge"},"Trident",{label:"WebKit",pattern:"AppleWebKit"},"iCab","Presto","NetFront","Tasman","KHTML","Gecko"]),be=fe(["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"]),ot=Le([{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"]),ue=J({Apple:{iPad:1,iPhone:1,iPod:1},Archos:{},Amazon:{Kindle:1,"Kindle Fire":1},Asus:{Transformer:1},"Barnes & Noble":{Nook:1},BlackBerry:{PlayBook:1},Google:{"Google TV":1,Nexus:1},HP:{TouchPad:1},HTC:{},LG:{},Microsoft:{Xbox:1,"Xbox One":1},Motorola:{Xoom:1},Nintendo:{"Wii U":1,Wii:1},Nokia:{Lumia:1},Samsung:{"Galaxy S":1,"Galaxy S2":1,"Galaxy S3":1,"Galaxy S4":1},Sony:{PlayStation:1,"PlayStation Vita":1}}),Q=oe(["Windows Phone","Android","CentOS",{label:"Chrome OS",pattern:"CrOS"},"Debian","Fedora","FreeBSD","Gentoo","Haiku","Kubuntu","Linux Mint","OpenBSD","Red Hat","SuSE","Ubuntu","Xubuntu","Cygwin","Symbian OS","hpwOS","webOS ","webOS","Tablet OS","Tizen","Linux","Mac OS X","Macintosh","Mac","Windows 98;","Windows "]);function V(ge){return w(ge,function(Re,ze){return Re||RegExp("\\b"+(ze.pattern||T(ze))+"\\b","i").exec(y)&&(ze.label||ze)})}function J(ge){return w(ge,function(Re,ze,dt){return Re||(ze[ot]||ze[/^[a-z]+(?: +[a-z]+\b)*/i.exec(ot)]||RegExp("\\b"+T(dt)+"(?:\\b|\\w*\\d)","i").exec(y))&&dt})}function fe(ge){return w(ge,function(Re,ze){return Re||RegExp("\\b"+(ze.pattern||T(ze))+"\\b","i").exec(y)&&(ze.label||ze)})}function oe(ge){return w(ge,function(Re,ze){var dt=ze.pattern||T(ze);return!Re&&(Re=RegExp("\\b"+dt+"(?:/[\\d.]+|[ \\w.]*)","i").exec(y))&&(Re=t(Re,dt,ze.label||ze)),Re})}function Le(ge){return w(ge,function(Re,ze){var dt=ze.pattern||T(ze);return!Re&&(Re=RegExp("\\b"+dt+" *\\d+[.\\w_]*","i").exec(y)||RegExp("\\b"+dt+" *\\w+-[\\w]*","i").exec(y)||RegExp("\\b"+dt+"(?:; *(?:[a-z]+[_-])?[a-z]+\\d+|[^ ();-]*)","i").exec(y))&&((Re=String(ze.label&&!RegExp(dt,"i").test(ze.label)?ze.label:Re).split("/"))[1]&&!/[\d.]+/.test(Re[0])&&(Re[0]+=" "+Re[1]),ze=ze.label||ze,Re=u(Re[0].replace(RegExp(dt,"i"),ze).replace(RegExp("; *(?:"+ze+"[_-])?","i")," ").replace(RegExp("("+ze+")[-_.]?(\\w)","i"),"$1 $2"))),Re})}function he(ge){return w(ge,function(Re,ze){return Re||(RegExp(ze+"(?:-[\\d.]+/|(?: for [\\w-]+)?[ /-])([\\d.]+[^ ();/_-]*)","i").exec(y)||0)[1]||null})}function te(){return this.description||""}if(ne&&(ne=[ne]),ue&&!ot&&(ot=Le([ue])),(G=/\bGoogle TV\b/.exec(ot))&&(ot=G[0]),/\bSimulator\b/i.test(y)&&(ot=(ot?ot+" ":"")+"Simulator"),be=="Opera Mini"&&/\bOPiOS\b/.test(y)&&Ae.push("running in Turbo/Uncompressed mode"),be=="IE"&&/\blike iPhone OS\b/.test(y)?(G=C(y.replace(/like iPhone OS/,"")),ue=G.manufacturer,ot=G.product):/^iP/.test(ot)?(be||(be="Safari"),Q="iOS"+((G=/ OS ([\d_]+)/i.exec(y))?" "+G[1].replace(/_/g,"."):"")):be=="Konqueror"&&!/buntu/i.test(Q)?Q="Kubuntu":ue&&ue!="Google"&&(/Chrome/.test(be)&&!/\bMobile Safari\b/i.test(y)||/\bVita\b/.test(ot))||/\bAndroid\b/.test(Q)&&/^Chrome/.test(be)&&/\bVersion\//i.test(y)?(be="Android Browser",Q=/\bAndroid\b/.test(Q)?Q:"Android"):be=="Silk"?(/\bMobi/i.test(y)||(Q="Android",Ae.unshift("desktop mode")),/Accelerated *= *true/i.test(y)&&Ae.unshift("accelerated")):be=="PaleMoon"&&(G=/\bFirefox\/([\d.]+)\b/.exec(y))?Ae.push("identifying as Firefox "+G[1]):be=="Firefox"&&(G=/\b(Mobile|Tablet|TV)\b/i.exec(y))?(Q||(Q="Firefox OS"),ot||(ot=G[1])):!be||(G=!/\bMinefield\b/i.test(y)&&/\b(?:Firefox|Safari)\b/.exec(be))?(be&&!ot&&/[\/,]|^[^(]+?\)/.test(y.slice(y.indexOf(G+"/")+8))&&(be=null),(G=ot||ue||Q)&&(ot||ue||/\b(?:Android|Symbian OS|Tablet OS|webOS)\b/.test(Q))&&(be=/[a-z]+(?: Hat)?/i.exec(/\bAndroid\b/.test(Q)?Q:G)+" Browser")):be=="Electron"&&(G=(/\bChrome\/([\d.]+)\b/.exec(y)||0)[1])&&Ae.push("Chromium "+G),Me||(Me=he(["(?:Cloud9|CriOS|CrMo|Edge|FxiOS|IEMobile|Iron|Opera ?Mini|OPiOS|OPR|Raven|SamsungBrowser|Silk(?!/[\\d.]+$))","Version",T(be),"(?:Firefox|Minefield|NetFront)"])),(G=ne=="iCab"&&parseFloat(Me)>3&&"WebKit"||/\bOpera\b/.test(be)&&(/\bOPR\b/.test(y)?"Blink":"Presto")||/\b(?:Midori|Nook|Safari)\b/i.test(y)&&!/^(?:Trident|EdgeHTML)$/.test(ne)&&"WebKit"||!ne&&/\bMSIE\b/i.test(y)&&(Q=="Mac OS"?"Tasman":"Trident")||ne=="WebKit"&&/\bPlayStation\b(?! Vita\b)/i.test(be)&&"NetFront")&&(ne=[G]),be=="IE"&&(G=(/; *(?:XBLWP|ZuneWP)(\d+)/i.exec(y)||0)[1])?(be+=" Mobile",Q="Windows Phone "+(/\+$/.test(G)?G:G+".x"),Ae.unshift("desktop mode")):/\bWPDesktop\b/i.test(y)?(be="IE Mobile",Q="Windows Phone 8.x",Ae.unshift("desktop mode"),Me||(Me=(/\brv:([\d.]+)/.exec(y)||0)[1])):be!="IE"&&ne=="Trident"&&(G=/\brv:([\d.]+)/.exec(y))&&(be&&Ae.push("identifying as "+be+(Me?" "+Me:"")),be="IE",Me=G[1]),Ue){if(S(b,"global"))if(H&&(G=H.lang.System,ye=G.getProperty("os.arch"),Q=Q||G.getProperty("os.name")+" "+G.getProperty("os.version")),z){try{Me=b.require("ringo/engine").version.join("."),be="RingoJS"}catch(ge){(G=b.system)&&G.global.system==b.system&&(be="Narwhal",Q||(Q=G[0].os||null))}be||(be="Rhino")}else typeof b.process=="object"&&!b.process.browser&&(G=b.process)&&(typeof G.versions=="object"&&(typeof G.versions.electron=="string"?(Ae.push("Node "+G.versions.node),be="Electron",Me=G.versions.electron):typeof G.versions.nw=="string"&&(Ae.push("Chromium "+Me,"Node "+G.versions.node),be="NW.js",Me=G.versions.nw)),be||(be="Node.js",ye=G.arch,Q=G.platform,Me=/[\d.]+/.exec(G.version),Me=Me?Me[0]:null));else x(G=b.runtime)==K?(be="Adobe AIR",Q=G.flash.system.Capabilities.os):x(G=b.phantom)==U?(be="PhantomJS",Me=(G=G.version||null)&&G.major+"."+G.minor+"."+G.patch):typeof Y.documentMode=="number"&&(G=/\bTrident\/(\d+)/i.exec(y))?(Me=[Me,Y.documentMode],(G=+G[1]+4)!=Me[1]&&(Ae.push("IE "+Me[1]+" mode"),ne&&(ne[1]=""),Me[1]=G),Me=be=="IE"?String(Me[1].toFixed(1)):Me[0]):typeof Y.documentMode=="number"&&/^(?:Chrome|Firefox)\b/.test(be)&&(Ae.push("masking as "+be+" "+Me),be="IE",Me="11.0",ne=["Trident"],Q="Windows");Q=Q&&u(Q)}if(Me&&(G=/(?:[ab]|dp|pre|[ab]\d+pre)(?:\d+\+?)?$/i.exec(Me)||/(?:alpha|beta)(?: ?\d)?/i.exec(y+";"+(Ue&&I.appMinorVersion))||/\bMinefield\b/i.test(y)&&"a")&&(ve=/b/i.test(G)?"beta":"alpha",Me=Me.replace(RegExp(G+"\\+?$"),"")+(ve=="beta"?W:X)+(/\d+\+?/.exec(G)||"")),be=="Fennec"||be=="Firefox"&&/\b(?:Android|Firefox OS)\b/.test(Q))be="Firefox Mobile";else if(be=="Maxthon"&&Me)Me=Me.replace(/\.[\d.]+/,".x");else if(/\bXbox\b/i.test(ot))ot=="Xbox 360"&&(Q=null),ot=="Xbox 360"&&/\bIEMobile\b/.test(y)&&Ae.unshift("mobile mode");else if((/^(?:Chrome|IE|Opera)$/.test(be)||be&&!ot&&!/Browser|Mobi/.test(be))&&(Q=="Windows CE"||/Mobi/i.test(y)))be+=" Mobile";else if(be=="IE"&&Ue)try{b.external===null&&Ae.unshift("platform preview")}catch(ge){Ae.unshift("embedded")}else(/\bBlackBerry\b/.test(ot)||/\bBB10\b/.test(y))&&(G=(RegExp(ot.replace(/ +/g," *")+"/([.\\d]+)","i").exec(y)||0)[1]||Me)?(G=[G,/BB10/.test(y)],Q=(G[1]?(ot=null,ue="BlackBerry"):"Device Software")+" "+G[0],Me=null):this!=p&&ot!="Wii"&&(Ue&&q||/Opera/.test(be)&&/\b(?:MSIE|Firefox)\b/i.test(y)||be=="Firefox"&&/\bOS X (?:\d+\.){2,}/.test(Q)||be=="IE"&&(Q&&!/^Win/.test(Q)&&Me>5.5||/\bWindows XP\b/.test(Q)&&Me>8||Me==8&&!/\bTrident\b/.test(y)))&&!i.test(G=C.call(p,y.replace(i,"")+";"))&&G.name&&(G="ing as "+G.name+((G=G.version)?" "+G:""),i.test(be)?(/\bIE\b/.test(G)&&Q=="Mac OS"&&(Q=null),G="identify"+G):(G="mask"+G,me?be=u(me.replace(/([a-z])([A-Z])/g,"$1 $2")):be="Opera",/\bIE\b/.test(G)&&(Q=null),Ue||(Me=null)),ne=["Presto"],Ae.push(G));(G=(/\bAppleWebKit\/([\d.]+\+?)/i.exec(y)||0)[1])&&(G=[parseFloat(G.replace(/\.(\d)$/,".0$1")),G],be=="Safari"&&G[1].slice(-1)=="+"?(be="WebKit Nightly",ve="alpha",Me=G[1].slice(0,-1)):(Me==G[1]||Me==(G[2]=(/\bSafari\/([\d.]+\+?)/i.exec(y)||0)[1]))&&(Me=null),G[1]=(/\bChrome\/([\d.]+)/i.exec(y)||0)[1],G[0]==537.36&&G[2]==537.36&&parseFloat(G[1])>=28&&ne=="WebKit"&&(ne=["Blink"]),!Ue||!P&&!G[1]?(ne&&(ne[1]="like Safari"),G=(G=G[0],G<400?1:G<500?2:G<526?3:G<533?4:G<534?"4+":G<535?5:G<537?6:G<538?7:G<601?8:"8")):(ne&&(ne[1]="like Chrome"),G=G[1]||(G=G[0],G<530?1:G<532?2:G<532.05?3:G<533?4:G<534.03?5:G<534.07?6:G<534.1?7:G<534.13?8:G<534.16?9:G<534.24?10:G<534.3?11:G<535.01?12:G<535.02?"13+":G<535.07?15:G<535.11?16:G<535.19?17:G<536.05?18:G<536.1?19:G<537.01?20:G<537.11?"21+":G<537.13?23:G<537.18?24:G<537.24?25:G<537.36?26:ne!="Blink"?"27":"28")),ne&&(ne[1]+=" "+(G+=typeof G=="number"?".x":/[.+]/.test(G)?"":"+")),be=="Safari"&&(!Me||parseInt(Me)>45)&&(Me=G)),be=="Opera"&&(G=/\bzbov|zvav$/.exec(Q))?(be+=" ",Ae.unshift("desktop mode"),G=="zvav"?(be+="Mini",Me=null):be+="Mobile",Q=Q.replace(RegExp(" *"+G+"$"),"")):be=="Safari"&&/\bChrome\b/.exec(ne&&ne[1])&&(Ae.unshift("desktop mode"),be="Chrome Mobile",Me=null,/\bOS X\b/.test(Q)?(ue="Apple",Q="iOS 4.3+"):Q=null),Me&&Me.indexOf(G=/[\d.]+$/.exec(Q))==0&&y.indexOf("/"+G+"-")>-1&&(Q=E(Q.replace(G,""))),ne&&!/\b(?:Avant|Nook)\b/.test(be)&&(/Browser|Lunascape|Maxthon/.test(be)||be!="Safari"&&/^iOS/.test(Q)&&/\bSafari\b/.test(ne[1])||/^(?:Adobe|Arora|Breach|Midori|Opera|Phantom|Rekonq|Rock|Samsung Internet|Sleipnir|Web)/.test(be)&&ne[1])&&((G=ne[ne.length-1])&&Ae.push(G)),Ae.length&&(Ae=["("+Ae.join("; ")+")"]),ue&&ot&&ot.indexOf(ue)<0&&Ae.push("on "+ue),ot&&Ae.push((/^on /.test(Ae[Ae.length-1])?"":"on ")+ot),Q&&(G=/ ([\d.+]+)$/.exec(Q),nt=G&&Q.charAt(Q.length-G[0].length-1)=="/",Q={architecture:32,family:G&&!nt?Q.replace(G[0],""):Q,version:G?G[1]:null,toString:function(){var Re=this.version;return this.family+(Re&&!nt?" "+Re:"")+(this.architecture==64?" 64-bit":"")}}),(G=/\b(?:AMD|IA|Win|WOW|x86_|x)64\b/i.exec(ye))&&!/\bi686\b/i.test(ye)?(Q&&(Q.architecture=64,Q.family=Q.family.replace(RegExp(" *"+G),"")),be&&(/\bWOW64\b/i.test(y)||Ue&&/\w(?:86|32)$/.test(I.cpuClass||I.platform)&&!/\bWin64; x64\b/i.test(y))&&Ae.unshift("32-bit")):Q&&/^OS X/.test(Q.family)&&be=="Chrome"&&parseFloat(Me)>=39&&(Q.architecture=64),y||(y=null);var Z={};return Z.description=y,Z.layout=ne&&ne[0],Z.manufacturer=ue,Z.name=be,Z.prerelease=ve,Z.product=ot,Z.ua=y,Z.version=be&&Me,Z.os=Q||{architecture:null,family:null,version:null,toString:function(){return"null"}},Z.parse=C,Z.toString=te,Z.version&&Ae.unshift(Me),Z.name&&Ae.unshift(be),Q&&be&&!(Q==String(Q).split(" ")[0]&&(Q==be.split(" ")[0]||ot))&&Ae.push(ot?"("+Q+")":"on "+Q),Ae.length&&(Z.description=Ae.join(" ")),Z}var _=C();typeof define=="function"&&typeof define.amd=="object"&&define.amd?(A.platform=_,define(function(){return _})):v&&h?p(_,function(y,b){v[b]=y}):A.platform=_}).call(this)}).call(this,typeof global!="undefined"?global:typeof self!="undefined"?self:typeof window!="undefined"?window:{})},{}],207:[function(R,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?D.exports={nextTick:f}:D.exports=g;function f(A,m,v,h){if(typeof A!="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(A);case 2:return g.nextTick(function(){A.call(null,m)});case 3:return g.nextTick(function(){A.call(null,m,v)});case 4:return g.nextTick(function(){A.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(){A.apply(null,a)})}}}).call(this,R("_process"))},{_process:208}],208:[function(R,D,e){var g=D.exports={},f,A;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"?A=clearTimeout:A=v}catch(s){A=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(A===clearTimeout)return clearTimeout(s);if((A===v||!A)&&clearTimeout)return A=clearTimeout,clearTimeout(s);try{return A(s)}catch(u){try{return A.call(null,s)}catch(p){return A.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(R,D,e){(function(g){/*! https://mths.be/punycode v1.4.1 by @mathias */(function(f){var A=typeof e=="object"&&e&&!e.nodeType&&e,m=typeof D=="object"&&D&&!D.nodeType&&D,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,x={overflow:"Overflow: input needs wider integers to process","not-basic":"Illegal input >= 0x80 (not a basic code point)","invalid-input":"Invalid input"},S=a-i,T=Math.floor,w=String.fromCharCode,E;function C(B){throw new RangeError(x[B])}function _(B,U){for(var H=B.length,z=[];H--;)z[H]=U(B[H]);return z}function y(B,U){var H=B.split("@"),z="";H.length>1&&(z=H[0]+"@",B=H[1]),B=B.replace(p,".");var X=B.split("."),W=_(X,U).join(".");return z+W}function b(B){for(var U=[],H=0,z=B.length,X,W;H<z;)X=B.charCodeAt(H++),X>=55296&&X<=56319&&H<z?(W=B.charCodeAt(H++),(W&64512)==56320?U.push(((X&1023)<<10)+(W&1023)+65536):(U.push(X),H--)):U.push(X);return U}function O(B){return _(B,function(U){var H="";return U>65535&&(U-=65536,H+=w(U>>>10&1023|55296),U=56320|U&1023),H+=w(U),H}).join("")}function I(B){return B-48<10?B-22:B-65<26?B-65:B-97<26?B-97:a}function M(B,U){return B+22+75*(B<26)-((U!=0)<<5)}function F(B,U,H){var z=0;for(B=H?T(B/d):B>>1,B+=T(B/U);B>S*r>>1;z+=a)B=T(B/S);return T(z+(S+1)*B/(B+o))}function P(B){var U=[],H=B.length,z,X=0,W=l,Y=n,q,me,G,ye,Ae,ve,Ue,Me,nt;for(q=B.lastIndexOf(t),q<0&&(q=0),me=0;me<q;++me)B.charCodeAt(me)>=128&&C("not-basic"),U.push(B.charCodeAt(me));for(G=q>0?q+1:0;G<H;){for(ye=X,Ae=1,ve=a;!(G>=H&&C("invalid-input"),Ue=I(B.charCodeAt(G++)),(Ue>=a||Ue>T((c-X)/Ae))&&C("overflow"),X+=Ue*Ae,Me=ve<=Y?i:ve>=Y+r?r:ve-Y,Ue<Me);ve+=a)nt=a-Me,Ae>T(c/nt)&&C("overflow"),Ae*=nt;z=U.length+1,Y=F(X-ye,z,ye==0),T(X/z)>c-W&&C("overflow"),W+=T(X/z),X%=z,U.splice(X++,0,W)}return O(U)}function j(B){var U,H,z,X,W,Y,q,me,G,ye,Ae,ve=[],Ue,Me,nt,ne;for(B=b(B),Ue=B.length,U=l,H=0,W=n,Y=0;Y<Ue;++Y)Ae=B[Y],Ae<128&&ve.push(w(Ae));for(z=X=ve.length,X&&ve.push(t);z<Ue;){for(q=c,Y=0;Y<Ue;++Y)Ae=B[Y],Ae>=U&&Ae<q&&(q=Ae);for(Me=z+1,q-U>T((c-H)/Me)&&C("overflow"),H+=(q-U)*Me,U=q,Y=0;Y<Ue;++Y)if(Ae=B[Y],Ae<U&&++H>c&&C("overflow"),Ae==U){for(me=H,G=a;!(ye=G<=W?i:G>=W+r?r:G-W,me<ye);G+=a)ne=me-ye,nt=a-ye,ve.push(w(M(ye+ne%nt,0))),me=T(ne/nt);ve.push(w(M(me,0))),W=F(H,Me,z==X),H=0,++z}++H,++U}return ve.join("")}function K(B){return y(B,function(U){return s.test(U)?P(U.slice(4).toLowerCase()):U})}function N(B){return y(B,function(U){return u.test(U)?"xn--"+j(U):U})}if(h={version:"1.4.1",ucs2:{decode:b,encode:O},decode:P,encode:j,toASCII:N,toUnicode:K},typeof define=="function"&&typeof define.amd=="object"&&define.amd)define("punycode",function(){return h});else if(A&&m)if(D.exports==A)m.exports=h;else for(E in h)h.hasOwnProperty(E)&&(A[E]=h[E]);else f.punycode=h})(this)}).call(this,typeof global!="undefined"?global:typeof self!="undefined"?self:typeof window!="undefined"?window:{})},{}],210:[function(R,D,e){"use strict";function g(A,m){return Object.prototype.hasOwnProperty.call(A,m)}D.exports=function(A,m,v,h){m=m||"&",v=v||"=";var c={};if(typeof A!="string"||A.length===0)return c;var a=/\+/g;A=A.split(m);var i=1e3;h&&typeof h.maxKeys=="number"&&(i=h.maxKeys);var r=A.length;i>0&&r>i&&(r=i);for(var o=0;o<r;++o){var d=A[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(A){return Object.prototype.toString.call(A)==="[object Array]"}},{}],211:[function(R,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""}};D.exports=function(v,h,c,a){return h=h||"&",c=c||"=",v===null&&(v=void 0),typeof v=="object"?A(m(v),function(i){var r=encodeURIComponent(g(i))+c;return f(v[i])?A(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 A(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(R,D,e){"use strict";e.decode=e.parse=R("./decode"),e.encode=e.stringify=R("./encode")},{"./decode":210,"./encode":211}],213:[function(R,D,e){D.exports=R("./lib/_stream_duplex.js")},{"./lib/_stream_duplex.js":214}],214:[function(R,D,e){"use strict";var g=R("babel-runtime/core-js/object/create"),f=v(g),A=R("babel-runtime/core-js/object/keys"),m=v(A);function v(u){return u&&u.__esModule?u:{default:u}}var h=R("process-nextick-args"),c=m.default||function(u){var p=[];for(var x in u)p.push(x);return p};D.exports=l;var a=(0,f.default)(R("core-util-is"));a.inherits=R("inherits");var i=R("./_stream_readable"),r=R("./_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(R,D,e){"use strict";var g=R("babel-runtime/core-js/object/create"),f=A(g);function A(c){return c&&c.__esModule?c:{default:c}}D.exports=h;var m=R("./_stream_transform"),v=(0,f.default)(R("core-util-is"));v.inherits=R("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(R,D,e){(function(g,f){"use strict";var A=R("babel-runtime/core-js/object/get-prototype-of"),m=c(A),v=R("babel-runtime/core-js/object/create"),h=c(v);function c(ne){return ne&&ne.__esModule?ne:{default:ne}}var a=R("process-nextick-args");D.exports=b;var i=R("isarray"),r;b.ReadableState=y;var o=R("events").EventEmitter,d=function(be,ot){return be.listeners(ot).length},n=R("./internal/streams/stream"),l=R("safe-buffer").Buffer,t=f.Uint8Array||function(){};function s(ne){return l.from(ne)}function u(ne){return l.isBuffer(ne)||ne instanceof t}var p=(0,h.default)(R("core-util-is"));p.inherits=R("inherits");var x=R("util"),S=void 0;x&&x.debuglog?S=x.debuglog("stream"):S=function(){};var T=R("./internal/streams/BufferList"),w=R("./internal/streams/destroy"),E;p.inherits(b,n);var C=["error","close","destroy","pause","resume"];function _(ne,be,ot){if(typeof ne.prependListener=="function")return ne.prependListener(be,ot);!ne._events||!ne._events[be]?ne.on(be,ot):i(ne._events[be])?ne._events[be].unshift(ot):ne._events[be]=[ot,ne._events[be]]}function y(ne,be){r=r||R("./_stream_duplex"),ne=ne||{};var ot=be instanceof r;this.objectMode=!!ne.objectMode,ot&&(this.objectMode=this.objectMode||!!ne.readableObjectMode);var ue=ne.highWaterMark,Q=ne.readableHighWaterMark,V=this.objectMode?16:16*1024;ue||ue===0?this.highWaterMark=ue:ot&&(Q||Q===0)?this.highWaterMark=Q:this.highWaterMark=V,this.highWaterMark=Math.floor(this.highWaterMark),this.buffer=new T,this.length=0,this.pipes=null,this.pipesCount=0,this.flowing=null,this.ended=!1,this.endEmitted=!1,this.reading=!1,this.sync=!0,this.needReadable=!1,this.emittedReadable=!1,this.readableListening=!1,this.resumeScheduled=!1,this.destroyed=!1,this.defaultEncoding=ne.defaultEncoding||"utf8",this.awaitDrain=0,this.readingMore=!1,this.decoder=null,this.encoding=null,ne.encoding&&(E||(E=R("string_decoder/").StringDecoder),this.decoder=new E(ne.encoding),this.encoding=ne.encoding)}function b(ne){if(r=r||R("./_stream_duplex"),!(this instanceof b))return new b(ne);this._readableState=new y(ne,this),this.readable=!0,ne&&(typeof ne.read=="function"&&(this._read=ne.read),typeof ne.destroy=="function"&&(this._destroy=ne.destroy)),n.call(this)}Object.defineProperty(b.prototype,"destroyed",{get:function(){return this._readableState===void 0?!1:this._readableState.destroyed},set:function(be){if(!this._readableState)return;this._readableState.destroyed=be}}),b.prototype.destroy=w.destroy,b.prototype._undestroy=w.undestroy,b.prototype._destroy=function(ne,be){this.push(null),be(ne)},b.prototype.push=function(ne,be){var ot=this._readableState,ue;return ot.objectMode?ue=!0:typeof ne=="string"&&(be=be||ot.defaultEncoding,be!==ot.encoding&&(ne=l.from(ne,be),be=""),ue=!0),O(this,ne,be,!1,ue)},b.prototype.unshift=function(ne){return O(this,ne,null,!0,!1)};function O(ne,be,ot,ue,Q){var V=ne._readableState;if(be===null)V.reading=!1,N(ne,V);else{var J;Q||(J=M(V,be)),J?ne.emit("error",J):V.objectMode||be&&be.length>0?(typeof be!="string"&&!V.objectMode&&(0,m.default)(be)!==l.prototype&&(be=s(be)),ue?V.endEmitted?ne.emit("error",new Error("stream.unshift() after end event")):I(ne,V,be,!0):V.ended?ne.emit("error",new Error("stream.push() after EOF")):(V.reading=!1,V.decoder&&!ot?(be=V.decoder.write(be),V.objectMode||be.length!==0?I(ne,V,be,!1):H(ne,V)):I(ne,V,be,!1))):ue||(V.reading=!1)}return F(V)}function I(ne,be,ot,ue){be.flowing&&be.length===0&&!be.sync?(ne.emit("data",ot),ne.read(0)):(be.length+=be.objectMode?1:ot.length,ue?be.buffer.unshift(ot):be.buffer.push(ot),be.needReadable&&B(ne)),H(ne,be)}function M(ne,be){var ot;return!u(be)&&typeof be!="string"&&be!==void 0&&!ne.objectMode&&(ot=new TypeError("Invalid non-string/buffer chunk")),ot}function F(ne){return!ne.ended&&(ne.needReadable||ne.length<ne.highWaterMark||ne.length===0)}b.prototype.isPaused=function(){return this._readableState.flowing===!1},b.prototype.setEncoding=function(ne){return E||(E=R("string_decoder/").StringDecoder),this._readableState.decoder=new E(ne),this._readableState.encoding=ne,this};var P=8388608;function j(ne){return ne>=P?ne=P:(ne--,ne|=ne>>>1,ne|=ne>>>2,ne|=ne>>>4,ne|=ne>>>8,ne|=ne>>>16,ne++),ne}function K(ne,be){return ne<=0||be.length===0&&be.ended?0:be.objectMode?1:ne!==ne?be.flowing&&be.length?be.buffer.head.data.length:be.length:(ne>be.highWaterMark&&(be.highWaterMark=j(ne)),ne<=be.length?ne:be.ended?be.length:(be.needReadable=!0,0))}b.prototype.read=function(ne){S("read",ne),ne=parseInt(ne,10);var be=this._readableState,ot=ne;if(ne!==0&&(be.emittedReadable=!1),ne===0&&be.needReadable&&(be.length>=be.highWaterMark||be.ended))return S("read: emitReadable",be.length,be.ended),be.length===0&&be.ended?Ue(this):B(this),null;if(ne=K(ne,be),ne===0&&be.ended)return be.length===0&&Ue(this),null;var ue=be.needReadable;S("need readable",ue),(be.length===0||be.length-ne<be.highWaterMark)&&(ue=!0,S("length less than watermark",ue)),be.ended||be.reading?(ue=!1,S("reading or ended",ue)):ue&&(S("do read"),be.reading=!0,be.sync=!0,be.length===0&&(be.needReadable=!0),this._read(be.highWaterMark),be.sync=!1,be.reading||(ne=K(ot,be)));var Q;return ne>0?Q=G(ne,be):Q=null,Q===null?(be.needReadable=!0,ne=0):be.length-=ne,be.length===0&&(be.ended||(be.needReadable=!0),ot!==ne&&be.ended&&Ue(this)),Q!==null&&this.emit("data",Q),Q};function N(ne,be){if(be.ended)return;if(be.decoder){var ot=be.decoder.end();ot&&ot.length&&(be.buffer.push(ot),be.length+=be.objectMode?1:ot.length)}be.ended=!0,B(ne)}function B(ne){var be=ne._readableState;be.needReadable=!1,be.emittedReadable||(S("emitReadable",be.flowing),be.emittedReadable=!0,be.sync?a.nextTick(U,ne):U(ne))}function U(ne){S("emit readable"),ne.emit("readable"),me(ne)}function H(ne,be){be.readingMore||(be.readingMore=!0,a.nextTick(z,ne,be))}function z(ne,be){for(var ot=be.length;!be.reading&&!be.flowing&&!be.ended&&be.length<be.highWaterMark&&!(S("maybeReadMore read 0"),ne.read(0),ot===be.length);)ot=be.length;be.readingMore=!1}b.prototype._read=function(ne){this.emit("error",new Error("_read() is not implemented"))},b.prototype.pipe=function(ne,be){var ot=this,ue=this._readableState;switch(ue.pipesCount){case 0:ue.pipes=ne;break;case 1:ue.pipes=[ue.pipes,ne];break;default:ue.pipes.push(ne);break}ue.pipesCount+=1,S("pipe count=%d opts=%j",ue.pipesCount,be);var Q=(!be||be.end!==!1)&&ne!==g.stdout&&ne!==g.stderr,V=Q?fe:dt;ue.endEmitted?a.nextTick(V):ot.once("end",V),ne.on("unpipe",J);function J(De,Tt){S("onunpipe"),De===ot&&(Tt&&Tt.hasUnpiped===!1&&(Tt.hasUnpiped=!0,he()))}function fe(){S("onend"),ne.end()}var oe=X(ot);ne.on("drain",oe);var Le=!1;function he(){S("cleanup"),ne.removeListener("close",Re),ne.removeListener("finish",ze),ne.removeListener("drain",oe),ne.removeListener("error",ge),ne.removeListener("unpipe",J),ot.removeListener("end",fe),ot.removeListener("end",dt),ot.removeListener("data",Z),Le=!0,ue.awaitDrain&&(!ne._writableState||ne._writableState.needDrain)&&oe()}var te=!1;ot.on("data",Z);function Z(De){S("ondata"),te=!1;var Tt=ne.write(De);Tt===!1&&!te&&((ue.pipesCount===1&&ue.pipes===ne||ue.pipesCount>1&&nt(ue.pipes,ne)!==-1)&&!Le&&(S("false write response, pause",ot._readableState.awaitDrain),ot._readableState.awaitDrain++,te=!0),ot.pause())}function ge(De){S("onerror",De),dt(),ne.removeListener("error",ge),d(ne,"error")===0&&ne.emit("error",De)}_(ne,"error",ge);function Re(){ne.removeListener("finish",ze),dt()}ne.once("close",Re);function ze(){S("onfinish"),ne.removeListener("close",Re),dt()}ne.once("finish",ze);function dt(){S("unpipe"),ot.unpipe(ne)}return ne.emit("pipe",ot),ue.flowing||(S("pipe resume"),ot.resume()),ne};function X(ne){return function(){var be=ne._readableState;S("pipeOnDrain",be.awaitDrain),be.awaitDrain&&be.awaitDrain--,be.awaitDrain===0&&d(ne,"data")&&(be.flowing=!0,me(ne))}}b.prototype.unpipe=function(ne){var be=this._readableState,ot={hasUnpiped:!1};if(be.pipesCount===0)return this;if(be.pipesCount===1)return ne&&ne!==be.pipes?this:(ne||(ne=be.pipes),be.pipes=null,be.pipesCount=0,be.flowing=!1,ne&&ne.emit("unpipe",this,ot),this);if(!ne){var ue=be.pipes,Q=be.pipesCount;be.pipes=null,be.pipesCount=0,be.flowing=!1;for(var V=0;V<Q;V++)ue[V].emit("unpipe",this,ot);return this}var J=nt(be.pipes,ne);return J===-1?this:(be.pipes.splice(J,1),be.pipesCount-=1,be.pipesCount===1&&(be.pipes=be.pipes[0]),ne.emit("unpipe",this,ot),this)},b.prototype.on=function(ne,be){var ot=n.prototype.on.call(this,ne,be);if(ne==="data")this._readableState.flowing!==!1&&this.resume();else if(ne==="readable"){var ue=this._readableState;!ue.endEmitted&&!ue.readableListening&&(ue.readableListening=ue.needReadable=!0,ue.emittedReadable=!1,ue.reading?ue.length&&B(this):a.nextTick(W,this))}return ot},b.prototype.addListener=b.prototype.on;function W(ne){S("readable nexttick read 0"),ne.read(0)}b.prototype.resume=function(){var ne=this._readableState;return ne.flowing||(S("resume"),ne.flowing=!0,Y(this,ne)),this};function Y(ne,be){be.resumeScheduled||(be.resumeScheduled=!0,a.nextTick(q,ne,be))}function q(ne,be){be.reading||(S("resume read 0"),ne.read(0)),be.resumeScheduled=!1,be.awaitDrain=0,ne.emit("resume"),me(ne),be.flowing&&!be.reading&&ne.read(0)}b.prototype.pause=function(){return S("call pause flowing=%j",this._readableState.flowing),this._readableState.flowing!==!1&&(S("pause"),this._readableState.flowing=!1,this.emit("pause")),this};function me(ne){var be=ne._readableState;for(S("flow",be.flowing);be.flowing&&ne.read()!==null;);}b.prototype.wrap=function(ne){var be=this,ot=this._readableState,ue=!1;ne.on("end",function(){if(S("wrapped end"),ot.decoder&&!ot.ended){var J=ot.decoder.end();J&&J.length&&be.push(J)}be.push(null)}),ne.on("data",function(J){if(S("wrapped data"),ot.decoder&&(J=ot.decoder.write(J)),ot.objectMode&&J==null)return;if(!ot.objectMode&&(!J||!J.length))return;var fe=be.push(J);fe||(ue=!0,ne.pause())});for(var Q in ne)this[Q]===void 0&&typeof ne[Q]=="function"&&(this[Q]=function(J){return function(){return ne[J].apply(ne,arguments)}}(Q));for(var V=0;V<C.length;V++)ne.on(C[V],this.emit.bind(this,C[V]));return this._read=function(J){S("wrapped _read",J),ue&&(ue=!1,ne.resume())},this},Object.defineProperty(b.prototype,"readableHighWaterMark",{enumerable:!1,get:function(){return this._readableState.highWaterMark}}),b._fromList=G;function G(ne,be){if(be.length===0)return null;var ot;return be.objectMode?ot=be.buffer.shift():!ne||ne>=be.length?(be.decoder?ot=be.buffer.join(""):be.buffer.length===1?ot=be.buffer.head.data:ot=be.buffer.concat(be.length),be.buffer.clear()):ot=ye(ne,be.buffer,be.decoder),ot}function ye(ne,be,ot){var ue;return ne<be.head.data.length?(ue=be.head.data.slice(0,ne),be.head.data=be.head.data.slice(ne)):ne===be.head.data.length?ue=be.shift():ue=ot?Ae(ne,be):ve(ne,be),ue}function Ae(ne,be){var ot=be.head,ue=1,Q=ot.data;for(ne-=Q.length;ot=ot.next;){var V=ot.data,J=ne>V.length?V.length:ne;if(J===V.length?Q+=V:Q+=V.slice(0,ne),ne-=J,ne===0){J===V.length?(++ue,ot.next?be.head=ot.next:be.head=be.tail=null):(be.head=ot,ot.data=V.slice(J));break}++ue}return be.length-=ue,Q}function ve(ne,be){var ot=l.allocUnsafe(ne),ue=be.head,Q=1;for(ue.data.copy(ot),ne-=ue.data.length;ue=ue.next;){var V=ue.data,J=ne>V.length?V.length:ne;if(V.copy(ot,ot.length-ne,0,J),ne-=J,ne===0){J===V.length?(++Q,ue.next?be.head=ue.next:be.head=be.tail=null):(be.head=ue,ue.data=V.slice(J));break}++Q}return be.length-=Q,ot}function Ue(ne){var be=ne._readableState;if(be.length>0)throw new Error('"endReadable()" called on non-empty stream');be.endEmitted||(be.ended=!0,a.nextTick(Me,be,ne))}function Me(ne,be){!ne.endEmitted&&ne.length===0&&(ne.endEmitted=!0,be.readable=!1,be.emit("end"))}function nt(ne,be){for(var ot=0,ue=ne.length;ot<ue;ot++)if(ne[ot]===be)return ot;return-1}}).call(this,R("_process"),typeof global!="undefined"?global:typeof self!="undefined"?self:typeof window!="undefined"?window:{})},{"./_stream_duplex":214,"./internal/streams/BufferList":219,"./internal/streams/destroy":220,"./internal/streams/stream":221,_process:208,"babel-runtime/core-js/object/create":55,"babel-runtime/core-js/object/get-prototype-of":59,"core-util-is":189,events:192,inherits:196,isarray:198,"process-nextick-args":207,"safe-buffer":228,"string_decoder/":235,util:71}],217:[function(R,D,e){"use strict";var g=R("babel-runtime/core-js/object/create"),f=A(g);function A(r){return r&&r.__esModule?r:{default:r}}D.exports=c;var m=R("./_stream_duplex"),v=(0,f.default)(R("core-util-is"));v.inherits=R("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(R,D,e){(function(g,f){"use strict";var A=R("babel-runtime/core-js/object/define-property"),m=n(A),v=R("babel-runtime/core-js/symbol/has-instance"),h=n(v),c=R("babel-runtime/core-js/symbol"),a=n(c),i=R("babel-runtime/core-js/object/create"),r=n(i),o=R("babel-runtime/core-js/set-immediate"),d=n(o);function n(ve){return ve&&ve.__esModule?ve:{default:ve}}var l=R("process-nextick-args");D.exports=M;function t(ve,Ue,Me){this.chunk=ve,this.encoding=Ue,this.callback=Me,this.next=null}function s(ve){var Ue=this;this.next=null,this.entry=null,this.finish=function(){Ae(Ue,ve)}}var u=!g.browser&&["v0.10","v0.9."].indexOf(g.version.slice(0,5))>-1?d.default:l.nextTick,p;M.WritableState=O;var x=(0,r.default)(R("core-util-is"));x.inherits=R("inherits");var S={deprecate:R("util-deprecate")},T=R("./internal/streams/stream"),w=R("safe-buffer").Buffer,E=f.Uint8Array||function(){};function C(ve){return w.from(ve)}function _(ve){return w.isBuffer(ve)||ve instanceof E}var y=R("./internal/streams/destroy");x.inherits(M,T);function b(){}function O(ve,Ue){p=p||R("./_stream_duplex"),ve=ve||{};var Me=Ue instanceof p;this.objectMode=!!ve.objectMode,Me&&(this.objectMode=this.objectMode||!!ve.writableObjectMode);var nt=ve.highWaterMark,ne=ve.writableHighWaterMark,be=this.objectMode?16:16*1024;nt||nt===0?this.highWaterMark=nt:Me&&(ne||ne===0)?this.highWaterMark=ne:this.highWaterMark=be,this.highWaterMark=Math.floor(this.highWaterMark),this.finalCalled=!1,this.needDrain=!1,this.ending=!1,this.ended=!1,this.finished=!1,this.destroyed=!1;var ot=ve.decodeStrings===!1;this.decodeStrings=!ot,this.defaultEncoding=ve.defaultEncoding||"utf8",this.length=0,this.writing=!1,this.corked=0,this.sync=!0,this.bufferProcessing=!1,this.onwrite=function(ue){H(Ue,ue)},this.writecb=null,this.writelen=0,this.bufferedRequest=null,this.lastBufferedRequest=null,this.pendingcb=0,this.prefinished=!1,this.errorEmitted=!1,this.bufferedRequestCount=0,this.corkedRequestsFree=new s(this)}O.prototype.getBuffer=function(){for(var Ue=this.bufferedRequest,Me=[];Ue;)Me.push(Ue),Ue=Ue.next;return Me},function(){try{Object.defineProperty(O.prototype,"buffer",{get:S.deprecate(function(){return this.getBuffer()},"_writableState.buffer is deprecated. Use _writableState.getBuffer instead.","DEP0003")})}catch(ve){}}();var I;typeof a.default=="function"&&h.default&&typeof Function.prototype[h.default]=="function"?(I=Function.prototype[h.default],(0,m.default)(M,h.default,{value:function(Ue){return I.call(this,Ue)?!0:this!==M?!1:Ue&&Ue._writableState instanceof O}})):I=function(Ue){return Ue instanceof this};function M(ve){if(p=p||R("./_stream_duplex"),!I.call(M,this)&&!(this instanceof p))return new M(ve);this._writableState=new O(ve,this),this.writable=!0,ve&&(typeof ve.write=="function"&&(this._write=ve.write),typeof ve.writev=="function"&&(this._writev=ve.writev),typeof ve.destroy=="function"&&(this._destroy=ve.destroy),typeof ve.final=="function"&&(this._final=ve.final)),T.call(this)}M.prototype.pipe=function(){this.emit("error",new Error("Cannot pipe, not readable"))};function F(ve,Ue){var Me=new Error("write after end");ve.emit("error",Me),l.nextTick(Ue,Me)}function P(ve,Ue,Me,nt){var ne=!0,be=!1;return Me===null?be=new TypeError("May not write null values to stream"):typeof Me!="string"&&Me!==void 0&&!Ue.objectMode&&(be=new TypeError("Invalid non-string/buffer chunk")),be&&(ve.emit("error",be),l.nextTick(nt,be),ne=!1),ne}M.prototype.write=function(ve,Ue,Me){var nt=this._writableState,ne=!1,be=!nt.objectMode&&_(ve);return be&&!w.isBuffer(ve)&&(ve=C(ve)),typeof Ue=="function"&&(Me=Ue,Ue=null),be?Ue="buffer":Ue||(Ue=nt.defaultEncoding),typeof Me!="function"&&(Me=b),nt.ended?F(this,Me):(be||P(this,nt,ve,Me))&&(nt.pendingcb++,ne=K(this,nt,be,ve,Ue,Me)),ne},M.prototype.cork=function(){var ve=this._writableState;ve.corked++},M.prototype.uncork=function(){var ve=this._writableState;ve.corked&&(ve.corked--,!ve.writing&&!ve.corked&&!ve.finished&&!ve.bufferProcessing&&ve.bufferedRequest&&W(this,ve))},M.prototype.setDefaultEncoding=function(Ue){if(typeof Ue=="string"&&(Ue=Ue.toLowerCase()),!(["hex","utf8","utf-8","ascii","binary","base64","ucs2","ucs-2","utf16le","utf-16le","raw"].indexOf((Ue+"").toLowerCase())>-1))throw new TypeError("Unknown encoding: "+Ue);return this._writableState.defaultEncoding=Ue,this};function j(ve,Ue,Me){return!ve.objectMode&&ve.decodeStrings!==!1&&typeof Ue=="string"&&(Ue=w.from(Ue,Me)),Ue}Object.defineProperty(M.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}});function K(ve,Ue,Me,nt,ne,be){if(!Me){var ot=j(Ue,nt,ne);nt!==ot&&(Me=!0,ne="buffer",nt=ot)}var ue=Ue.objectMode?1:nt.length;Ue.length+=ue;var Q=Ue.length<Ue.highWaterMark;if(Q||(Ue.needDrain=!0),Ue.writing||Ue.corked){var V=Ue.lastBufferedRequest;Ue.lastBufferedRequest={chunk:nt,encoding:ne,isBuf:Me,callback:be,next:null},V?V.next=Ue.lastBufferedRequest:Ue.bufferedRequest=Ue.lastBufferedRequest,Ue.bufferedRequestCount+=1}else N(ve,Ue,!1,ue,nt,ne,be);return Q}function N(ve,Ue,Me,nt,ne,be,ot){Ue.writelen=nt,Ue.writecb=ot,Ue.writing=!0,Ue.sync=!0,Me?ve._writev(ne,Ue.onwrite):ve._write(ne,be,Ue.onwrite),Ue.sync=!1}function B(ve,Ue,Me,nt,ne){--Ue.pendingcb,Me?(l.nextTick(ne,nt),l.nextTick(G,ve,Ue),ve._writableState.errorEmitted=!0,ve.emit("error",nt)):(ne(nt),ve._writableState.errorEmitted=!0,ve.emit("error",nt),G(ve,Ue))}function U(ve){ve.writing=!1,ve.writecb=null,ve.length-=ve.writelen,ve.writelen=0}function H(ve,Ue){var Me=ve._writableState,nt=Me.sync,ne=Me.writecb;if(U(Me),Ue)B(ve,Me,nt,Ue,ne);else{var be=Y(Me);!be&&!Me.corked&&!Me.bufferProcessing&&Me.bufferedRequest&&W(ve,Me),nt?u(z,ve,Me,be,ne):z(ve,Me,be,ne)}}function z(ve,Ue,Me,nt){Me||X(ve,Ue),Ue.pendingcb--,nt(),G(ve,Ue)}function X(ve,Ue){Ue.length===0&&Ue.needDrain&&(Ue.needDrain=!1,ve.emit("drain"))}function W(ve,Ue){Ue.bufferProcessing=!0;var Me=Ue.bufferedRequest;if(ve._writev&&Me&&Me.next){var nt=Ue.bufferedRequestCount,ne=new Array(nt),be=Ue.corkedRequestsFree;be.entry=Me;for(var ot=0,ue=!0;Me;)ne[ot]=Me,Me.isBuf||(ue=!1),Me=Me.next,ot+=1;ne.allBuffers=ue,N(ve,Ue,!0,Ue.length,ne,"",be.finish),Ue.pendingcb++,Ue.lastBufferedRequest=null,be.next?(Ue.corkedRequestsFree=be.next,be.next=null):Ue.corkedRequestsFree=new s(Ue),Ue.bufferedRequestCount=0}else{for(;Me;){var Q=Me.chunk,V=Me.encoding,J=Me.callback,fe=Ue.objectMode?1:Q.length;if(N(ve,Ue,!1,fe,Q,V,J),Me=Me.next,Ue.bufferedRequestCount--,Ue.writing)break}Me===null&&(Ue.lastBufferedRequest=null)}Ue.bufferedRequest=Me,Ue.bufferProcessing=!1}M.prototype._write=function(ve,Ue,Me){Me(new Error("_write() is not implemented"))},M.prototype._writev=null,M.prototype.end=function(ve,Ue,Me){var nt=this._writableState;typeof ve=="function"?(Me=ve,ve=null,Ue=null):typeof Ue=="function"&&(Me=Ue,Ue=null),ve!=null&&this.write(ve,Ue),nt.corked&&(nt.corked=1,this.uncork()),!nt.ending&&!nt.finished&&ye(this,nt,Me)};function Y(ve){return ve.ending&&ve.length===0&&ve.bufferedRequest===null&&!ve.finished&&!ve.writing}function q(ve,Ue){ve._final(function(Me){Ue.pendingcb--,Me&&ve.emit("error",Me),Ue.prefinished=!0,ve.emit("prefinish"),G(ve,Ue)})}function me(ve,Ue){!Ue.prefinished&&!Ue.finalCalled&&(typeof ve._final=="function"?(Ue.pendingcb++,Ue.finalCalled=!0,l.nextTick(q,ve,Ue)):(Ue.prefinished=!0,ve.emit("prefinish")))}function G(ve,Ue){var Me=Y(Ue);return Me&&(me(ve,Ue),Ue.pendingcb===0&&(Ue.finished=!0,ve.emit("finish"))),Me}function ye(ve,Ue,Me){Ue.ending=!0,G(ve,Ue),Me&&(Ue.finished?l.nextTick(Me):ve.once("finish",Me)),Ue.ended=!0,ve.writable=!1}function Ae(ve,Ue,Me){var nt=ve.entry;for(ve.entry=null;nt;){var ne=nt.callback;Ue.pendingcb--,ne(Me),nt=nt.next}Ue.corkedRequestsFree?Ue.corkedRequestsFree.next=ve:Ue.corkedRequestsFree=ve}Object.defineProperty(M.prototype,"destroyed",{get:function(){return this._writableState===void 0?!1:this._writableState.destroyed},set:function(Ue){if(!this._writableState)return;this._writableState.destroyed=Ue}}),M.prototype.destroy=y.destroy,M.prototype._undestroy=y.undestroy,M.prototype._destroy=function(ve,Ue){this.end(),Ue(ve)}}).call(this,R("_process"),typeof global!="undefined"?global:typeof self!="undefined"?self:typeof window!="undefined"?window:{})},{"./_stream_duplex":214,"./internal/streams/destroy":220,"./internal/streams/stream":221,_process:208,"babel-runtime/core-js/object/create":55,"babel-runtime/core-js/object/define-property":56,"babel-runtime/core-js/set-immediate":62,"babel-runtime/core-js/symbol":64,"babel-runtime/core-js/symbol/has-instance":65,"core-util-is":189,inherits:196,"process-nextick-args":207,"safe-buffer":228,"util-deprecate":240}],219:[function(R,D,e){"use strict";function g(v,h){if(!(v instanceof h))throw new TypeError("Cannot call a class as a function")}var f=R("safe-buffer").Buffer,A=R("util");function m(v,h,c){v.copy(h,c)}D.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}(),A&&A.inspect&&A.inspect.custom&&(D.exports.prototype[A.inspect.custom]=function(){var v=A.inspect({length:this.length});return this.constructor.name+" "+v})},{"safe-buffer":228,util:71}],220:[function(R,D,e){"use strict";var g=R("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 A(){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)}D.exports={destroy:f,undestroy:A}},{"process-nextick-args":207}],221:[function(R,D,e){"use strict";D.exports=R("events").EventEmitter},{events:192}],222:[function(R,D,e){D.exports=R("./readable").PassThrough},{"./readable":223}],223:[function(R,D,e){e=D.exports=R("./lib/_stream_readable.js"),e.Stream=e,e.Readable=e,e.Writable=R("./lib/_stream_writable.js"),e.Duplex=R("./lib/_stream_duplex.js"),e.Transform=R("./lib/_stream_transform.js"),e.PassThrough=R("./lib/_stream_passthrough.js")},{"./lib/_stream_duplex.js":214,"./lib/_stream_passthrough.js":215,"./lib/_stream_readable.js":216,"./lib/_stream_transform.js":217,"./lib/_stream_writable.js":218}],224:[function(R,D,e){D.exports=R("./readable").Transform},{"./readable":223}],225:[function(R,D,e){D.exports=R("./lib/_stream_writable.js")},{"./lib/_stream_writable.js":218}],226:[function(R,D,e){var g=function(){return this}()||Function("return this")(),f=g.regeneratorRuntime&&Object.getOwnPropertyNames(g).indexOf("regeneratorRuntime")>=0,A=f&&g.regeneratorRuntime;if(g.regeneratorRuntime=void 0,D.exports=R("./runtime"),f)g.regeneratorRuntime=A;else try{delete g.regeneratorRuntime}catch(m){g.regeneratorRuntime=void 0}},{"./runtime":227}],227:[function(R,D,e){!function(g){"use strict";var f=Object.prototype,A=f.hasOwnProperty,m,v=typeof Symbol=="function"?Symbol:{},h=v.iterator||"@@iterator",c=v.asyncIterator||"@@asyncIterator",a=v.toStringTag||"@@toStringTag",i=typeof D=="object",r=g.regeneratorRuntime;if(r){i&&(D.exports=r);return}r=g.regeneratorRuntime=i?D.exports:{};function o(K,N,B,U){var H=N&&N.prototype instanceof p?N:p,z=Object.create(H.prototype),X=new F(U||[]);return z._invoke=b(K,B,X),z}r.wrap=o;function d(K,N,B){try{return{type:"normal",arg:K.call(N,B)}}catch(U){return{type:"throw",arg:U}}}var n="suspendedStart",l="suspendedYield",t="executing",s="completed",u={};function p(){}function x(){}function S(){}var T={};T[h]=function(){return this};var w=Object.getPrototypeOf,E=w&&w(w(P([])));E&&E!==f&&A.call(E,h)&&(T=E);var C=S.prototype=p.prototype=Object.create(T);x.prototype=C.constructor=S,S.constructor=x,S[a]=x.displayName="GeneratorFunction";function _(K){["next","throw","return"].forEach(function(N){K[N]=function(B){return this._invoke(N,B)}})}r.isGeneratorFunction=function(K){var N=typeof K=="function"&&K.constructor;return N?N===x||(N.displayName||N.name)==="GeneratorFunction":!1},r.mark=function(K){return Object.setPrototypeOf?Object.setPrototypeOf(K,S):(K.__proto__=S,a in K||(K[a]="GeneratorFunction")),K.prototype=Object.create(C),K},r.awrap=function(K){return{__await:K}};function y(K){function N(H,z,X,W){var Y=d(K[H],K,z);if(Y.type==="throw")W(Y.arg);else{var q=Y.arg,me=q.value;return me&&typeof me=="object"&&A.call(me,"__await")?Promise.resolve(me.__await).then(function(G){N("next",G,X,W)},function(G){N("throw",G,X,W)}):Promise.resolve(me).then(function(G){q.value=G,X(q)},W)}}var B;function U(H,z){function X(){return new Promise(function(W,Y){N(H,z,W,Y)})}return B=B?B.then(X,X):X()}this._invoke=U}_(y.prototype),y.prototype[c]=function(){return this},r.AsyncIterator=y,r.async=function(K,N,B,U){var H=new y(o(K,N,B,U));return r.isGeneratorFunction(N)?H:H.next().then(function(z){return z.done?z.value:H.next()})};function b(K,N,B){var U=n;return function(z,X){if(U===t)throw new Error("Generator is already running");if(U===s){if(z==="throw")throw X;return j()}for(B.method=z,B.arg=X;;){var W=B.delegate;if(W){var Y=O(W,B);if(Y){if(Y===u)continue;return Y}}if(B.method==="next")B.sent=B._sent=B.arg;else if(B.method==="throw"){if(U===n)throw U=s,B.arg;B.dispatchException(B.arg)}else B.method==="return"&&B.abrupt("return",B.arg);U=t;var q=d(K,N,B);if(q.type==="normal"){if(U=B.done?s:l,q.arg===u)continue;return{value:q.arg,done:B.done}}else q.type==="throw"&&(U=s,B.method="throw",B.arg=q.arg)}}}function O(K,N){var B=K.iterator[N.method];if(B===m){if(N.delegate=null,N.method==="throw"){if(K.iterator.return&&(N.method="return",N.arg=m,O(K,N),N.method==="throw"))return u;N.method="throw",N.arg=new TypeError("The iterator does not provide a 'throw' method")}return u}var U=d(B,K.iterator,N.arg);if(U.type==="throw")return N.method="throw",N.arg=U.arg,N.delegate=null,u;var H=U.arg;if(!H)return N.method="throw",N.arg=new TypeError("iterator result is not an object"),N.delegate=null,u;if(H.done)N[K.resultName]=H.value,N.next=K.nextLoc,N.method!=="return"&&(N.method="next",N.arg=m);else return H;return N.delegate=null,u}_(C),C[a]="Generator",C[h]=function(){return this},C.toString=function(){return"[object Generator]"};function I(K){var N={tryLoc:K[0]};1 in K&&(N.catchLoc=K[1]),2 in K&&(N.finallyLoc=K[2],N.afterLoc=K[3]),this.tryEntries.push(N)}function M(K){var N=K.completion||{};N.type="normal",delete N.arg,K.completion=N}function F(K){this.tryEntries=[{tryLoc:"root"}],K.forEach(I,this),this.reset(!0)}r.keys=function(K){var N=[];for(var B in K)N.push(B);return N.reverse(),function U(){for(;N.length;){var H=N.pop();if(H in K)return U.value=H,U.done=!1,U}return U.done=!0,U}};function P(K){if(K){var N=K[h];if(N)return N.call(K);if(typeof K.next=="function")return K;if(!isNaN(K.length)){var B=-1,U=function H(){for(;++B<K.length;)if(A.call(K,B))return H.value=K[B],H.done=!1,H;return H.value=m,H.done=!0,H};return U.next=U}}return{next:j}}r.values=P;function j(){return{value:m,done:!0}}F.prototype={constructor:F,reset:function(N){if(this.prev=0,this.next=0,this.sent=this._sent=m,this.done=!1,this.delegate=null,this.method="next",this.arg=m,this.tryEntries.forEach(M),!N)for(var B in this)B.charAt(0)==="t"&&A.call(this,B)&&!isNaN(+B.slice(1))&&(this[B]=m)},stop:function(){this.done=!0;var N=this.tryEntries[0],B=N.completion;if(B.type==="throw")throw B.arg;return this.rval},dispatchException:function(N){if(this.done)throw N;var B=this;function U(q,me){return X.type="throw",X.arg=N,B.next=q,me&&(B.method="next",B.arg=m),!!me}for(var H=this.tryEntries.length-1;H>=0;--H){var z=this.tryEntries[H],X=z.completion;if(z.tryLoc==="root")return U("end");if(z.tryLoc<=this.prev){var W=A.call(z,"catchLoc"),Y=A.call(z,"finallyLoc");if(W&&Y){if(this.prev<z.catchLoc)return U(z.catchLoc,!0);if(this.prev<z.finallyLoc)return U(z.finallyLoc)}else if(W){if(this.prev<z.catchLoc)return U(z.catchLoc,!0)}else if(Y){if(this.prev<z.finallyLoc)return U(z.finallyLoc)}else throw new Error("try statement without catch or finally")}}},abrupt:function(N,B){for(var U=this.tryEntries.length-1;U>=0;--U){var H=this.tryEntries[U];if(H.tryLoc<=this.prev&&A.call(H,"finallyLoc")&&this.prev<H.finallyLoc){var z=H;break}}z&&(N==="break"||N==="continue")&&z.tryLoc<=B&&B<=z.finallyLoc&&(z=null);var X=z?z.completion:{};return X.type=N,X.arg=B,z?(this.method="next",this.next=z.finallyLoc,u):this.complete(X)},complete:function(N,B){if(N.type==="throw")throw N.arg;return N.type==="break"||N.type==="continue"?this.next=N.arg:N.type==="return"?(this.rval=this.arg=N.arg,this.method="return",this.next="end"):N.type==="normal"&&B&&(this.next=B),u},finish:function(N){for(var B=this.tryEntries.length-1;B>=0;--B){var U=this.tryEntries[B];if(U.finallyLoc===N)return this.complete(U.completion,U.afterLoc),M(U),u}},catch:function(N){for(var B=this.tryEntries.length-1;B>=0;--B){var U=this.tryEntries[B];if(U.tryLoc===N){var H=U.completion;if(H.type==="throw"){var z=H.arg;M(U)}return z}}throw new Error("illegal catch attempt")},delegateYield:function(N,B,U){return this.delegate={iterator:P(N),resultName:B,nextLoc:U},this.method==="next"&&(this.arg=m),u}}}(function(){return this}()||Function("return this")())},{}],228:[function(R,D,e){var g=R("buffer"),f=g.Buffer;function A(v,h){for(var c in v)h[c]=v[c]}f.from&&f.alloc&&f.allocUnsafe&&f.allocUnsafeSlow?D.exports=g:(A(g,e),e.Buffer=m);function m(v,h,c){return f(v,h,c)}A(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(R,D,e){(function(g){"use strict";var f=R("babel-runtime/core-js/string/from-code-point"),A=l(f),m=R("babel-runtime/core-js/json/stringify"),v=l(m),h=R("babel-runtime/helpers/typeof"),c=l(h),a=R("babel-runtime/core-js/object/define-property"),i=l(a),r=R("babel-runtime/core-js/object/keys"),o=l(r),d=R("babel-runtime/core-js/object/create"),n=l(d);function l(t){return t&&t.__esModule?t:{default:t}}(function(t){t.parser=function(V,J){return new u(V,J)},t.SAXParser=u,t.SAXStream=C,t.createStream=E,t.MAX_BUFFER_LENGTH=64*1024;var s=["comment","sgmlDecl","textNode","tagName","doctype","procInstName","procInstBody","entity","attribName","attribValue","cdata","script"];t.EVENTS=["text","processinginstruction","sgmldeclaration","doctype","comment","opentagstart","attribute","opentag","closetag","opencdata","cdata","closecdata","error","end","ready","script","opennamespace","closenamespace"];function u(V,J){if(!(this instanceof u))return new u(V,J);var fe=this;x(fe),fe.q=fe.c="",fe.bufferCheckPosition=t.MAX_BUFFER_LENGTH,fe.opt=J||{},fe.opt.lowercase=fe.opt.lowercase||fe.opt.lowercasetags,fe.looseCase=fe.opt.lowercase?"toLowerCase":"toUpperCase",fe.tags=[],fe.closed=fe.closedRoot=fe.sawRoot=!1,fe.tag=fe.error=null,fe.strict=!!V,fe.noscript=!!(V||fe.opt.noscript),fe.state=z.BEGIN,fe.strictEntities=fe.opt.strictEntities,fe.ENTITIES=fe.strictEntities?(0,n.default)(t.XML_ENTITIES):(0,n.default)(t.ENTITIES),fe.attribList=[],fe.opt.xmlns&&(fe.ns=(0,n.default)(I)),fe.trackPosition=fe.opt.position!==!1,fe.trackPosition&&(fe.position=fe.line=fe.column=0),W(fe,"onready")}n.default||(Object.create=function(V){function J(){}J.prototype=V;var fe=new J;return fe}),o.default||(Object.keys=function(V){var J=[];for(var fe in V)V.hasOwnProperty(fe)&&J.push(fe);return J});function p(V){for(var J=Math.max(t.MAX_BUFFER_LENGTH,10),fe=0,oe=0,Le=s.length;oe<Le;oe++){var he=V[s[oe]].length;if(he>J)switch(s[oe]){case"textNode":q(V);break;case"cdata":Y(V,"oncdata",V.cdata),V.cdata="";break;case"script":Y(V,"onscript",V.script),V.script="";break;default:G(V,"Max buffer length exceeded: "+s[oe])}fe=Math.max(fe,he)}var te=t.MAX_BUFFER_LENGTH-fe;V.bufferCheckPosition=te+V.position}function x(V){for(var J=0,fe=s.length;J<fe;J++)V[s[J]]=""}function S(V){q(V),V.cdata!==""&&(Y(V,"oncdata",V.cdata),V.cdata=""),V.script!==""&&(Y(V,"onscript",V.script),V.script="")}u.prototype={end:function(){ye(this)},write:Q,resume:function(){return this.error=null,this},close:function(){return this.write(null)},flush:function(){S(this)}};var T;try{T=R("stream").Stream}catch(V){T=function(){}}var w=t.EVENTS.filter(function(V){return V!=="error"&&V!=="end"});function E(V,J){return new C(V,J)}function C(V,J){if(!(this instanceof C))return new C(V,J);T.apply(this),this._parser=new u(V,J),this.writable=!0,this.readable=!0;var fe=this;this._parser.onend=function(){fe.emit("end")},this._parser.onerror=function(oe){fe.emit("error",oe),fe._parser.error=null},this._decoder=null,w.forEach(function(oe){(0,i.default)(fe,"on"+oe,{get:function(){return fe._parser["on"+oe]},set:function(he){if(!he)return fe.removeAllListeners(oe),fe._parser["on"+oe]=he,he;fe.on(oe,he)},enumerable:!0,configurable:!1})})}C.prototype=(0,n.default)(T.prototype,{constructor:{value:C}}),C.prototype.write=function(V){if(typeof g=="function"&&typeof g.isBuffer=="function"&&g.isBuffer(V)){if(!this._decoder){var J=R("string_decoder").StringDecoder;this._decoder=new J("utf8")}V=this._decoder.write(V)}return this._parser.write(V.toString()),this.emit("data",V),!0},C.prototype.end=function(V){return V&&V.length&&this.write(V),this._parser.end(),!0},C.prototype.on=function(V,J){var fe=this;return!fe._parser["on"+V]&&w.indexOf(V)!==-1&&(fe._parser["on"+V]=function(){var oe=arguments.length===1?[arguments[0]]:Array.apply(null,arguments);oe.splice(0,0,V),fe.emit.apply(fe,oe)}),T.prototype.on.call(fe,V,J)};var _="[CDATA[",y="DOCTYPE",b="http://www.w3.org/XML/1998/namespace",O="http://www.w3.org/2000/xmlns/",I={xml:b,xmlns:O},M=/[:_A-Za-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD]/,F=/[:_A-Za-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\u00B7\u0300-\u036F\u203F-\u2040.\d-]/,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]/,j=/[#:_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 N(V){return V==='"'||V==="'"}function B(V){return V===">"||K(V)}function U(V,J){return V.test(J)}function H(V,J){return!U(V,J)}var z=0;t.STATE={BEGIN:z++,BEGIN_WHITESPACE:z++,TEXT:z++,TEXT_ENTITY:z++,OPEN_WAKA:z++,SGML_DECL:z++,SGML_DECL_QUOTED:z++,DOCTYPE:z++,DOCTYPE_QUOTED:z++,DOCTYPE_DTD:z++,DOCTYPE_DTD_QUOTED:z++,COMMENT_STARTING:z++,COMMENT:z++,COMMENT_ENDING:z++,COMMENT_ENDED:z++,CDATA:z++,CDATA_ENDING:z++,CDATA_ENDING_2:z++,PROC_INST:z++,PROC_INST_BODY:z++,PROC_INST_ENDING:z++,OPEN_TAG:z++,OPEN_TAG_SLASH:z++,ATTRIB:z++,ATTRIB_NAME:z++,ATTRIB_NAME_SAW_WHITE:z++,ATTRIB_VALUE:z++,ATTRIB_VALUE_QUOTED:z++,ATTRIB_VALUE_CLOSED:z++,ATTRIB_VALUE_UNQUOTED:z++,ATTRIB_VALUE_ENTITY_Q:z++,ATTRIB_VALUE_ENTITY_U:z++,CLOSE_TAG:z++,CLOSE_TAG_SAW_WHITE:z++,SCRIPT:z++,SCRIPT_ENDING:z++},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 J=t.ENTITIES[V],fe=typeof J=="number"?String.fromCharCode(J):J;t.ENTITIES[V]=fe});for(var X in t.STATE)t.STATE[t.STATE[X]]=X;z=t.STATE;function W(V,J,fe){V[J]&&V[J](fe)}function Y(V,J,fe){V.textNode&&q(V),W(V,J,fe)}function q(V){V.textNode=me(V.opt,V.textNode),V.textNode&&W(V,"ontext",V.textNode),V.textNode=""}function me(V,J){return V.trim&&(J=J.trim()),V.normalize&&(J=J.replace(/\s+/g," ")),J}function G(V,J){return q(V),V.trackPosition&&(J+=`
|
|
|
Line: `+V.line+`
|
|
|
Column: `+V.column+`
|
|
|
Char: `+V.c),J=new Error(J),V.error=J,W(V,"onerror",J),V}function ye(V){return V.sawRoot&&!V.closedRoot&&Ae(V,"Unclosed root tag"),V.state!==z.BEGIN&&V.state!==z.BEGIN_WHITESPACE&&V.state!==z.TEXT&&G(V,"Unexpected end"),q(V),V.c="",V.closed=!0,W(V,"onend"),u.call(V,V.strict,V.opt),V}function Ae(V,J){if((typeof V=="undefined"?"undefined":(0,c.default)(V))!=="object"||!(V instanceof u))throw new Error("bad call to strictFail");V.strict&&G(V,J)}function ve(V){V.strict||(V.tagName=V.tagName[V.looseCase]());var J=V.tags[V.tags.length-1]||V,fe=V.tag={name:V.tagName,attributes:{}};V.opt.xmlns&&(fe.ns=J.ns),V.attribList.length=0,Y(V,"onopentagstart",fe)}function Ue(V,J){var fe=V.indexOf(":"),oe=fe<0?["",V]:V.split(":"),Le=oe[0],he=oe[1];return J&&V==="xmlns"&&(Le="xmlns",he=""),{prefix:Le,local:he}}function Me(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 J=Ue(V.attribName,!0),fe=J.prefix,oe=J.local;if(fe==="xmlns")if(oe==="xml"&&V.attribValue!==b)Ae(V,"xml: prefix must be bound to "+b+`
|
|
|
Actual: `+V.attribValue);else if(oe==="xmlns"&&V.attribValue!==O)Ae(V,"xmlns: prefix must be bound to "+O+`
|
|
|
Actual: `+V.attribValue);else{var Le=V.tag,he=V.tags[V.tags.length-1]||V;Le.ns===he.ns&&(Le.ns=(0,n.default)(he.ns)),Le.ns[oe]=V.attribValue}V.attribList.push([V.attribName,V.attribValue])}else V.tag.attributes[V.attribName]=V.attribValue,Y(V,"onattribute",{name:V.attribName,value:V.attribValue});V.attribName=V.attribValue=""}function nt(V,J){if(V.opt.xmlns){var fe=V.tag,oe=Ue(V.tagName);fe.prefix=oe.prefix,fe.local=oe.local,fe.uri=fe.ns[oe.prefix]||"",fe.prefix&&!fe.uri&&(Ae(V,"Unbound namespace prefix: "+(0,v.default)(V.tagName)),fe.uri=oe.prefix);var Le=V.tags[V.tags.length-1]||V;fe.ns&&Le.ns!==fe.ns&&(0,o.default)(fe.ns).forEach(function(st){Y(V,"onopennamespace",{prefix:st,uri:fe.ns[st]})});for(var he=0,te=V.attribList.length;he<te;he++){var Z=V.attribList[he],ge=Z[0],Re=Z[1],ze=Ue(ge,!0),dt=ze.prefix,De=ze.local,Tt=dt===""?"":fe.ns[dt]||"",je={name:ge,value:Re,prefix:dt,local:De,uri:Tt};dt&&dt!=="xmlns"&&!Tt&&(Ae(V,"Unbound namespace prefix: "+(0,v.default)(dt)),je.uri=dt),V.tag.attributes[ge]=je,Y(V,"onattribute",je)}V.attribList.length=0}V.tag.isSelfClosing=!!J,V.sawRoot=!0,V.tags.push(V.tag),Y(V,"onopentag",V.tag),J||(!V.noscript&&V.tagName.toLowerCase()==="script"?V.state=z.SCRIPT:V.state=z.TEXT,V.tag=null,V.tagName=""),V.attribName=V.attribValue="",V.attribList.length=0}function ne(V){if(!V.tagName){Ae(V,"Weird empty close tag."),V.textNode+="</>",V.state=z.TEXT;return}if(V.script){if(V.tagName!=="script"){V.script+="</"+V.tagName+">",V.tagName="",V.state=z.SCRIPT;return}Y(V,"onscript",V.script),V.script=""}var J=V.tags.length,fe=V.tagName;V.strict||(fe=fe[V.looseCase]());for(var oe=fe;J--;){var Le=V.tags[J];if(Le.name!==oe)Ae(V,"Unexpected close tag");else break}if(J<0){Ae(V,"Unmatched closing tag: "+V.tagName),V.textNode+="</"+V.tagName+">",V.state=z.TEXT;return}V.tagName=fe;for(var he=V.tags.length;he-- >J;){var te=V.tag=V.tags.pop();V.tagName=V.tag.name,Y(V,"onclosetag",V.tagName);var Z={};for(var ge in te.ns)Z[ge]=te.ns[ge];var Re=V.tags[V.tags.length-1]||V;V.opt.xmlns&&te.ns!==Re.ns&&(0,o.default)(te.ns).forEach(function(ze){var dt=te.ns[ze];Y(V,"onclosenamespace",{prefix:ze,uri:dt})})}J===0&&(V.closedRoot=!0),V.tagName=V.attribValue=V.attribName="",V.attribList.length=0,V.state=z.TEXT}function be(V){var J=V.entity,fe=J.toLowerCase(),oe,Le="";return V.ENTITIES[J]?V.ENTITIES[J]:V.ENTITIES[fe]?V.ENTITIES[fe]:(J=fe,J.charAt(0)==="#"&&(J.charAt(1)==="x"?(J=J.slice(2),oe=parseInt(J,16),Le=oe.toString(16)):(J=J.slice(1),oe=parseInt(J,10),Le=oe.toString(10))),J=J.replace(/^0+/,""),isNaN(oe)||Le.toLowerCase()!==J?(Ae(V,"Invalid character entity"),"&"+V.entity+";"):(0,A.default)(oe))}function ot(V,J){J==="<"?(V.state=z.OPEN_WAKA,V.startTagPosition=V.position):K(J)||(Ae(V,"Non-whitespace before first tag."),V.textNode=J,V.state=z.TEXT)}function ue(V,J){var fe="";return J<V.length&&(fe=V.charAt(J)),fe}function Q(V){var J=this;if(this.error)throw this.error;if(J.closed)return G(J,"Cannot write after close. Assign an onready handler.");if(V===null)return ye(J);(typeof V=="undefined"?"undefined":(0,c.default)(V))==="object"&&(V=V.toString());for(var fe=0,oe="";!(oe=ue(V,fe++),J.c=oe,!oe);){J.trackPosition&&(J.position++,oe===`
|
|
|
`?(J.line++,J.column=0):J.column++);switch(J.state){case z.BEGIN:if(J.state=z.BEGIN_WHITESPACE,oe==="\uFEFF")continue;ot(J,oe);continue;case z.BEGIN_WHITESPACE:ot(J,oe);continue;case z.TEXT:if(J.sawRoot&&!J.closedRoot){for(var Le=fe-1;oe&&oe!=="<"&&oe!=="&";)oe=ue(V,fe++),oe&&J.trackPosition&&(J.position++,oe===`
|
|
|
`?(J.line++,J.column=0):J.column++);J.textNode+=V.substring(Le,fe-1)}oe==="<"&&!(J.sawRoot&&J.closedRoot&&!J.strict)?(J.state=z.OPEN_WAKA,J.startTagPosition=J.position):(!K(oe)&&(!J.sawRoot||J.closedRoot)&&Ae(J,"Text data outside of root node."),oe==="&"?J.state=z.TEXT_ENTITY:J.textNode+=oe);continue;case z.SCRIPT:oe==="<"?J.state=z.SCRIPT_ENDING:J.script+=oe;continue;case z.SCRIPT_ENDING:oe==="/"?J.state=z.CLOSE_TAG:(J.script+="<"+oe,J.state=z.SCRIPT);continue;case z.OPEN_WAKA:if(oe==="!")J.state=z.SGML_DECL,J.sgmlDecl="";else if(!K(oe))if(U(M,oe))J.state=z.OPEN_TAG,J.tagName=oe;else if(oe==="/")J.state=z.CLOSE_TAG,J.tagName="";else if(oe==="?")J.state=z.PROC_INST,J.procInstName=J.procInstBody="";else{if(Ae(J,"Unencoded <"),J.startTagPosition+1<J.position){var he=J.position-J.startTagPosition;oe=new Array(he).join(" ")+oe}J.textNode+="<"+oe,J.state=z.TEXT}continue;case z.SGML_DECL:(J.sgmlDecl+oe).toUpperCase()===_?(Y(J,"onopencdata"),J.state=z.CDATA,J.sgmlDecl="",J.cdata=""):J.sgmlDecl+oe==="--"?(J.state=z.COMMENT,J.comment="",J.sgmlDecl=""):(J.sgmlDecl+oe).toUpperCase()===y?(J.state=z.DOCTYPE,(J.doctype||J.sawRoot)&&Ae(J,"Inappropriately located doctype declaration"),J.doctype="",J.sgmlDecl=""):oe===">"?(Y(J,"onsgmldeclaration",J.sgmlDecl),J.sgmlDecl="",J.state=z.TEXT):(N(oe)&&(J.state=z.SGML_DECL_QUOTED),J.sgmlDecl+=oe);continue;case z.SGML_DECL_QUOTED:oe===J.q&&(J.state=z.SGML_DECL,J.q=""),J.sgmlDecl+=oe;continue;case z.DOCTYPE:oe===">"?(J.state=z.TEXT,Y(J,"ondoctype",J.doctype),J.doctype=!0):(J.doctype+=oe,oe==="["?J.state=z.DOCTYPE_DTD:N(oe)&&(J.state=z.DOCTYPE_QUOTED,J.q=oe));continue;case z.DOCTYPE_QUOTED:J.doctype+=oe,oe===J.q&&(J.q="",J.state=z.DOCTYPE);continue;case z.DOCTYPE_DTD:J.doctype+=oe,oe==="]"?J.state=z.DOCTYPE:N(oe)&&(J.state=z.DOCTYPE_DTD_QUOTED,J.q=oe);continue;case z.DOCTYPE_DTD_QUOTED:J.doctype+=oe,oe===J.q&&(J.state=z.DOCTYPE_DTD,J.q="");continue;case z.COMMENT:oe==="-"?J.state=z.COMMENT_ENDING:J.comment+=oe;continue;case z.COMMENT_ENDING:oe==="-"?(J.state=z.COMMENT_ENDED,J.comment=me(J.opt,J.comment),J.comment&&Y(J,"oncomment",J.comment),J.comment=""):(J.comment+="-"+oe,J.state=z.COMMENT);continue;case z.COMMENT_ENDED:oe!==">"?(Ae(J,"Malformed comment"),J.comment+="--"+oe,J.state=z.COMMENT):J.state=z.TEXT;continue;case z.CDATA:oe==="]"?J.state=z.CDATA_ENDING:J.cdata+=oe;continue;case z.CDATA_ENDING:oe==="]"?J.state=z.CDATA_ENDING_2:(J.cdata+="]"+oe,J.state=z.CDATA);continue;case z.CDATA_ENDING_2:oe===">"?(J.cdata&&Y(J,"oncdata",J.cdata),Y(J,"onclosecdata"),J.cdata="",J.state=z.TEXT):oe==="]"?J.cdata+="]":(J.cdata+="]]"+oe,J.state=z.CDATA);continue;case z.PROC_INST:oe==="?"?J.state=z.PROC_INST_ENDING:K(oe)?J.state=z.PROC_INST_BODY:J.procInstName+=oe;continue;case z.PROC_INST_BODY:if(!J.procInstBody&&K(oe))continue;oe==="?"?J.state=z.PROC_INST_ENDING:J.procInstBody+=oe;continue;case z.PROC_INST_ENDING:oe===">"?(Y(J,"onprocessinginstruction",{name:J.procInstName,body:J.procInstBody}),J.procInstName=J.procInstBody="",J.state=z.TEXT):(J.procInstBody+="?"+oe,J.state=z.PROC_INST_BODY);continue;case z.OPEN_TAG:U(F,oe)?J.tagName+=oe:(ve(J),oe===">"?nt(J):oe==="/"?J.state=z.OPEN_TAG_SLASH:(K(oe)||Ae(J,"Invalid character in tag name"),J.state=z.ATTRIB));continue;case z.OPEN_TAG_SLASH:oe===">"?(nt(J,!0),ne(J)):(Ae(J,"Forward-slash in opening tag not followed by >"),J.state=z.ATTRIB);continue;case z.ATTRIB:if(K(oe))continue;oe===">"?nt(J):oe==="/"?J.state=z.OPEN_TAG_SLASH:U(M,oe)?(J.attribName=oe,J.attribValue="",J.state=z.ATTRIB_NAME):Ae(J,"Invalid attribute name");continue;case z.ATTRIB_NAME:oe==="="?J.state=z.ATTRIB_VALUE:oe===">"?(Ae(J,"Attribute without value"),J.attribValue=J.attribName,Me(J),nt(J)):K(oe)?J.state=z.ATTRIB_NAME_SAW_WHITE:U(F,oe)?J.attribName+=oe:Ae(J,"Invalid attribute name");continue;case z.ATTRIB_NAME_SAW_WHITE:if(oe==="=")J.state=z.ATTRIB_VALUE;else{if(K(oe))continue;Ae(J,"Attribute without value"),J.tag.attributes[J.attribName]="",J.attribValue="",Y(J,"onattribute",{name:J.attribName,value:""}),J.attribName="",oe===">"?nt(J):U(M,oe)?(J.attribName=oe,J.state=z.ATTRIB_NAME):(Ae(J,"Invalid attribute name"),J.state=z.ATTRIB)}continue;case z.ATTRIB_VALUE:if(K(oe))continue;N(oe)?(J.q=oe,J.state=z.ATTRIB_VALUE_QUOTED):(Ae(J,"Unquoted attribute value"),J.state=z.ATTRIB_VALUE_UNQUOTED,J.attribValue=oe);continue;case z.ATTRIB_VALUE_QUOTED:if(oe!==J.q){oe==="&"?J.state=z.ATTRIB_VALUE_ENTITY_Q:J.attribValue+=oe;continue}Me(J),J.q="",J.state=z.ATTRIB_VALUE_CLOSED;continue;case z.ATTRIB_VALUE_CLOSED:K(oe)?J.state=z.ATTRIB:oe===">"?nt(J):oe==="/"?J.state=z.OPEN_TAG_SLASH:U(M,oe)?(Ae(J,"No whitespace between attributes"),J.attribName=oe,J.attribValue="",J.state=z.ATTRIB_NAME):Ae(J,"Invalid attribute name");continue;case z.ATTRIB_VALUE_UNQUOTED:if(!B(oe)){oe==="&"?J.state=z.ATTRIB_VALUE_ENTITY_U:J.attribValue+=oe;continue}Me(J),oe===">"?nt(J):J.state=z.ATTRIB;continue;case z.CLOSE_TAG:if(J.tagName)oe===">"?ne(J):U(F,oe)?J.tagName+=oe:J.script?(J.script+="</"+J.tagName,J.tagName="",J.state=z.SCRIPT):(K(oe)||Ae(J,"Invalid tagname in closing tag"),J.state=z.CLOSE_TAG_SAW_WHITE);else{if(K(oe))continue;H(M,oe)?J.script?(J.script+="</"+oe,J.state=z.SCRIPT):Ae(J,"Invalid tagname in closing tag."):J.tagName=oe}continue;case z.CLOSE_TAG_SAW_WHITE:if(K(oe))continue;oe===">"?ne(J):Ae(J,"Invalid characters in closing tag");continue;case z.TEXT_ENTITY:case z.ATTRIB_VALUE_ENTITY_Q:case z.ATTRIB_VALUE_ENTITY_U:var te,Z;switch(J.state){case z.TEXT_ENTITY:te=z.TEXT,Z="textNode";break;case z.ATTRIB_VALUE_ENTITY_Q:te=z.ATTRIB_VALUE_QUOTED,Z="attribValue";break;case z.ATTRIB_VALUE_ENTITY_U:te=z.ATTRIB_VALUE_UNQUOTED,Z="attribValue";break}oe===";"?(J[Z]+=be(J),J.entity="",J.state=te):U(J.entity.length?j:P,oe)?J.entity+=oe:(Ae(J,"Invalid character in entity name"),J[Z]+="&"+J.entity+oe,J.entity="",J.state=te);continue;default:throw new Error(J,"Unknown state: "+J.state)}}return J.position>=J.bufferCheckPosition&&p(J),J}/*! http://mths.be/fromcodepoint v0.1.0 by @mathias */A.default||function(){var V=String.fromCharCode,J=Math.floor,fe=function(){var Le=16384,he=[],te,Z,ge=-1,Re=arguments.length;if(!Re)return"";for(var ze="";++ge<Re;){var dt=Number(arguments[ge]);if(!isFinite(dt)||dt<0||dt>1114111||J(dt)!==dt)throw RangeError("Invalid code point: "+dt);dt<=65535?he.push(dt):(dt-=65536,te=(dt>>10)+55296,Z=dt%1024+56320,he.push(te,Z)),(ge+1===Re||he.length>Le)&&(ze+=V.apply(null,he),he.length=0)}return ze};i.default?Object.defineProperty(String,"fromCodePoint",{value:fe,configurable:!0,writable:!0}):String.fromCodePoint=fe}()})(typeof e=="undefined"?(void 0).sax={}:e)}).call(this,R("buffer").Buffer)},{"babel-runtime/core-js/json/stringify":53,"babel-runtime/core-js/object/create":55,"babel-runtime/core-js/object/define-property":56,"babel-runtime/core-js/object/keys":60,"babel-runtime/core-js/string/from-code-point":63,"babel-runtime/helpers/typeof":67,buffer:73,stream:230,string_decoder:72}],230:[function(R,D,e){D.exports=A;var g=R("events").EventEmitter,f=R("inherits");f(A,g),A.Readable=R("readable-stream/readable.js"),A.Writable=R("readable-stream/writable.js"),A.Duplex=R("readable-stream/duplex.js"),A.Transform=R("readable-stream/transform.js"),A.PassThrough=R("readable-stream/passthrough.js"),A.Stream=A;function A(){g.call(this)}A.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(R,D,e){(function(g){var f=R("./lib/request"),A=R("./lib/response"),m=R("xtend"),v=R("builtin-status-codes"),h=R("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=A.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(R,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 A(){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=A();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||(A()?c(A().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(R,D,e){(function(g,f,A){"use strict";var m=R("babel-runtime/core-js/object/keys"),v=h(m);function h(p){return p&&p.__esModule?p:{default:p}}var c=R("./capability"),a=R("inherits"),i=R("./response"),r=R("readable-stream"),o=R("to-arraybuffer"),d=i.IncomingMessage,n=i.readyStates;function l(p,x){return c.fetch&&x?"fetch":c.mozchunkedarraybuffer?"moz-chunked-arraybuffer":c.msstream?"ms-stream":c.arraybuffer&&p?"arraybuffer":c.vbArray&&p?"text:vbarray":"text"}var t=D.exports=function(p){var x=this;r.Writable.call(x),x._opts=p,x._body=[],x._headers={},p.auth&&x.setHeader("Authorization","Basic "+new A(p.auth).toString("base64")),(0,v.default)(p.headers).forEach(function(w){x.setHeader(w,p.headers[w])});var S,T=!0;if(p.mode==="disable-fetch"||"requestTimeout"in p&&!c.abortController)T=!1,S=!0;else if(p.mode==="prefer-streaming")S=!1;else if(p.mode==="allow-wrong-content-type")S=!c.overrideMimeType;else if(!p.mode||p.mode==="default"||p.mode==="prefer-fast")S=!0;else throw new Error("Invalid value for opts.mode");x._mode=l(S,T),x._fetchTimer=null,x.on("finish",function(){x._onFinish()})};a(t,r.Writable),t.prototype.setHeader=function(p,x){var S=this,T=p.toLowerCase();if(u.indexOf(T)!==-1)return;S._headers[T]={name:p,value:x}},t.prototype.getHeader=function(p){var x=this._headers[p.toLowerCase()];return x?x.value:null},t.prototype.removeHeader=function(p){var x=this;delete x._headers[p.toLowerCase()]},t.prototype._onFinish=function(){var p=this;if(p._destroyed)return;var x=p._opts,S=p._headers,T=null;x.method!=="GET"&&x.method!=="HEAD"&&(c.arraybuffer?T=o(A.concat(p._body)):c.blobConstructor?T=new f.Blob(p._body.map(function(b){return o(b)}),{type:(S["content-type"]||{}).value||""}):T=A.concat(p._body).toString());var w=[];if((0,v.default)(S).forEach(function(b){var O=S[b].name,I=S[b].value;Array.isArray(I)?I.forEach(function(M){w.push([O,M])}):w.push([O,I])}),p._mode==="fetch"){var E=null,C=null;if(c.abortController){var _=new AbortController;E=_.signal,p._fetchAbortController=_,"requestTimeout"in x&&x.requestTimeout!==0&&(p._fetchTimer=f.setTimeout(function(){p.emit("requestTimeout"),p._fetchAbortController&&p._fetchAbortController.abort()},x.requestTimeout))}f.fetch(p._opts.url,{method:p._opts.method,headers:w,body:T||void 0,mode:"cors",credentials:x.withCredentials?"include":"same-origin",signal:E}).then(function(b){p._fetchResponse=b,p._connect()},function(b){f.clearTimeout(p._fetchTimer),p._destroyed||p.emit("error",b)})}else{var y=p._xhr=new f.XMLHttpRequest;try{y.open(p._opts.method,p._opts.url,!0)}catch(b){g.nextTick(function(){p.emit("error",b)});return}"responseType"in y&&(y.responseType=p._mode.split(":")[0]),"withCredentials"in y&&(y.withCredentials=!!x.withCredentials),p._mode==="text"&&"overrideMimeType"in y&&y.overrideMimeType("text/plain; charset=x-user-defined"),"requestTimeout"in x&&(y.timeout=x.requestTimeout,y.ontimeout=function(){p.emit("requestTimeout")}),w.forEach(function(b){y.setRequestHeader(b[0],b[1])}),p._response=null,y.onreadystatechange=function(){switch(y.readyState){case n.LOADING:case n.DONE:p._onXHRProgress();break}},p._mode==="moz-chunked-arraybuffer"&&(y.onprogress=function(){p._onXHRProgress()}),y.onerror=function(){if(p._destroyed)return;p.emit("error",new Error("XHR error"))};try{y.send(T)}catch(b){g.nextTick(function(){p.emit("error",b)});return}}};function s(p){try{var x=p.status;return x!==null&&x!==0}catch(S){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(x){p.emit("error",x)}),p.emit("response",p._response)},t.prototype._write=function(p,x,S){var T=this;T._body.push(p),S()},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,x,S){var T=this;typeof p=="function"&&(S=p,p=void 0),r.Writable.prototype.end.call(T,p,x,S)},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,R("_process"),typeof global!="undefined"?global:typeof self!="undefined"?self:typeof window!="undefined"?window:{},R("buffer").Buffer)},{"./capability":232,"./response":234,_process:208,"babel-runtime/core-js/object/keys":60,buffer:73,inherits:196,"readable-stream":223,"to-arraybuffer":237}],234:[function(R,D,e){(function(g,f,A){"use strict";var m=R("babel-runtime/core-js/promise"),v=h(m);function h(d){return d&&d.__esModule?d:{default:d}}var c=R("./capability"),a=R("inherits"),i=R("readable-stream"),r=e.readyStates={UNSENT:0,OPENED:1,HEADERS_RECEIVED:2,LOADING:3,DONE:4},o=e.IncomingMessage=function(d,n,l,t){var s=this;if(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 E(){x.read().then(function(C){if(s._destroyed)return;if(C.done){f.clearTimeout(t),s.push(null);return}s.push(new A(C.value)),E()}).catch(function(C){f.clearTimeout(t),s._destroyed||s.emit("error",C)})};if(s._fetchResponse=n,s.url=n.url,s.statusCode=n.status,s.statusMessage=n.statusText,n.headers.forEach(function(E,C){s.headers[C.toLowerCase()]=E,s.rawHeaders.push(C,E)}),c.writableStream){var p=new WritableStream({write:function(C){return new v.default(function(_,y){s._destroyed?y():s.push(new A(C))?_():s._resumeFetch=_})},close:function(){f.clearTimeout(t),s._destroyed||s.push(null)},abort:function(C){s._destroyed||s.emit("error",C)}});try{n.body.pipeTo(p).catch(function(E){f.clearTimeout(t),s._destroyed||s.emit("error",E)});return}catch(E){}}var x=n.body.getReader();u()}else{s._xhr=d,s._pos=0,s.url=d.responseURL,s.statusCode=d.status,s.statusMessage=d.statusText;var S=d.getAllResponseHeaders().split(/\r?\n/);if(S.forEach(function(E){var C=E.match(/^([^:]+):\s*(.*)/);if(C){var _=C[1].toLowerCase();_==="set-cookie"?(s.headers[_]===void 0&&(s.headers[_]=[]),s.headers[_].push(C[2])):s.headers[_]!==void 0?s.headers[_]+=", "+C[2]:s.headers[_]=C[2],s.rawHeaders.push(C[1],C[2])}}),s._charset="x-user-defined",!c.overrideMimeType){var T=s.rawHeaders["mime-type"];if(T){var w=T.match(/;\s*charset=([^;])(;|$)/);w&&(s._charset=w[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(x){}if(l!==null){d.push(new A(l));break}case"text":try{l=n.responseText}catch(x){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 A(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 A(new Uint8Array(l)));break;case"moz-chunked-arraybuffer":if(l=n.response,n.readyState!==r.LOADING||!l)break;d.push(new A(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 A(new Uint8Array(p.result.slice(d._pos)))),d._pos=p.result.byteLength)},p.onload=function(){d.push(null)},p.readAsArrayBuffer(l);break}d._xhr.readyState===r.DONE&&d._mode!=="ms-stream"&&d.push(null)}}).call(this,R("_process"),typeof global!="undefined"?global:typeof self!="undefined"?self:typeof window!="undefined"?window:{},R("buffer").Buffer)},{"./capability":232,_process:208,"babel-runtime/core-js/promise":61,buffer:73,inherits:196,"readable-stream":223}],235:[function(R,D,e){"use strict";var g=R("safe-buffer").Buffer,f=g.isEncoding||function(p){p=""+p;switch(p&&p.toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":case"raw":return!0;default:return!1}};function A(p){if(!p)return"utf8";for(var x;;)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(x)return;p=(""+p).toLowerCase(),x=!0}}function m(p){var x=A(p);if(typeof x!="string"&&(g.isEncoding===f||!f(p)))throw new Error("Unknown encoding: "+p);return x||p}e.StringDecoder=v;function v(p){this.encoding=m(p);var x;switch(this.encoding){case"utf16le":this.text=d,this.end=n,x=4;break;case"utf8":this.fillLast=i,x=4;break;case"base64":this.text=l,this.end=t,x=3;break;default:this.write=s,this.end=u;return}this.lastNeed=0,this.lastTotal=0,this.lastChar=g.allocUnsafe(x)}v.prototype.write=function(p){if(p.length===0)return"";var x,S;if(this.lastNeed){if(x=this.fillLast(p),x===void 0)return"";S=this.lastNeed,this.lastNeed=0}else S=0;return S<p.length?x?x+this.text(p,S):this.text(p,S):x||""},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,x,S){var T=x.length-1;if(T<S)return 0;var w=h(x[T]);return w>=0?(w>0&&(p.lastNeed=w-1),w):--T<S||w===-2?0:(w=h(x[T]),w>=0?(w>0&&(p.lastNeed=w-2),w):--T<S||w===-2?0:(w=h(x[T]),w>=0?(w>0&&(w===2?w=0:p.lastNeed=w-3),w):0))}function a(p,x,S){if((x[0]&192)!==128)return p.lastNeed=0,"\uFFFD";if(p.lastNeed>1&&x.length>1){if((x[1]&192)!==128)return p.lastNeed=1,"\uFFFD";if(p.lastNeed>2&&x.length>2&&(x[2]&192)!==128)return p.lastNeed=2,"\uFFFD"}}function i(p){var x=this.lastTotal-this.lastNeed,S=a(this,p,x);if(S!==void 0)return S;if(this.lastNeed<=p.length)return p.copy(this.lastChar,x,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal);p.copy(this.lastChar,x,0,p.length),this.lastNeed-=p.length}function r(p,x){var S=c(this,p,x);if(!this.lastNeed)return p.toString("utf8",x);this.lastTotal=S;var T=p.length-(S-this.lastNeed);return p.copy(this.lastChar,0,T),p.toString("utf8",x,T)}function o(p){var x=p&&p.length?this.write(p):"";return this.lastNeed?x+"\uFFFD":x}function d(p,x){if((p.length-x)%2===0){var S=p.toString("utf16le",x);if(S){var T=S.charCodeAt(S.length-1);if(T>=55296&&T<=56319)return this.lastNeed=2,this.lastTotal=4,this.lastChar[0]=p[p.length-2],this.lastChar[1]=p[p.length-1],S.slice(0,-1)}return S}return this.lastNeed=1,this.lastTotal=2,this.lastChar[0]=p[p.length-1],p.toString("utf16le",x,p.length-1)}function n(p){var x=p&&p.length?this.write(p):"";if(this.lastNeed){var S=this.lastTotal-this.lastNeed;return x+this.lastChar.toString("utf16le",0,S)}return x}function l(p,x){var S=(p.length-x)%3;return S===0?p.toString("base64",x):(this.lastNeed=3-S,this.lastTotal=3,S===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",x,p.length-S))}function t(p){var x=p&&p.length?this.write(p):"";return this.lastNeed?x+this.lastChar.toString("base64",0,3-this.lastNeed):x}function s(p){return p.toString(this.encoding)}function u(p){return p&&p.length?this.write(p):""}},{"safe-buffer":228}],236:[function(R,D,e){(function(g,f){var A=R("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,A(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,R("timers").setImmediate,R("timers").clearImmediate)},{"process/browser.js":208,timers:236}],237:[function(R,D,e){var g=R("buffer").Buffer;D.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 A=new Uint8Array(f.length),m=f.length,v=0;v<m;v++)A[v]=f[v];return A.buffer}else throw new Error("Argument must be a Buffer")}},{buffer:73}],238:[function(R,D,e){"use strict";var g=R("punycode"),f=R("./util");e.parse=x,e.resolve=T,e.resolveObject=w,e.format=S,e.Url=A;function A(){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=R("querystring");function x(E,C,_){if(E&&f.isObject(E)&&E instanceof A)return E;var y=new A;return y.parse(E,C,_),y}A.prototype.parse=function(E,C,_){if(!f.isString(E))throw new TypeError("Parameter 'url' must be a string, not "+typeof E);var y=E.indexOf("?"),b=y!==-1&&y<E.indexOf("#")?"?":"#",O=E.split(b),I=/\\/g;O[0]=O[0].replace(I,"/"),E=O.join(b);var M=E;if(M=M.trim(),!_&&E.split("#").length===1){var F=h.exec(M);if(F)return this.path=M,this.href=M,this.pathname=F[1],F[2]?(this.search=F[2],C?this.query=p.parse(this.search.substr(1)):this.query=this.search.substr(1)):C&&(this.search="",this.query={}),this}var P=m.exec(M);if(P){P=P[0];var j=P.toLowerCase();this.protocol=j,M=M.substr(P.length)}if(_||P||M.match(/^\/\/[^@\/]+@[^@\/]+/)){var K=M.substr(0,2)==="//";K&&!(P&&s[P])&&(M=M.substr(2),this.slashes=!0)}if(!s[P]&&(K||P&&!u[P])){for(var N=-1,B=0;B<o.length;B++){var U=M.indexOf(o[B]);U!==-1&&(N===-1||U<N)&&(N=U)}var H,z;N===-1?z=M.lastIndexOf("@"):z=M.lastIndexOf("@",N),z!==-1&&(H=M.slice(0,z),M=M.slice(z+1),this.auth=decodeURIComponent(H)),N=-1;for(var B=0;B<r.length;B++){var U=M.indexOf(r[B]);U!==-1&&(N===-1||U<N)&&(N=U)}N===-1&&(N=M.length),this.host=M.slice(0,N),M=M.slice(N),this.parseHost(),this.hostname=this.hostname||"";var X=this.hostname[0]==="["&&this.hostname[this.hostname.length-1]==="]";if(!X)for(var W=this.hostname.split(/\./),B=0,Y=W.length;B<Y;B++){var q=W[B];if(!q)continue;if(!q.match(n)){for(var me="",G=0,ye=q.length;G<ye;G++)q.charCodeAt(G)>127?me+="x":me+=q[G];if(!me.match(n)){var Ae=W.slice(0,B),ve=W.slice(B+1),Ue=q.match(l);Ue&&(Ae.push(Ue[1]),ve.unshift(Ue[2])),ve.length&&(M="/"+ve.join(".")+M),this.hostname=Ae.join(".");break}}}this.hostname.length>d?this.hostname="":this.hostname=this.hostname.toLowerCase(),X||(this.hostname=g.toASCII(this.hostname));var Me=this.port?":"+this.port:"",nt=this.hostname||"";this.host=nt+Me,this.href+=this.host,X&&(this.hostname=this.hostname.substr(1,this.hostname.length-2),M[0]!=="/"&&(M="/"+M))}if(!t[j])for(var B=0,Y=i.length;B<Y;B++){var ne=i[B];if(M.indexOf(ne)===-1)continue;var be=encodeURIComponent(ne);be===ne&&(be=escape(ne)),M=M.split(ne).join(be)}var ot=M.indexOf("#");ot!==-1&&(this.hash=M.substr(ot),M=M.slice(0,ot));var ue=M.indexOf("?");if(ue!==-1?(this.search=M.substr(ue),this.query=M.substr(ue+1),C&&(this.query=p.parse(this.query)),M=M.slice(0,ue)):C&&(this.search="",this.query={}),M&&(this.pathname=M),u[j]&&this.hostname&&!this.pathname&&(this.pathname="/"),this.pathname||this.search){var Me=this.pathname||"",Q=this.search||"";this.path=Me+Q}return this.href=this.format(),this};function S(E){return f.isString(E)&&(E=x(E)),E instanceof A?E.format():A.prototype.format.call(E)}A.prototype.format=function(){var E=this.auth||"";E&&(E=encodeURIComponent(E),E=E.replace(/%3A/i,":"),E+="@");var C=this.protocol||"",_=this.pathname||"",y=this.hash||"",b=!1,O="";this.host?b=E+this.host:this.hostname&&(b=E+(this.hostname.indexOf(":")===-1?this.hostname:"["+this.hostname+"]"),this.port&&(b+=":"+this.port)),this.query&&f.isObject(this.query)&&Object.keys(this.query).length&&(O=p.stringify(this.query));var I=this.search||O&&"?"+O||"";return C&&C.substr(-1)!==":"&&(C+=":"),this.slashes||(!C||u[C])&&b!==!1?(b="//"+(b||""),_&&_.charAt(0)!=="/"&&(_="/"+_)):b||(b=""),y&&y.charAt(0)!=="#"&&(y="#"+y),I&&I.charAt(0)!=="?"&&(I="?"+I),_=_.replace(/[?#]/g,function(M){return encodeURIComponent(M)}),I=I.replace("#","%23"),C+b+_+I+y};function T(E,C){return x(E,!1,!0).resolve(C)}A.prototype.resolve=function(E){return this.resolveObject(x(E,!1,!0)).format()};function w(E,C){return E?x(E,!1,!0).resolveObject(C):C}A.prototype.resolveObject=function(E){if(f.isString(E)){var C=new A;C.parse(E,!1,!0),E=C}for(var _=new A,y=Object.keys(this),b=0;b<y.length;b++){var O=y[b];_[O]=this[O]}if(_.hash=E.hash,E.href==="")return _.href=_.format(),_;if(E.slashes&&!E.protocol){for(var I=Object.keys(E),M=0;M<I.length;M++){var F=I[M];F!=="protocol"&&(_[F]=E[F])}return u[_.protocol]&&_.hostname&&!_.pathname&&(_.path=_.pathname="/"),_.href=_.format(),_}if(E.protocol&&E.protocol!==_.protocol){if(!u[E.protocol]){for(var P=Object.keys(E),j=0;j<P.length;j++){var K=P[j];_[K]=E[K]}return _.href=_.format(),_}if(_.protocol=E.protocol,!E.host&&!s[E.protocol]){for(var Y=(E.pathname||"").split("/");Y.length&&!(E.host=Y.shift()););E.host||(E.host=""),E.hostname||(E.hostname=""),Y[0]!==""&&Y.unshift(""),Y.length<2&&Y.unshift(""),_.pathname=Y.join("/")}else _.pathname=E.pathname;if(_.search=E.search,_.query=E.query,_.host=E.host||"",_.auth=E.auth,_.hostname=E.hostname||E.host,_.port=E.port,_.pathname||_.search){var N=_.pathname||"",B=_.search||"";_.path=N+B}return _.slashes=_.slashes||E.slashes,_.href=_.format(),_}var U=_.pathname&&_.pathname.charAt(0)==="/",H=E.host||E.pathname&&E.pathname.charAt(0)==="/",z=H||U||_.host&&E.pathname,X=z,W=_.pathname&&_.pathname.split("/")||[],Y=E.pathname&&E.pathname.split("/")||[],q=_.protocol&&!u[_.protocol];if(q&&(_.hostname="",_.port=null,_.host&&(W[0]===""?W[0]=_.host:W.unshift(_.host)),_.host="",E.protocol&&(E.hostname=null,E.port=null,E.host&&(Y[0]===""?Y[0]=E.host:Y.unshift(E.host)),E.host=null),z=z&&(Y[0]===""||W[0]==="")),H)_.host=E.host||E.host===""?E.host:_.host,_.hostname=E.hostname||E.hostname===""?E.hostname:_.hostname,_.search=E.search,_.query=E.query,W=Y;else if(Y.length)W||(W=[]),W.pop(),W=W.concat(Y),_.search=E.search,_.query=E.query;else if(!f.isNullOrUndefined(E.search)){if(q){_.hostname=_.host=W.shift();var me=_.host&&_.host.indexOf("@")>0?_.host.split("@"):!1;me&&(_.auth=me.shift(),_.host=_.hostname=me.shift())}return _.search=E.search,_.query=E.query,(!f.isNull(_.pathname)||!f.isNull(_.search))&&(_.path=(_.pathname?_.pathname:"")+(_.search?_.search:"")),_.href=_.format(),_}if(!W.length)return _.pathname=null,_.search?_.path="/"+_.search:_.path=null,_.href=_.format(),_;for(var G=W.slice(-1)[0],ye=(_.host||E.host||W.length>1)&&(G==="."||G==="..")||G==="",Ae=0,ve=W.length;ve>=0;ve--)G=W[ve],G==="."?W.splice(ve,1):G===".."?(W.splice(ve,1),Ae++):Ae&&(W.splice(ve,1),Ae--);if(!z&&!X)for(;Ae--;Ae)W.unshift("..");z&&W[0]!==""&&(!W[0]||W[0].charAt(0)!=="/")&&W.unshift(""),ye&&W.join("/").substr(-1)!=="/"&&W.push("");var Ue=W[0]===""||W[0]&&W[0].charAt(0)==="/";if(q){_.hostname=_.host=Ue?"":W.length?W.shift():"";var me=_.host&&_.host.indexOf("@")>0?_.host.split("@"):!1;me&&(_.auth=me.shift(),_.host=_.hostname=me.shift())}return z=z||_.host&&W.length,z&&!Ue&&W.unshift(""),W.length?_.pathname=W.join("/"):(_.pathname=null,_.path=null),(!f.isNull(_.pathname)||!f.isNull(_.search))&&(_.path=(_.pathname?_.pathname:"")+(_.search?_.search:"")),_.auth=E.auth||_.auth,_.slashes=_.slashes||E.slashes,_.href=_.format(),_},A.prototype.parseHost=function(){var E=this.host,C=v.exec(E);C&&(C=C[0],C!==":"&&(this.port=C.substr(1)),E=E.substr(0,E.length-C.length)),E&&(this.hostname=E)}},{"./util":239,punycode:209,querystring:212}],239:[function(R,D,e){"use strict";D.exports={isString:function(f){return typeof f=="string"},isObject:function(f){return typeof f=="object"&&f!==null},isNull:function(f){return f===null},isNullOrUndefined:function(f){return f==null}}},{}],240:[function(R,D,e){(function(g){D.exports=f;function f(m,v){if(A("noDeprecation"))return m;var h=!1;function c(){if(!h){if(A("throwDeprecation"))throw new Error(v);A("traceDeprecation")?console.trace(v):console.warn(v),h=!0}return m.apply(this,arguments)}return c}function A(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(R,D,e){typeof Object.create=="function"?D.exports=function(f,A){f.super_=A,f.prototype=Object.create(A.prototype,{constructor:{value:f,enumerable:!1,writable:!0,configurable:!0}})}:D.exports=function(f,A){f.super_=A;var m=function(){};m.prototype=A.prototype,f.prototype=new m,f.prototype.constructor=f}},{}],242:[function(R,D,e){D.exports=function(f){return f&&typeof f=="object"&&typeof f.copy=="function"&&typeof f.fill=="function"&&typeof f.readUInt8=="function"}},{}],243:[function(R,D,e){(function(g,f){var A=/%[sdj%]/g;e.format=function(N){if(!T(N)){for(var B=[],U=0;U<arguments.length;U++)B.push(h(arguments[U]));return B.join(" ")}for(var U=1,H=arguments,z=H.length,X=String(N).replace(A,function(Y){if(Y==="%%")return"%";if(U>=z)return Y;switch(Y){case"%s":return String(H[U++]);case"%d":return Number(H[U++]);case"%j":try{return JSON.stringify(H[U++])}catch(q){return"[Circular]"}default:return Y}}),W=H[U];U<z;W=H[++U])p(W)||!_(W)?X+=" "+W:X+=" "+h(W);return X},e.deprecate=function(N,B){if(E(f.process))return function(){return e.deprecate(N,B).apply(this,arguments)};if(g.noDeprecation===!0)return N;var U=!1;function H(){if(!U){if(g.throwDeprecation)throw new Error(B);g.traceDeprecation?console.trace(B):console.error(B),U=!0}return N.apply(this,arguments)}return H};var m={},v;e.debuglog=function(N){if(E(v)&&(v=g.env.NODE_DEBUG||""),N=N.toUpperCase(),!m[N])if(new RegExp("\\b"+N+"\\b","i").test(v)){var B=g.pid;m[N]=function(){var U=e.format.apply(e,arguments);console.error("%s %d: %s",N,B,U)}}else m[N]=function(){};return m[N]};function h(N,B){var U={seen:[],stylize:a};return arguments.length>=3&&(U.depth=arguments[2]),arguments.length>=4&&(U.colors=arguments[3]),u(B)?U.showHidden=B:B&&e._extend(U,B),E(U.showHidden)&&(U.showHidden=!1),E(U.depth)&&(U.depth=2),E(U.colors)&&(U.colors=!1),E(U.customInspect)&&(U.customInspect=!0),U.colors&&(U.stylize=c),r(U,N,U.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(N,B){var U=h.styles[B];return U?"["+h.colors[U][0]+"m"+N+"["+h.colors[U][1]+"m":N}function a(N,B){return N}function i(N){var B={};return N.forEach(function(U,H){B[U]=!0}),B}function r(N,B,U){if(N.customInspect&&B&&O(B.inspect)&&B.inspect!==e.inspect&&!(B.constructor&&B.constructor.prototype===B)){var H=B.inspect(U,N);return T(H)||(H=r(N,H,U)),H}var z=o(N,B);if(z)return z;var X=Object.keys(B),W=i(X);if(N.showHidden&&(X=Object.getOwnPropertyNames(B)),b(B)&&(X.indexOf("message")>=0||X.indexOf("description")>=0))return d(B);if(X.length===0){if(O(B)){var Y=B.name?": "+B.name:"";return N.stylize("[Function"+Y+"]","special")}if(C(B))return N.stylize(RegExp.prototype.toString.call(B),"regexp");if(y(B))return N.stylize(Date.prototype.toString.call(B),"date");if(b(B))return d(B)}var q="",me=!1,G=["{","}"];if(s(B)&&(me=!0,G=["[","]"]),O(B)){var ye=B.name?": "+B.name:"";q=" [Function"+ye+"]"}if(C(B)&&(q=" "+RegExp.prototype.toString.call(B)),y(B)&&(q=" "+Date.prototype.toUTCString.call(B)),b(B)&&(q=" "+d(B)),X.length===0&&(!me||B.length==0))return G[0]+q+G[1];if(U<0)return C(B)?N.stylize(RegExp.prototype.toString.call(B),"regexp"):N.stylize("[Object]","special");N.seen.push(B);var Ae;return me?Ae=n(N,B,U,W,X):Ae=X.map(function(ve){return l(N,B,U,W,ve,me)}),N.seen.pop(),t(Ae,q,G)}function o(N,B){if(E(B))return N.stylize("undefined","undefined");if(T(B)){var U="'"+JSON.stringify(B).replace(/^"|"$/g,"").replace(/'/g,"\\'").replace(/\\"/g,'"')+"'";return N.stylize(U,"string")}if(S(B))return N.stylize(""+B,"number");if(u(B))return N.stylize(""+B,"boolean");if(p(B))return N.stylize("null","null")}function d(N){return"["+Error.prototype.toString.call(N)+"]"}function n(N,B,U,H,z){for(var X=[],W=0,Y=B.length;W<Y;++W)K(B,String(W))?X.push(l(N,B,U,H,String(W),!0)):X.push("");return z.forEach(function(q){q.match(/^\d+$/)||X.push(l(N,B,U,H,q,!0))}),X}function l(N,B,U,H,z,X){var W,Y,q;if(q=Object.getOwnPropertyDescriptor(B,z)||{value:B[z]},q.get?q.set?Y=N.stylize("[Getter/Setter]","special"):Y=N.stylize("[Getter]","special"):q.set&&(Y=N.stylize("[Setter]","special")),K(H,z)||(W="["+z+"]"),Y||(N.seen.indexOf(q.value)<0?(p(U)?Y=r(N,q.value,null):Y=r(N,q.value,U-1),Y.indexOf(`
|
|
|
`)>-1&&(X?Y=Y.split(`
|
|
|
`).map(function(me){return" "+me}).join(`
|
|
|
`).substr(2):Y=`
|
|
|
`+Y.split(`
|
|
|
`).map(function(me){return" "+me}).join(`
|
|
|
`))):Y=N.stylize("[Circular]","special")),E(W)){if(X&&z.match(/^\d+$/))return Y;W=JSON.stringify(""+z),W.match(/^"([a-zA-Z_][a-zA-Z_0-9]*)"$/)?(W=W.substr(1,W.length-2),W=N.stylize(W,"name")):(W=W.replace(/'/g,"\\'").replace(/\\"/g,'"').replace(/(^"|"$)/g,"'"),W=N.stylize(W,"string"))}return W+": "+Y}function t(N,B,U){var H=0,z=N.reduce(function(X,W){return H++,W.indexOf(`
|
|
|
`)>=0&&H++,X+W.replace(/\u001b\[\d\d?m/g,"").length+1},0);return z>60?U[0]+(B===""?"":B+`
|
|
|
`)+" "+N.join(`,
|
|
|
`)+" "+U[1]:U[0]+B+" "+N.join(", ")+" "+U[1]}function s(N){return Array.isArray(N)}e.isArray=s;function u(N){return typeof N=="boolean"}e.isBoolean=u;function p(N){return N===null}e.isNull=p;function x(N){return N==null}e.isNullOrUndefined=x;function S(N){return typeof N=="number"}e.isNumber=S;function T(N){return typeof N=="string"}e.isString=T;function w(N){return typeof N=="symbol"}e.isSymbol=w;function E(N){return N===void 0}e.isUndefined=E;function C(N){return _(N)&&M(N)==="[object RegExp]"}e.isRegExp=C;function _(N){return typeof N=="object"&&N!==null}e.isObject=_;function y(N){return _(N)&&M(N)==="[object Date]"}e.isDate=y;function b(N){return _(N)&&(M(N)==="[object Error]"||N instanceof Error)}e.isError=b;function O(N){return typeof N=="function"}e.isFunction=O;function I(N){return N===null||typeof N=="boolean"||typeof N=="number"||typeof N=="string"||typeof N=="symbol"||typeof N=="undefined"}e.isPrimitive=I,e.isBuffer=R("./support/isBuffer");function M(N){return Object.prototype.toString.call(N)}function F(N){return N<10?"0"+N.toString(10):N.toString(10)}var P=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"];function j(){var N=new Date,B=[F(N.getHours()),F(N.getMinutes()),F(N.getSeconds())].join(":");return[N.getDate(),P[N.getMonth()],B].join(" ")}e.log=function(){console.log("%s - %s",j(),e.format.apply(e,arguments))},e.inherits=R("inherits"),e._extend=function(N,B){if(!B||!_(B))return N;for(var U=Object.keys(B),H=U.length;H--;)N[U[H]]=B[U[H]];return N};function K(N,B){return Object.prototype.hasOwnProperty.call(N,B)}}).call(this,R("_process"),typeof global!="undefined"?global:typeof self!="undefined"?self:typeof window!="undefined"?window:{})},{"./support/isBuffer":242,_process:208,inherits:241}],244:[function(R,D,e){"use strict";(function(){"use strict";e.stripBOM=function(g){return g[0]==="\uFEFF"?g.substring(1):g}}).call(void 0)},{}],245:[function(R,D,e){"use strict";var g=R("babel-runtime/helpers/typeof"),f=v(g),A=R("babel-runtime/core-js/object/keys"),m=v(A);function v(h){return h&&h.__esModule?h:{default:h}}(function(){"use strict";var h,c,a,i,r,o={}.hasOwnProperty;h=R("xmlbuilder"),c=R("./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(x){return function(S,T){var w,E,C,_,y,b;if((typeof T=="undefined"?"undefined":(0,f.default)(T))!=="object")x.options.cdata&&i(T)?S.raw(r(T)):S.txt(T);else if(Array.isArray(T))for(_ in T){if(!o.call(T,_))continue;E=T[_];for(y in E)C=E[y],S=s(S.ele(y),C).up()}else for(y in T){if(!o.call(T,y))continue;if(E=T[y],y===l){if((typeof E=="undefined"?"undefined":(0,f.default)(E))==="object")for(w in E)b=E[w],S=S.att(w,b)}else if(y===t)x.options.cdata&&i(E)?S=S.raw(r(E)):S=S.txt(E);else if(Array.isArray(E))for(_ in E){if(!o.call(E,_))continue;C=E[_],typeof C=="string"?x.options.cdata&&i(C)?S=S.ele(y).raw(r(C)).up():S=S.ele(y,C).up():S=s(S.ele(y),C).up()}else(typeof E=="undefined"?"undefined":(0,f.default)(E))==="object"?S=s(S.ele(y),E).up():typeof E=="string"&&x.options.cdata&&i(E)?S=S.ele(y).raw(r(E)).up():(E==null&&(E=""),S=S.ele(y,E.toString()).up())}return S}}(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(R,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(R,D,e){"use strict";var g=R("babel-runtime/core-js/promise"),f=i(g),A=R("babel-runtime/core-js/object/get-own-property-names"),m=i(A),v=R("babel-runtime/core-js/object/keys"),h=i(v),c=R("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(w,E){return function(){return w.apply(E,arguments)}},x=function(w,E){for(var C in E)S.call(E,C)&&(w[C]=E[C]);function _(){this.constructor=w}return _.prototype=E.prototype,w.prototype=new _,w.__super__=E.prototype,w},S={}.hasOwnProperty;s=R("sax"),d=R("events"),r=R("./bom"),t=R("./processors"),u=R("timers").setImmediate,o=R("./defaults").defaults,n=function(w){return(typeof w=="undefined"?"undefined":(0,a.default)(w))==="object"&&w!=null&&(0,h.default)(w).length===0},l=function(w,E,C){var _,y,b;for(_=0,y=w.length;_<y;_++)b=w[_],E=b(E,C);return E},e.Parser=function(T){x(w,T);function w(E){this.parseStringPromise=p(this.parseStringPromise,this),this.parseString=p(this.parseString,this),this.reset=p(this.reset,this),this.assignOrPush=p(this.assignOrPush,this),this.processAsync=p(this.processAsync,this);var C,_,y;if(!(this instanceof e.Parser))return new e.Parser(E);this.options={},_=o["0.2"];for(C in _){if(!S.call(_,C))continue;y=_[C],this.options[C]=y}for(C in E){if(!S.call(E,C))continue;y=E[C],this.options[C]=y}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 w.prototype.processAsync=function(){var E,C;try{return this.remaining.length<=this.options.chunkSize?(E=this.remaining,this.remaining="",this.saxParser=this.saxParser.write(E),this.saxParser.close()):(E=this.remaining.substr(0,this.options.chunkSize),this.remaining=this.remaining.substr(this.options.chunkSize,this.remaining.length),this.saxParser=this.saxParser.write(E),u(this.processAsync))}catch(_){if(C=_,!this.saxParser.errThrown)return this.saxParser.errThrown=!0,this.emit(C)}},w.prototype.assignOrPush=function(E,C,_){return C in E?(E[C]instanceof Array||(E[C]=[E[C]]),E[C].push(_)):this.options.explicitArray?E[C]=[_]:E[C]=_},w.prototype.reset=function(){var E,C,_,y;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(b){return function(O){if(b.saxParser.resume(),!b.saxParser.errThrown)return b.saxParser.errThrown=!0,b.emit("error",O)}}(this),this.saxParser.onend=function(b){return function(){if(!b.saxParser.ended)return b.saxParser.ended=!0,b.emit("end",b.resultObject)}}(this),this.saxParser.ended=!1,this.EXPLICIT_CHARKEY=this.options.explicitCharkey,this.resultObject=null,y=[],E=this.options.attrkey,C=this.options.charkey,this.saxParser.onopentag=function(b){return function(O){var I,M,F,P,j;if(F={},F[C]="",!b.options.ignoreAttrs){j=O.attributes;for(I in j){if(!S.call(j,I))continue;!(E in F)&&!b.options.mergeAttrs&&(F[E]={}),M=b.options.attrValueProcessors?l(b.options.attrValueProcessors,O.attributes[I],I):O.attributes[I],P=b.options.attrNameProcessors?l(b.options.attrNameProcessors,I):I,b.options.mergeAttrs?b.assignOrPush(F,P,M):F[E][P]=M}}return F["#name"]=b.options.tagNameProcessors?l(b.options.tagNameProcessors,O.name):O.name,b.options.xmlns&&(F[b.options.xmlnskey]={uri:O.uri,local:O.local}),y.push(F)}}(this),this.saxParser.onclosetag=function(b){return function(){var O,I,M,F,P,j,K,N,B,U;if(j=y.pop(),P=j["#name"],(!b.options.explicitChildren||!b.options.preserveChildrenOrder)&&delete j["#name"],j.cdata===!0&&(O=j.cdata,delete j.cdata),B=y[y.length-1],j[C].match(/^\s*$/)&&!O?(I=j[C],delete j[C]):(b.options.trim&&(j[C]=j[C].trim()),b.options.normalize&&(j[C]=j[C].replace(/\s{2,}/g," ").trim()),j[C]=b.options.valueProcessors?l(b.options.valueProcessors,j[C],P):j[C],(0,h.default)(j).length===1&&C in j&&!b.EXPLICIT_CHARKEY&&(j=j[C])),n(j)&&(j=b.options.emptyTag!==""?b.options.emptyTag:I),b.options.validator!=null&&(U="/"+function(){var H,z,X;for(X=[],H=0,z=y.length;H<z;H++)F=y[H],X.push(F["#name"]);return X}().concat(P).join("/"),function(){var H;try{return j=b.options.validator(U,B&&B[P],j)}catch(z){return H=z,b.emit("error",H)}}()),b.options.explicitChildren&&!b.options.mergeAttrs&&(typeof j=="undefined"?"undefined":(0,a.default)(j))==="object"){if(!b.options.preserveChildrenOrder)F={},b.options.attrkey in j&&(F[b.options.attrkey]=j[b.options.attrkey],delete j[b.options.attrkey]),!b.options.charsAsChildren&&b.options.charkey in j&&(F[b.options.charkey]=j[b.options.charkey],delete j[b.options.charkey]),(0,m.default)(j).length>0&&(F[b.options.childkey]=j),j=F;else if(B){B[b.options.childkey]=B[b.options.childkey]||[],K={};for(M in j){if(!S.call(j,M))continue;K[M]=j[M]}B[b.options.childkey].push(K),delete j["#name"],(0,h.default)(j).length===1&&C in j&&!b.EXPLICIT_CHARKEY&&(j=j[C])}}return y.length>0?b.assignOrPush(B,P,j):(b.options.explicitRoot&&(N=j,j={},j[P]=N),b.resultObject=j,b.saxParser.ended=!0,b.emit("end",b.resultObject))}}(this),_=function(b){return function(O){var I,M;if(M=y[y.length-1],M)return M[C]+=O,b.options.explicitChildren&&b.options.preserveChildrenOrder&&b.options.charsAsChildren&&(b.options.includeWhiteChars||O.replace(/\\n/g,"").trim()!=="")&&(M[b.options.childkey]=M[b.options.childkey]||[],I={"#name":"__text__"},I[C]=O,b.options.normalize&&(I[C]=I[C].replace(/\s{2,}/g," ").trim()),M[b.options.childkey].push(I)),M}}(this),this.saxParser.ontext=_,this.saxParser.oncdata=function(b){return function(O){var I;if(I=_(O),I)return I.cdata=!0}}(this)},w.prototype.parseString=function(E,C){var _;C!=null&&typeof C=="function"&&(this.on("end",function(y){return this.reset(),C(null,y)}),this.on("error",function(y){return this.reset(),C(y)}));try{return E=E.toString(),E.trim()===""?(this.emit("end",null),!0):(E=r.stripBOM(E),this.options.async?(this.remaining=E,u(this.processAsync),this.saxParser):this.saxParser.write(E).close())}catch(y){if(_=y,this.saxParser.errThrown||this.saxParser.ended){if(this.saxParser.ended)throw _}else return this.emit("error",_),this.saxParser.errThrown=!0}},w.prototype.parseStringPromise=function(E){return new f.default(function(C){return function(_,y){return C.parseString(E,function(b,O){return b?y(b):_(O)})}}(this))},w}(d),e.parseString=function(T,w,E){var C,_,y;return E!=null?(typeof E=="function"&&(C=E),(typeof w=="undefined"?"undefined":(0,a.default)(w))==="object"&&(_=w)):(typeof w=="function"&&(C=w),_={}),y=new e.Parser(_),y.parseString(T,C)},e.parseStringPromise=function(T,w){var E,C;return(typeof w=="undefined"?"undefined":(0,a.default)(w))==="object"&&(E=w),C=new e.Parser(E),C.parseStringPromise(T)}}).call(void 0)},{"./bom":244,"./defaults":246,"./processors":248,"babel-runtime/core-js/object/get-own-property-names":58,"babel-runtime/core-js/object/keys":60,"babel-runtime/core-js/promise":61,"babel-runtime/helpers/typeof":67,events:192,sax:229,timers:236}],248:[function(R,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(R,D,e){"use strict";(function(){"use strict";var g,f,A,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=R("./defaults"),g=R("./builder"),A=R("./parser"),m=R("./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=A.Parser,e.parseString=A.parseString,e.parseStringPromise=A.parseStringPromise}).call(void 0)},{"./builder":245,"./defaults":246,"./parser":247,"./processors":248}],250:[function(R,D,e){"use strict";(function(){D.exports={Disconnected:1,Preceding:2,Following:4,Contains:8,ContainedBy:16,ImplementationSpecific:32}}).call(void 0)},{}],251:[function(R,D,e){"use strict";(function(){D.exports={Element:1,Attribute:2,Text:3,CData:4,EntityReference:5,EntityDeclaration:6,ProcessingInstruction:7,Comment:8,Document:9,DocType:10,DocumentFragment:11,NotationDeclaration:12,Declaration:201,Raw:202,AttributeDeclaration:203,ElementDeclaration:204,Dummy:205}}).call(void 0)},{}],252:[function(R,D,e){"use strict";var g=R("babel-runtime/core-js/object/get-prototype-of"),f=c(g),A=R("babel-runtime/helpers/typeof"),m=c(A),v=R("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,x,S,T,w,E;if(E=arguments[0],w=2<=arguments.length?t.call(arguments,1):[],d(h.default))h.default.apply(null,arguments);else for(p=0,S=w.length;p<S;p++)if(T=w[p],T!=null)for(x in T){if(!s.call(T,x))continue;E[x]=T[x]}return E},d=function(p){return!!p&&Object.prototype.toString.call(p)==="[object Function]"},n=function(p){var x;return!!p&&((x=typeof p=="undefined"?"undefined":(0,m.default)(p))==="function"||x==="object")},r=function(p){return d(Array.isArray)?Array.isArray(p):Object.prototype.toString.call(p)==="[object Array]"},o=function(p){var x;if(r(p))return!p.length;for(x in p){if(!s.call(p,x))continue;return!1}return!0},l=function(p){var x,S;return n(p)&&(S=(0,f.default)(p))&&(x=S.constructor)&&typeof x=="function"&&x instanceof x&&Function.prototype.toString.call(x)===Function.prototype.toString.call(Object)},i=function(p){return d(p.valueOf)?p.valueOf():p},D.exports.assign=a,D.exports.isFunction=d,D.exports.isObject=n,D.exports.isArray=r,D.exports.isEmpty=o,D.exports.isPlainObject=l,D.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(R,D,e){"use strict";(function(){D.exports={None:0,OpenTag:1,InsideTag:2,CloseTag:3}}).call(void 0)},{}],254:[function(R,D,e){"use strict";var g=R("babel-runtime/core-js/object/create"),f=A(g);function A(m){return m&&m.__esModule?m:{default:m}}(function(){var m,v,h;m=R("./NodeType"),h=R("./XMLNode"),D.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(R,D,e){"use strict";var g=R("babel-runtime/core-js/object/create"),f=A(g);function A(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=R("./NodeType"),h=R("./XMLCharacterData"),D.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(R,D,e){"use strict";var g=R("babel-runtime/core-js/object/create"),f=A(g);function A(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=R("./XMLNode"),D.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(R,D,e){"use strict";var g=R("babel-runtime/core-js/object/create"),f=A(g);function A(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=R("./NodeType"),v=R("./XMLCharacterData"),D.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(R,D,e){"use strict";var g=R("babel-runtime/core-js/object/keys"),f=v(g),A=R("babel-runtime/core-js/object/create"),m=v(A);function v(h){return h&&h.__esModule?h:{default:h}}(function(){var h,c,a;c=R("./XMLDOMErrorHandler"),a=R("./XMLDOMStringList"),D.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(R,D,e){"use strict";(function(){var g;D.exports=g=function(){function f(){}return f.prototype.handleError=function(A){throw new Error(A)},f}()}).call(void 0)},{}],260:[function(R,D,e){"use strict";(function(){var g;D.exports=g=function(){function f(){}return f.prototype.hasFeature=function(A,m){return!0},f.prototype.createDocumentType=function(A,m,v){throw new Error("This DOM method is not implemented.")},f.prototype.createDocument=function(A,m,v){throw new Error("This DOM method is not implemented.")},f.prototype.createHTMLDocument=function(A){throw new Error("This DOM method is not implemented.")},f.prototype.getFeature=function(A,m){throw new Error("This DOM method is not implemented.")},f}()}).call(void 0)},{}],261:[function(R,D,e){"use strict";(function(){var g;D.exports=g=function(){function f(A){this.arr=A||[]}return Object.defineProperty(f.prototype,"length",{get:function(){return this.arr.length}}),f.prototype.item=function(A){return this.arr[A]||null},f.prototype.contains=function(A){return this.arr.indexOf(A)!==-1},f}()}).call(void 0)},{}],262:[function(R,D,e){"use strict";(function(){var g,f,A,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;A=R("./XMLNode"),g=R("./NodeType"),D.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}(A)}).call(void 0)},{"./NodeType":251,"./XMLNode":273}],263:[function(R,D,e){"use strict";(function(){var g,f,A,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;A=R("./XMLNode"),g=R("./NodeType"),D.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}(A)}).call(void 0)},{"./NodeType":251,"./XMLNode":273}],264:[function(R,D,e){"use strict";(function(){var g,f,A,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=R("./Utility").isObject,A=R("./XMLNode"),g=R("./NodeType"),D.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}(A)}).call(void 0)},{"./NodeType":251,"./Utility":252,"./XMLNode":273}],265:[function(R,D,e){"use strict";(function(){var g,f,A,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;A=R("./XMLNode"),g=R("./NodeType"),D.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}(A)}).call(void 0)},{"./NodeType":251,"./XMLNode":273}],266:[function(R,D,e){"use strict";(function(){var g,f,A,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=R("./Utility").isObject,A=R("./XMLNode"),g=R("./NodeType"),D.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}(A)}).call(void 0)},{"./NodeType":251,"./Utility":252,"./XMLNode":273}],267:[function(R,D,e){"use strict";(function(){var g,f,A,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=R("./Utility").isObject,a=R("./XMLNode"),g=R("./NodeType"),f=R("./XMLDTDAttList"),m=R("./XMLDTDEntity"),A=R("./XMLDTDElement"),v=R("./XMLDTDNotation"),c=R("./XMLNamedNodeMap"),D.exports=h=function(d){r(n,d);function n(l,t,s){var u,p,x,S,T,w;if(n.__super__.constructor.call(this,l),this.type=g.DocType,l.children){for(S=l.children,p=0,x=S.length;p<x;p++)if(u=S[p],u.type===g.Element){this.name=u.name;break}}this.documentObject=l,i(t)&&(T=t,t=T.pubID,s=T.sysID),s==null&&(w=[t,s],s=w[0],t=w[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,x;for(p={},x=this.children,s=0,u=x.length;s<u;s++)t=x[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,x;for(p={},x=this.children,s=0,u=x.length;s<u;s++)t=x[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 A(this,l,t),this.children.push(s),this},n.prototype.attList=function(l,t,s,u,p){var x;return x=new f(this,l,t,s,u,p),this.children.push(x),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(R,D,e){"use strict";(function(){var g,f,A,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=R("./Utility").isPlainObject,A=R("./XMLDOMImplementation"),f=R("./XMLDOMConfiguration"),v=R("./XMLNode"),g=R("./NodeType"),c=R("./XMLStringifier"),h=R("./XMLStringWriter"),D.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 A}),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(R,D,e){"use strict";(function(){var g,f,A,m,v,h,c,a,i,r,o,d,n,l,t,s,u,p,x,S,T,w,E,C,_={}.hasOwnProperty;C=R("./Utility"),w=C.isObject,T=C.isFunction,E=C.isPlainObject,S=C.getValue,g=R("./NodeType"),d=R("./XMLDocument"),l=R("./XMLElement"),m=R("./XMLCData"),v=R("./XMLComment"),s=R("./XMLRaw"),x=R("./XMLText"),t=R("./XMLProcessingInstruction"),r=R("./XMLDeclaration"),o=R("./XMLDocType"),h=R("./XMLDTDAttList"),a=R("./XMLDTDEntity"),c=R("./XMLDTDElement"),i=R("./XMLDTDNotation"),A=R("./XMLAttribute"),p=R("./XMLStringifier"),u=R("./XMLStringWriter"),f=R("./WriterState"),D.exports=n=function(){function y(b,O,I){var M;this.name="?xml",this.type=g.Document,b||(b={}),M={},b.writer?E(b.writer)&&(M=b.writer,b.writer=new u):b.writer=new u,this.options=b,this.writer=b.writer,this.writerOptions=this.writer.filterOptions(M),this.stringify=new p(b),this.onDataCallback=O||function(){},this.onEndCallback=I||function(){},this.currentNode=null,this.currentLevel=-1,this.openTags={},this.documentStarted=!1,this.documentCompleted=!1,this.root=null}return y.prototype.createChildNode=function(b){var O,I,M,F,P,j,K,N;switch(b.type){case g.CData:this.cdata(b.value);break;case g.Comment:this.comment(b.value);break;case g.Element:M={},K=b.attribs;for(I in K){if(!_.call(K,I))continue;O=K[I],M[I]=O.value}this.node(b.name,M);break;case g.Dummy:this.dummy();break;case g.Raw:this.raw(b.value);break;case g.Text:this.text(b.value);break;case g.ProcessingInstruction:this.instruction(b.target,b.value);break;default:throw new Error("This XML node type is not supported in a JS object: "+b.constructor.name)}for(N=b.children,P=0,j=N.length;P<j;P++)F=N[P],this.createChildNode(F),F.type===g.Element&&this.up();return this},y.prototype.dummy=function(){return this},y.prototype.node=function(b,O,I){var M;if(b==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(b));return this.openCurrent(),b=S(b),O==null&&(O={}),O=S(O),w(O)||(M=[O,I],I=M[0],O=M[1]),this.currentNode=new l(this,b,O),this.currentNode.children=!1,this.currentLevel++,this.openTags[this.currentLevel]=this.currentNode,I!=null&&this.text(I),this},y.prototype.element=function(b,O,I){var M,F,P,j,K,N;if(this.currentNode&&this.currentNode.type===g.DocType)this.dtdElement.apply(this,arguments);else if(Array.isArray(b)||w(b)||T(b))for(j=this.options.noValidation,this.options.noValidation=!0,N=new d(this.options).element("TEMP_ROOT"),N.element(b),this.options.noValidation=j,K=N.children,F=0,P=K.length;F<P;F++)M=K[F],this.createChildNode(M),M.type===g.Element&&this.up();else this.node(b,O,I);return this},y.prototype.attribute=function(b,O){var I,M;if(!this.currentNode||this.currentNode.children)throw new Error("att() can only be used immediately after an ele() call in callback mode. "+this.debugInfo(b));if(b!=null&&(b=S(b)),w(b))for(I in b){if(!_.call(b,I))continue;M=b[I],this.attribute(I,M)}else T(O)&&(O=O.apply()),this.options.keepNullAttributes&&O==null?this.currentNode.attribs[b]=new A(this,b,""):O!=null&&(this.currentNode.attribs[b]=new A(this,b,O));return this},y.prototype.text=function(b){var O;return this.openCurrent(),O=new x(this,b),this.onData(this.writer.text(O,this.writerOptions,this.currentLevel+1),this.currentLevel+1),this},y.prototype.cdata=function(b){var O;return this.openCurrent(),O=new m(this,b),this.onData(this.writer.cdata(O,this.writerOptions,this.currentLevel+1),this.currentLevel+1),this},y.prototype.comment=function(b){var O;return this.openCurrent(),O=new v(this,b),this.onData(this.writer.comment(O,this.writerOptions,this.currentLevel+1),this.currentLevel+1),this},y.prototype.raw=function(b){var O;return this.openCurrent(),O=new s(this,b),this.onData(this.writer.raw(O,this.writerOptions,this.currentLevel+1),this.currentLevel+1),this},y.prototype.instruction=function(b,O){var I,M,F,P,j;if(this.openCurrent(),b!=null&&(b=S(b)),O!=null&&(O=S(O)),Array.isArray(b))for(I=0,P=b.length;I<P;I++)M=b[I],this.instruction(M);else if(w(b))for(M in b){if(!_.call(b,M))continue;F=b[M],this.instruction(M,F)}else T(O)&&(O=O.apply()),j=new t(this,b,O),this.onData(this.writer.processingInstruction(j,this.writerOptions,this.currentLevel+1),this.currentLevel+1);return this},y.prototype.declaration=function(b,O,I){var M;if(this.openCurrent(),this.documentStarted)throw new Error("declaration() must be the first node.");return M=new r(this,b,O,I),this.onData(this.writer.declaration(M,this.writerOptions,this.currentLevel+1),this.currentLevel+1),this},y.prototype.doctype=function(b,O,I){if(this.openCurrent(),b==null)throw new Error("Missing root node name.");if(this.root)throw new Error("dtd() must come before the root node.");return this.currentNode=new o(this,O,I),this.currentNode.rootNodeName=b,this.currentNode.children=!1,this.currentLevel++,this.openTags[this.currentLevel]=this.currentNode,this},y.prototype.dtdElement=function(b,O){var I;return this.openCurrent(),I=new c(this,b,O),this.onData(this.writer.dtdElement(I,this.writerOptions,this.currentLevel+1),this.currentLevel+1),this},y.prototype.attList=function(b,O,I,M,F){var P;return this.openCurrent(),P=new h(this,b,O,I,M,F),this.onData(this.writer.dtdAttList(P,this.writerOptions,this.currentLevel+1),this.currentLevel+1),this},y.prototype.entity=function(b,O){var I;return this.openCurrent(),I=new a(this,!1,b,O),this.onData(this.writer.dtdEntity(I,this.writerOptions,this.currentLevel+1),this.currentLevel+1),this},y.prototype.pEntity=function(b,O){var I;return this.openCurrent(),I=new a(this,!0,b,O),this.onData(this.writer.dtdEntity(I,this.writerOptions,this.currentLevel+1),this.currentLevel+1),this},y.prototype.notation=function(b,O){var I;return this.openCurrent(),I=new i(this,b,O),this.onData(this.writer.dtdNotation(I,this.writerOptions,this.currentLevel+1),this.currentLevel+1),this},y.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},y.prototype.end=function(){for(;this.currentLevel>=0;)this.up();return this.onEnd()},y.prototype.openCurrent=function(){if(this.currentNode)return this.currentNode.children=!0,this.openNode(this.currentNode)},y.prototype.openNode=function(b){var O,I,M,F;if(!b.isOpen){if(!this.root&&this.currentLevel===0&&b.type===g.Element&&(this.root=b),I="",b.type===g.Element){this.writerOptions.state=f.OpenTag,I=this.writer.indent(b,this.writerOptions,this.currentLevel)+"<"+b.name,F=b.attribs;for(M in F){if(!_.call(F,M))continue;O=F[M],I+=this.writer.attribute(O,this.writerOptions,this.currentLevel)}I+=(b.children?">":"/>")+this.writer.endline(b,this.writerOptions,this.currentLevel),this.writerOptions.state=f.InsideTag}else this.writerOptions.state=f.OpenTag,I=this.writer.indent(b,this.writerOptions,this.currentLevel)+"<!DOCTYPE "+b.rootNodeName,b.pubID&&b.sysID?I+=' PUBLIC "'+b.pubID+'" "'+b.sysID+'"':b.sysID&&(I+=' SYSTEM "'+b.sysID+'"'),b.children?(I+=" [",this.writerOptions.state=f.InsideTag):(this.writerOptions.state=f.CloseTag,I+=">"),I+=this.writer.endline(b,this.writerOptions,this.currentLevel);return this.onData(I,this.currentLevel),b.isOpen=!0}},y.prototype.closeNode=function(b){var O;if(!b.isClosed)return O="",this.writerOptions.state=f.CloseTag,b.type===g.Element?O=this.writer.indent(b,this.writerOptions,this.currentLevel)+"</"+b.name+">"+this.writer.endline(b,this.writerOptions,this.currentLevel):O=this.writer.indent(b,this.writerOptions,this.currentLevel)+"]>"+this.writer.endline(b,this.writerOptions,this.currentLevel),this.writerOptions.state=f.None,this.onData(O,this.currentLevel),b.isClosed=!0},y.prototype.onData=function(b,O){return this.documentStarted=!0,this.onDataCallback(b,O+1)},y.prototype.onEnd=function(){return this.documentCompleted=!0,this.onEndCallback()},y.prototype.debugInfo=function(b){return b==null?"":"node: <"+b+">"},y.prototype.ele=function(){return this.element.apply(this,arguments)},y.prototype.nod=function(b,O,I){return this.node(b,O,I)},y.prototype.txt=function(b){return this.text(b)},y.prototype.dat=function(b){return this.cdata(b)},y.prototype.com=function(b){return this.comment(b)},y.prototype.ins=function(b,O){return this.instruction(b,O)},y.prototype.dec=function(b,O,I){return this.declaration(b,O,I)},y.prototype.dtd=function(b,O,I){return this.doctype(b,O,I)},y.prototype.e=function(b,O,I){return this.element(b,O,I)},y.prototype.n=function(b,O,I){return this.node(b,O,I)},y.prototype.t=function(b){return this.text(b)},y.prototype.d=function(b){return this.cdata(b)},y.prototype.c=function(b){return this.comment(b)},y.prototype.r=function(b){return this.raw(b)},y.prototype.i=function(b,O){return this.instruction(b,O)},y.prototype.att=function(){return this.currentNode&&this.currentNode.type===g.DocType?this.attList.apply(this,arguments):this.attribute.apply(this,arguments)},y.prototype.a=function(){return this.currentNode&&this.currentNode.type===g.DocType?this.attList.apply(this,arguments):this.attribute.apply(this,arguments)},y.prototype.ent=function(b,O){return this.entity(b,O)},y.prototype.pent=function(b,O){return this.pEntity(b,O)},y.prototype.not=function(b,O){return this.notation(b,O)},y}()}).call(void 0)},{"./NodeType":251,"./Utility":252,"./WriterState":253,"./XMLAttribute":254,"./XMLCData":255,"./XMLComment":257,"./XMLDTDAttList":262,"./XMLDTDElement":263,"./XMLDTDEntity":264,"./XMLDTDNotation":265,"./XMLDeclaration":266,"./XMLDocType":267,"./XMLDocument":268,"./XMLElement":271,"./XMLProcessingInstruction":275,"./XMLRaw":276,"./XMLStringWriter":278,"./XMLStringifier":279,"./XMLText":280}],270:[function(R,D,e){"use strict";var g=R("babel-runtime/core-js/object/create"),f=A(g);function A(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=R("./XMLNode"),m=R("./NodeType"),D.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(R,D,e){"use strict";var g=R("babel-runtime/core-js/object/create"),f=A(g);function A(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 x(){this.constructor=s}return x.prototype=u.prototype,s.prototype=new x,s.__super__=u.prototype,s},l={}.hasOwnProperty;d=R("./Utility"),o=d.isObject,r=d.isFunction,i=d.getValue,a=R("./XMLNode"),m=R("./NodeType"),v=R("./XMLAttribute"),c=R("./XMLNamedNodeMap"),D.exports=h=function(t){n(s,t);function s(u,p,x){var S,T,w,E;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,x!=null&&this.attribute(x),u.type===m.Document&&(this.isRoot=!0,this.documentObject=u,u.rootObject=this,u.children)){for(E=u.children,T=0,w=E.length;T<w;T++)if(S=E[T],S.type===m.DocType){S.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,x,S;x=(0,f.default)(this),x.isRoot&&(x.documentObject=null),x.attribs={},S=this.attribs;for(p in S){if(!l.call(S,p))continue;u=S[p],x.attribs[p]=u.clone()}return x.children=[],this.children.forEach(function(T){var w;return w=T.clone(),w.parent=x,x.children.push(w)}),x},s.prototype.attribute=function(u,p){var x,S;if(u!=null&&(u=i(u)),o(u))for(x in u){if(!l.call(u,x))continue;S=u[x],this.attribute(x,S)}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,x,S;if(u==null)throw new Error("Missing attribute name. "+this.debugInfo());if(u=i(u),Array.isArray(u))for(x=0,S=u.length;x<S;x++)p=u[x],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,x){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,x){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,x,S;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=x=0,S=this.attribs.length-1;0<=S?x<=S:x>=S;p=0<=S?++x:--x)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(R,D,e){"use strict";var g=R("babel-runtime/core-js/object/keys"),f=A(g);function A(m){return m&&m.__esModule?m:{default:m}}(function(){var m;D.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(R,D,e){"use strict";(function(){var g,f,A,m,v,h,c,a,i,r,o,d,n,l,t,s,u,p,x,S={}.hasOwnProperty;x=R("./Utility"),p=x.isObject,u=x.isFunction,s=x.isEmpty,t=x.getValue,a=null,A=null,m=null,v=null,h=null,n=null,l=null,d=null,c=null,f=null,o=null,i=null,g=null,D.exports=r=function(){function T(w){this.parent=w,this.parent&&(this.options=this.parent.options,this.stringify=this.parent.stringify),this.value=null,this.children=[],this.baseURI=null,a||(a=R("./XMLElement"),A=R("./XMLCData"),m=R("./XMLComment"),v=R("./XMLDeclaration"),h=R("./XMLDocType"),n=R("./XMLRaw"),l=R("./XMLText"),d=R("./XMLProcessingInstruction"),c=R("./XMLDummy"),f=R("./NodeType"),o=R("./XMLNodeList"),i=R("./XMLNamedNodeMap"),g=R("./DocumentPosition"))}return Object.defineProperty(T.prototype,"nodeName",{get:function(){return this.name}}),Object.defineProperty(T.prototype,"nodeType",{get:function(){return this.type}}),Object.defineProperty(T.prototype,"nodeValue",{get:function(){return this.value}}),Object.defineProperty(T.prototype,"parentNode",{get:function(){return this.parent}}),Object.defineProperty(T.prototype,"childNodes",{get:function(){return(!this.childNodeList||!this.childNodeList.nodes)&&(this.childNodeList=new o(this.children)),this.childNodeList}}),Object.defineProperty(T.prototype,"firstChild",{get:function(){return this.children[0]||null}}),Object.defineProperty(T.prototype,"lastChild",{get:function(){return this.children[this.children.length-1]||null}}),Object.defineProperty(T.prototype,"previousSibling",{get:function(){var E;return E=this.parent.children.indexOf(this),this.parent.children[E-1]||null}}),Object.defineProperty(T.prototype,"nextSibling",{get:function(){var E;return E=this.parent.children.indexOf(this),this.parent.children[E+1]||null}}),Object.defineProperty(T.prototype,"ownerDocument",{get:function(){return this.document()||null}}),Object.defineProperty(T.prototype,"textContent",{get:function(){var E,C,_,y,b;if(this.nodeType===f.Element||this.nodeType===f.DocumentFragment){for(b="",y=this.children,C=0,_=y.length;C<_;C++)E=y[C],E.textContent&&(b+=E.textContent);return b}else return null},set:function(E){throw new Error("This DOM method is not implemented."+this.debugInfo())}}),T.prototype.setParent=function(w){var E,C,_,y,b;for(this.parent=w,w&&(this.options=w.options,this.stringify=w.stringify),y=this.children,b=[],C=0,_=y.length;C<_;C++)E=y[C],b.push(E.setParent(this));return b},T.prototype.element=function(w,E,C){var _,y,b,O,I,M,F,P,j,K,N;if(M=null,E===null&&C==null&&(j=[{},null],E=j[0],C=j[1]),E==null&&(E={}),E=t(E),p(E)||(K=[E,C],C=K[0],E=K[1]),w!=null&&(w=t(w)),Array.isArray(w))for(b=0,F=w.length;b<F;b++)y=w[b],M=this.element(y);else if(u(w))M=this.element(w.apply());else if(p(w))for(I in w){if(!S.call(w,I))continue;if(N=w[I],u(N)&&(N=N.apply()),!this.options.ignoreDecorators&&this.stringify.convertAttKey&&I.indexOf(this.stringify.convertAttKey)===0)M=this.attribute(I.substr(this.stringify.convertAttKey.length),N);else if(!this.options.separateArrayItems&&Array.isArray(N)&&s(N))M=this.dummy();else if(p(N)&&s(N))M=this.element(I);else if(!this.options.keepNullNodes&&N==null)M=this.dummy();else if(!this.options.separateArrayItems&&Array.isArray(N))for(O=0,P=N.length;O<P;O++)y=N[O],_={},_[I]=y,M=this.element(_);else p(N)?!this.options.ignoreDecorators&&this.stringify.convertTextKey&&I.indexOf(this.stringify.convertTextKey)===0?M=this.element(N):(M=this.element(I),M.element(N)):M=this.element(I,N)}else!this.options.keepNullNodes&&C===null?M=this.dummy():!this.options.ignoreDecorators&&this.stringify.convertTextKey&&w.indexOf(this.stringify.convertTextKey)===0?M=this.text(C):!this.options.ignoreDecorators&&this.stringify.convertCDataKey&&w.indexOf(this.stringify.convertCDataKey)===0?M=this.cdata(C):!this.options.ignoreDecorators&&this.stringify.convertCommentKey&&w.indexOf(this.stringify.convertCommentKey)===0?M=this.comment(C):!this.options.ignoreDecorators&&this.stringify.convertRawKey&&w.indexOf(this.stringify.convertRawKey)===0?M=this.raw(C):!this.options.ignoreDecorators&&this.stringify.convertPIKey&&w.indexOf(this.stringify.convertPIKey)===0?M=this.instruction(w.substr(this.stringify.convertPIKey.length),C):M=this.node(w,E,C);if(M==null)throw new Error("Could not create any elements with: "+w+". "+this.debugInfo());return M},T.prototype.insertBefore=function(w,E,C){var _,y,b,O,I;if(w!=null?w.type:void 0)return b=w,O=E,b.setParent(this),O?(y=children.indexOf(O),I=children.splice(y),children.push(b),Array.prototype.push.apply(children,I)):children.push(b),b;if(this.isRoot)throw new Error("Cannot insert elements at root level. "+this.debugInfo(w));return y=this.parent.children.indexOf(this),I=this.parent.children.splice(y),_=this.parent.element(w,E,C),Array.prototype.push.apply(this.parent.children,I),_},T.prototype.insertAfter=function(w,E,C){var _,y,b;if(this.isRoot)throw new Error("Cannot insert elements at root level. "+this.debugInfo(w));return y=this.parent.children.indexOf(this),b=this.parent.children.splice(y+1),_=this.parent.element(w,E,C),Array.prototype.push.apply(this.parent.children,b),_},T.prototype.remove=function(){var w,E;if(this.isRoot)throw new Error("Cannot remove the root element. "+this.debugInfo());return w=this.parent.children.indexOf(this),[].splice.apply(this.parent.children,[w,w-w+1].concat(E=[])),this.parent},T.prototype.node=function(w,E,C){var _,y;return w!=null&&(w=t(w)),E||(E={}),E=t(E),p(E)||(y=[E,C],C=y[0],E=y[1]),_=new a(this,w,E),C!=null&&_.text(C),this.children.push(_),_},T.prototype.text=function(w){var E;return p(w)&&this.element(w),E=new l(this,w),this.children.push(E),this},T.prototype.cdata=function(w){var E;return E=new A(this,w),this.children.push(E),this},T.prototype.comment=function(w){var E;return E=new m(this,w),this.children.push(E),this},T.prototype.commentBefore=function(w){var E,C,_;return C=this.parent.children.indexOf(this),_=this.parent.children.splice(C),E=this.parent.comment(w),Array.prototype.push.apply(this.parent.children,_),this},T.prototype.commentAfter=function(w){var E,C,_;return C=this.parent.children.indexOf(this),_=this.parent.children.splice(C+1),E=this.parent.comment(w),Array.prototype.push.apply(this.parent.children,_),this},T.prototype.raw=function(w){var E;return E=new n(this,w),this.children.push(E),this},T.prototype.dummy=function(){var w;return w=new c(this),w},T.prototype.instruction=function(w,E){var C,_,y,b,O;if(w!=null&&(w=t(w)),E!=null&&(E=t(E)),Array.isArray(w))for(b=0,O=w.length;b<O;b++)C=w[b],this.instruction(C);else if(p(w))for(C in w){if(!S.call(w,C))continue;_=w[C],this.instruction(C,_)}else u(E)&&(E=E.apply()),y=new d(this,w,E),this.children.push(y);return this},T.prototype.instructionBefore=function(w,E){var C,_,y;return _=this.parent.children.indexOf(this),y=this.parent.children.splice(_),C=this.parent.instruction(w,E),Array.prototype.push.apply(this.parent.children,y),this},T.prototype.instructionAfter=function(w,E){var C,_,y;return _=this.parent.children.indexOf(this),y=this.parent.children.splice(_+1),C=this.parent.instruction(w,E),Array.prototype.push.apply(this.parent.children,y),this},T.prototype.declaration=function(w,E,C){var _,y;return _=this.document(),y=new v(_,w,E,C),_.children.length===0?_.children.unshift(y):_.children[0].type===f.Declaration?_.children[0]=y:_.children.unshift(y),_.root()||_},T.prototype.dtd=function(w,E){var C,_,y,b,O,I,M,F,P,j;for(_=this.document(),y=new h(_,w,E),P=_.children,b=O=0,M=P.length;O<M;b=++O)if(C=P[b],C.type===f.DocType)return _.children[b]=y,y;for(j=_.children,b=I=0,F=j.length;I<F;b=++I)if(C=j[b],C.isRoot)return _.children.splice(b,0,y),y;return _.children.push(y),y},T.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},T.prototype.root=function(){var w;for(w=this;w;){if(w.type===f.Document)return w.rootObject;if(w.isRoot)return w;w=w.parent}},T.prototype.document=function(){var w;for(w=this;w;){if(w.type===f.Document)return w;w=w.parent}},T.prototype.end=function(w){return this.document().end(w)},T.prototype.prev=function(){var w;if(w=this.parent.children.indexOf(this),w<1)throw new Error("Already at the first node. "+this.debugInfo());return this.parent.children[w-1]},T.prototype.next=function(){var w;if(w=this.parent.children.indexOf(this),w===-1||w===this.parent.children.length-1)throw new Error("Already at the last node. "+this.debugInfo());return this.parent.children[w+1]},T.prototype.importDocument=function(w){var E;return E=w.root().clone(),E.parent=this,E.isRoot=!1,this.children.push(E),this},T.prototype.debugInfo=function(w){var E,C;return w=w||this.name,w==null&&!((E=this.parent)!=null?E.name:void 0)?"":w==null?"parent: <"+this.parent.name+">":((C=this.parent)!=null?C.name:void 0)?"node: <"+w+">, parent: <"+this.parent.name+">":"node: <"+w+">"},T.prototype.ele=function(w,E,C){return this.element(w,E,C)},T.prototype.nod=function(w,E,C){return this.node(w,E,C)},T.prototype.txt=function(w){return this.text(w)},T.prototype.dat=function(w){return this.cdata(w)},T.prototype.com=function(w){return this.comment(w)},T.prototype.ins=function(w,E){return this.instruction(w,E)},T.prototype.doc=function(){return this.document()},T.prototype.dec=function(w,E,C){return this.declaration(w,E,C)},T.prototype.e=function(w,E,C){return this.element(w,E,C)},T.prototype.n=function(w,E,C){return this.node(w,E,C)},T.prototype.t=function(w){return this.text(w)},T.prototype.d=function(w){return this.cdata(w)},T.prototype.c=function(w){return this.comment(w)},T.prototype.r=function(w){return this.raw(w)},T.prototype.i=function(w,E){return this.instruction(w,E)},T.prototype.u=function(){return this.up()},T.prototype.importXMLBuilder=function(w){return this.importDocument(w)},T.prototype.replaceChild=function(w,E){throw new Error("This DOM method is not implemented."+this.debugInfo())},T.prototype.removeChild=function(w){throw new Error("This DOM method is not implemented."+this.debugInfo())},T.prototype.appendChild=function(w){throw new Error("This DOM method is not implemented."+this.debugInfo())},T.prototype.hasChildNodes=function(){return this.children.length!==0},T.prototype.cloneNode=function(w){throw new Error("This DOM method is not implemented."+this.debugInfo())},T.prototype.normalize=function(){throw new Error("This DOM method is not implemented."+this.debugInfo())},T.prototype.isSupported=function(w,E){return!0},T.prototype.hasAttributes=function(){return this.attribs.length!==0},T.prototype.compareDocumentPosition=function(w){var E,C;return E=this,E===w?0:this.document()!==w.document()?(C=g.Disconnected|g.ImplementationSpecific,Math.random()<.5?C|=g.Preceding:C|=g.Following,C):E.isAncestor(w)?g.Contains|g.Preceding:E.isDescendant(w)?g.Contains|g.Following:E.isPreceding(w)?g.Preceding:g.Following},T.prototype.isSameNode=function(w){throw new Error("This DOM method is not implemented."+this.debugInfo())},T.prototype.lookupPrefix=function(w){throw new Error("This DOM method is not implemented."+this.debugInfo())},T.prototype.isDefaultNamespace=function(w){throw new Error("This DOM method is not implemented."+this.debugInfo())},T.prototype.lookupNamespaceURI=function(w){throw new Error("This DOM method is not implemented."+this.debugInfo())},T.prototype.isEqualNode=function(w){var E,C,_;if(w.nodeType!==this.nodeType)return!1;if(w.children.length!==this.children.length)return!1;for(E=C=0,_=this.children.length-1;0<=_?C<=_:C>=_;E=0<=_?++C:--C)if(!this.children[E].isEqualNode(w.children[E]))return!1;return!0},T.prototype.getFeature=function(w,E){throw new Error("This DOM method is not implemented."+this.debugInfo())},T.prototype.setUserData=function(w,E,C){throw new Error("This DOM method is not implemented."+this.debugInfo())},T.prototype.getUserData=function(w){throw new Error("This DOM method is not implemented."+this.debugInfo())},T.prototype.contains=function(w){return w?w===this||this.isDescendant(w):!1},T.prototype.isDescendant=function(w){var E,C,_,y,b;for(b=this.children,_=0,y=b.length;_<y;_++){if(E=b[_],w===E)return!0;if(C=E.isDescendant(w),C)return!0}return!1},T.prototype.isAncestor=function(w){return w.isDescendant(this)},T.prototype.isPreceding=function(w){var E,C;return E=this.treePosition(w),C=this.treePosition(this),E===-1||C===-1?!1:E<C},T.prototype.isFollowing=function(w){var E,C;return E=this.treePosition(w),C=this.treePosition(this),E===-1||C===-1?!1:E>C},T.prototype.treePosition=function(w){var E,C;return C=0,E=!1,this.foreachTreeNode(this.document(),function(_){if(C++,!E&&_===w)return E=!0}),E?C:-1},T.prototype.foreachTreeNode=function(w,E){var C,_,y,b,O;for(w||(w=this.document()),b=w.children,_=0,y=b.length;_<y;_++){if(C=b[_],O=E(C))return O;if(O=this.foreachTreeNode(C,E),O)return O}},T}()}).call(void 0)},{"./DocumentPosition":250,"./NodeType":251,"./Utility":252,"./XMLCData":255,"./XMLComment":257,"./XMLDeclaration":266,"./XMLDocType":267,"./XMLDummy":270,"./XMLElement":271,"./XMLNamedNodeMap":272,"./XMLNodeList":274,"./XMLProcessingInstruction":275,"./XMLRaw":276,"./XMLText":280}],274:[function(R,D,e){"use strict";(function(){var g;D.exports=g=function(){function f(A){this.nodes=A}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(A){return this.nodes[A]||null},f}()}).call(void 0)},{}],275:[function(R,D,e){"use strict";var g=R("babel-runtime/core-js/object/create"),f=A(g);function A(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=R("./NodeType"),v=R("./XMLCharacterData"),D.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(R,D,e){"use strict";var g=R("babel-runtime/core-js/object/create"),f=A(g);function A(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=R("./NodeType"),v=R("./XMLNode"),D.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(R,D,e){"use strict";(function(){var g,f,A,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=R("./NodeType"),m=R("./XMLWriterBase"),f=R("./WriterState"),D.exports=A=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,x;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,x=[],l=0,s=p.length;l<s;l++)o=p[l],x.push(this.writeChildNode(o,r,0));return x},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,x,S,T;o||(o=0),this.openNode(i,r,o),r.state=f.OpenTag,this.stream.write(this.indent(i,r,o)+"<"+i.name),S=i.attribs;for(p in S){if(!h.call(S,p))continue;d=S[p],this.attribute(d,r,o)}if(l=i.children.length,t=l===0?null:i.children[0],l===0||i.children.every(function(w){return(w.type===g.Text||w.type===g.Raw)&&w.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++,x=!0,this.writeChildNode(t,r,o+1),r.suppressPrettyCount--,x=!1,r.state=f.CloseTag,this.stream.write("</"+i.name+">");else{for(this.stream.write(">"+this.endline(i,r,o)),r.state=f.InsideTag,T=i.children,s=0,u=T.length;s<u;s++)n=T[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(R,D,e){"use strict";(function(){var g,f,A=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=R("./XMLWriterBase"),D.exports=g=function(v){A(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(R,D,e){"use strict";(function(){var g,f=function(v,h){return function(){return v.apply(h,arguments)}},A={}.hasOwnProperty;D.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(!A.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,"&").replace(/</g,"<").replace(/>/g,">").replace(/\r/g,"
"))},m.prototype.attEscape=function(v){var h;return this.options.noValidation?v:(h=this.options.noDoubleEncoding?/(?!&\S+;)&/g:/&/g,v.replace(h,"&").replace(/</g,"<").replace(/"/g,""").replace(/\t/g,"	").replace(/\n/g,"
").replace(/\r/g,"
"))},m}()}).call(void 0)},{}],280:[function(R,D,e){"use strict";var g=R("babel-runtime/core-js/object/create"),f=A(g);function A(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=R("./NodeType"),v=R("./XMLCharacterData"),D.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(R,D,e){"use strict";(function(){var g,f,A,m,v,h,c,a,i,r,o,d,n,l,t,s,u,p={}.hasOwnProperty;u=R("./Utility").assign,g=R("./NodeType"),i=R("./XMLDeclaration"),r=R("./XMLDocType"),A=R("./XMLCData"),m=R("./XMLComment"),d=R("./XMLElement"),l=R("./XMLRaw"),t=R("./XMLText"),n=R("./XMLProcessingInstruction"),o=R("./XMLDummy"),v=R("./XMLDTDAttList"),h=R("./XMLDTDElement"),c=R("./XMLDTDEntity"),a=R("./XMLDTDNotation"),f=R("./WriterState"),D.exports=s=function(){function x(S){var T,w,E;S||(S={}),this.options=S,w=S.writer||{};for(T in w){if(!p.call(w,T))continue;E=w[T],this["_"+T]=this[T],this[T]=E}}return x.prototype.filterOptions=function(S){var T,w,E,C,_,y,b,O;return S||(S={}),S=u({},this.options,S),T={writer:this},T.pretty=S.pretty||!1,T.allowEmpty=S.allowEmpty||!1,T.indent=(w=S.indent)!=null?w:" ",T.newline=(E=S.newline)!=null?E:`
|
|
|
`,T.offset=(C=S.offset)!=null?C:0,T.dontPrettyTextNodes=(_=(y=S.dontPrettyTextNodes)!=null?y:S.dontprettytextnodes)!=null?_:0,T.spaceBeforeSlash=(b=(O=S.spaceBeforeSlash)!=null?O:S.spacebeforeslash)!=null?b:"",T.spaceBeforeSlash===!0&&(T.spaceBeforeSlash=" "),T.suppressPrettyCount=0,T.user={},T.state=f.None,T},x.prototype.indent=function(S,T,w){var E;return!T.pretty||T.suppressPrettyCount?"":T.pretty&&(E=(w||0)+T.offset+1,E>0)?new Array(E).join(T.indent):""},x.prototype.endline=function(S,T,w){return!T.pretty||T.suppressPrettyCount?"":T.newline},x.prototype.attribute=function(S,T,w){var E;return this.openAttribute(S,T,w),E=" "+S.name+'="'+S.value+'"',this.closeAttribute(S,T,w),E},x.prototype.cdata=function(S,T,w){var E;return this.openNode(S,T,w),T.state=f.OpenTag,E=this.indent(S,T,w)+"<![CDATA[",T.state=f.InsideTag,E+=S.value,T.state=f.CloseTag,E+="]]>"+this.endline(S,T,w),T.state=f.None,this.closeNode(S,T,w),E},x.prototype.comment=function(S,T,w){var E;return this.openNode(S,T,w),T.state=f.OpenTag,E=this.indent(S,T,w)+"<!-- ",T.state=f.InsideTag,E+=S.value,T.state=f.CloseTag,E+=" -->"+this.endline(S,T,w),T.state=f.None,this.closeNode(S,T,w),E},x.prototype.declaration=function(S,T,w){var E;return this.openNode(S,T,w),T.state=f.OpenTag,E=this.indent(S,T,w)+"<?xml",T.state=f.InsideTag,E+=' version="'+S.version+'"',S.encoding!=null&&(E+=' encoding="'+S.encoding+'"'),S.standalone!=null&&(E+=' standalone="'+S.standalone+'"'),T.state=f.CloseTag,E+=T.spaceBeforeSlash+"?>",E+=this.endline(S,T,w),T.state=f.None,this.closeNode(S,T,w),E},x.prototype.docType=function(S,T,w){var E,C,_,y,b;if(w||(w=0),this.openNode(S,T,w),T.state=f.OpenTag,y=this.indent(S,T,w),y+="<!DOCTYPE "+S.root().name,S.pubID&&S.sysID?y+=' PUBLIC "'+S.pubID+'" "'+S.sysID+'"':S.sysID&&(y+=' SYSTEM "'+S.sysID+'"'),S.children.length>0){for(y+=" [",y+=this.endline(S,T,w),T.state=f.InsideTag,b=S.children,C=0,_=b.length;C<_;C++)E=b[C],y+=this.writeChildNode(E,T,w+1);T.state=f.CloseTag,y+="]"}return T.state=f.CloseTag,y+=T.spaceBeforeSlash+">",y+=this.endline(S,T,w),T.state=f.None,this.closeNode(S,T,w),y},x.prototype.element=function(S,T,w){var E,C,_,y,b,O,I,M,F,P,j,K,N,B;w||(w=0),P=!1,j="",this.openNode(S,T,w),T.state=f.OpenTag,j+=this.indent(S,T,w)+"<"+S.name,K=S.attribs;for(F in K){if(!p.call(K,F))continue;E=K[F],j+=this.attribute(E,T,w)}if(_=S.children.length,y=_===0?null:S.children[0],_===0||S.children.every(function(U){return(U.type===g.Text||U.type===g.Raw)&&U.value===""}))T.allowEmpty?(j+=">",T.state=f.CloseTag,j+="</"+S.name+">"+this.endline(S,T,w)):(T.state=f.CloseTag,j+=T.spaceBeforeSlash+"/>"+this.endline(S,T,w));else if(T.pretty&&_===1&&(y.type===g.Text||y.type===g.Raw)&&y.value!=null)j+=">",T.state=f.InsideTag,T.suppressPrettyCount++,P=!0,j+=this.writeChildNode(y,T,w+1),T.suppressPrettyCount--,P=!1,T.state=f.CloseTag,j+="</"+S.name+">"+this.endline(S,T,w);else{if(T.dontPrettyTextNodes){for(N=S.children,b=0,I=N.length;b<I;b++)if(C=N[b],(C.type===g.Text||C.type===g.Raw)&&C.value!=null){T.suppressPrettyCount++,P=!0;break}}for(j+=">"+this.endline(S,T,w),T.state=f.InsideTag,B=S.children,O=0,M=B.length;O<M;O++)C=B[O],j+=this.writeChildNode(C,T,w+1);T.state=f.CloseTag,j+=this.indent(S,T,w)+"</"+S.name+">",P&&T.suppressPrettyCount--,j+=this.endline(S,T,w),T.state=f.None}return this.closeNode(S,T,w),j},x.prototype.writeChildNode=function(S,T,w){switch(S.type){case g.CData:return this.cdata(S,T,w);case g.Comment:return this.comment(S,T,w);case g.Element:return this.element(S,T,w);case g.Raw:return this.raw(S,T,w);case g.Text:return this.text(S,T,w);case g.ProcessingInstruction:return this.processingInstruction(S,T,w);case g.Dummy:return"";case g.Declaration:return this.declaration(S,T,w);case g.DocType:return this.docType(S,T,w);case g.AttributeDeclaration:return this.dtdAttList(S,T,w);case g.ElementDeclaration:return this.dtdElement(S,T,w);case g.EntityDeclaration:return this.dtdEntity(S,T,w);case g.NotationDeclaration:return this.dtdNotation(S,T,w);default:throw new Error("Unknown XML node type: "+S.constructor.name)}},x.prototype.processingInstruction=function(S,T,w){var E;return this.openNode(S,T,w),T.state=f.OpenTag,E=this.indent(S,T,w)+"<?",T.state=f.InsideTag,E+=S.target,S.value&&(E+=" "+S.value),T.state=f.CloseTag,E+=T.spaceBeforeSlash+"?>",E+=this.endline(S,T,w),T.state=f.None,this.closeNode(S,T,w),E},x.prototype.raw=function(S,T,w){var E;return this.openNode(S,T,w),T.state=f.OpenTag,E=this.indent(S,T,w),T.state=f.InsideTag,E+=S.value,T.state=f.CloseTag,E+=this.endline(S,T,w),T.state=f.None,this.closeNode(S,T,w),E},x.prototype.text=function(S,T,w){var E;return this.openNode(S,T,w),T.state=f.OpenTag,E=this.indent(S,T,w),T.state=f.InsideTag,E+=S.value,T.state=f.CloseTag,E+=this.endline(S,T,w),T.state=f.None,this.closeNode(S,T,w),E},x.prototype.dtdAttList=function(S,T,w){var E;return this.openNode(S,T,w),T.state=f.OpenTag,E=this.indent(S,T,w)+"<!ATTLIST",T.state=f.InsideTag,E+=" "+S.elementName+" "+S.attributeName+" "+S.attributeType,S.defaultValueType!=="#DEFAULT"&&(E+=" "+S.defaultValueType),S.defaultValue&&(E+=' "'+S.defaultValue+'"'),T.state=f.CloseTag,E+=T.spaceBeforeSlash+">"+this.endline(S,T,w),T.state=f.None,this.closeNode(S,T,w),E},x.prototype.dtdElement=function(S,T,w){var E;return this.openNode(S,T,w),T.state=f.OpenTag,E=this.indent(S,T,w)+"<!ELEMENT",T.state=f.InsideTag,E+=" "+S.name+" "+S.value,T.state=f.CloseTag,E+=T.spaceBeforeSlash+">"+this.endline(S,T,w),T.state=f.None,this.closeNode(S,T,w),E},x.prototype.dtdEntity=function(S,T,w){var E;return this.openNode(S,T,w),T.state=f.OpenTag,E=this.indent(S,T,w)+"<!ENTITY",T.state=f.InsideTag,S.pe&&(E+=" %"),E+=" "+S.name,S.value?E+=' "'+S.value+'"':(S.pubID&&S.sysID?E+=' PUBLIC "'+S.pubID+'" "'+S.sysID+'"':S.sysID&&(E+=' SYSTEM "'+S.sysID+'"'),S.nData&&(E+=" NDATA "+S.nData)),T.state=f.CloseTag,E+=T.spaceBeforeSlash+">"+this.endline(S,T,w),T.state=f.None,this.closeNode(S,T,w),E},x.prototype.dtdNotation=function(S,T,w){var E;return this.openNode(S,T,w),T.state=f.OpenTag,E=this.indent(S,T,w)+"<!NOTATION",T.state=f.InsideTag,E+=" "+S.name,S.pubID&&S.sysID?E+=' PUBLIC "'+S.pubID+'" "'+S.sysID+'"':S.pubID?E+=' PUBLIC "'+S.pubID+'"':S.sysID&&(E+=' SYSTEM "'+S.sysID+'"'),T.state=f.CloseTag,E+=T.spaceBeforeSlash+">"+this.endline(S,T,w),T.state=f.None,this.closeNode(S,T,w),E},x.prototype.openNode=function(S,T,w){},x.prototype.closeNode=function(S,T,w){},x.prototype.openAttribute=function(S,T,w){},x.prototype.closeAttribute=function(S,T,w){},x}()}).call(void 0)},{"./NodeType":251,"./Utility":252,"./WriterState":253,"./XMLCData":255,"./XMLComment":257,"./XMLDTDAttList":262,"./XMLDTDElement":263,"./XMLDTDEntity":264,"./XMLDTDNotation":265,"./XMLDeclaration":266,"./XMLDocType":267,"./XMLDummy":270,"./XMLElement":271,"./XMLProcessingInstruction":275,"./XMLRaw":276,"./XMLText":280}],282:[function(R,D,e){"use strict";(function(){var g,f,A,m,v,h,c,a,i,r;r=R("./Utility"),a=r.assign,i=r.isFunction,A=R("./XMLDOMImplementation"),m=R("./XMLDocument"),v=R("./XMLDocumentCB"),c=R("./XMLStringWriter"),h=R("./XMLStreamWriter"),g=R("./NodeType"),f=R("./WriterState"),D.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},D.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)},D.exports.stringWriter=function(o){return new c(o)},D.exports.streamWriter=function(o,d){return new h(o,d)},D.exports.implementation=new A,D.exports.nodeType=g,D.exports.writerState=f}).call(void 0)},{"./NodeType":251,"./Utility":252,"./WriterState":253,"./XMLDOMImplementation":260,"./XMLDocument":268,"./XMLDocumentCB":269,"./XMLStreamWriter":277,"./XMLStringWriter":278}],283:[function(R,D,e){D.exports=f;var g=Object.prototype.hasOwnProperty;function f(){for(var A={},m=0;m<arguments.length;m++){var v=arguments[m];for(var h in v)g.call(v,h)&&(A[h]=v[h])}return A}},{}],284:[function(R,D,e){"use strict";var g=R("buffer").Buffer,f=R("./sha"),A=R("./md5"),m={sha1:f,md5:A},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(R,D,e){"use strict";var g=R("buffer").Buffer,f=4,A=g.alloc(f);A.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,A],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)}D.exports={hash:c}},{buffer:73}],286:[function(R,D,e){"use strict";var g=R("./helpers");function f(){return hex_md5("abc")=="900150983cd24fb0d6963f7d28e17f72"}function A(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,x=l,S=t,T=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,x),t=i(t,S),s=i(s,T)}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}D.exports=function(d){return g.hash(d,A,16)}},{"./helpers":285}],287:[function(R,D,e){"use strict";var g=R("./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,x=n,S=l,T=0;T<80;T++){T<16?i[T]=c[t+T]:i[T]=h(i[T-3]^i[T-8]^i[T-14]^i[T-16],1);var w=v(v(h(r,5),A(T,o,d,n)),v(v(l,i[T]),m(T)));l=n,n=d,d=h(o,30),o=r,r=w}r=v(r,s),o=v(o,u),d=v(d,p),n=v(n,x),l=v(l,S)}return Array(r,o,d,n,l)}function A(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}D.exports=function(a){return g.hash(a,f,20,!0)}},{"./helpers":285}],288:[function(R,D,e){"use strict";D.exports=function(){return function(){}}},{}],289:[function(R,D,e){(function(g){"use strict";var f=R("babel-runtime/helpers/typeof"),A=m(f);function m(r){return r&&r.__esModule?r:{default:r}}var v=R("stream"),h=v.Stream,c=R("../lib/common/utils/isArray"),a=c.isArray;D.exports.string=function(o){return typeof o=="string"},D.exports.array=a,D.exports.buffer=g.isBuffer;function i(r){return r instanceof h}D.exports.writableStream=function(o){return i(o)&&typeof o._write=="function"&&(0,A.default)(o._writableState)==="object"}}).call(this,{isBuffer:R("../node_modules/is-buffer/index.js")})},{"../lib/common/utils/isArray":42,"../node_modules/is-buffer/index.js":197,"babel-runtime/helpers/typeof":67,stream:230}],290:[function(R,D,e){"use strict";e.encodeURIComponent=function(g){try{return encodeURIComponent(g)}catch(f){return g}},e.escape=R("escape-html"),e.timestamp=function(f){if(f){var A=f;return typeof A=="string"&&(A=Number(A)),String(f).length===10&&(A*=1e3),new Date(A)}return Math.round(Date.now()/1e3)}},{"escape-html":191}],291:[function(R,D,e){(function(g,f){"use strict";var A=R("babel-runtime/core-js/json/stringify"),m=c(A),v=R("babel-runtime/helpers/typeof"),h=c(v);function c(T){return T&&T.__esModule?T:{default:T}}var a=R("util"),i=R("url"),r=R("http"),o=R("https"),d=R("debug")("urllib"),n=R("humanize-ms"),l,t=0,s=Math.pow(2,31)-10,u=/^https?:\/\//i;function p(T,w){return T===void 0?w:T}function x(T,w){return function(E,C,_){if(E)return w(E);T({data:C,status:_.statusCode,headers:_.headers,res:_})}}e.TIMEOUTS=[n("300s"),n("300s")];var S=["json","text"];e.request=function(w,E,C){return arguments.length===2&&typeof E=="function"&&(C=E,E=null),typeof C=="function"?e.requestWithCallback(w,E,C):(l||(l=R("any-promise")),new l(function(_,y){e.requestWithCallback(w,E,x(_,y))}))},e.requestWithCallback=function(w,E,C){if(!w||typeof w!="string"&&(typeof w=="undefined"?"undefined":(0,h.default)(w))!=="object"){var _=a.format("expect request url to be a string or a http request options, but got %j",w);throw new Error(_)}arguments.length===2&&typeof E=="function"&&(C=E,E=null),E=E||{},t>=s&&(t=0);var y=++t;E.requestUrls=E.requestUrls||[];var b={requestId:y,url:w,args:E,ctx:E.ctx};E.emitter&&E.emitter.emit("request",b),E.timeout=E.timeout||e.TIMEOUTS,E.maxRedirects=E.maxRedirects||10,E.streaming=E.streaming||E.customResponse;var O=Date.now(),I;typeof w=="string"?(u.test(w)||(w="http://"+w),I=i.parse(w)):I=w;var M=(E.type||E.method||I.method||"GET").toUpperCase(),F=I.port||80,P=r,j=p(E.agent,e.agent),K=E.fixJSONCtlChars;I.protocol==="https:"&&(P=o,j=p(E.httpsAgent,e.httpsAgent),I.port||(F=443));var N={host:I.hostname||I.host||"localhost",path:I.path||"/",method:M,port:F,agent:j,headers:E.headers||{},lookup:E.lookup};Array.isArray(E.timeout)?N.requestTimeout=E.timeout[E.timeout.length-1]:typeof E.timeout!="undefined"&&(N.requestTimeout=E.timeout);for(var B=["pfx","key","passphrase","cert","ca","ciphers","rejectUnauthorized","secureProtocol","secureOptions"],U=0;U<B.length;U++){var H=B[U];E.hasOwnProperty(H)&&(N[H]=E[H])}N.rejectUnauthorized===!1&&!N.hasOwnProperty("secureOptions")&&(N.secureOptions=R("constants").SSL_OP_NO_TLSv1_2);var z=E.auth||I.auth;z&&(N.auth=z);var X=E.content||E.data,W=M==="GET"||M==="HEAD"||E.dataAsQueryString;if(!E.content&&(X&&!(typeof X=="string"||f.isBuffer(X))))if(W)X=E.nestedQuerystring?qs.stringify(X):querystring.stringify(X);else{var Y=N.headers["Content-Type"]||N.headers["content-type"];Y||(E.contentType==="json"?Y="application/json":Y="application/x-www-form-urlencoded",N.headers["Content-Type"]=Y),parseContentType(Y).type==="application/json"?X=(0,m.default)(X):X=E.nestedQuerystring?qs.stringify(X):querystring.stringify(X)}W&&X&&(N.path+=(I.query?"&":"?")+X,X=null);var q=0;if(X){var me=X.length;f.isBuffer(X)||(me=f.byteLength(X)),q=N.headers["Content-Length"]=me}E.dataType==="json"&&(N.headers.Accept="application/json"),typeof E.beforeRequest=="function"&&E.beforeRequest(N);var G=null,ye=null,Ae=null,ve=!1,Ue=!1,Me=0,nt=-1,ne=!1,be="",ot="",ue=null;E.timing&&(ue={queuing:0,dnslookup:0,connected:0,requestSent:0,waiting:0,contentDownload:0});function Q(){G&&(clearTimeout(G),G=null)}function V(){ye&&(clearTimeout(ye),ye=null)}function J(De,Tt,je){if(V(),!C){console.warn("[urllib:warn] [%s] [%s] [worker:%s] %s %s callback twice!!!",Date(),y,g.pid,N.method,w),De&&console.warn(`[urllib:warn] [%s] [%s] [worker:%s] %s: %s
|
|
|
stack: %s`,Date(),y,g.pid,De.name,De.message,De.stack);return}var st=C;C=null;var Xe={};if(je&&(nt=je.statusCode,Xe=je.headers),nt===401&&Xe["www-authenticate"]&&(!E.headers||!E.headers.Authorization)&&E.digestAuth){var Je=Xe["www-authenticate"];if(Je.indexOf("Digest ")>=0)return d("Request#%d %s: got digest auth header WWW-Authenticate: %s",y,w,Je),E.headers=E.headers||{},E.headers.Authorization=digestAuthHeader(N.method,N.path,Je,E.digestAuth),d("Request#%d %s: auth with digest header: %s",y,w,E.headers.Authorization),je.headers["set-cookie"]&&(E.headers.Cookie=je.headers["set-cookie"].join(";")),e.requestWithCallback(w,E,st)}var et=Date.now()-O;ue&&(ue.contentDownload=et),d("[%sms] done, %s bytes HTTP %s %s %s %s, keepAliveSocket: %s, timing: %j",et,Me,nt,N.method,N.host,N.path,Ue,ue);var at={status:nt,statusCode:nt,headers:Xe,size:Me,aborted:ne,rt:et,keepAliveSocket:Ue,data:Tt,requestUrls:E.requestUrls,timing:ue,remoteAddress:be,remotePort:ot};if(De){var Ve="";j&&typeof j.getCurrentStatus=="function"&&(Ve=", agent status: "+(0,m.default)(j.getCurrentStatus())),De.message+=", "+N.method+" "+w+" "+nt+" (connected: "+ve+", keepalive socket: "+Ue+Ve+`)
|
|
|
headers: `+(0,m.default)(Xe),De.data=Tt,De.path=N.path,De.status=nt,De.headers=Xe,De.res=at}st(De,Tt,E.streaming?je:at),E.emitter&&(b.url=w,b.socket=ze&&ze.connection,b.options=N,b.size=q,E.emitter.emit("response",{requestId:y,error:De,ctx:E.ctx,req:b,res:at}))}function fe(De){var Tt=null;if(E.followRedirect&&statuses.redirect[De.statusCode]){E._followRedirectCount=(E._followRedirectCount||0)+1;var je=De.headers.location;if(!je)Tt=new Error("Got statusCode "+De.statusCode+" but cannot resolve next location from headers"),Tt.name="FollowRedirectError";else if(E._followRedirectCount>E.maxRedirects)Tt=new Error("Exceeded maxRedirects. Probably stuck in a redirect loop "+w),Tt.name="MaxRedirectError";else{var st=E.formatRedirectUrl?E.formatRedirectUrl(w,je):i.resolve(w,je);d("Request#%d %s: `redirected` from %s to %s",y,N.path,w,st),V(),E.headers&&E.headers.Host&&u.test(je)&&(E.headers.Host=null);var Xe=C;return C=null,e.requestWithCallback(st,E,Xe),{redirect:!0,error:null}}}return{redirect:!1,error:Tt}}!N.headers["User-Agent"]&&!N.headers["user-agent"]&&(N.headers["User-Agent"]=navigator.userAgent),E.gzip&&(!N.headers["Accept-Encoding"]&&!N.headers["accept-encoding"]&&(N.headers["Accept-Encoding"]="gzip"));function oe(De,Tt,je){var st=De.headers["content-encoding"];return je(null,Tt,st)}var Le=E.writeStream;d("Request#%d %s %s with headers %j, options.path: %s",y,M,w,N.headers,N.path),E.requestUrls.push(w);function he(De){if(ue&&(ue.waiting=Date.now()-O),d("Request#%d %s `req response` event emit: status %d, headers: %j",y,w,De.statusCode,De.headers),E.streaming){var Tt=fe(De);if(Tt.redirect){De.resume();return}return Tt.error?(De.resume(),J(Tt.error,null,De)):J(null,null,De)}if(De.on("close",function(){d("Request#%d %s: `res close` event emit, total size %d",y,w,Me)}),De.on("error",function(){d("Request#%d %s: `res error` event emit, total size %d",y,w,Me)}),De.on("aborted",function(){ne=!0,d("Request#%d %s: `res aborted` event emit, total size %d",y,w,Me)}),Le){var Tt=fe(De);if(Tt.redirect){De.resume();return}return Tt.error?(De.resume(),Le.end(),J(Tt.error,null,De)):(E.consumeWriteStream===!1?De.on("end",J.bind(null,null,null,De)):isNode010||isNode012?first([[Le,"close"],[De,"aborted"]],function(Xe,Je,et){d("Request#%d %s: writeStream or res %s event emitted",y,w,et),J(Ae||null,null,De)}):Le.on("close",function(){d("Request#%d %s: writeStream close event emitted",y,w),J(Ae||null,null,De)}),De.pipe(Le))}var je=[];De.on("data",function(st){d("Request#%d %s: `res data` event emit, size %d",y,w,st.length),Me+=st.length,je.push(st)}),De.on("end",function(){var st=f.concat(je,Me);if(d("Request#%d %s: `res end` event emit, total size %d, _dumped: %s",y,w,Me,De._dumped),Ae)return J(Ae,st,De);var Xe=fe(De);if(Xe.error)return J(Xe.error,st,De);if(Xe.redirect)return;oe(De,st,function(Je,et,at){if(Je)return J(Je,st,De);if(!at&&S.indexOf(E.dataType)>=0){try{et=decodeBodyByCharset(et,De)}catch(le){return d("decodeBodyByCharset error: %s",le),J(null,et,De)}if(E.dataType==="json")if(Me===0)et=null;else{var Ve=parseJSON(et,K);Ve.error?Je=Ve.error:et=Ve.data}}ne&&d("Request#%d %s: Remote socket was terminated before `response.end()` was called",y,w),J(Je,et,De)})})}var te,Z;Array.isArray(E.timeout)?(te=n(E.timeout[0]),Z=n(E.timeout[1])):te=Z=n(E.timeout),d("ConnectTimeout: %d, ResponseTimeout: %d",te,Z);function ge(){d("Connect timer ticking, timeout: %d",te),G=setTimeout(function(){G=null,nt===-1&&(nt=-2);var De="Connect timeout for "+te+"ms",Tt="ConnectionTimeoutError";ze.socket||(Tt="SocketAssignTimeoutError",De+=", working sockets is full"),Ae=new Error(De),Ae.name=Tt,Ae.requestId=y,d("ConnectTimeout: Request#%d %s %s: %s, connected: %s",y,w,Ae.name,De,ve),dt()},te)}function Re(){d("Response timer ticking, timeout: %d",Z),ye=setTimeout(function(){ye=null;var De="Response timeout for "+Z+"ms",Tt="ResponseTimeoutError";Ae=new Error(De),Ae.name=Tt,Ae.requestId=y,d("ResponseTimeout: Request#%d %s %s: %s, connected: %s",y,w,Ae.name,De,ve),dt()},Z)}var ze;N.mode=E.mode?E.mode:"";try{ze=P.request(N,he)}catch(De){return J(De)}typeof window=="undefined"?ge():ze.on("requestTimeout",function(){nt===-1&&(nt=-2);var De="Connect timeout for "+te+"ms",Tt="ConnectionTimeoutError";Ae=new Error(De),Ae.name=Tt,Ae.requestId=y,dt()});function dt(){d("Request#%d %s abort, connected: %s",y,w,ve),ze.socket||(Ae.noSocket=!0,J(Ae)),ze.abort()}return ue&&ze.on("finish",function(){ue.requestSent=Date.now()-O}),ze.once("socket",function(De){ue&&(ue.queuing=Date.now()-O),isNode010&&De.socket&&(De=De.socket);var Tt=De.readyState;if(Tt==="opening"){De.once("lookup",function(je,st,Xe){d("Request#%d %s lookup: %s, %s, %s",y,w,je,st,Xe),ue&&(ue.dnslookup=Date.now()-O),st&&(be=st)}),De.once("connect",function(){ue&&(ue.connected=Date.now()-O),Q(),Re(),d("Request#%d %s new socket connected",y,w),ve=!0,be||(be=De.remoteAddress),ot=De.remotePort});return}d("Request#%d %s reuse socket connected, readyState: %s",y,w,Tt),ve=!0,Ue=!0,be||(be=De.remoteAddress),ot=De.remotePort,Q(),Re()}),ze.on("error",function(De){(De.name==="Error"||De.name==="TypeError")&&(De.name=ve?"ResponseError":"RequestError"),De.message+=' (req "error")',d("Request#%d %s `req error` event emit, %s: %s",y,w,De.name,De.message),J(Ae||De)}),Le&&Le.once("error",function(De){De.message+=' (writeStream "error")',Ae=De,d("Request#%d %s `writeStream error` event emit, %s: %s",y,w,De.name,De.message),dt()}),E.stream?(E.stream.pipe(ze),E.stream.once("error",function(De){De.message+=' (stream "error")',Ae=De,d("Request#%d %s `readStream error` event emit, %s: %s",y,w,De.name,De.message),dt()})):ze.end(X),ze.requestId=y,ze}}).call(this,R("_process"),R("buffer").Buffer)},{_process:208,"any-promise":49,"babel-runtime/core-js/json/stringify":53,"babel-runtime/helpers/typeof":67,buffer:73,constants:75,debug:288,http:231,https:193,"humanize-ms":194,url:238,util:243}]},{},[1])(1)})}).call(this,__webpack_require__("yLpj"))},n1HI:function(R,D,e){var g=e("hX1E"),f=g.normalizeRadian,A=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)%A<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+=A);var u=Math.atan2(n,d);return u<0&&(u+=A),u>=a&&u<=i||u+A>=a&&u+A<=i}D.containStroke=m},n4Lv:function(R,D,e){var g=e("7hqr"),f=g.isDimensionStacked,A=e("bYtY"),m=A.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,x=m(a.dimensions,function(w){return i.mapDimension(w)}),S,T=i.getCalculationInfo("stackResultDimension");return(S|=f(i,x[0]))&&(x[0]=T),(S|=f(i,x[1]))&&(x[1]=T),{dataDimsForPoint:x,valueStart:n,valueAxisDim:t,baseAxisDim:l,stacked:!!S,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)}D.prepareDataCoordInfo=v,D.getStackedOnPoint=c},n6Mw:function(R,D,e){var g=e("SrGk"),f=e("bYtY"),A=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);A.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;R.exports=v},nCxF:function(R,D,e){var g=e("QBsz"),f=g.min,A=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,x,S,T;if(n){S=[Infinity,Infinity],T=[-Infinity,-Infinity];for(var w=0,E=r.length;w<E;w++)f(S,S,r[w]),A(T,T,r[w]);f(S,S,n[0]),A(T,T,n[1])}for(var w=0,E=r.length;w<E;w++){var C=r[w];if(d)p=r[w?w-1:E-1],x=r[(w+1)%E];else if(w===0||w===E-1){l.push(c(r[w]));continue}else p=r[w-1],x=r[w+1];a(t,x,p),m(t,t,o);var _=v(C,p),y=v(C,x),b=_+y;b!==0&&(_/=b,y/=b),m(s,t,-_),m(u,t,y);var O=h([],C,s),I=h([],C,u);n&&(A(O,O,S),f(O,O,T),A(I,I,S),f(I,I,T)),l.push(O),l.push(I)}return d&&l.push(l.shift()),l}R.exports=i},nKiI:function(R,D,e){var g=e("bYtY"),f=e("mFDi"),A=e("OELB"),m=A.parsePercent,v=A.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(O,I,M,F){var P=M.getWidth(),j=M.getHeight(),K=O.option,N=h.getLayoutRect(O.getBoxLayoutParams(),{width:M.getWidth(),height:M.getHeight()}),B=K.size||[],U=m(r(N.width,B[0]),P),H=m(r(N.height,B[1]),j),z=F&&F.type,X=["treemapZoomToNode","treemapRootToNode"],W=c.retrieveTargetInfo(F,X,O),Y=z==="treemapRender"||z==="treemapMove"?F.rootRect:null,q=O.getViewRoot(),me=c.getPathToRoot(q);if(z!=="treemapMove"){var G=z==="treemapZoomToNode"?C(O,W,q,U,H):Y?[Y.width,Y.height]:[U,H],ye=K.sort;ye&&ye!=="asc"&&ye!=="desc"&&(ye="desc");var Ae={squareRatio:K.squareRatio,sort:ye,leafDepth:K.leafDepth};q.hostTree.clearLayouts();var ve={x:0,y:0,width:G[0],height:G[1],area:G[0]*G[1]};q.setLayout(ve),u(q,Ae,!1,0);var ve=q.getLayout();o(me,function(Me,nt){var ne=(me[nt+1]||q).getValue();Me.setLayout(g.extend({dataExtent:[ne,ne],borderWidth:0,upperHeight:0},ve))})}var Ue=O.getData().tree.root;Ue.setLayout(_(N,Y,W),!0),O.setLayoutInfo(N),y(Ue,new f(-N.x,-N.y,P,j),me,q,0)}};function u(O,I,M,F){var P,j;if(O.isRemoved())return;var K=O.getLayout();P=K.width,j=K.height;var N=O.getModel(),B=N.get(d),U=N.get(n)/2,H=b(N),z=Math.max(B,H),X=B-U,W=z-U,N=O.getModel();O.setLayout({borderWidth:B,upperHeight:z,upperLabelHeight:H},!0),P=a(P-2*X,0),j=a(j-X-W,0);var Y=P*j,q=p(O,N,Y,I,M,F);if(!q.length)return;var me={x:X,y:W,width:P,height:j},G=i(P,j),ye=Infinity,Ae=[];Ae.area=0;for(var ve=0,Ue=q.length;ve<Ue;){var Me=q[ve];Ae.push(Me),Ae.area+=Me.getLayout().area;var nt=w(Ae,G,I.squareRatio);nt<=ye?(ve++,ye=nt):(Ae.area-=Ae.pop().getLayout().area,E(Ae,G,me,U,!1),G=i(me.width,me.height),Ae.length=Ae.area=0,ye=Infinity)}if(Ae.length&&E(Ae,G,me,U,!0),!M){var ne=N.get("childrenVisibleMin");ne!=null&&Y<ne&&(M=!0)}for(var ve=0,Ue=q.length;ve<Ue;ve++)u(q[ve],I,M,F+1)}function p(O,I,M,F,P,j){var K=O.children||[],N=F.sort;N!=="asc"&&N!=="desc"&&(N=null);var B=F.leafDepth!=null&&F.leafDepth<=j;if(P&&!B)return O.viewChildren=[];K=g.filter(K,function(W){return!W.isRemoved()}),S(K,N);var U=T(I,K,N);if(U.sum===0)return O.viewChildren=[];if(U.sum=x(I,M,U.sum,N,K),U.sum===0)return O.viewChildren=[];for(var H=0,z=K.length;H<z;H++){var X=K[H].getValue()/U.sum*M;K[H].setLayout({area:X})}return B&&(K.length&&O.setLayout({isLeafRoot:!0},!0),K.length=0),O.viewChildren=K,O.setLayout({dataExtent:U.dataExtent},!0),K}function x(O,I,M,F,P){if(!F)return M;for(var j=O.get("visibleMin"),K=P.length,N=K,B=K-1;B>=0;B--){var U=P[F==="asc"?K-B-1:B].getValue();U/M*I<j&&(N=B,M-=U)}return F==="asc"?P.splice(0,K-N):P.splice(N,K-N),M}function S(O,I){return I&&O.sort(function(M,F){var P=I==="asc"?M.getValue()-F.getValue():F.getValue()-M.getValue();return P===0?I==="asc"?M.dataIndex-F.dataIndex:F.dataIndex-M.dataIndex:P}),O}function T(O,I,M){for(var F=0,P=0,j=I.length;P<j;P++)F+=I[P].getValue();var K=O.get("visualDimension"),N;if(!I||!I.length)N=[NaN,NaN];else if(K==="value"&&M)N=[I[I.length-1].getValue(),I[0].getValue()],M==="asc"&&N.reverse();else{var N=[Infinity,-Infinity];o(I,function(U){var H=U.getValue(K);H<N[0]&&(N[0]=H),H>N[1]&&(N[1]=H)})}return{sum:F,dataExtent:N}}function w(O,I,M){for(var F=0,P=Infinity,j=0,K,N=O.length;j<N;j++)K=O[j].getLayout().area,K&&(K<P&&(P=K),K>F&&(F=K));var B=O.area*O.area,U=I*I*M;return B?a(U*F/B,B/(U*P)):Infinity}function E(O,I,M,F,P){var j=I===M.width?0:1,K=1-j,N=["x","y"],B=["width","height"],U=M[N[j]],H=I?O.area/I:0;(P||H>M[B[K]])&&(H=M[B[K]]);for(var z=0,X=O.length;z<X;z++){var W=O[z],Y={},q=H?W.getLayout().area/H:0,me=Y[B[K]]=a(H-2*F,0),G=M[N[j]]+M[B[j]]-U,ye=z===X-1||G<q?G:q,Ae=Y[B[j]]=a(ye-2*F,0);Y[N[K]]=M[N[K]]+i(F,me/2),Y[N[j]]=U+i(F,Ae/2),U+=ye,W.setLayout(Y,!0)}M[N[K]]+=H,M[B[K]]-=H}function C(O,I,M,F,P){var j=(I||{}).node,K=[F,P];if(!j||j===M)return K;for(var N,B=F*P,U=B*O.option.zoomToNodeRatio;N=j.parentNode;){for(var H=0,z=N.children,X=0,W=z.length;X<W;X++)H+=z[X].getValue();var Y=j.getValue();if(Y===0)return K;U*=H/Y;var q=N.getModel(),me=q.get(d),G=Math.max(me,b(q,me));U+=4*me*me+(3*me+G)*Math.pow(U,.5),U>v&&(U=v),j=N}U<B&&(U=B);var ye=Math.pow(U/B,.5);return[F*ye,P*ye]}function _(O,I,M){if(I)return{x:I.x,y:I.y};var F={x:0,y:0};if(!M)return F;var P=M.node,j=P.getLayout();if(!j)return F;for(var K=[j.width/2,j.height/2],N=P;N;){var B=N.getLayout();K[0]+=B.x,K[1]+=B.y,N=N.parentNode}return{x:O.width/2-K[0],y:O.height/2-K[1]}}function y(O,I,M,F,P){var j=O.getLayout(),K=M[P],N=K&&K===O;if(K&&!N||P===M.length&&O!==F)return;O.setLayout({isInView:!0,invisible:!N&&!I.intersect(j),isAboveViewRoot:N},!0);var B=new f(I.x-j.x,I.y-j.y,I.width,I.height);o(O.viewChildren||[],function(U){y(U,B,M,F,P+1)})}function b(O){return O.get(l)?O.get(t):0}R.exports=s},nPnh:function(R,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=A(c,o,!0)),e(i*2)===e(r*2)&&(m.y1=m.y2=A(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=A(c,o,!0),m.y=A(a,o,!0),m.width=Math.max(A(c+i,o,!1)-m.x,i===0?0:1),m.height=Math.max(A(a+r,o,!1)-m.y,r===0?0:1)}function A(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}D.subPixelOptimizeLine=g,D.subPixelOptimizeRect=f,D.subPixelOptimize=A},nRaC:function(R,D,e){"use strict";var g=e("cIOH"),f=e.n(g),A=e("0fbx"),m=e.n(A),v=e("OaEy"),h=e("R9oj")},nVfU:function(R,D,e){var g=e("bYtY"),f=e("OELB"),A=f.parsePercent,m=e("7hqr"),v=m.isDimensionStacked,h=e("zM3Q"),c="__ec_stack_",a=.5,i=typeof Float32Array!="undefined"?Float32Array:Array;function r(E){return E.get("stack")||c+E.seriesIndex}function o(E){return E.dim+E.index}function d(E){var C=[],_=E.axis,y="axis0";if(_.type!=="category")return;for(var b=_.getBandWidth(),O=0;O<E.count||0;O++)C.push(g.defaults({bandWidth:b,axisKey:y,stackId:c+O},E));for(var I=s(C),M=[],O=0;O<E.count;O++){var F=I[y][c+O];F.offsetCenter=F.offset+F.width/2,M.push(F)}return M}function n(E,C){var _=[];return C.eachSeriesByType(E,function(y){S(y)&&!T(y)&&_.push(y)}),_}function l(E){var C={};g.each(E,function(F){var P=F.coordinateSystem,j=P.getBaseAxis();if(j.type!=="time"&&j.type!=="value")return;for(var K=F.getData(),N=j.dim+"_"+j.index,B=K.mapDimension(j.dim),U=0,H=K.count();U<H;++U){var z=K.get(B,U);C[N]?C[N].push(z):C[N]=[z]}});var _=[];for(var y in C)if(C.hasOwnProperty(y)){var b=C[y];if(b){b.sort(function(F,P){return F-P});for(var O=null,I=1;I<b.length;++I){var M=b[I]-b[I-1];M>0&&(O=O===null?M:Math.min(O,M))}_[y]=O}}return _}function t(E){var C=l(E),_=[];return g.each(E,function(y){var b=y.coordinateSystem,O=b.getBaseAxis(),I=O.getExtent(),M;if(O.type==="category")M=O.getBandWidth();else if(O.type==="value"||O.type==="time"){var F=O.dim+"_"+O.index,P=C[F],j=Math.abs(I[1]-I[0]),K=O.scale.getExtent(),N=Math.abs(K[1]-K[0]);M=P?j/N*P:j}else{var B=y.getData();M=Math.abs(I[1]-I[0])/B.count()}var U=A(y.get("barWidth"),M),H=A(y.get("barMaxWidth"),M),z=A(y.get("barMinWidth")||1,M),X=y.get("barGap"),W=y.get("barCategoryGap");_.push({bandWidth:M,barWidth:U,barMaxWidth:H,barMinWidth:z,barGap:X,barCategoryGap:W,axisKey:o(O),stackId:r(y)})}),s(_)}function s(E){var C={};g.each(E,function(y,b){var O=y.axisKey,I=y.bandWidth,M=C[O]||{bandWidth:I,remainedWidth:I,autoWidthCount:0,categoryGap:"20%",gap:"30%",stacks:{}},F=M.stacks;C[O]=M;var P=y.stackId;F[P]||M.autoWidthCount++,F[P]=F[P]||{width:0,maxWidth:0};var j=y.barWidth;j&&!F[P].width&&(F[P].width=j,j=Math.min(M.remainedWidth,j),M.remainedWidth-=j);var K=y.barMaxWidth;K&&(F[P].maxWidth=K);var N=y.barMinWidth;N&&(F[P].minWidth=N);var B=y.barGap;B!=null&&(M.gap=B);var U=y.barCategoryGap;U!=null&&(M.categoryGap=U)});var _={};return g.each(C,function(y,b){_[b]={};var O=y.stacks,I=y.bandWidth,M=A(y.categoryGap,I),F=A(y.gap,1),P=y.remainedWidth,j=y.autoWidthCount,K=(P-M)/(j+(j-1)*F);K=Math.max(K,0),g.each(O,function(H){var z=H.maxWidth,X=H.minWidth;if(H.width){var W=H.width;z&&(W=Math.min(W,z)),X&&(W=Math.max(W,X)),H.width=W,P-=W+F*W,j--}else{var W=K;z&&z<W&&(W=Math.min(z,P)),X&&X>W&&(W=X),W!==K&&(H.width=W,P-=W+F*W,j--)}}),K=(P-M)/(j+(j-1)*F),K=Math.max(K,0);var N=0,B;g.each(O,function(H,z){H.width||(H.width=K),B=H,N+=H.width*(1+F)}),B&&(N-=B.width*F);var U=-N/2;g.each(O,function(H,z){_[b][z]=_[b][z]||{bandWidth:I,offset:U,width:H.width},U+=H.width*(1+F)})}),_}function u(E,C,_){if(E&&C){var y=E[o(C)];return y!=null&&_!=null&&(y=y[r(_)]),y}}function p(E,C){var _=n(E,C),y=t(_),b={},O={};g.each(_,function(I){var M=I.getData(),F=I.coordinateSystem,P=F.getBaseAxis(),j=r(I),K=y[o(P)][j],N=K.offset,B=K.width,U=F.getOtherAxis(P),H=I.get("barMinHeight")||0;b[j]=b[j]||[],O[j]=O[j]||[],M.setLayout({bandWidth:K.bandWidth,offset:N,size:B});for(var z=M.mapDimension(U.dim),X=M.mapDimension(P.dim),W=v(M,z),Y=U.isHorizontal(),q=w(P,U,W),me=0,G=M.count();me<G;me++){var ye=M.get(z,me),Ae=M.get(X,me),ve=ye>=0?"p":"n",Ue=q;W&&(b[j][Ae]||(b[j][Ae]={p:q,n:q}),Ue=b[j][Ae][ve]);var Me,nt,ne,be;if(Y){var ot=F.dataToPoint([ye,Ae]);Me=Ue,nt=ot[1]+N,ne=ot[0]-q,be=B,Math.abs(ne)<H&&(ne=(ne<0?-1:1)*H),isNaN(ne)||W&&(b[j][Ae][ve]+=ne)}else{var ot=F.dataToPoint([Ae,ye]);Me=ot[0]+N,nt=Ue,ne=B,be=ot[1]-q,Math.abs(be)<H&&(be=(be<=0?-1:1)*H),isNaN(be)||W&&(b[j][Ae][ve]+=be)}M.setItemLayout(me,{x:Me,y:nt,width:ne,height:be})}},this)}var x={seriesType:"bar",plan:h(),reset:function(E){if(!S(E)||!T(E))return;var C=E.getData(),_=E.coordinateSystem,y=_.grid.getRect(),b=_.getBaseAxis(),O=_.getOtherAxis(b),I=C.mapDimension(O.dim),M=C.mapDimension(b.dim),F=O.isHorizontal(),P=F?0:1,j=u(t([E]),b,E).width;return j>a||(j=a),{progress:K};function K(N,B){for(var U=N.count,H=new i(U*2),z=new i(U*2),X=new i(U),W,Y=[],q=[],me=0,G=0;(W=N.next())!=null;)q[P]=B.get(I,W),q[1-P]=B.get(M,W),Y=_.dataToPoint(q,null,Y),z[me]=F?y.x+y.width:Y[0],H[me++]=Y[0],z[me]=F?Y[1]:y.y+y.height,H[me++]=Y[1],X[G++]=W;B.setLayout({largePoints:H,largeDataIndices:X,largeBackgroundPoints:z,barWidth:j,valueAxisStart:w(b,O,!1),backgroundStart:F?y.x:y.y,valueAxisHorizontal:F})}}};function S(E){return E.coordinateSystem&&E.coordinateSystem.type==="cartesian2d"}function T(E){return E.pipelineContext&&E.pipelineContext.large}function w(E,C,_){return C.toGlobalCoord(C.dataToCoord(C.type==="log"?1:0))}D.getLayoutOnAxis=d,D.prepareLayoutBarSeries=n,D.makeColumnLayout=t,D.retrieveColumnLayout=u,D.layout=p,D.largeLayout=x},ngQI:function(R,D,e){"use strict";e.d(D,"a",function(){return zl}),e.d(D,"b",function(){return ec}),e.d(D,"c",function(){return sl});var g=e("q1tI"),f=e.n(g),A=e("dI71"),m=e("wx14"),v=e("ANjH"),h=e("/MKj");function c(ut,Se){if(ut.length!==Se.length)return!1;for(var We=0;We<ut.length;We++)if(ut[We]!==Se[We])return!1;return!0}function a(ut,Se){var We=Object(g.useState)(function(){return{inputs:Se,result:ut()}})[0],St=Object(g.useRef)(We),Ft=Boolean(Se&&St.current.inputs&&c(Se,St.current.inputs)),qt=Ft?St.current:{inputs:Se,result:ut()};return Object(g.useEffect)(function(){St.current=qt},[qt]),qt.result}function i(ut,Se){return a(function(){return ut},Se)}var r=a,o=i,d=e("9R94"),n=function(Se){var We=Se.top,St=Se.right,Ft=Se.bottom,qt=Se.left,ar=St-qt,lr=Ft-We,yr={top:We,right:St,bottom:Ft,left:qt,width:ar,height:lr,x:qt,y:We,center:{x:(St+qt)/2,y:(Ft+We)/2}};return yr},l=function(Se,We){return{top:Se.top-We.top,left:Se.left-We.left,bottom:Se.bottom+We.bottom,right:Se.right+We.right}},t=function(Se,We){return{top:Se.top+We.top,left:Se.left+We.left,bottom:Se.bottom-We.bottom,right:Se.right-We.right}},s=function(Se,We){return{top:Se.top+We.y,left:Se.left+We.x,bottom:Se.bottom+We.y,right:Se.right+We.x}},u={top:0,right:0,bottom:0,left:0},p=function(Se){var We=Se.borderBox,St=Se.margin,Ft=St===void 0?u:St,qt=Se.border,ar=qt===void 0?u:qt,lr=Se.padding,yr=lr===void 0?u:lr,Vr=n(l(We,Ft)),Xr=n(t(We,ar)),Pr=n(t(Xr,yr));return{marginBox:Vr,borderBox:n(We),paddingBox:Xr,contentBox:Pr,margin:Ft,border:ar,padding:yr}},x=function(Se){var We=Se.slice(0,-2),St=Se.slice(-2);if(St!=="px")return 0;var Ft=Number(We);return isNaN(Ft)&&Object(d.a)(!1),Ft},S=function(){return{x:window.pageXOffset,y:window.pageYOffset}},T=function(Se,We){var St=Se.borderBox,Ft=Se.border,qt=Se.margin,ar=Se.padding,lr=s(St,We);return p({borderBox:lr,border:Ft,margin:qt,padding:ar})},w=function(Se,We){return We===void 0&&(We=S()),T(Se,We)},E=function(Se,We){var St={top:x(We.marginTop),right:x(We.marginRight),bottom:x(We.marginBottom),left:x(We.marginLeft)},Ft={top:x(We.paddingTop),right:x(We.paddingRight),bottom:x(We.paddingBottom),left:x(We.paddingLeft)},qt={top:x(We.borderTopWidth),right:x(We.borderRightWidth),bottom:x(We.borderBottomWidth),left:x(We.borderLeftWidth)};return p({borderBox:Se,margin:St,padding:Ft,border:qt})},C=function(Se){var We=Se.getBoundingClientRect(),St=window.getComputedStyle(Se);return E(We,St)};function _(ut,Se){if(ut.length!==Se.length)return!1;for(var We=0;We<ut.length;We++)if(ut[We]!==Se[We])return!1;return!0}function y(ut,Se){Se===void 0&&(Se=_);var We,St=[],Ft,qt=!1;function ar(){for(var lr=[],yr=0;yr<arguments.length;yr++)lr[yr]=arguments[yr];return qt&&We===this&&Se(lr,St)||(Ft=ut.apply(this,lr),qt=!0,We=this,St=lr),Ft}return ar}var b=y,O=function(Se){var We=[],St=null,Ft=function(){for(var ar=arguments.length,lr=new Array(ar),yr=0;yr<ar;yr++)lr[yr]=arguments[yr];if(We=lr,St)return;St=requestAnimationFrame(function(){St=null,Se.apply(void 0,We)})};return Ft.cancel=function(){if(!St)return;cancelAnimationFrame(St),St=null},Ft},I=O,M=e("i8i4"),F=e.n(M),P=!0,j=/[ \t]{2,}/g,K=/^[ \t]*/gm,N=function(Se){return Se.replace(j," ").replace(K,"").trim()},B=function(Se){return N(`
|
|
|
%creact-beautiful-dnd
|
|
|
|
|
|
%c`+N(Se)+`
|
|
|
|
|
|
%c\u{1F477}\u200D This is a development only message. It will be removed in production builds.
|
|
|
`)},U=function(Se){return[B(Se),"color: #00C584; font-size: 1.2em; font-weight: bold;","line-height: 1.5","color: #723874;"]},H="__react-beautiful-dnd-disable-dev-warnings";function z(ut,Se){var We;if(P)return;if(typeof window!="undefined"&&window[H])return;(We=console)[ut].apply(We,U(Se))}var X=z.bind(null,"warn"),W=z.bind(null,"error");function Y(){}function q(ut,Se){return Object(m.a)({},ut,{},Se)}function me(ut,Se,We){var St=Se.map(function(Ft){var qt=q(We,Ft.options);return ut.addEventListener(Ft.eventName,Ft.fn,qt),function(){ut.removeEventListener(Ft.eventName,Ft.fn,qt)}});return function(){St.forEach(function(qt){qt()})}}var G=!0,ye="Invariant failed";function Ae(ut){this.message=ut}Ae.prototype.toString=function(){return this.message};function ve(ut,Se){if(ut)return;throw G?new Ae(ye):new Ae(ye+": "+(Se||""))}var Ue=function(ut){Object(A.a)(Se,ut);function Se(){for(var St,Ft=arguments.length,qt=new Array(Ft),ar=0;ar<Ft;ar++)qt[ar]=arguments[ar];return St=ut.call.apply(ut,[this].concat(qt))||this,St.callbacks=null,St.unbind=Y,St.onWindowError=function(lr){var yr=St.getCallbacks();yr.isDragging()&&yr.tryAbort();var Vr=lr.error;Vr instanceof Ae&&lr.preventDefault()},St.getCallbacks=function(){if(!St.callbacks)throw new Error("Unable to find AppCallbacks in <ErrorBoundary/>");return St.callbacks},St.setCallbacks=function(lr){St.callbacks=lr},St}var We=Se.prototype;return We.componentDidMount=function(){this.unbind=me(window,[{eventName:"error",fn:this.onWindowError}])},We.componentWillUnmount=function(){this.unbind()},We.componentDidCatch=function(Ft){if(Ft instanceof Ae){this.setState({});return}throw Ft},We.render=function(){return this.props.children(this.setCallbacks)},Se}(f.a.Component),Me=`
|
|
|
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
|
|
|
`,nt=function(Se){return Se+1},ne=function(Se){return`
|
|
|
You have lifted an item in position `+nt(Se.source.index)+`
|
|
|
`},be=function(Se,We){var St=Se.droppableId===We.droppableId,Ft=nt(Se.index),qt=nt(We.index);return St?`
|
|
|
You have moved the item from position `+Ft+`
|
|
|
to position `+qt+`
|
|
|
`:`
|
|
|
You have moved the item from position `+Ft+`
|
|
|
in list `+Se.droppableId+`
|
|
|
to list `+We.droppableId+`
|
|
|
in position `+qt+`
|
|
|
`},ot=function(Se,We,St){var Ft=We.droppableId===St.droppableId;return Ft?`
|
|
|
The item `+Se+`
|
|
|
has been combined with `+St.draggableId:`
|
|
|
The item `+Se+`
|
|
|
in list `+We.droppableId+`
|
|
|
has been combined with `+St.draggableId+`
|
|
|
in list `+St.droppableId+`
|
|
|
`},ue=function(Se){var We=Se.destination;if(We)return be(Se.source,We);var St=Se.combine;return St?ot(Se.draggableId,Se.source,St):"You are over an area that cannot be dropped on"},Q=function(Se){return`
|
|
|
The item has returned to its starting position
|
|
|
of `+nt(Se.index)+`
|
|
|
`},V=function(Se){if(Se.reason==="CANCEL")return`
|
|
|
Movement cancelled.
|
|
|
`+Q(Se.source)+`
|
|
|
`;var We=Se.destination,St=Se.combine;return We?`
|
|
|
You have dropped the item.
|
|
|
`+be(Se.source,We)+`
|
|
|
`:St?`
|
|
|
You have dropped the item.
|
|
|
`+ot(Se.draggableId,Se.source,St)+`
|
|
|
`:`
|
|
|
The item has been dropped while not over a drop area.
|
|
|
`+Q(Se.source)+`
|
|
|
`},J={dragHandleUsageInstructions:Me,onDragStart:ne,onDragUpdate:ue,onDragEnd:V},fe={x:0,y:0},oe=function(Se,We){return{x:Se.x+We.x,y:Se.y+We.y}},Le=function(Se,We){return{x:Se.x-We.x,y:Se.y-We.y}},he=function(Se,We){return Se.x===We.x&&Se.y===We.y},te=function(Se){return{x:Se.x!==0?-Se.x:0,y:Se.y!==0?-Se.y:0}},Z=function(Se,We,St){var Ft;return St===void 0&&(St=0),Ft={},Ft[Se]=We,Ft[Se==="x"?"y":"x"]=St,Ft},ge=function(Se,We){return Math.sqrt(Math.pow(We.x-Se.x,2)+Math.pow(We.y-Se.y,2))},Re=function(Se,We){return Math.min.apply(Math,We.map(function(St){return ge(Se,St)}))},ze=function(Se){return function(We){return{x:Se(We.x),y:Se(We.y)}}},dt=function(Se,We){var St=n({top:Math.max(We.top,Se.top),right:Math.min(We.right,Se.right),bottom:Math.min(We.bottom,Se.bottom),left:Math.max(We.left,Se.left)});return St.width<=0||St.height<=0?null:St},De=function(Se,We){return{top:Se.top+We.y,left:Se.left+We.x,bottom:Se.bottom+We.y,right:Se.right+We.x}},Tt=function(Se){return[{x:Se.left,y:Se.top},{x:Se.right,y:Se.top},{x:Se.left,y:Se.bottom},{x:Se.right,y:Se.bottom}]},je={top:0,right:0,bottom:0,left:0},st=function(Se,We){return We?De(Se,We.scroll.diff.displacement):Se},Xe=function(Se,We,St){if(St&&St.increasedBy){var Ft;return Object(m.a)({},Se,(Ft={},Ft[We.end]=Se[We.end]+St.increasedBy[We.line],Ft))}return Se},Je=function(Se,We){return We&&We.shouldClipSubject?dt(We.pageMarginBox,Se):n(Se)},et=function(Se){var We=Se.page,St=Se.withPlaceholder,Ft=Se.axis,qt=Se.frame,ar=st(We.marginBox,qt),lr=Xe(ar,Ft,St),yr=Je(lr,qt);return{page:We,withPlaceholder:St,active:yr}},at=function(Se,We){Se.frame||ve(!1);var St=Se.frame,Ft=Le(We,St.scroll.initial),qt=te(Ft),ar=Object(m.a)({},St,{scroll:{initial:St.scroll.initial,current:We,diff:{value:Ft,displacement:qt},max:St.scroll.max}}),lr=et({page:Se.subject.page,withPlaceholder:Se.subject.withPlaceholder,axis:Se.axis,frame:ar}),yr=Object(m.a)({},Se,{frame:ar,subject:lr});return yr};function Ve(ut){return Number.isInteger?Number.isInteger(ut):typeof ut=="number"&&isFinite(ut)&&Math.floor(ut)===ut}function le(ut){return Object.values?Object.values(ut):Object.keys(ut).map(function(Se){return ut[Se]})}function ae(ut,Se){if(ut.findIndex)return ut.findIndex(Se);for(var We=0;We<ut.length;We++)if(Se(ut[We]))return We;return-1}function lt(ut,Se){if(ut.find)return ut.find(Se);var We=ae(ut,Se);return We!==-1?ut[We]:void 0}function Ze(ut){return Array.prototype.slice.call(ut)}var Te=b(function(ut){return ut.reduce(function(Se,We){return Se[We.descriptor.id]=We,Se},{})}),Jt=b(function(ut){return ut.reduce(function(Se,We){return Se[We.descriptor.id]=We,Se},{})}),mt=b(function(ut){return le(ut)}),ft=b(function(ut){return le(ut)}),bt=b(function(ut,Se){var We=ft(Se).filter(function(St){return ut===St.descriptor.droppableId}).sort(function(St,Ft){return St.descriptor.index-Ft.descriptor.index});return We});function It(ut){return ut.at&&ut.at.type==="REORDER"?ut.at.destination:null}function or(ut){return ut.at&&ut.at.type==="COMBINE"?ut.at.combine:null}var Pt=b(function(ut,Se){return Se.filter(function(We){return We.descriptor.id!==ut.descriptor.id})}),_e=function(Se){var We=Se.isMovingForward,St=Se.draggable,Ft=Se.destination,qt=Se.insideDestination,ar=Se.previousImpact;if(!Ft.isCombineEnabled)return null;var lr=It(ar);if(!lr)return null;function yr(ei){var ci={type:"COMBINE",combine:{draggableId:ei,droppableId:Ft.descriptor.id}};return Object(m.a)({},ar,{at:ci})}var Vr=ar.displaced.all,Xr=Vr.length?Vr[0]:null;if(We)return Xr?yr(Xr):null;var Pr=Pt(St,qt);if(!Xr){if(!Pr.length)return null;var Fr=Pr[Pr.length-1];return yr(Fr.descriptor.id)}var Gr=ae(Pr,function(ei){return ei.descriptor.id===Xr});Gr!==-1||ve(!1);var dn=Gr-1;if(dn<0)return null;var pn=Pr[dn];return yr(pn.descriptor.id)},Ce=function(Se,We){return Se.descriptor.droppableId===We.descriptor.id},Ee={point:fe,value:0},we={invisible:{},visible:{},all:[]},Fe={displaced:we,displacedBy:Ee,at:null},Ye=function(Se,We){return function(St){return Se<=St&&St<=We}},Ge=function(Se){var We=Ye(Se.top,Se.bottom),St=Ye(Se.left,Se.right);return function(Ft){var qt=We(Ft.top)&&We(Ft.bottom)&&St(Ft.left)&&St(Ft.right);if(qt)return!0;var ar=We(Ft.top)||We(Ft.bottom),lr=St(Ft.left)||St(Ft.right),yr=ar&&lr;if(yr)return!0;var Vr=Ft.top<Se.top&&Ft.bottom>Se.bottom,Xr=Ft.left<Se.left&&Ft.right>Se.right,Pr=Vr&&Xr;if(Pr)return!0;var Fr=Vr&&lr||Xr&&ar;return Fr}},qe=function(Se){var We=Ye(Se.top,Se.bottom),St=Ye(Se.left,Se.right);return function(Ft){var qt=We(Ft.top)&&We(Ft.bottom)&&St(Ft.left)&&St(Ft.right);return qt}},Ke={direction:"vertical",line:"y",crossAxisLine:"x",start:"top",end:"bottom",size:"height",crossAxisStart:"left",crossAxisEnd:"right",crossAxisSize:"width"},ct={direction:"horizontal",line:"x",crossAxisLine:"y",start:"left",end:"right",size:"width",crossAxisStart:"top",crossAxisEnd:"bottom",crossAxisSize:"height"},wt=function(Se){return function(We){var St=Ye(We.top,We.bottom),Ft=Ye(We.left,We.right);return function(qt){return Se===Ke?St(qt.top)&&St(qt.bottom):Ft(qt.left)&&Ft(qt.right)}}},Lt=function(Se,We){var St=We.frame?We.frame.scroll.diff.displacement:fe;return De(Se,St)},de=function(Se,We,St){return We.subject.active?St(We.subject.active)(Se):!1},xe=function(Se,We,St){return St(We)(Se)},$=function(Se){var We=Se.target,St=Se.destination,Ft=Se.viewport,qt=Se.withDroppableDisplacement,ar=Se.isVisibleThroughFrameFn,lr=qt?Lt(We,St):We;return de(lr,St,ar)&&xe(lr,Ft,ar)},se=function(Se){return $(Object(m.a)({},Se,{isVisibleThroughFrameFn:Ge}))},Oe=function(Se){return $(Object(m.a)({},Se,{isVisibleThroughFrameFn:qe}))},ke=function(Se){return $(Object(m.a)({},Se,{isVisibleThroughFrameFn:wt(Se.destination.axis)}))},Pe=function(Se,We,St){if(typeof St=="boolean")return St;if(!We)return!0;var Ft=We.invisible,qt=We.visible;if(Ft[Se])return!1;var ar=qt[Se];return ar?ar.shouldAnimate:!0};function rt(ut,Se){var We=ut.page.marginBox,St={top:Se.point.y,right:0,bottom:0,left:Se.point.x};return n(l(We,St))}function At(ut){var Se=ut.afterDragging,We=ut.destination,St=ut.displacedBy,Ft=ut.viewport,qt=ut.forceShouldAnimate,ar=ut.last;return Se.reduce(function(yr,Vr){var Xr=rt(Vr,St),Pr=Vr.descriptor.id;yr.all.push(Pr);var Fr=se({target:Xr,destination:We,viewport:Ft,withDroppableDisplacement:!0});if(!Fr)return yr.invisible[Vr.descriptor.id]=!0,yr;var Gr=Pe(Pr,ar,qt),dn={draggableId:Pr,shouldAnimate:Gr};return yr.visible[Pr]=dn,yr},{all:[],visible:{},invisible:{}})}function Wt(ut,Se){if(!ut.length)return 0;var We=ut[ut.length-1].descriptor.index;return Se.inHomeList?We:We+1}function $t(ut){var Se=ut.insideDestination,We=ut.inHomeList,St=ut.displacedBy,Ft=ut.destination,qt=Wt(Se,{inHomeList:We});return{displaced:we,displacedBy:St,at:{type:"REORDER",destination:{droppableId:Ft.descriptor.id,index:qt}}}}function Rt(ut){var Se=ut.draggable,We=ut.insideDestination,St=ut.destination,Ft=ut.viewport,qt=ut.displacedBy,ar=ut.last,lr=ut.index,yr=ut.forceShouldAnimate,Vr=Ce(Se,St);if(lr==null)return $t({insideDestination:We,inHomeList:Vr,displacedBy:qt,destination:St});var Xr=lt(We,function(pn){return pn.descriptor.index===lr});if(!Xr)return $t({insideDestination:We,inHomeList:Vr,displacedBy:qt,destination:St});var Pr=Pt(Se,We),Fr=We.indexOf(Xr),Gr=Pr.slice(Fr),dn=At({afterDragging:Gr,destination:St,displacedBy:qt,last:ar,viewport:Ft.frame,forceShouldAnimate:yr});return{displaced:dn,displacedBy:qt,at:{type:"REORDER",destination:{droppableId:St.descriptor.id,index:lr}}}}function zt(ut,Se){return Boolean(Se.effected[ut])}var Gt=function(Se){var We=Se.isMovingForward,St=Se.destination,Ft=Se.draggables,qt=Se.combine,ar=Se.afterCritical;if(!St.isCombineEnabled)return null;var lr=qt.draggableId,yr=Ft[lr],Vr=yr.descriptor.index,Xr=zt(lr,ar);return Xr?We?Vr:Vr-1:We?Vr+1:Vr},Qt=function(Se){var We=Se.isMovingForward,St=Se.isInHomeList,Ft=Se.insideDestination,qt=Se.location;if(!Ft.length)return null;var ar=qt.index,lr=We?ar+1:ar-1,yr=Ft[0].descriptor.index,Vr=Ft[Ft.length-1].descriptor.index,Xr=St?Vr:Vr+1;return lr<yr||lr>Xr?null:lr},Mt=function(Se){var We=Se.isMovingForward,St=Se.isInHomeList,Ft=Se.draggable,qt=Se.draggables,ar=Se.destination,lr=Se.insideDestination,yr=Se.previousImpact,Vr=Se.viewport,Xr=Se.afterCritical,Pr=yr.at;if(Pr||ve(!1),Pr.type==="REORDER"){var Fr=Qt({isMovingForward:We,isInHomeList:St,location:Pr.destination,insideDestination:lr});return Fr==null?null:Rt({draggable:Ft,insideDestination:lr,destination:ar,viewport:Vr,last:yr.displaced,displacedBy:yr.displacedBy,index:Fr})}var Gr=Gt({isMovingForward:We,destination:ar,displaced:yr.displaced,draggables:qt,combine:Pr.combine,afterCritical:Xr});return Gr==null?null:Rt({draggable:Ft,insideDestination:lr,destination:ar,viewport:Vr,last:yr.displaced,displacedBy:yr.displacedBy,index:Gr})},dr=function(Se){var We=Se.displaced,St=Se.afterCritical,Ft=Se.combineWith,qt=Se.displacedBy,ar=Boolean(We.visible[Ft]||We.invisible[Ft]);return zt(Ft,St)?ar?fe:te(qt.point):ar?qt.point:fe},er=function(Se){var We=Se.afterCritical,St=Se.impact,Ft=Se.draggables,qt=or(St);qt||ve(!1);var ar=qt.draggableId,lr=Ft[ar].page.borderBox.center,yr=dr({displaced:St.displaced,afterCritical:We,combineWith:ar,displacedBy:St.displacedBy});return oe(lr,yr)},ht=function(Se,We){return We.margin[Se.start]+We.borderBox[Se.size]/2},Et=function(Se,We){return We.margin[Se.end]+We.borderBox[Se.size]/2},pt=function(Se,We,St){return We[Se.crossAxisStart]+St.margin[Se.crossAxisStart]+St.borderBox[Se.crossAxisSize]/2},vt=function(Se){var We=Se.axis,St=Se.moveRelativeTo,Ft=Se.isMoving;return Z(We.line,St.marginBox[We.end]+ht(We,Ft),pt(We,St.marginBox,Ft))},Nt=function(Se){var We=Se.axis,St=Se.moveRelativeTo,Ft=Se.isMoving;return Z(We.line,St.marginBox[We.start]-Et(We,Ft),pt(We,St.marginBox,Ft))},_t=function(Se){var We=Se.axis,St=Se.moveInto,Ft=Se.isMoving;return Z(We.line,St.contentBox[We.start]+ht(We,Ft),pt(We,St.contentBox,Ft))},gt=function(Se){var We=Se.impact,St=Se.draggable,Ft=Se.draggables,qt=Se.droppable,ar=Se.afterCritical,lr=bt(qt.descriptor.id,Ft),yr=St.page,Vr=qt.axis;if(!lr.length)return _t({axis:Vr,moveInto:qt.page,isMoving:yr});var Xr=We.displaced,Pr=We.displacedBy,Fr=Xr.all[0];if(Fr){var Gr=Ft[Fr];if(zt(Fr,ar))return Nt({axis:Vr,moveRelativeTo:Gr.page,isMoving:yr});var dn=T(Gr.page,Pr.point);return Nt({axis:Vr,moveRelativeTo:dn,isMoving:yr})}var pn=lr[lr.length-1];if(pn.descriptor.id===St.descriptor.id)return yr.borderBox.center;if(zt(pn.descriptor.id,ar)){var ei=T(pn.page,te(ar.displacedBy.point));return vt({axis:Vr,moveRelativeTo:ei,isMoving:yr})}return vt({axis:Vr,moveRelativeTo:pn.page,isMoving:yr})},Ht=function(Se,We){var St=Se.frame;return St?oe(We,St.scroll.diff.displacement):We},kt=function(Se){var We=Se.impact,St=Se.draggable,Ft=Se.droppable,qt=Se.draggables,ar=Se.afterCritical,lr=St.page.borderBox.center,yr=We.at;return Ft&&yr?yr.type==="REORDER"?gt({impact:We,draggable:St,draggables:qt,droppable:Ft,afterCritical:ar}):er({impact:We,draggables:qt,afterCritical:ar}):lr},ir=function(Se){var We=kt(Se),St=Se.droppable,Ft=St?Ht(St,We):We;return Ft},Xt=function(Se,We){var St=Le(We,Se.scroll.initial),Ft=te(St),qt=n({top:We.y,bottom:We.y+Se.frame.height,left:We.x,right:We.x+Se.frame.width}),ar={frame:qt,scroll:{initial:Se.scroll.initial,max:Se.scroll.max,current:We,diff:{value:St,displacement:Ft}}};return ar};function mr(ut,Se){return ut.map(function(We){return Se[We]})}function Ar(ut,Se){for(var We=0;We<Se.length;We++){var St=Se[We].visible[ut];if(St)return St}return null}var Nr=function(Se){var We=Se.impact,St=Se.viewport,Ft=Se.destination,qt=Se.draggables,ar=Se.maxScrollChange,lr=Xt(St,oe(St.scroll.current,ar)),yr=Ft.frame?at(Ft,oe(Ft.frame.scroll.current,ar)):Ft,Vr=We.displaced,Xr=At({afterDragging:mr(Vr.all,qt),destination:Ft,displacedBy:We.displacedBy,viewport:lr.frame,last:Vr,forceShouldAnimate:!1}),Pr=At({afterDragging:mr(Vr.all,qt),destination:yr,displacedBy:We.displacedBy,viewport:St.frame,last:Vr,forceShouldAnimate:!1}),Fr={},Gr={},dn=[Vr,Xr,Pr];Vr.all.forEach(function(ei){var ci=Ar(ei,dn);if(ci){Gr[ei]=ci;return}Fr[ei]=!0});var pn=Object(m.a)({},We,{displaced:{all:Vr.all,invisible:Fr,visible:Gr}});return pn},kr=function(Se,We){return oe(Se.scroll.diff.displacement,We)},tn=function(Se){var We=Se.pageBorderBoxCenter,St=Se.draggable,Ft=Se.viewport,qt=kr(Ft,We),ar=Le(qt,St.page.borderBox.center);return oe(St.client.borderBox.center,ar)},qr=function(Se){var We=Se.draggable,St=Se.destination,Ft=Se.newPageBorderBoxCenter,qt=Se.viewport,ar=Se.withDroppableDisplacement,lr=Se.onlyOnMainAxis,yr=lr===void 0?!1:lr,Vr=Le(Ft,We.page.borderBox.center),Xr=De(We.page.borderBox,Vr),Pr={target:Xr,destination:St,withDroppableDisplacement:ar,viewport:qt};return yr?ke(Pr):Oe(Pr)},_r=function(Se){var We=Se.isMovingForward,St=Se.draggable,Ft=Se.destination,qt=Se.draggables,ar=Se.previousImpact,lr=Se.viewport,yr=Se.previousPageBorderBoxCenter,Vr=Se.previousClientSelection,Xr=Se.afterCritical;if(!Ft.isEnabled)return null;var Pr=bt(Ft.descriptor.id,qt),Fr=Ce(St,Ft),Gr=_e({isMovingForward:We,draggable:St,destination:Ft,insideDestination:Pr,previousImpact:ar})||Mt({isMovingForward:We,isInHomeList:Fr,draggable:St,draggables:qt,destination:Ft,insideDestination:Pr,previousImpact:ar,viewport:lr,afterCritical:Xr});if(!Gr)return null;var dn=ir({impact:Gr,draggable:St,droppable:Ft,draggables:qt,afterCritical:Xr}),pn=qr({draggable:St,destination:Ft,newPageBorderBoxCenter:dn,viewport:lr.frame,withDroppableDisplacement:!1,onlyOnMainAxis:!0});if(pn){var ei=tn({pageBorderBoxCenter:dn,draggable:St,viewport:lr});return{clientSelection:ei,impact:Gr,scrollJumpRequest:null}}var ci=Le(dn,yr),ii=Nr({impact:Gr,viewport:lr,destination:Ft,draggables:qt,maxScrollChange:ci});return{clientSelection:Vr,impact:ii,scrollJumpRequest:ci}},Qr=function(Se){var We=Se.subject.active;return We||ve(!1),We},Lr=function(Se){var We=Se.isMovingForward,St=Se.pageBorderBoxCenter,Ft=Se.source,qt=Se.droppables,ar=Se.viewport,lr=Ft.subject.active;if(!lr)return null;var yr=Ft.axis,Vr=Ye(lr[yr.start],lr[yr.end]),Xr=mt(qt).filter(function(Fr){return Fr!==Ft}).filter(function(Fr){return Fr.isEnabled}).filter(function(Fr){return Boolean(Fr.subject.active)}).filter(function(Fr){return Ge(ar.frame)(Qr(Fr))}).filter(function(Fr){var Gr=Qr(Fr);return We?lr[yr.crossAxisEnd]<Gr[yr.crossAxisEnd]:Gr[yr.crossAxisStart]<lr[yr.crossAxisStart]}).filter(function(Fr){var Gr=Qr(Fr),dn=Ye(Gr[yr.start],Gr[yr.end]);return Vr(Gr[yr.start])||Vr(Gr[yr.end])||dn(lr[yr.start])||dn(lr[yr.end])}).sort(function(Fr,Gr){var dn=Qr(Fr)[yr.crossAxisStart],pn=Qr(Gr)[yr.crossAxisStart];return We?dn-pn:pn-dn}).filter(function(Fr,Gr,dn){return Qr(Fr)[yr.crossAxisStart]===Qr(dn[0])[yr.crossAxisStart]});if(!Xr.length)return null;if(Xr.length===1)return Xr[0];var Pr=Xr.filter(function(Fr){var Gr=Ye(Qr(Fr)[yr.start],Qr(Fr)[yr.end]);return Gr(St[yr.line])});return Pr.length===1?Pr[0]:Pr.length>1?Pr.sort(function(Fr,Gr){return Qr(Fr)[yr.start]-Qr(Gr)[yr.start]})[0]:Xr.sort(function(Fr,Gr){var dn=Re(St,Tt(Qr(Fr))),pn=Re(St,Tt(Qr(Gr)));return dn!==pn?dn-pn:Qr(Fr)[yr.start]-Qr(Gr)[yr.start]})[0]},ur=function(Se,We){var St=Se.page.borderBox.center;return zt(Se.descriptor.id,We)?Le(St,We.displacedBy.point):St},pr=function(Se,We){var St=Se.page.borderBox;return zt(Se.descriptor.id,We)?De(St,te(We.displacedBy.point)):St},cr=function(Se){var We=Se.pageBorderBoxCenter,St=Se.viewport,Ft=Se.destination,qt=Se.insideDestination,ar=Se.afterCritical,lr=qt.filter(function(yr){return Oe({target:pr(yr,ar),destination:Ft,viewport:St.frame,withDroppableDisplacement:!0})}).sort(function(yr,Vr){var Xr=ge(We,Ht(Ft,ur(yr,ar))),Pr=ge(We,Ht(Ft,ur(Vr,ar)));return Xr<Pr?-1:Pr<Xr?1:yr.descriptor.index-Vr.descriptor.index});return lr[0]||null},fr=b(function(Se,We){var St=We[Se.line];return{value:St,point:Z(Se.line,St)}}),xr=function(Se,We,St){var Ft=Se.axis;if(Se.descriptor.mode==="virtual")return Z(Ft.line,We[Ft.line]);var qt=Se.subject.page.contentBox[Ft.size],ar=bt(Se.descriptor.id,St),lr=ar.reduce(function(Xr,Pr){return Xr+Pr.client.marginBox[Ft.size]},0),yr=lr+We[Ft.line],Vr=yr-qt;return Vr<=0?null:Z(Ft.line,Vr)},Yr=function(Se,We){return Object(m.a)({},Se,{scroll:Object(m.a)({},Se.scroll,{max:We})})},un=function(Se,We,St){var Ft=Se.frame;Ce(We,Se)&&ve(!1),Se.subject.withPlaceholder&&ve(!1);var qt=fr(Se.axis,We.displaceBy).point,ar=xr(Se,qt,St),lr={placeholderSize:qt,increasedBy:ar,oldFrameMaxScroll:Se.frame?Se.frame.scroll.max:null};if(!Ft){var yr=et({page:Se.subject.page,withPlaceholder:lr,axis:Se.axis,frame:Se.frame});return Object(m.a)({},Se,{subject:yr})}var Vr=ar?oe(Ft.scroll.max,ar):Ft.scroll.max,Xr=Yr(Ft,Vr),Pr=et({page:Se.subject.page,withPlaceholder:lr,axis:Se.axis,frame:Xr});return Object(m.a)({},Se,{subject:Pr,frame:Xr})},Nn=function(Se){var We=Se.subject.withPlaceholder;We||ve(!1);var St=Se.frame;if(!St){var Ft=et({page:Se.subject.page,axis:Se.axis,frame:null,withPlaceholder:null});return Object(m.a)({},Se,{subject:Ft})}var qt=We.oldFrameMaxScroll;qt||ve(!1);var ar=Yr(St,qt),lr=et({page:Se.subject.page,axis:Se.axis,frame:ar,withPlaceholder:null});return Object(m.a)({},Se,{subject:lr,frame:ar})},jr=function(Se){var We=Se.previousPageBorderBoxCenter,St=Se.moveRelativeTo,Ft=Se.insideDestination,qt=Se.draggable,ar=Se.draggables,lr=Se.destination,yr=Se.viewport,Vr=Se.afterCritical;if(!St){if(Ft.length)return null;var Xr={displaced:we,displacedBy:Ee,at:{type:"REORDER",destination:{droppableId:lr.descriptor.id,index:0}}},Pr=ir({impact:Xr,draggable:qt,droppable:lr,draggables:ar,afterCritical:Vr}),Fr=Ce(qt,lr)?lr:un(lr,qt,ar),Gr=qr({draggable:qt,destination:Fr,newPageBorderBoxCenter:Pr,viewport:yr.frame,withDroppableDisplacement:!1,onlyOnMainAxis:!0});return Gr?Xr:null}var dn=Boolean(We[lr.axis.line]<=St.page.borderBox.center[lr.axis.line]),pn=function(){var ci=St.descriptor.index;return St.descriptor.id===qt.descriptor.id||dn?ci:ci+1}(),ei=fr(lr.axis,qt.displaceBy);return Rt({draggable:qt,insideDestination:Ft,destination:lr,viewport:yr,displacedBy:ei,last:we,index:pn})},Tn=function(Se){var We=Se.isMovingForward,St=Se.previousPageBorderBoxCenter,Ft=Se.draggable,qt=Se.isOver,ar=Se.draggables,lr=Se.droppables,yr=Se.viewport,Vr=Se.afterCritical,Xr=Lr({isMovingForward:We,pageBorderBoxCenter:St,source:qt,droppables:lr,viewport:yr});if(!Xr)return null;var Pr=bt(Xr.descriptor.id,ar),Fr=cr({pageBorderBoxCenter:St,viewport:yr,destination:Xr,insideDestination:Pr,afterCritical:Vr}),Gr=jr({previousPageBorderBoxCenter:St,destination:Xr,draggable:Ft,draggables:ar,moveRelativeTo:Fr,insideDestination:Pr,viewport:yr,afterCritical:Vr});if(!Gr)return null;var dn=ir({impact:Gr,draggable:Ft,droppable:Xr,draggables:ar,afterCritical:Vr}),pn=tn({pageBorderBoxCenter:dn,draggable:Ft,viewport:yr});return{clientSelection:pn,impact:Gr,scrollJumpRequest:null}},gn=function(Se){var We=Se.at;return We?We.type==="REORDER"?We.destination.droppableId:We.combine.droppableId:null},Bn=function(Se,We){var St=gn(Se);return St?We[St]:null},Kn=function(Se){var We=Se.state,St=Se.type,Ft=Bn(We.impact,We.dimensions.droppables),qt=Boolean(Ft),ar=We.dimensions.droppables[We.critical.droppable.id],lr=Ft||ar,yr=lr.axis.direction,Vr=yr==="vertical"&&(St==="MOVE_UP"||St==="MOVE_DOWN")||yr==="horizontal"&&(St==="MOVE_LEFT"||St==="MOVE_RIGHT");if(Vr&&!qt)return null;var Xr=St==="MOVE_DOWN"||St==="MOVE_RIGHT",Pr=We.dimensions.draggables[We.critical.draggable.id],Fr=We.current.page.borderBoxCenter,Gr=We.dimensions,dn=Gr.draggables,pn=Gr.droppables;return Vr?_r({isMovingForward:Xr,previousPageBorderBoxCenter:Fr,draggable:Pr,destination:lr,draggables:dn,viewport:We.viewport,previousClientSelection:We.current.client.selection,previousImpact:We.impact,afterCritical:We.afterCritical}):Tn({isMovingForward:Xr,previousPageBorderBoxCenter:Fr,draggable:Pr,isOver:lr,draggables:dn,droppables:pn,viewport:We.viewport,afterCritical:We.afterCritical})};function qn(ut){return ut.phase==="DRAGGING"||ut.phase==="COLLECTING"}function Yn(ut){var Se=Ye(ut.top,ut.bottom),We=Ye(ut.left,ut.right);return function(Ft){return Se(Ft.y)&&We(Ft.x)}}function Vn(ut,Se){return ut.left<Se.right&&ut.right>Se.left&&ut.top<Se.bottom&&ut.bottom>Se.top}function An(ut){var Se=ut.pageBorderBox,We=ut.draggable,St=ut.candidates,Ft=We.page.borderBox.center,qt=St.map(function(ar){var lr=ar.axis,yr=Z(ar.axis.line,Se.center[lr.line],ar.page.borderBox.center[lr.crossAxisLine]);return{id:ar.descriptor.id,distance:ge(Ft,yr)}}).sort(function(ar,lr){return lr.distance-ar.distance});return qt[0]?qt[0].id:null}function on(ut){var Se=ut.pageBorderBox,We=ut.draggable,St=ut.droppables,Ft=mt(St).filter(function(qt){if(!qt.isEnabled)return!1;var ar=qt.subject.active;if(!ar)return!1;if(!Vn(Se,ar))return!1;if(Yn(ar)(Se.center))return!0;var lr=qt.axis,yr=ar.center[lr.crossAxisLine],Vr=Se[lr.crossAxisStart],Xr=Se[lr.crossAxisEnd],Pr=Ye(ar[lr.crossAxisStart],ar[lr.crossAxisEnd]),Fr=Pr(Vr),Gr=Pr(Xr);return!Fr&&!Gr?!0:Fr?Vr<yr:Xr>yr});return Ft.length?Ft.length===1?Ft[0].descriptor.id:An({pageBorderBox:Se,draggable:We,candidates:Ft}):null}var ia=function(Se,We){return n(De(Se,We))},xa=function(Se,We){var St=Se.frame;return St?ia(We,St.scroll.diff.value):We};function ta(ut){var Se=ut.displaced,We=ut.id;return Boolean(Se.visible[We]||Se.invisible[We])}function Li(ut){var Se=ut.draggable,We=ut.closest,St=ut.inHomeList;return We?St&&We.descriptor.index>Se.descriptor.index?We.descriptor.index-1:We.descriptor.index:null}var Ci=function(Se){var We=Se.pageBorderBoxWithDroppableScroll,St=Se.draggable,Ft=Se.destination,qt=Se.insideDestination,ar=Se.last,lr=Se.viewport,yr=Se.afterCritical,Vr=Ft.axis,Xr=fr(Ft.axis,St.displaceBy),Pr=Xr.value,Fr=We[Vr.start],Gr=We[Vr.end],dn=Pt(St,qt),pn=lt(dn,function(ci){var ii=ci.descriptor.id,Zi=ci.page.borderBox.center[Vr.line],Si=zt(ii,yr),Va=ta({displaced:ar,id:ii});return Si?Va?Gr<=Zi:Fr<Zi-Pr:Va?Gr<=Zi+Pr:Fr<Zi}),ei=Li({draggable:St,closest:pn,inHomeList:Ce(St,Ft)});return Rt({draggable:St,insideDestination:qt,destination:Ft,viewport:lr,last:ar,displacedBy:Xr,index:ei})},Gn=4,Oa=function(Se){var We=Se.draggable,St=Se.pageBorderBoxWithDroppableScroll,Ft=Se.previousImpact,qt=Se.destination,ar=Se.insideDestination,lr=Se.afterCritical;if(!qt.isCombineEnabled)return null;var yr=qt.axis,Vr=fr(qt.axis,We.displaceBy),Xr=Vr.value,Pr=St[yr.start],Fr=St[yr.end],Gr=Pt(We,ar),dn=lt(Gr,function(ei){var ci=ei.descriptor.id,ii=ei.page.borderBox,Zi=ii[yr.size],Si=Zi/Gn,Va=zt(ci,lr),Ei=ta({displaced:Ft.displaced,id:ci});return Va?Ei?Fr>ii[yr.start]+Si&&Fr<ii[yr.end]-Si:Pr>ii[yr.start]-Xr+Si&&Pr<ii[yr.end]-Xr-Si:Ei?Fr>ii[yr.start]+Xr+Si&&Fr<ii[yr.end]+Xr-Si:Pr>ii[yr.start]+Si&&Pr<ii[yr.end]-Si});if(!dn)return null;var pn={displacedBy:Vr,displaced:Ft.displaced,at:{type:"COMBINE",combine:{draggableId:dn.descriptor.id,droppableId:qt.descriptor.id}}};return pn},mn=function(Se){var We=Se.pageOffset,St=Se.draggable,Ft=Se.draggables,qt=Se.droppables,ar=Se.previousImpact,lr=Se.viewport,yr=Se.afterCritical,Vr=ia(St.page.borderBox,We),Xr=on({pageBorderBox:Vr,draggable:St,droppables:qt});if(!Xr)return Fe;var Pr=qt[Xr],Fr=bt(Pr.descriptor.id,Ft),Gr=xa(Pr,Vr);return Oa({pageBorderBoxWithDroppableScroll:Gr,draggable:St,previousImpact:ar,destination:Pr,insideDestination:Fr,afterCritical:yr})||Ci({pageBorderBoxWithDroppableScroll:Gr,draggable:St,destination:Pr,insideDestination:Fr,last:ar.displaced,viewport:lr,afterCritical:yr})},On=function(Se,We){var St;return Object(m.a)({},Se,(St={},St[We.descriptor.id]=We,St))},_n=function(Se){var We=Se.previousImpact,St=Se.impact,Ft=Se.droppables,qt=gn(We),ar=gn(St);if(!qt)return Ft;if(qt===ar)return Ft;var lr=Ft[qt];if(!lr.subject.withPlaceholder)return Ft;var yr=Nn(lr);return On(Ft,yr)},Ln=function(Se){var We=Se.draggable,St=Se.draggables,Ft=Se.droppables,qt=Se.previousImpact,ar=Se.impact,lr=_n({previousImpact:qt,impact:ar,droppables:Ft}),yr=gn(ar);if(!yr)return lr;var Vr=Ft[yr];if(Ce(We,Vr))return lr;if(Vr.subject.withPlaceholder)return lr;var Xr=un(Vr,We,St);return On(lr,Xr)},jn=function(Se){var We=Se.state,St=Se.clientSelection,Ft=Se.dimensions,qt=Se.viewport,ar=Se.impact,lr=Se.scrollJumpRequest,yr=qt||We.viewport,Vr=Ft||We.dimensions,Xr=St||We.current.client.selection,Pr=Le(Xr,We.initial.client.selection),Fr={offset:Pr,selection:Xr,borderBoxCenter:oe(We.initial.client.borderBoxCenter,Pr)},Gr={selection:oe(Fr.selection,yr.scroll.current),borderBoxCenter:oe(Fr.borderBoxCenter,yr.scroll.current),offset:oe(Fr.offset,yr.scroll.diff.value)},dn={client:Fr,page:Gr};if(We.phase==="COLLECTING")return Object(m.a)({phase:"COLLECTING"},We,{dimensions:Vr,viewport:yr,current:dn});var pn=Vr.draggables[We.critical.draggable.id],ei=ar||mn({pageOffset:Gr.offset,draggable:pn,draggables:Vr.draggables,droppables:Vr.droppables,previousImpact:We.impact,viewport:yr,afterCritical:We.afterCritical}),ci=Ln({draggable:pn,impact:ei,previousImpact:We.impact,draggables:Vr.draggables,droppables:Vr.droppables}),ii=Object(m.a)({},We,{current:dn,dimensions:{draggables:Vr.draggables,droppables:ci},impact:ei,viewport:yr,scrollJumpRequest:lr||null,forceShouldAnimate:lr?!1:null});return ii};function ni(ut,Se){return ut.map(function(We){return Se[We]})}var di=function(Se){var We=Se.impact,St=Se.viewport,Ft=Se.draggables,qt=Se.destination,ar=Se.forceShouldAnimate,lr=We.displaced,yr=ni(lr.all,Ft),Vr=At({afterDragging:yr,destination:qt,displacedBy:We.displacedBy,viewport:St.frame,forceShouldAnimate:ar,last:lr});return Object(m.a)({},We,{displaced:Vr})},Na=function(Se){var We=Se.impact,St=Se.draggable,Ft=Se.droppable,qt=Se.draggables,ar=Se.viewport,lr=Se.afterCritical,yr=ir({impact:We,draggable:St,draggables:qt,droppable:Ft,afterCritical:lr});return tn({pageBorderBoxCenter:yr,draggable:St,viewport:ar})},Qi=function(Se){var We=Se.state,St=Se.dimensions,Ft=Se.viewport;We.movementMode==="SNAP"||ve(!1);var qt=We.impact,ar=Ft||We.viewport,lr=St||We.dimensions,yr=lr.draggables,Vr=lr.droppables,Xr=yr[We.critical.draggable.id],Pr=gn(qt);Pr||ve(!1);var Fr=Vr[Pr],Gr=di({impact:qt,viewport:ar,destination:Fr,draggables:yr}),dn=Na({impact:Gr,draggable:Xr,droppable:Fr,draggables:yr,viewport:ar,afterCritical:We.afterCritical});return jn({impact:Gr,clientSelection:dn,state:We,dimensions:lr,viewport:ar})},ma=function(Se){return{index:Se.index,droppableId:Se.droppableId}},Pa=function(Se){var We=Se.draggable,St=Se.home,Ft=Se.draggables,qt=Se.viewport,ar=fr(St.axis,We.displaceBy),lr=bt(St.descriptor.id,Ft),yr=lr.indexOf(We);yr!==-1||ve(!1);var Vr=lr.slice(yr+1),Xr=Vr.reduce(function(dn,pn){return dn[pn.descriptor.id]=!0,dn},{}),Pr={inVirtualList:St.descriptor.mode==="virtual",displacedBy:ar,effected:Xr},Fr=At({afterDragging:Vr,destination:St,displacedBy:ar,last:null,viewport:qt.frame,forceShouldAnimate:!1}),Gr={displaced:Fr,displacedBy:ar,at:{type:"REORDER",destination:ma(We.descriptor)}};return{impact:Gr,afterCritical:Pr}},Qa=function(Se,We){return{draggables:Se.draggables,droppables:On(Se.droppables,We)}},Wi=function(Se){},Co=function(Se){},aa=function(Se){var We=Se.draggable,St=Se.offset,Ft=Se.initialWindowScroll,qt=T(We.client,St),ar=w(qt,Ft),lr=Object(m.a)({},We,{placeholder:Object(m.a)({},We.placeholder,{client:qt}),client:qt,page:ar});return lr},Hi=function(Se){var We=Se.frame;return We||ve(!1),We},ga=function(Se){var We=Se.additions,St=Se.updatedDroppables,Ft=Se.viewport,qt=Ft.scroll.diff.value;return We.map(function(ar){var lr=ar.descriptor.droppableId,yr=St[lr],Vr=Hi(yr),Xr=Vr.scroll.diff.value,Pr=oe(qt,Xr),Fr=aa({draggable:ar,offset:Pr,initialWindowScroll:Ft.scroll.initial});return Fr})},ha=function(Se){var We=Se.state,St=Se.published;Wi();var Ft=St.modified.map(function(Si){var Va=We.dimensions.droppables[Si.droppableId],Ei=at(Va,Si.scroll);return Ei}),qt=Object(m.a)({},We.dimensions.droppables,{},Te(Ft)),ar=Jt(ga({additions:St.additions,updatedDroppables:qt,viewport:We.viewport})),lr=Object(m.a)({},We.dimensions.draggables,{},ar);St.removals.forEach(function(Si){delete lr[Si]});var yr={droppables:qt,draggables:lr},Vr=gn(We.impact),Xr=Vr?yr.droppables[Vr]:null,Pr=yr.draggables[We.critical.draggable.id],Fr=yr.droppables[We.critical.droppable.id],Gr=Pa({draggable:Pr,home:Fr,draggables:lr,viewport:We.viewport}),dn=Gr.impact,pn=Gr.afterCritical,ei=Xr&&Xr.isCombineEnabled?We.impact:dn,ci=mn({pageOffset:We.current.page.offset,draggable:yr.draggables[We.critical.draggable.id],draggables:yr.draggables,droppables:yr.droppables,previousImpact:ei,viewport:We.viewport,afterCritical:pn});Co();var ii=Object(m.a)({phase:"DRAGGING"},We,{phase:"DRAGGING",impact:ci,onLiftImpact:dn,dimensions:yr,afterCritical:pn,forceShouldAnimate:!1});if(We.phase==="COLLECTING")return ii;var Zi=Object(m.a)({phase:"DROP_PENDING"},ii,{phase:"DROP_PENDING",reason:We.reason,isWaiting:!1});return Zi},mo=function(Se){return Se.movementMode==="SNAP"},Fn=function(Se,We,St){var Ft=Qa(Se.dimensions,We);return!mo(Se)||St?jn({state:Se,dimensions:Ft}):Qi({state:Se,dimensions:Ft})};function $i(ut){return ut.isDragging&&ut.movementMode==="SNAP"?Object(m.a)({phase:"DRAGGING"},ut,{scrollJumpRequest:null}):ut}var eo={phase:"IDLE",completed:null,shouldFlush:!1},To=function(Se,We){if(Se===void 0&&(Se=eo),We.type==="FLUSH")return Object(m.a)({},eo,{shouldFlush:!0});if(We.type==="INITIAL_PUBLISH"){Se.phase==="IDLE"||ve(!1);var St=We.payload,Ft=St.critical,qt=St.clientSelection,ar=St.viewport,lr=St.dimensions,yr=St.movementMode,Vr=lr.draggables[Ft.draggable.id],Xr=lr.droppables[Ft.droppable.id],Pr={selection:qt,borderBoxCenter:Vr.client.borderBox.center,offset:fe},Fr={client:Pr,page:{selection:oe(Pr.selection,ar.scroll.initial),borderBoxCenter:oe(Pr.selection,ar.scroll.initial),offset:oe(Pr.selection,ar.scroll.diff.value)}},Gr=mt(lr.droppables).every(function(ie){return!ie.isFixedOnPage}),dn=Pa({draggable:Vr,home:Xr,draggables:lr.draggables,viewport:ar}),pn=dn.impact,ei=dn.afterCritical,ci={phase:"DRAGGING",isDragging:!0,critical:Ft,movementMode:yr,dimensions:lr,initial:Fr,current:Fr,isWindowScrollAllowed:Gr,impact:pn,afterCritical:ei,onLiftImpact:pn,viewport:ar,scrollJumpRequest:null,forceShouldAnimate:null};return ci}if(We.type==="COLLECTION_STARTING"){if(Se.phase==="COLLECTING"||Se.phase==="DROP_PENDING")return Se;Se.phase==="DRAGGING"||ve(!1);var ii=Object(m.a)({phase:"COLLECTING"},Se,{phase:"COLLECTING"});return ii}if(We.type==="PUBLISH_WHILE_DRAGGING")return Se.phase==="COLLECTING"||Se.phase==="DROP_PENDING"||ve(!1),ha({state:Se,published:We.payload});if(We.type==="MOVE"){if(Se.phase==="DROP_PENDING")return Se;qn(Se)||ve(!1);var Zi=We.payload.client;return he(Zi,Se.current.client.selection)?Se:jn({state:Se,clientSelection:Zi,impact:mo(Se)?Se.impact:null})}if(We.type==="UPDATE_DROPPABLE_SCROLL"){if(Se.phase==="DROP_PENDING")return $i(Se);if(Se.phase==="COLLECTING")return $i(Se);qn(Se)||ve(!1);var Si=We.payload,Va=Si.id,Ei=Si.newScroll,co=Se.dimensions.droppables[Va];if(!co)return Se;var zo=at(co,Ei);return Fn(Se,zo,!1)}if(We.type==="UPDATE_DROPPABLE_IS_ENABLED"){if(Se.phase==="DROP_PENDING")return Se;qn(Se)||ve(!1);var ao=We.payload,Uo=ao.id,L=ao.isEnabled,k=Se.dimensions.droppables[Uo];k||ve(!1),k.isEnabled!==L||ve(!1);var ee=Object(m.a)({},k,{isEnabled:L});return Fn(Se,ee,!0)}if(We.type==="UPDATE_DROPPABLE_IS_COMBINE_ENABLED"){if(Se.phase==="DROP_PENDING")return Se;qn(Se)||ve(!1);var re=We.payload,ce=re.id,Be=re.isCombineEnabled,yt=Se.dimensions.droppables[ce];yt||ve(!1),yt.isCombineEnabled!==Be||ve(!1);var Dt=Object(m.a)({},yt,{isCombineEnabled:Be});return Fn(Se,Dt,!0)}if(We.type==="MOVE_BY_WINDOW_SCROLL"){if(Se.phase==="DROP_PENDING"||Se.phase==="DROP_ANIMATING")return Se;qn(Se)||ve(!1),Se.isWindowScrollAllowed||ve(!1);var Kt=We.payload.newScroll;if(he(Se.viewport.scroll.current,Kt))return $i(Se);var Yt=Xt(Se.viewport,Kt);return mo(Se)?Qi({state:Se,viewport:Yt}):jn({state:Se,viewport:Yt})}if(We.type==="UPDATE_VIEWPORT_MAX_SCROLL"){if(!qn(Se))return Se;var Cr=We.payload.maxScroll;if(he(Cr,Se.viewport.scroll.max))return Se;var Ur=Object(m.a)({},Se.viewport,{scroll:Object(m.a)({},Se.viewport.scroll,{max:Cr})});return Object(m.a)({phase:"DRAGGING"},Se,{viewport:Ur})}if(We.type==="MOVE_UP"||We.type==="MOVE_DOWN"||We.type==="MOVE_LEFT"||We.type==="MOVE_RIGHT"){if(Se.phase==="COLLECTING"||Se.phase==="DROP_PENDING")return Se;Se.phase==="DRAGGING"||ve(!1);var en=Kn({state:Se,type:We.type});return en?jn({state:Se,impact:en.impact,clientSelection:en.clientSelection,scrollJumpRequest:en.scrollJumpRequest}):Se}if(We.type==="DROP_PENDING"){var nn=We.payload.reason;Se.phase==="COLLECTING"||ve(!1);var xn=Object(m.a)({phase:"DROP_PENDING"},Se,{phase:"DROP_PENDING",isWaiting:!0,reason:nn});return xn}if(We.type==="DROP_ANIMATE"){var Pn=We.payload,Jn=Pn.completed,Zn=Pn.dropDuration,oi=Pn.newHomeClientOffset;Se.phase==="DRAGGING"||Se.phase==="DROP_PENDING"||ve(!1);var li={phase:"DROP_ANIMATING",completed:Jn,dropDuration:Zn,newHomeClientOffset:oi,dimensions:Se.dimensions};return li}if(We.type==="DROP_COMPLETE"){var $e=We.payload.completed;return{phase:"IDLE",completed:$e,shouldFlush:!1}}return Se},uo=function(Se){return{type:"BEFORE_INITIAL_CAPTURE",payload:Se}},rr=function(Se){return{type:"LIFT",payload:Se}},Tr=function(Se){return{type:"INITIAL_PUBLISH",payload:Se}},Br=function(Se){return{type:"PUBLISH_WHILE_DRAGGING",payload:Se}},Wr=function(){return{type:"COLLECTION_STARTING",payload:null}},hn=function(Se){return{type:"UPDATE_DROPPABLE_SCROLL",payload:Se}},it=function(Se){return{type:"UPDATE_DROPPABLE_IS_ENABLED",payload:Se}},jt=function(Se){return{type:"UPDATE_DROPPABLE_IS_COMBINE_ENABLED",payload:Se}},Zt=function(Se){return{type:"MOVE",payload:Se}},nr=function(Se){return{type:"MOVE_BY_WINDOW_SCROLL",payload:Se}},Or=function(Se){return{type:"UPDATE_VIEWPORT_MAX_SCROLL",payload:Se}},wr=function(){return{type:"MOVE_UP",payload:null}},Er=function(){return{type:"MOVE_DOWN",payload:null}},Kr=function(){return{type:"MOVE_RIGHT",payload:null}},Zr=function(){return{type:"MOVE_LEFT",payload:null}},Jr=function(){return{type:"FLUSH",payload:null}},an=function(Se){return{type:"DROP_ANIMATE",payload:Se}},xt=function(Se){return{type:"DROP_COMPLETE",payload:Se}},Vt=function(Se){return{type:"DROP",payload:Se}},sr=function(Se){return{type:"DROP_PENDING",payload:Se}},br=function(){return{type:"DROP_ANIMATION_FINISHED",payload:null}};function Mr(ut){if(ut.length<=1)return;for(var Se=ut.map(function(lr){return lr.descriptor.index}),We={},St=1;St<Se.length;St++){var Ft=Se[St],qt=Se[St-1];Ft!==qt+1&&(We[Ft]=!0)}if(!Object.keys(We).length)return;var ar=Se.map(function(lr){var yr=Boolean(We[lr]);return yr?"[\u{1F525}"+lr+"]":""+lr}).join(", ")}function Dr(ut,Se){if(!1)var We}var rn=function(Se){return function(We){var St=We.getState,Ft=We.dispatch;return function(qt){return function(ar){if(ar.type!=="LIFT"){qt(ar);return}var lr=ar.payload,yr=lr.id,Vr=lr.clientSelection,Xr=lr.movementMode,Pr=St();Pr.phase==="DROP_ANIMATING"&&Ft(xt({completed:Pr.completed})),St().phase==="IDLE"||ve(!1),Ft(Jr()),Ft(uo({draggableId:yr,movementMode:Xr}));var Fr={shouldPublishImmediately:Xr==="SNAP"},Gr={draggableId:yr,scrollOptions:Fr},dn=Se.startPublishing(Gr),pn=dn.critical,ei=dn.dimensions,ci=dn.viewport;Dr(pn,ei),Ft(Tr({critical:pn,dimensions:ei,clientSelection:Vr,movementMode:Xr,viewport:ci}))}}}},fn=function(Se){return function(){return function(We){return function(St){St.type==="INITIAL_PUBLISH"&&Se.dragging(),St.type==="DROP_ANIMATE"&&Se.dropping(St.payload.completed.result.reason),(St.type==="FLUSH"||St.type==="DROP_COMPLETE")&&Se.resting(),We(St)}}}},wn={outOfTheWay:"cubic-bezier(0.2, 0, 0, 1)",drop:"cubic-bezier(.2,1,.1,1)"},Hn={opacity:{drop:0,combining:.7},scale:{drop:.75}},Sn={outOfTheWay:.2,minDropTime:.33,maxDropTime:.55},bn=Sn.outOfTheWay+"s "+wn.outOfTheWay,Mn={fluid:"opacity "+bn,snap:"transform "+bn+", opacity "+bn,drop:function(Se){var We=Se+"s "+wn.drop;return"transform "+We+", opacity "+We},outOfTheWay:"transform "+bn,placeholder:"height "+bn+", width "+bn+", margin "+bn},vn=function(Se){return he(Se,fe)?null:"translate("+Se.x+"px, "+Se.y+"px)"},Rn={moveTo:vn,drop:function(Se,We){var St=vn(Se);return St?We?St+" scale("+Hn.scale.drop+")":St:null}},En=Sn.minDropTime,In=Sn.maxDropTime,Xn=In-En,ai=1500,ri=.6,Di=function(Se){var We=Se.current,St=Se.destination,Ft=Se.reason,qt=ge(We,St);if(qt<=0)return En;if(qt>=ai)return In;var ar=qt/ai,lr=En+Xn*ar,yr=Ft==="CANCEL"?lr*ri:lr;return Number(yr.toFixed(2))},yi=function(Se){var We=Se.impact,St=Se.draggable,Ft=Se.dimensions,qt=Se.viewport,ar=Se.afterCritical,lr=Ft.draggables,yr=Ft.droppables,Vr=gn(We),Xr=Vr?yr[Vr]:null,Pr=yr[St.descriptor.droppableId],Fr=Na({impact:We,draggable:St,draggables:lr,afterCritical:ar,droppable:Xr||Pr,viewport:qt}),Gr=Le(Fr,St.client.borderBox.center);return Gr},xi=function(Se){var We=Se.draggables,St=Se.reason,Ft=Se.lastImpact,qt=Se.home,ar=Se.viewport,lr=Se.onLiftImpact;if(!Ft.at||St!=="DROP"){var yr=di({draggables:We,impact:lr,destination:qt,viewport:ar,forceShouldAnimate:!0});return{impact:yr,didDropInsideDroppable:!1}}if(Ft.at.type==="REORDER")return{impact:Ft,didDropInsideDroppable:!0};var Vr=Object(m.a)({},Ft,{displaced:we});return{impact:Vr,didDropInsideDroppable:!0}},_i=function(Se){var We=Se.getState,St=Se.dispatch;return function(Ft){return function(qt){if(qt.type!=="DROP"){Ft(qt);return}var ar=We(),lr=qt.payload.reason;if(ar.phase==="COLLECTING"){St(sr({reason:lr}));return}if(ar.phase==="IDLE")return;var yr=ar.phase==="DROP_PENDING"&&ar.isWaiting;yr&&ve(!1),ar.phase==="DRAGGING"||ar.phase==="DROP_PENDING"||ve(!1);var Vr=ar.critical,Xr=ar.dimensions,Pr=Xr.draggables[ar.critical.draggable.id],Fr=xi({reason:lr,lastImpact:ar.impact,afterCritical:ar.afterCritical,onLiftImpact:ar.onLiftImpact,home:ar.dimensions.droppables[ar.critical.droppable.id],viewport:ar.viewport,draggables:ar.dimensions.draggables}),Gr=Fr.impact,dn=Fr.didDropInsideDroppable,pn=dn?It(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},Zi=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=!he(ar.current.client.offset,Zi)||Boolean(ii.combine);if(!Va){St(xt({completed:Si}));return}var Ei=Di({current:ar.current.client.offset,destination:Zi,reason:lr}),co={newHomeClientOffset:Zi,dropDuration:Ei,completed:Si};St(an(co))}}},Un=function(){return{x:window.pageXOffset,y:window.pageYOffset}};function Ri(ut){return{eventName:"scroll",options:{passive:!0,capture:!1},fn:function(We){if(We.target!==window&&We.target!==window.document)return;ut()}}}function fa(ut){var Se=ut.onWindowScroll;function We(){Se(Un())}var St=I(We),Ft=Ri(St),qt=Y;function ar(){return qt!==Y}function lr(){ar()&&ve(!1),qt=me(window,[Ft])}function yr(){ar()||ve(!1),St.cancel(),qt(),qt=Y}return{start:lr,stop:yr,isActive:ar}}var Ui=function(Se){return Se.type==="DROP_COMPLETE"||Se.type==="DROP_ANIMATE"||Se.type==="FLUSH"},Mi=function(Se){var We=fa({onWindowScroll:function(Ft){Se.dispatch(nr({newScroll:Ft}))}});return function(St){return function(Ft){!We.isActive()&&Ft.type==="INITIAL_PUBLISH"&&We.start(),We.isActive()&&Ui(Ft)&&We.stop(),St(Ft)}}},mi=function(Se){var We=!1,St=!1,Ft=setTimeout(function(){St=!0}),qt=function(lr){if(We)return;if(St)return;We=!0,Se(lr),clearTimeout(Ft)};return qt.wasCalled=function(){return We},qt},hi=function(){var Se=[],We=function(ar){var lr=ae(Se,function(Xr){return Xr.timerId===ar});lr!==-1||ve(!1);var yr=Se.splice(lr,1),Vr=yr[0];Vr.callback()},St=function(ar){var lr=setTimeout(function(){return We(lr)}),yr={timerId:lr,callback:ar};Se.push(yr)},Ft=function(){if(!Se.length)return;var ar=[].concat(Se);Se.length=0,ar.forEach(function(lr){clearTimeout(lr.timerId),lr.callback()})};return{add:St,flush:Ft}},qi=function(Se,We){return Se==null&&We==null?!0:Se==null||We==null?!1:Se.droppableId===We.droppableId&&Se.index===We.index},va=function(Se,We){return Se==null&&We==null?!0:Se==null||We==null?!1:Se.draggableId===We.draggableId&&Se.droppableId===We.droppableId},Ea=function(Se,We){if(Se===We)return!0;var St=Se.draggable.id===We.draggable.id&&Se.draggable.droppableId===We.draggable.droppableId&&Se.draggable.type===We.draggable.type&&Se.draggable.index===We.draggable.index,Ft=Se.droppable.id===We.droppable.id&&Se.droppable.type===We.droppable.type;return St&&Ft},ya=function(Se,We){Wi(),We(),Co()},oa=function(Se,We){return{draggableId:Se.draggable.id,type:Se.droppable.type,source:{droppableId:Se.droppable.id,index:Se.draggable.index},mode:We}},sa=function(Se,We,St,Ft){if(!Se){St(Ft(We));return}var qt=mi(St),ar={announce:qt};Se(We,ar),qt.wasCalled()||St(Ft(We))},Ni=function(Se,We){var St=hi(),Ft=null,qt=function(Gr,dn){Ft&&ve(!1),ya("onBeforeCapture",function(){var pn=Se().onBeforeCapture;if(pn){var ei={draggableId:Gr,mode:dn};pn(ei)}})},ar=function(Gr,dn){Ft&&ve(!1),ya("onBeforeDragStart",function(){var pn=Se().onBeforeDragStart;pn&&pn(oa(Gr,dn))})},lr=function(Gr,dn){Ft&&ve(!1);var pn=oa(Gr,dn);Ft={mode:dn,lastCritical:Gr,lastLocation:pn.source,lastCombine:null},St.add(function(){ya("onDragStart",function(){return sa(Se().onDragStart,pn,We,J.onDragStart)})})},yr=function(Gr,dn){var pn=It(dn),ei=or(dn);Ft||ve(!1);var ci=!Ea(Gr,Ft.lastCritical);ci&&(Ft.lastCritical=Gr);var ii=!qi(Ft.lastLocation,pn);ii&&(Ft.lastLocation=pn);var Zi=!va(Ft.lastCombine,ei);if(Zi&&(Ft.lastCombine=ei),!ci&&!ii&&!Zi)return;var Si=Object(m.a)({},oa(Gr,Ft.mode),{combine:ei,destination:pn});St.add(function(){ya("onDragUpdate",function(){return sa(Se().onDragUpdate,Si,We,J.onDragUpdate)})})},Vr=function(){Ft||ve(!1),St.flush()},Xr=function(Gr){Ft||ve(!1),Ft=null,ya("onDragEnd",function(){return sa(Se().onDragEnd,Gr,We,J.onDragEnd)})},Pr=function(){if(!Ft)return;var Gr=Object(m.a)({},oa(Ft.lastCritical,Ft.mode),{combine:null,destination:null,reason:"CANCEL"});Xr(Gr)};return{beforeCapture:qt,beforeStart:ar,start:lr,update:yr,flush:Vr,drop:Xr,abort:Pr}},$n=function(Se,We){var St=Ni(Se,We);return function(Ft){return function(qt){return function(ar){if(ar.type==="BEFORE_INITIAL_CAPTURE"){St.beforeCapture(ar.payload.draggableId,ar.payload.movementMode);return}if(ar.type==="INITIAL_PUBLISH"){var lr=ar.payload.critical;St.beforeStart(lr,ar.payload.movementMode),qt(ar),St.start(lr,ar.payload.movementMode);return}if(ar.type==="DROP_COMPLETE"){var yr=ar.payload.completed.result;St.flush(),qt(ar),St.drop(yr);return}if(qt(ar),ar.type==="FLUSH"){St.abort();return}var Vr=Ft.getState();Vr.phase==="DRAGGING"&&St.update(Vr.critical,Vr.impact)}}}},Ai=function(Se){return function(We){return function(St){if(St.type!=="DROP_ANIMATION_FINISHED"){We(St);return}var Ft=Se.getState();Ft.phase==="DROP_ANIMATING"||ve(!1),Se.dispatch(xt({completed:Ft.completed}))}}},Ii=function(Se){var We=null,St=null;function Ft(){St&&(cancelAnimationFrame(St),St=null),We&&(We(),We=null)}return function(qt){return function(ar){if((ar.type==="FLUSH"||ar.type==="DROP_COMPLETE"||ar.type==="DROP_ANIMATION_FINISHED")&&Ft(),qt(ar),ar.type!=="DROP_ANIMATE")return;var lr={eventName:"scroll",options:{capture:!0,passive:!1,once:!0},fn:function(){var Vr=Se.getState();Vr.phase==="DROP_ANIMATING"&&Se.dispatch(br())}};St=requestAnimationFrame(function(){St=null,We=me(window,[lr])})}}},Vi=function(Se){return function(){return function(We){return function(St){(St.type==="DROP_COMPLETE"||St.type==="FLUSH"||St.type==="DROP_ANIMATE")&&Se.stopPublishing(),We(St)}}}},Xi=function(Se){var We=!1;return function(){return function(St){return function(Ft){if(Ft.type==="INITIAL_PUBLISH"){We=!0,Se.tryRecordFocus(Ft.payload.critical.draggable.id),St(Ft),Se.tryRestoreFocusRecorded();return}if(St(Ft),!We)return;if(Ft.type==="FLUSH"){We=!1,Se.tryRestoreFocusRecorded();return}if(Ft.type==="DROP_COMPLETE"){We=!1;var qt=Ft.payload.completed.result;qt.combine&&Se.tryShiftRecord(qt.draggableId,qt.combine.draggableId),Se.tryRestoreFocusRecorded()}}}}},bi=function(Se){return Se.type==="DROP_COMPLETE"||Se.type==="DROP_ANIMATE"||Se.type==="FLUSH"},Aa=function(Se){return function(We){return function(St){return function(Ft){if(bi(Ft)){Se.stop(),St(Ft);return}if(Ft.type==="INITIAL_PUBLISH"){St(Ft);var qt=We.getState();qt.phase==="DRAGGING"||ve(!1),Se.start(qt);return}St(Ft),Se.scroll(We.getState())}}}},ca=function(Se){return function(We){return function(St){if(We(St),St.type!=="PUBLISH_WHILE_DRAGGING")return;var Ft=Se.getState();if(Ft.phase!=="DROP_PENDING")return;if(Ft.isWaiting)return;Se.dispatch(Vt({reason:Ft.reason}))}}},la=v.d,gi=function(Se){var We=Se.dimensionMarshal,St=Se.focusMarshal,Ft=Se.styleMarshal,qt=Se.getResponders,ar=Se.announce,lr=Se.autoScroller;return Object(v.e)(To,la(Object(v.a)(fn(Ft),Vi(We),rn(We),_i,Ai,Ii,ca,Aa(lr),Mi,Xi(St),$n(qt,ar))))},Ba=function(){return{additions:{},removals:{},modified:{}}};function Ma(ut){var Se=ut.registry,We=ut.callbacks,St=Ba(),Ft=null,qt=function(){if(Ft)return;We.collectionStarting(),Ft=requestAnimationFrame(function(){Ft=null,Wi();var Xr=St,Pr=Xr.additions,Fr=Xr.removals,Gr=Xr.modified,dn=Object.keys(Pr).map(function(ci){return Se.draggable.getById(ci).getDimension(fe)}).sort(function(ci,ii){return ci.descriptor.index-ii.descriptor.index}),pn=Object.keys(Gr).map(function(ci){var ii=Se.droppable.getById(ci),Zi=ii.callbacks.getScrollWhileDragging();return{droppableId:ci,scroll:Zi}}),ei={additions:dn,removals:Object.keys(Fr),modified:pn};St=Ba(),Co(),We.publish(ei)})},ar=function(Xr){var Pr=Xr.descriptor.id;St.additions[Pr]=Xr,St.modified[Xr.descriptor.droppableId]=!0,St.removals[Pr]&&delete St.removals[Pr],qt()},lr=function(Xr){var Pr=Xr.descriptor;St.removals[Pr.id]=!0,St.modified[Pr.droppableId]=!0,St.additions[Pr.id]&&delete St.additions[Pr.id],qt()},yr=function(){if(!Ft)return;cancelAnimationFrame(Ft),Ft=null,St=Ba()};return{add:ar,remove:lr,stop:yr}}var ra=function(Se){var We=Se.scrollHeight,St=Se.scrollWidth,Ft=Se.height,qt=Se.width,ar=Le({x:St,y:We},{x:qt,y:Ft}),lr={x:Math.max(0,ar.x),y:Math.max(0,ar.y)};return lr},Yi=function(){var Se=document.documentElement;return Se||ve(!1),Se},Xa=function(){var Se=Yi(),We=ra({scrollHeight:Se.scrollHeight,scrollWidth:Se.scrollWidth,width:Se.clientWidth,height:Se.clientHeight});return We},zi=function(){var Se=Un(),We=Xa(),St=Se.y,Ft=Se.x,qt=Yi(),ar=qt.clientWidth,lr=qt.clientHeight,yr=Ft+ar,Vr=St+lr,Xr=n({top:St,left:Ft,right:yr,bottom:Vr}),Pr={frame:Xr,scroll:{initial:Se,current:Se,max:We,diff:{value:fe,displacement:fe}}};return Pr},Ki=function(Se){var We=Se.critical,St=Se.scrollOptions,Ft=Se.registry;Wi();var qt=zi(),ar=qt.scroll.current,lr=We.droppable,yr=Ft.droppable.getAllByType(lr.type).map(function(Fr){return Fr.callbacks.getDimensionAndWatchScroll(ar,St)}),Vr=Ft.draggable.getAllByType(We.draggable.type).map(function(Fr){return Fr.getDimension(ar)}),Xr={draggables:Jt(Vr),droppables:Te(yr)};Co();var Pr={dimensions:Xr,critical:We,viewport:qt};return Pr};function ba(ut,Se,We){if(We.descriptor.id===Se.id)return!1;if(We.descriptor.type!==Se.type)return!1;var St=ut.droppable.getById(We.descriptor.droppableId);return!(St.descriptor.mode!=="virtual")}var Ua=function(Se,We){var St=null,Ft=Ma({callbacks:{publish:We.publishWhileDragging,collectionStarting:We.collectionStarting},registry:Se}),qt=function(dn,pn){if(Se.droppable.exists(dn)||ve(!1),!St)return;We.updateDroppableIsEnabled({id:dn,isEnabled:pn})},ar=function(dn,pn){if(!St)return;Se.droppable.exists(dn)||ve(!1),We.updateDroppableIsCombineEnabled({id:dn,isCombineEnabled:pn})},lr=function(dn,pn){if(!St)return;Se.droppable.exists(dn)||ve(!1),We.updateDroppableScroll({id:dn,newScroll:pn})},yr=function(dn,pn){if(!St)return;Se.droppable.getById(dn).callbacks.scroll(pn)},Vr=function(){if(!St)return;Ft.stop();var dn=St.critical.droppable;Se.droppable.getAllByType(dn.type).forEach(function(pn){return pn.callbacks.dragStopped()}),St.unsubscribe(),St=null},Xr=function(dn){St||ve(!1);var pn=St.critical.draggable;dn.type==="ADDITION"&&(ba(Se,pn,dn.value)&&Ft.add(dn.value)),dn.type==="REMOVAL"&&(ba(Se,pn,dn.value)&&Ft.remove(dn.value))},Pr=function(dn){St&&ve(!1);var pn=Se.draggable.getById(dn.draggableId),ei=Se.droppable.getById(pn.descriptor.droppableId),ci={draggable:pn.descriptor,droppable:ei.descriptor},ii=Se.subscribe(Xr);return St={critical:ci,unsubscribe:ii},Ki({critical:ci,registry:Se,scrollOptions:dn.scrollOptions})},Fr={updateDroppableIsEnabled:qt,updateDroppableIsCombineEnabled:ar,scrollDroppable:yr,updateDroppableScroll:lr,startPublishing:Pr,stopPublishing:Vr};return Fr},wa=function(Se,We){return Se.phase==="IDLE"?!0:Se.phase!=="DROP_ANIMATING"||Se.completed.result.draggableId===We?!1:Se.completed.result.reason==="DROP"},vi=function(Se){window.scrollBy(Se.x,Se.y)},Ya=b(function(ut){return mt(ut).filter(function(Se){return Se.isEnabled?!!Se.frame:!1})}),za=function(Se,We){var St=lt(Ya(We),function(Ft){return Ft.frame||ve(!1),Yn(Ft.frame.pageMarginBox)(Se)});return St},pa=function(Se){var We=Se.center,St=Se.destination,Ft=Se.droppables;if(St){var qt=Ft[St];return qt.frame?qt:null}var ar=za(We,Ft);return ar},Oi={startFromPercentage:.25,maxScrollAtPercentage:.05,maxPixelScroll:28,ease:function(Se){return Math.pow(Se,2)},durationDampening:{stopDampeningAt:1200,accelerateAt:360}},So=function(Se,We){var St=Se[We.size]*Oi.startFromPercentage,Ft=Se[We.size]*Oi.maxScrollAtPercentage,qt={startScrollingFrom:St,maxScrollValueAt:Ft};return qt},Ka=function(Se){var We=Se.startOfRange,St=Se.endOfRange,Ft=Se.current,qt=St-We;if(qt===0)return 0;var ar=Ft-We,lr=ar/qt;return lr},ja=1,qa=function(Se,We){if(Se>We.startScrollingFrom)return 0;if(Se<=We.maxScrollValueAt)return Oi.maxPixelScroll;if(Se===We.startScrollingFrom)return ja;var St=Ka({startOfRange:We.maxScrollValueAt,endOfRange:We.startScrollingFrom,current:Se}),Ft=1-St,qt=Oi.maxPixelScroll*Oi.ease(Ft);return Math.ceil(qt)},ho=Oi.durationDampening.accelerateAt,Ca=Oi.durationDampening.stopDampeningAt,to=function(Se,We){var St=We,Ft=Ca,qt=Date.now(),ar=qt-St;if(ar>=Ca)return Se;if(ar<ho)return ja;var lr=Ka({startOfRange:ho,endOfRange:Ft,current:ar}),yr=Se*Oi.ease(lr);return Math.ceil(yr)},_o=function(Se){var We=Se.distanceToEdge,St=Se.thresholds,Ft=Se.dragStartTime,qt=Se.shouldUseTimeDampening,ar=qa(We,St);return ar===0?0:qt?Math.max(to(ar,Ft),ja):ar},Ia=function(Se){var We=Se.container,St=Se.distanceToEdges,Ft=Se.dragStartTime,qt=Se.axis,ar=Se.shouldUseTimeDampening,lr=So(We,qt),yr=St[qt.end]<St[qt.start];return yr?_o({distanceToEdge:St[qt.end],thresholds:lr,dragStartTime:Ft,shouldUseTimeDampening:ar}):-1*_o({distanceToEdge:St[qt.start],thresholds:lr,dragStartTime:Ft,shouldUseTimeDampening:ar})},ki=function(Se){var We=Se.container,St=Se.subject,Ft=Se.proposedScroll,qt=St.height>We.height,ar=St.width>We.width;return!ar&&!qt?Ft:ar&&qt?null:{x:ar?0:Ft.x,y:qt?0:Ft.y}},Za=ze(function(ut){return ut===0?0:ut}),Da=function(Se){var We=Se.dragStartTime,St=Se.container,Ft=Se.subject,qt=Se.center,ar=Se.shouldUseTimeDampening,lr={top:qt.y-St.top,right:St.right-qt.x,bottom:St.bottom-qt.y,left:qt.x-St.left},yr=Ia({container:St,distanceToEdges:lr,dragStartTime:We,axis:Ke,shouldUseTimeDampening:ar}),Vr=Ia({container:St,distanceToEdges:lr,dragStartTime:We,axis:ct,shouldUseTimeDampening:ar}),Xr=Za({x:Vr,y:yr});if(he(Xr,fe))return null;var Pr=ki({container:St,subject:Ft,proposedScroll:Xr});return Pr?he(Pr,fe)?null:Pr:null},pi=ze(function(ut){return ut===0?0:ut>0?1:-1}),Gi=function(){var ut=function(We,St){return We<0?We:We>St?We-St:0};return function(Se){var We=Se.current,St=Se.max,Ft=Se.change,qt=oe(We,Ft),ar={x:ut(qt.x,St.x),y:ut(qt.y,St.y)};return he(ar,fe)?null:ar}}(),oo=function(Se){var We=Se.max,St=Se.current,Ft=Se.change,qt={x:Math.max(St.x,We.x),y:Math.max(St.y,We.y)},ar=pi(Ft),lr=Gi({max:qt,current:St,change:ar});return lr?ar.x!==0&&lr.x===0?!0:ar.y!==0&&lr.y===0:!0},go=function(Se,We){return oo({current:Se.scroll.current,max:Se.scroll.max,change:We})},fo=function(Se,We){if(!go(Se,We))return null;var St=Se.scroll.max,Ft=Se.scroll.current;return Gi({current:Ft,max:St,change:We})},Ta=function(Se,We){var St=Se.frame;return St?oo({current:St.scroll.current,max:St.scroll.max,change:We}):!1},Fi=function(Se,We){var St=Se.frame;return St&&Ta(Se,We)?Gi({current:St.scroll.current,max:St.scroll.max,change:We}):null},Ra=function(Se){var We=Se.viewport,St=Se.subject,Ft=Se.center,qt=Se.dragStartTime,ar=Se.shouldUseTimeDampening,lr=Da({dragStartTime:qt,container:We.frame,subject:St,center:Ft,shouldUseTimeDampening:ar});return lr&&go(We,lr)?lr:null},Vo=function(Se){var We=Se.droppable,St=Se.subject,Ft=Se.center,qt=Se.dragStartTime,ar=Se.shouldUseTimeDampening,lr=We.frame;if(!lr)return null;var yr=Da({dragStartTime:qt,container:lr.pageMarginBox,subject:St,center:Ft,shouldUseTimeDampening:ar});return yr&&Ta(We,yr)?yr:null},ro=function(Se){var We=Se.state,St=Se.dragStartTime,Ft=Se.shouldUseTimeDampening,qt=Se.scrollWindow,ar=Se.scrollDroppable,lr=We.current.page.borderBoxCenter,yr=We.dimensions.draggables[We.critical.draggable.id],Vr=yr.page.marginBox;if(We.isWindowScrollAllowed){var Xr=We.viewport,Pr=Ra({dragStartTime:St,viewport:Xr,subject:Vr,center:lr,shouldUseTimeDampening:Ft});if(Pr){qt(Pr);return}}var Fr=pa({center:lr,destination:gn(We.impact),droppables:We.dimensions.droppables});if(!Fr)return;var Gr=Vo({dragStartTime:St,droppable:Fr,subject:Vr,center:lr,shouldUseTimeDampening:Ft});Gr&&ar(Fr.descriptor.id,Gr)},vo=function(Se){var We=Se.scrollWindow,St=Se.scrollDroppable,Ft=I(We),qt=I(St),ar=null,lr=function(Pr){ar||ve(!1);var Fr=ar,Gr=Fr.shouldUseTimeDampening,dn=Fr.dragStartTime;ro({state:Pr,scrollWindow:Ft,scrollDroppable:qt,dragStartTime:dn,shouldUseTimeDampening:Gr})},yr=function(Pr){Wi(),ar&&ve(!1);var Fr=Date.now(),Gr=!1,dn=function(){Gr=!0};ro({state:Pr,dragStartTime:0,shouldUseTimeDampening:!1,scrollWindow:dn,scrollDroppable:dn}),ar={dragStartTime:Fr,shouldUseTimeDampening:Gr},Co(),Gr&&lr(Pr)},Vr=function(){if(!ar)return;Ft.cancel(),qt.cancel(),ar=null};return{start:yr,stop:Vr,scroll:lr}},po=function(Se){var We=Se.move,St=Se.scrollDroppable,Ft=Se.scrollWindow,qt=function(Xr,Pr){var Fr=oe(Xr.current.client.selection,Pr);We({client:Fr})},ar=function(Xr,Pr){if(!Ta(Xr,Pr))return Pr;var Fr=Fi(Xr,Pr);if(!Fr)return St(Xr.descriptor.id,Pr),null;var Gr=Le(Pr,Fr);St(Xr.descriptor.id,Gr);var dn=Le(Pr,Gr);return dn},lr=function(Xr,Pr,Fr){if(!Xr)return Fr;if(!go(Pr,Fr))return Fr;var Gr=fo(Pr,Fr);if(!Gr)return Ft(Fr),null;var dn=Le(Fr,Gr);Ft(dn);var pn=Le(Fr,dn);return pn},yr=function(Xr){var Pr=Xr.scrollJumpRequest;if(!Pr)return;var Fr=gn(Xr.impact);Fr||ve(!1);var Gr=ar(Xr.dimensions.droppables[Fr],Pr);if(!Gr)return;var dn=Xr.viewport,pn=lr(Xr.isWindowScrollAllowed,dn,Gr);if(!pn)return;qt(Xr,pn)};return yr},Ji=function(Se){var We=Se.scrollDroppable,St=Se.scrollWindow,Ft=Se.move,qt=vo({scrollWindow:St,scrollDroppable:We}),ar=po({move:Ft,scrollWindow:St,scrollDroppable:We}),lr=function(Xr){if(Xr.phase!=="DRAGGING")return;if(Xr.movementMode==="FLUID"){qt.scroll(Xr);return}if(!Xr.scrollJumpRequest)return;ar(Xr)},yr={scroll:lr,start:qt.start,stop:qt.stop};return yr},xo="data-rbd",is=function(){var ut=xo+"-drag-handle";return{base:ut,draggableId:ut+"-draggable-id",contextId:ut+"-context-id"}}(),Zo=function(){var ut=xo+"-draggable";return{base:ut,contextId:ut+"-context-id",id:ut+"-id"}}(),Ls=function(){var ut=xo+"-droppable";return{base:ut,contextId:ut+"-context-id",id:ut+"-id"}}(),Cs={contextId:xo+"-scroll-container-context-id"},Ts=function(Se){return function(We){return"["+We+'="'+Se+'"]'}},Go=function(Se,We){return Se.map(function(St){var Ft=St.styles[We];return Ft?St.selector+" { "+Ft+" }":""}).join(" ")},bo="pointer-events: none;",Ja=function(Se){var We=Ts(Se),St=function(){var yr=`
|
|
|
cursor: -webkit-grab;
|
|
|
cursor: grab;
|
|
|
`;return{selector:We(is.contextId),styles:{always:`
|
|
|
-webkit-touch-callout: none;
|
|
|
-webkit-tap-highlight-color: rgba(0,0,0,0);
|
|
|
touch-action: manipulation;
|
|
|
`,resting:yr,dragging:bo,dropAnimating:yr}}}(),Ft=function(){var yr=`
|
|
|
transition: `+Mn.outOfTheWay+`;
|
|
|
`;return{selector:We(Zo.contextId),styles:{dragging:yr,dropAnimating:yr,userCancel:yr}}}(),qt={selector:We(Ls.contextId),styles:{always:"overflow-anchor: none;"}},ar={selector:"body",styles:{dragging:`
|
|
|
cursor: grabbing;
|
|
|
cursor: -webkit-grabbing;
|
|
|
user-select: none;
|
|
|
-webkit-user-select: none;
|
|
|
-moz-user-select: none;
|
|
|
-ms-user-select: none;
|
|
|
overflow-anchor: none;
|
|
|
`}},lr=[Ft,St,qt,ar];return{always:Go(lr,"always"),resting:Go(lr,"resting"),dragging:Go(lr,"dragging"),dropAnimating:Go(lr,"dropAnimating"),userCancel:Go(lr,"userCancel")}},Ga=typeof window!="undefined"&&typeof window.document!="undefined"&&typeof window.document.createElement!="undefined"?g.useLayoutEffect:g.useEffect,so=function(){var Se=document.querySelector("head");return Se||ve(!1),Se},ps=function(Se){var We=document.createElement("style");return Se&&We.setAttribute("nonce",Se),We.type="text/css",We};function Sr(ut,Se){var We=r(function(){return Ja(ut)},[ut]),St=Object(g.useRef)(null),Ft=Object(g.useRef)(null),qt=o(b(function(Pr){var Fr=Ft.current;Fr||ve(!1),Fr.textContent=Pr}),[]),ar=o(function(Pr){var Fr=St.current;Fr||ve(!1),Fr.textContent=Pr},[]);Ga(function(){!St.current&&!Ft.current||ve(!1);var Pr=ps(Se),Fr=ps(Se);return St.current=Pr,Ft.current=Fr,Pr.setAttribute(xo+"-always",ut),Fr.setAttribute(xo+"-dynamic",ut),so().appendChild(Pr),so().appendChild(Fr),ar(We.always),qt(We.resting),function(){var Gr=function(pn){var ei=pn.current;ei||ve(!1),so().removeChild(ei),pn.current=null};Gr(St),Gr(Ft)}},[Se,ar,qt,We.always,We.resting,ut]);var lr=o(function(){return qt(We.dragging)},[qt,We.dragging]),yr=o(function(Pr){if(Pr==="DROP"){qt(We.dropAnimating);return}qt(We.userCancel)},[qt,We.dropAnimating,We.userCancel]),Vr=o(function(){if(!Ft.current)return;qt(We.resting)},[qt,We.resting]),Xr=r(function(){return{dragging:lr,dropping:yr,resting:Vr}},[lr,yr,Vr]);return Xr}var Xo=function(Se){return Se&&Se.ownerDocument?Se.ownerDocument.defaultView:window};function ss(ut){return ut instanceof Xo(ut).HTMLElement}function _s(ut,Se){var We="["+is.contextId+'="'+ut+'"]',St=Ze(document.querySelectorAll(We));if(!St.length)return null;var Ft=lt(St,function(qt){return qt.getAttribute(is.draggableId)===Se});return Ft&&ss(Ft)?Ft:null}function ka(ut){var Se=Object(g.useRef)({}),We=Object(g.useRef)(null),St=Object(g.useRef)(null),Ft=Object(g.useRef)(!1),qt=o(function(Fr,Gr){var dn={id:Fr,focus:Gr};return Se.current[Fr]=dn,function(){var ei=Se.current,ci=ei[Fr];ci!==dn&&delete ei[Fr]}},[]),ar=o(function(Fr){var Gr=_s(ut,Fr);Gr&&Gr!==document.activeElement&&Gr.focus()},[ut]),lr=o(function(Fr,Gr){We.current===Fr&&(We.current=Gr)},[]),yr=o(function(){if(St.current)return;if(!Ft.current)return;St.current=requestAnimationFrame(function(){St.current=null;var Fr=We.current;Fr&&ar(Fr)})},[ar]),Vr=o(function(Fr){We.current=null;var Gr=document.activeElement;if(!Gr)return;if(Gr.getAttribute(is.draggableId)!==Fr)return;We.current=Fr},[]);Ga(function(){return Ft.current=!0,function(){Ft.current=!1;var Fr=St.current;Fr&&cancelAnimationFrame(Fr)}},[]);var Xr=r(function(){return{register:qt,tryRecordFocus:Vr,tryRestoreFocusRecorded:yr,tryShiftRecord:lr}},[qt,Vr,yr,lr]);return Xr}function _a(){var ut={draggables:{},droppables:{}},Se=[];function We(Pr){return Se.push(Pr),function(){var Gr=Se.indexOf(Pr);if(Gr===-1)return;Se.splice(Gr,1)}}function St(Pr){Se.length&&Se.forEach(function(Fr){return Fr(Pr)})}function Ft(Pr){return ut.draggables[Pr]||null}function qt(Pr){var Fr=Ft(Pr);return Fr||ve(!1),Fr}var ar={register:function(Fr){ut.draggables[Fr.descriptor.id]=Fr,St({type:"ADDITION",value:Fr})},update:function(Fr,Gr){var dn=ut.draggables[Gr.descriptor.id];if(!dn)return;if(dn.uniqueId!==Fr.uniqueId)return;delete ut.draggables[Gr.descriptor.id],ut.draggables[Fr.descriptor.id]=Fr},unregister:function(Fr){var Gr=Fr.descriptor.id,dn=Ft(Gr);if(!dn)return;if(Fr.uniqueId!==dn.uniqueId)return;delete ut.draggables[Gr],St({type:"REMOVAL",value:Fr})},getById:qt,findById:Ft,exists:function(Fr){return Boolean(Ft(Fr))},getAllByType:function(Fr){return le(ut.draggables).filter(function(Gr){return Gr.descriptor.type===Fr})}};function lr(Pr){return ut.droppables[Pr]||null}function yr(Pr){var Fr=lr(Pr);return Fr||ve(!1),Fr}var Vr={register:function(Fr){ut.droppables[Fr.descriptor.id]=Fr},unregister:function(Fr){var Gr=lr(Fr.descriptor.id);if(!Gr)return;if(Fr.uniqueId!==Gr.uniqueId)return;delete ut.droppables[Fr.descriptor.id]},getById:yr,findById:lr,exists:function(Fr){return Boolean(lr(Fr))},getAllByType:function(Fr){return le(ut.droppables).filter(function(Gr){return Gr.descriptor.type===Fr})}};function Xr(){ut.draggables={},ut.droppables={},Se.length=0}return{draggable:ar,droppable:Vr,subscribe:We,clean:Xr}}function Oo(){var ut=r(_a,[]);return Object(g.useEffect)(function(){return function(){requestAnimationFrame(ut.clean)}},[ut]),ut}var Io=f.a.createContext(null),ts=function(){var Se=document.body;return Se||ve(!1),Se},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(Se){return"rbd-announcement-"+Se};function ms(ut){var Se=r(function(){return rs(ut)},[ut]),We=Object(g.useRef)(null);Object(g.useEffect)(function(){var qt=document.createElement("div");return We.current=qt,qt.id=Se,qt.setAttribute("aria-live","assertive"),qt.setAttribute("aria-atomic","true"),Object(m.a)(qt.style,Po),ts().appendChild(qt),function(){setTimeout(function(){var yr=ts();yr.contains(qt)&&yr.removeChild(qt),qt===We.current&&(We.current=null)})}},[Se]);var St=o(function(Ft){var qt=We.current;if(qt){qt.textContent=Ft;return}},[]);return St}var ls=0,Ns={separator:"::"};function Ds(){ls=0}function as(ut,Se){return Se===void 0&&(Se=Ns),r(function(){return""+ut+Se.separator+ls++},[Se.separator,ut])}function $s(ut){var Se=ut.contextId,We=ut.uniqueId;return"rbd-hidden-text-"+Se+"-"+We}function cs(ut){var Se=ut.contextId,We=ut.text,St=as("hidden-text",{separator:"-"}),Ft=r(function(){return $s({contextId:Se,uniqueId:St})},[St,Se]);return Object(g.useEffect)(function(){var ar=document.createElement("div");return ar.id=Ft,ar.textContent=We,ar.style.display="none",ts().appendChild(ar),function(){var yr=ts();yr.contains(ar)&&yr.removeChild(ar)}},[Ft,We]),Ft}var Mo=f.a.createContext(null),Dn={react:"^16.8.5","react-dom":"^16.8.5"},Vs=/(\d+)\.(\d+)\.(\d+)/,Os=function(Se){var We=Vs.exec(Se);We!=null||ve(!1);var St=Number(We[1]),Ft=Number(We[2]),qt=Number(We[3]);return{major:St,minor:Ft,patch:qt,raw:Se}},Bt=function(Se,We){return We.major>Se.major?!0:We.major<Se.major?!1:We.minor>Se.minor?!0:We.minor<Se.minor?!1:We.patch>=Se.patch},pe=function(Se,We){var St=Os(Se),Ft=Os(We);if(Bt(St,Ft))return},Ie=`
|
|
|
We expect a html5 doctype: <!doctype html>
|
|
|
This is to ensure consistent browser layout and measurement
|
|
|
|
|
|
More information: https://github.com/atlassian/react-beautiful-dnd/blob/master/docs/guides/doctype.md
|
|
|
`,Ne=function(Se){var We=Se.doctype;if(!We)return;We.name.toLowerCase()!=="html",We.publicId!==""};function Qe(ut){}function Ct(ut,Se){Qe(function(){Object(g.useEffect)(function(){try{ut()}catch(We){W(`
|
|
|
A setup problem was encountered.
|
|
|
|
|
|
> `+We.message+`
|
|
|
`)}},Se)})}function Ut(){Ct(function(){pe(Dn.react,f.a.version),Ne(document)},[])}function hr(ut){var Se=Object(g.useRef)(ut);return Object(g.useEffect)(function(){Se.current=ut}),Se}function gr(){var ut=null;function Se(){return Boolean(ut)}function We(ar){return ar===ut}function St(ar){ut&&ve(!1);var lr={abandon:ar};return ut=lr,lr}function Ft(){ut||ve(!1),ut=null}function qt(){ut&&(ut.abandon(),Ft())}return{isClaimed:Se,isActive:We,claim:St,release:Ft,tryAbandon:qt}}var Rr=9,$r=13,ln=27,yn=32,Cn=33,Qn=34,ti=35,wi=36,ea=37,ji=38,Sa=39,lo=40,Wa,yo=(Wa={},Wa[$r]=!0,Wa[Rr]=!0,Wa),Ao=function(Se){yo[Se.keyCode]&&Se.preventDefault()},$a=function(){var ut="visibilitychange";if(typeof document=="undefined")return ut;var Se=[ut,"ms"+ut,"webkit"+ut,"moz"+ut,"o"+ut],We=lt(Se,function(St){return"on"+St in document});return We||ut}(),ko=0,No=5;function Ha(ut,Se){return Math.abs(Se.x-ut.x)>=No||Math.abs(Se.y-ut.y)>=No}var jo={type:"IDLE"};function Fo(ut){var Se=ut.cancel,We=ut.completed,St=ut.getPhase,Ft=ut.setPhase;return[{eventName:"mousemove",fn:function(ar){var lr=ar.button,yr=ar.clientX,Vr=ar.clientY;if(lr!==ko)return;var Xr={x:yr,y:Vr},Pr=St();if(Pr.type==="DRAGGING"){ar.preventDefault(),Pr.actions.move(Xr);return}Pr.type==="PENDING"||ve(!1);var Fr=Pr.point;if(!Ha(Fr,Xr))return;ar.preventDefault();var Gr=Pr.actions.fluidLift(Xr);Ft({type:"DRAGGING",actions:Gr})}},{eventName:"mouseup",fn:function(ar){var lr=St();if(lr.type!=="DRAGGING"){Se();return}ar.preventDefault(),lr.actions.drop({shouldBlockNextClick:!0}),We()}},{eventName:"mousedown",fn:function(ar){St().type==="DRAGGING"&&ar.preventDefault(),Se()}},{eventName:"keydown",fn:function(ar){var lr=St();if(lr.type==="PENDING"){Se();return}if(ar.keyCode===ln){ar.preventDefault(),Se();return}Ao(ar)}},{eventName:"resize",fn:Se},{eventName:"scroll",options:{passive:!0,capture:!1},fn:function(){St().type==="PENDING"&&Se()}},{eventName:"webkitmouseforcedown",fn:function(ar){var lr=St();if(lr.type!=="IDLE"||ve(!1),lr.actions.shouldRespectForcePress()){Se();return}ar.preventDefault()}},{eventName:$a,fn:Se}]}function Qo(ut){var Se=Object(g.useRef)(jo),We=Object(g.useRef)(Y),St=r(function(){return{eventName:"mousedown",fn:function(Pr){if(Pr.defaultPrevented)return;if(Pr.button!==ko)return;if(Pr.ctrlKey||Pr.metaKey||Pr.shiftKey||Pr.altKey)return;var Fr=ut.findClosestDraggableId(Pr);if(!Fr)return;var Gr=ut.tryGetLock(Fr,ar,{sourceEvent:Pr});if(!Gr)return;Pr.preventDefault();var dn={x:Pr.clientX,y:Pr.clientY};We.current(),Vr(Gr,dn)}}},[ut]),Ft=r(function(){return{eventName:"webkitmouseforcewillbegin",fn:function(Pr){if(Pr.defaultPrevented)return;var Fr=ut.findClosestDraggableId(Pr);if(!Fr)return;var Gr=ut.findOptionsForDraggable(Fr);if(!Gr)return;if(Gr.shouldRespectForcePress)return;if(!ut.canGetLock(Fr))return;Pr.preventDefault()}}},[ut]),qt=o(function(){var Pr={passive:!1,capture:!0};We.current=me(window,[Ft,St],Pr)},[Ft,St]),ar=o(function(){var Xr=Se.current;if(Xr.type==="IDLE")return;Se.current=jo,We.current(),qt()},[qt]),lr=o(function(){var Xr=Se.current;ar(),Xr.type==="DRAGGING"&&Xr.actions.cancel({shouldBlockNextClick:!0}),Xr.type==="PENDING"&&Xr.actions.abort()},[ar]),yr=o(function(){var Pr={capture:!0,passive:!1},Fr=Fo({cancel:lr,completed:ar,getPhase:function(){return Se.current},setPhase:function(dn){Se.current=dn}});We.current=me(window,Fr,Pr)},[lr,ar]),Vr=o(function(Pr,Fr){Se.current.type==="IDLE"||ve(!1),Se.current={type:"PENDING",point:Fr,actions:Pr},yr()},[yr]);Ga(function(){return qt(),function(){We.current()}},[qt])}var wo;function us(){}var ns=(wo={},wo[Qn]=!0,wo[Cn]=!0,wo[wi]=!0,wo[ti]=!0,wo);function Xs(ut,Se){function We(){Se(),ut.cancel()}function St(){Se(),ut.drop()}return[{eventName:"keydown",fn:function(qt){if(qt.keyCode===ln){qt.preventDefault(),We();return}if(qt.keyCode===yn){qt.preventDefault(),St();return}if(qt.keyCode===lo){qt.preventDefault(),ut.moveDown();return}if(qt.keyCode===ji){qt.preventDefault(),ut.moveUp();return}if(qt.keyCode===Sa){qt.preventDefault(),ut.moveRight();return}if(qt.keyCode===ea){qt.preventDefault(),ut.moveLeft();return}if(ns[qt.keyCode]){qt.preventDefault();return}Ao(qt)}},{eventName:"mousedown",fn:We},{eventName:"mouseup",fn:We},{eventName:"click",fn:We},{eventName:"touchstart",fn:We},{eventName:"resize",fn:We},{eventName:"wheel",fn:We,options:{passive:!0}},{eventName:$a,fn:We}]}function Ys(ut){var Se=Object(g.useRef)(us),We=r(function(){return{eventName:"keydown",fn:function(qt){if(qt.defaultPrevented)return;if(qt.keyCode!==yn)return;var ar=ut.findClosestDraggableId(qt);if(!ar)return;var lr=ut.tryGetLock(ar,Xr,{sourceEvent:qt});if(!lr)return;qt.preventDefault();var yr=!0,Vr=lr.snapLift();Se.current();function Xr(){yr||ve(!1),yr=!1,Se.current(),St()}Se.current=me(window,Xs(Vr,Xr),{capture:!0,passive:!1})}}},[ut]),St=o(function(){var qt={passive:!1,capture:!0};Se.current=me(window,[We],qt)},[We]);Ga(function(){return St(),function(){Se.current()}},[St])}var Yo={type:"IDLE"},Eo=120,ds=.15;function hs(ut){var Se=ut.cancel,We=ut.getPhase;return[{eventName:"orientationchange",fn:Se},{eventName:"resize",fn:Se},{eventName:"contextmenu",fn:function(Ft){Ft.preventDefault()}},{eventName:"keydown",fn:function(Ft){if(We().type!=="DRAGGING"){Se();return}Ft.keyCode===ln&&Ft.preventDefault(),Se()}},{eventName:$a,fn:Se}]}function Rs(ut){var Se=ut.cancel,We=ut.completed,St=ut.getPhase;return[{eventName:"touchmove",options:{capture:!1},fn:function(qt){var ar=St();if(ar.type!=="DRAGGING"){Se();return}ar.hasMoved=!0;var lr=qt.touches[0],yr=lr.clientX,Vr=lr.clientY,Xr={x:yr,y:Vr};qt.preventDefault(),ar.actions.move(Xr)}},{eventName:"touchend",fn:function(qt){var ar=St();if(ar.type!=="DRAGGING"){Se();return}qt.preventDefault(),ar.actions.drop({shouldBlockNextClick:!0}),We()}},{eventName:"touchcancel",fn:function(qt){if(St().type!=="DRAGGING"){Se();return}qt.preventDefault(),Se()}},{eventName:"touchforcechange",fn:function(qt){var ar=St();ar.type!=="IDLE"||ve(!1);var lr=qt.touches[0];if(!lr)return;var yr=lr.force>=ds;if(!yr)return;var Vr=ar.actions.shouldRespectForcePress();if(ar.type==="PENDING"){Vr&&Se();return}if(Vr){if(ar.hasMoved){qt.preventDefault();return}Se();return}qt.preventDefault()}},{eventName:$a,fn:Se}]}function Do(ut){var Se=Object(g.useRef)(Yo),We=Object(g.useRef)(Y),St=o(function(){return Se.current},[]),Ft=o(function(Gr){Se.current=Gr},[]),qt=r(function(){return{eventName:"touchstart",fn:function(Gr){if(Gr.defaultPrevented)return;var dn=ut.findClosestDraggableId(Gr);if(!dn)return;var pn=ut.tryGetLock(dn,lr,{sourceEvent:Gr});if(!pn)return;var ei=Gr.touches[0],ci=ei.clientX,ii=ei.clientY,Zi={x:ci,y:ii};We.current(),Pr(pn,Zi)}}},[ut]),ar=o(function(){var Gr={capture:!0,passive:!1};We.current=me(window,[qt],Gr)},[qt]),lr=o(function(){var Fr=Se.current;if(Fr.type==="IDLE")return;Fr.type==="PENDING"&&clearTimeout(Fr.longPressTimerId),Ft(Yo),We.current(),ar()},[ar,Ft]),yr=o(function(){var Fr=Se.current;lr(),Fr.type==="DRAGGING"&&Fr.actions.cancel({shouldBlockNextClick:!0}),Fr.type==="PENDING"&&Fr.actions.abort()},[lr]),Vr=o(function(){var Gr={capture:!0,passive:!1},dn={cancel:yr,completed:lr,getPhase:St},pn=me(window,Rs(dn),Gr),ei=me(window,hs(dn),Gr);We.current=function(){pn(),ei()}},[yr,St,lr]),Xr=o(function(){var Gr=St();Gr.type==="PENDING"||ve(!1);var dn=Gr.actions.fluidLift(Gr.point);Ft({type:"DRAGGING",actions:dn,hasMoved:!1})},[St,Ft]),Pr=o(function(Gr,dn){St().type==="IDLE"||ve(!1);var pn=setTimeout(Xr,Eo);Ft({type:"PENDING",point:dn,actions:Gr,longPressTimerId:pn}),Vr()},[Vr,St,Ft,Xr]);Ga(function(){return ar(),function(){We.current();var dn=St();dn.type==="PENDING"&&(clearTimeout(dn.longPressTimerId),Ft(Yo))}},[St,ar,Ft]),Ga(function(){var Gr=me(window,[{eventName:"touchmove",fn:function(){},options:{capture:!1,passive:!1}}]);return Gr},[])}function ys(ut){Qe(function(){var Se=hr(ut);Ct(function(){Se.current.length===ut.length||ve(!1)})})}var Ms={input:!0,button:!0,textarea:!0,select:!0,option:!0,optgroup:!0,video:!0,audio:!0};function As(ut,Se){if(Se==null)return!1;var We=Boolean(Ms[Se.tagName.toLowerCase()]);if(We)return!0;var St=Se.getAttribute("contenteditable");return St==="true"||St===""?!0:Se===ut?!1:As(ut,Se.parentElement)}function ks(ut,Se){var We=Se.target;return ss(We)?As(ut,We):!1}var Hs=function(Se){return n(Se.getBoundingClientRect()).center};function bs(ut){return ut instanceof Xo(ut).Element}var ua=function(){var ut="matches";if(typeof document=="undefined")return ut;var Se=[ut,"msMatchesSelector","webkitMatchesSelector"],We=lt(Se,function(St){return St in Element.prototype});return We||ut}();function ui(ut,Se){return ut==null?null:ut[ua](Se)?ut:ui(ut.parentElement,Se)}function Pi(ut,Se){return ut.closest?ut.closest(Se):ui(ut,Se)}function Wn(ut){return"["+is.contextId+'="'+ut+'"]'}function io(ut,Se){var We=Se.target;if(!bs(We))return null;var St=Wn(ut),Ft=Pi(We,St);return Ft&&ss(Ft)?Ft:null}function qo(ut,Se){var We=io(ut,Se);return We?We.getAttribute(is.draggableId):null}function gs(ut,Se){var We="["+Zo.contextId+'="'+ut+'"]',St=Ze(document.querySelectorAll(We)),Ft=lt(St,function(qt){return qt.getAttribute(Zo.id)===Se});return Ft&&ss(Ft)?Ft:null}function os(ut){ut.preventDefault()}function Jo(ut){var Se=ut.expected,We=ut.phase,St=ut.isLockActive,Ft=ut.shouldWarn;return St()?!(Se!==We):!1}function $o(ut){var Se=ut.lockAPI,We=ut.store,St=ut.registry,Ft=ut.draggableId;if(Se.isClaimed())return!1;var qt=St.draggable.findById(Ft);return qt&&qt.options.isEnabled?!!wa(We.getState(),Ft):!1}function ws(ut){var Se=ut.lockAPI,We=ut.contextId,St=ut.store,Ft=ut.registry,qt=ut.draggableId,ar=ut.forceSensorStop,lr=ut.sourceEvent,yr=$o({lockAPI:Se,store:St,registry:Ft,draggableId:qt});if(!yr)return null;var Vr=Ft.draggable.getById(qt),Xr=gs(We,Vr.descriptor.id);if(!Xr)return null;if(lr&&!Vr.options.canDragInteractiveElements&&ks(Xr,lr))return null;var Pr=Se.claim(ar||Y),Fr="PRE_DRAG";function Gr(){return Vr.options.shouldRespectForcePress}function dn(){return Se.isActive(Pr)}function pn(Ei,co){Jo({expected:Ei,phase:Fr,isLockActive:dn,shouldWarn:!0})&&St.dispatch(co())}var ei=pn.bind(null,"DRAGGING");function ci(Ei){function co(){Se.release(),Fr="COMPLETED"}Fr!=="PRE_DRAG"&&(co(),Fr==="PRE_DRAG"||ve(!1)),St.dispatch(rr(Ei.liftActionArgs)),Fr="DRAGGING";function zo(ao,Uo){if(Uo===void 0&&(Uo={shouldBlockNextClick:!1}),Ei.cleanup(),Uo.shouldBlockNextClick){var L=me(window,[{eventName:"click",fn:os,options:{once:!0,passive:!1,capture:!0}}]);setTimeout(L)}co(),St.dispatch(Vt({reason:ao}))}return Object(m.a)({isActive:function(){return Jo({expected:"DRAGGING",phase:Fr,isLockActive:dn,shouldWarn:!1})},shouldRespectForcePress:Gr,drop:function(Uo){return zo("DROP",Uo)},cancel:function(Uo){return zo("CANCEL",Uo)}},Ei.actions)}function ii(Ei){var co=I(function(ao){ei(function(){return Zt({client:ao})})}),zo=ci({liftActionArgs:{id:qt,clientSelection:Ei,movementMode:"FLUID"},cleanup:function(){return co.cancel()},actions:{move:co}});return Object(m.a)({},zo,{move:co})}function Zi(){var Ei={moveUp:function(){return ei(wr)},moveRight:function(){return ei(Kr)},moveDown:function(){return ei(Er)},moveLeft:function(){return ei(Zr)}};return ci({liftActionArgs:{id:qt,clientSelection:Hs(Xr),movementMode:"SNAP"},cleanup:Y,actions:Ei})}function Si(){var Ei=Jo({expected:"PRE_DRAG",phase:Fr,isLockActive:dn,shouldWarn:!0});Ei&&Se.release()}var Va={isActive:function(){return Jo({expected:"PRE_DRAG",phase:Fr,isLockActive:dn,shouldWarn:!1})},shouldRespectForcePress:Gr,fluidLift:ii,snapLift:Zi,abort:Si};return Va}var Ho=[Qo,Ys,Do];function ll(ut){var Se=ut.contextId,We=ut.store,St=ut.registry,Ft=ut.customSensors,qt=ut.enableDefaultSensors,ar=[].concat(qt?Ho:[],Ft||[]),lr=Object(g.useState)(function(){return gr()})[0],yr=o(function(ii,Zi){ii.isDragging&&!Zi.isDragging&&lr.tryAbandon()},[lr]);Ga(function(){var ii=We.getState(),Zi=We.subscribe(function(){var Si=We.getState();yr(ii,Si),ii=Si});return Zi},[lr,We,yr]),Ga(function(){return lr.tryAbandon},[lr.tryAbandon]);var Vr=o(function(ci){return $o({lockAPI:lr,registry:St,store:We,draggableId:ci})},[lr,St,We]),Xr=o(function(ci,ii,Zi){return ws({lockAPI:lr,registry:St,contextId:Se,store:We,draggableId:ci,forceSensorStop:ii,sourceEvent:Zi&&Zi.sourceEvent?Zi.sourceEvent:null})},[Se,lr,St,We]),Pr=o(function(ci){return qo(Se,ci)},[Se]),Fr=o(function(ci){var ii=St.draggable.findById(ci);return ii?ii.options:null},[St.draggable]),Gr=o(function(){if(!lr.isClaimed())return;lr.tryAbandon(),We.getState().phase!=="IDLE"&&We.dispatch(Jr())},[lr,We]),dn=o(lr.isClaimed,[lr]),pn=r(function(){return{canGetLock:Vr,tryGetLock:Xr,findClosestDraggableId:Pr,findOptionsForDraggable:Fr,tryReleaseLock:Gr,isLockClaimed:dn}},[Vr,Xr,Pr,Fr,Gr,dn]);ys(ar);for(var ei=0;ei<ar.length;ei++)ar[ei](pn)}var jl=function(Se){return{onBeforeCapture:Se.onBeforeCapture,onBeforeDragStart:Se.onBeforeDragStart,onDragStart:Se.onDragStart,onDragEnd:Se.onDragEnd,onDragUpdate:Se.onDragUpdate}};function cl(ut){return ut.current||ve(!1),ut.current}function Nl(ut){var Se=ut.contextId,We=ut.setCallbacks,St=ut.sensors,Ft=ut.nonce,qt=ut.dragHandleUsageInstructions,ar=Object(g.useRef)(null);Ut();var lr=hr(ut),yr=o(function(){return jl(lr.current)},[lr]),Vr=ms(Se),Xr=cs({contextId:Se,text:qt}),Pr=Sr(Se,Ft),Fr=o(function(ao){cl(ar).dispatch(ao)},[]),Gr=r(function(){return Object(v.b)({publishWhileDragging:Br,updateDroppableScroll:hn,updateDroppableIsEnabled:it,updateDroppableIsCombineEnabled:jt,collectionStarting:Wr},Fr)},[Fr]),dn=Oo(),pn=r(function(){return Ua(dn,Gr)},[dn,Gr]),ei=r(function(){return Ji(Object(m.a)({scrollWindow:vi,scrollDroppable:pn.scrollDroppable},Object(v.b)({move:Zt},Fr)))},[pn.scrollDroppable,Fr]),ci=ka(Se),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 Zi=o(function(){var ao=cl(ar),Uo=ao.getState();Uo.phase!=="IDLE"&&ao.dispatch(Jr())},[]),Si=o(function(){var ao=cl(ar).getState();return ao.isDragging||ao.phase==="DROP_ANIMATING"},[]),Va=r(function(){return{isDragging:Si,tryAbort:Zi}},[Si,Zi]);We(Va);var Ei=o(function(ao){return wa(cl(ar).getState(),ao)},[]),co=o(function(){return qn(cl(ar).getState())},[]),zo=r(function(){return{marshal:pn,focus:ci,contextId:Se,canLift:Ei,isMovementAllowed:co,dragHandleUsageInstructionsId:Xr,registry:dn}},[Se,pn,Xr,ci,Ei,co,dn]);return ll({contextId:Se,store:ii,registry:dn,customSensors:St,enableDefaultSensors:ut.enableDefaultSensors!==!1}),Object(g.useEffect)(function(){return Zi},[Zi]),f.a.createElement(Mo.Provider,{value:zo},f.a.createElement(h.a,{context:Io,store:ii},ut.children))}var Is=0;function Gs(){Is=0}function el(){return r(function(){return""+Is++},[])}function Hl(){Gs(),Ds()}function zl(ut){var Se=el(),We=ut.dragHandleUsageInstructions||J.dragHandleUsageInstructions;return f.a.createElement(Ue,null,function(St){return f.a.createElement(Nl,{nonce:ut.nonce,contextId:Se,setCallbacks:St,dragHandleUsageInstructions:We,enableDefaultSensors:ut.enableDefaultSensors,sensors:ut.sensors,onBeforeCapture:ut.onBeforeCapture,onBeforeDragStart:ut.onBeforeDragStart,onDragStart:ut.onDragStart,onDragUpdate:ut.onDragUpdate,onDragEnd:ut.onDragEnd},ut.children)})}var Dl=function(Se){return function(We){return Se===We}},nc=Dl("scroll"),ic=Dl("auto"),es=Dl("visible"),tl=function(Se,We){return We(Se.overflowX)||We(Se.overflowY)},ac=function(Se,We){return We(Se.overflowX)&&We(Se.overflowY)},Rl=function(Se){var We=window.getComputedStyle(Se),St={overflowX:We.overflowX,overflowY:We.overflowY};return tl(St,nc)||tl(St,ic)},Ml=function(){return!1;var Se,We;if(!Rl(Se))return!1;var St,Ft;if(ac(Ft,es))return!1},bl=function ut(Se){return Se==null?null:Se===document.body?Ml()?Se:null:Se===document.documentElement?null:Rl(Se)?Se:ut(Se.parentElement)},Kl=function(Se){if(!Se)return;var We=bl(Se.parentElement);if(!We)return},ul=function(Se){return{x:Se.scrollLeft,y:Se.scrollTop}},Wl=function ut(Se){if(!Se)return!1;var We=window.getComputedStyle(Se);return We.position==="fixed"?!0:ut(Se.parentElement)},oc=function(Se){var We=bl(Se),St=Wl(Se);return{closestScrollable:We,isFixedOnPage:St}},sc=function(Se){var We=Se.descriptor,St=Se.isEnabled,Ft=Se.isCombineEnabled,qt=Se.isFixedOnPage,ar=Se.direction,lr=Se.client,yr=Se.page,Vr=Se.closest,Xr=function(){if(!Vr)return null;var dn=Vr.scrollSize,pn=Vr.client,ei=ra({scrollHeight:dn.scrollHeight,scrollWidth:dn.scrollWidth,height:pn.paddingBox.height,width:pn.paddingBox.width});return{pageMarginBox:Vr.page.marginBox,frameClient:pn,scrollSize:dn,shouldClipSubject:Vr.shouldClipSubject,scroll:{initial:Vr.scroll,current:Vr.scroll,max:ei,diff:{value:fe,displacement:fe}}}}(),Pr=ar==="vertical"?Ke:ct,Fr=et({page:yr,withPlaceholder:null,axis:Pr,frame:Xr}),Gr={descriptor:We,isCombineEnabled:Ft,isFixedOnPage:qt,axis:Pr,isEnabled:St,client:lr,page:yr,frame:Xr,subject:Fr};return Gr},Fs=function(Se,We){var St=C(Se);if(!We)return St;if(Se!==We)return St;var Ft=St.paddingBox.top-We.scrollTop,qt=St.paddingBox.left-We.scrollLeft,ar=Ft+We.scrollHeight,lr=qt+We.scrollWidth,yr={top:Ft,right:lr,bottom:ar,left:qt},Vr=l(yr,St.border),Xr=p({borderBox:Vr,margin:St.margin,border:St.border,padding:St.padding});return Xr},rl=function(Se){var We=Se.ref,St=Se.descriptor,Ft=Se.env,qt=Se.windowScroll,ar=Se.direction,lr=Se.isDropDisabled,yr=Se.isCombineEnabled,Vr=Se.shouldClipSubject,Xr=Ft.closestScrollable,Pr=Fs(We,Xr),Fr=w(Pr,qt),Gr=function(){if(!Xr)return null;var pn=C(Xr),ei={scrollHeight:Xr.scrollHeight,scrollWidth:Xr.scrollWidth};return{client:pn,page:w(pn,qt),scroll:ul(Xr),scrollSize:ei,shouldClipSubject:Vr}}(),dn=sc({descriptor:St,isEnabled:!lr,isCombineEnabled:yr,isFixedOnPage:Ft.isFixedOnPage,direction:ar,client:Pr,page:Fr,closest:Gr});return dn},wl={passive:!1},dl={passive:!0},Ss=function(Se){return Se.shouldPublishImmediately?wl:dl};function zs(ut){var Se=Object(g.useContext)(ut);return Se||ve(!1),Se}var nl=function(Se){return Se&&Se.env.closestScrollable||null};function Bs(ut){var Se=Object(g.useRef)(null),We=zs(Mo),St=as("droppable"),Ft=We.registry,qt=We.marshal,ar=hr(ut),lr=r(function(){return{id:ut.droppableId,type:ut.type,mode:ut.mode}},[ut.droppableId,ut.mode,ut.type]),yr=Object(g.useRef)(lr),Vr=r(function(){return b(function(Si,Va){Se.current||ve(!1);var Ei={x:Si,y:Va};qt.updateDroppableScroll(lr.id,Ei)})},[lr.id,qt]),Xr=o(function(){var Si=Se.current;return!Si||!Si.env.closestScrollable?fe:ul(Si.env.closestScrollable)},[]),Pr=o(function(){var Si=Xr();Vr(Si.x,Si.y)},[Xr,Vr]),Fr=r(function(){return I(Pr)},[Pr]),Gr=o(function(){var Si=Se.current,Va=nl(Si);Si&&Va||ve(!1);var Ei=Si.scrollOptions;if(Ei.shouldPublishImmediately){Pr();return}Fr()},[Fr,Pr]),dn=o(function(Si,Va){Se.current&&ve(!1);var Ei=ar.current,co=Ei.getDroppableRef();co||ve(!1);var zo=oc(co),ao={ref:co,descriptor:lr,env:zo,scrollOptions:Va};Se.current=ao;var Uo=rl({ref:co,descriptor:lr,env:zo,windowScroll:Si,direction:Ei.direction,isDropDisabled:Ei.isDropDisabled,isCombineEnabled:Ei.isCombineEnabled,shouldClipSubject:!Ei.ignoreContainerClipping}),L=zo.closestScrollable;return L&&(L.setAttribute(Cs.contextId,We.contextId),L.addEventListener("scroll",Gr,Ss(ao.scrollOptions))),Uo},[We.contextId,lr,Gr,ar]),pn=o(function(){var Si=Se.current,Va=nl(Si);return Si&&Va||ve(!1),ul(Va)},[]),ei=o(function(){var Si=Se.current;Si||ve(!1);var Va=nl(Si);if(Se.current=null,!Va)return;Fr.cancel(),Va.removeAttribute(Cs.contextId),Va.removeEventListener("scroll",Gr,Ss(Si.scrollOptions))},[Gr,Fr]),ci=o(function(Si){var Va=Se.current;Va||ve(!1);var Ei=nl(Va);Ei||ve(!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]),Zi=r(function(){return{uniqueId:St,descriptor:lr,callbacks:ii}},[ii,lr,St]);Ga(function(){return yr.current=Zi.descriptor,Ft.droppable.register(Zi),function(){Se.current&&ei(),Ft.droppable.unregister(Zi)}},[ii,lr,ei,Zi,qt,Ft.droppable]),Ga(function(){if(!Se.current)return;qt.updateDroppableIsEnabled(yr.current.id,!ut.isDropDisabled)},[ut.isDropDisabled,qt]),Ga(function(){if(!Se.current)return;qt.updateDroppableIsCombineEnabled(yr.current.id,ut.isCombineEnabled)},[ut.isCombineEnabled,qt])}function Sl(){}var kl={width:0,height:0,margin:je},Vl=function(Se){var We=Se.isAnimatingOpenOnMount,St=Se.placeholder,Ft=Se.animate;return We||Ft==="close"?kl:{height:St.client.borderBox.height,width:St.client.borderBox.width,margin:St.client.margin}},xl=function(Se){var We=Se.isAnimatingOpenOnMount,St=Se.placeholder,Ft=Se.animate,qt=Vl({isAnimatingOpenOnMount:We,placeholder:St,animate:Ft});return{display:St.display,boxSizing:"border-box",width:qt.width,height:qt.height,marginTop:qt.margin.top,marginRight:qt.margin.right,marginBottom:qt.margin.bottom,marginLeft:qt.margin.left,flexShrink:"0",flexGrow:"0",pointerEvents:"none",transition:Ft!=="none"?Mn.placeholder:null}};function Qs(ut){var Se=Object(g.useRef)(null),We=o(function(){if(!Se.current)return;clearTimeout(Se.current),Se.current=null},[]),St=ut.animate,Ft=ut.onTransitionEnd,qt=ut.onClose,ar=ut.contextId,lr=Object(g.useState)(ut.animate==="open"),yr=lr[0],Vr=lr[1];Object(g.useEffect)(function(){return yr?St!=="open"?(We(),Vr(!1),Sl):Se.current?Sl:(Se.current=setTimeout(function(){Se.current=null,Vr(!1)}),We):Sl},[St,yr,We]);var Xr=o(function(Fr){if(Fr.propertyName!=="height")return;Ft(),St==="close"&&qt()},[St,qt,Ft]),Pr=xl({isAnimatingOpenOnMount:yr,animate:ut.animate,placeholder:ut.placeholder});return f.a.createElement(ut.placeholder.tagName,{style:Pr,"data-rbd-placeholder-context-id":ar,onTransitionEnd:Xr,ref:ut.innerRef})}var hl=f.a.memo(Qs),il=f.a.createContext(null);function fl(ut){ut&&ss(ut)||ve(!1)}function El(ut){return typeof ut=="boolean"}function Ks(ut,Se){Se.forEach(function(We){return We(ut)})}var Xl=[function(Se){var We=Se.props;We.droppableId||ve(!1),typeof We.droppableId=="string"||ve(!1)},function(Se){var We=Se.props;El(We.isDropDisabled)||ve(!1),El(We.isCombineEnabled)||ve(!1),El(We.ignoreContainerClipping)||ve(!1)},function(Se){var We=Se.getDroppableRef;fl(We())}],Cl=[function(Se){var We=Se.props,St=Se.getPlaceholderRef;if(!We.placeholder)return;var Ft=St();if(Ft)return}],pl=[function(Se){var We=Se.props;We.renderClone||ve(!1)},function(Se){var We=Se.getPlaceholderRef;We()&&ve(!1)}];function Tl(ut){Ct(function(){Ks(ut,Xl),ut.props.mode==="standard"&&Ks(ut,Cl),ut.props.mode==="virtual"&&Ks(ut,pl)})}var Yl=function(ut){Object(A.a)(Se,ut);function Se(){for(var St,Ft=arguments.length,qt=new Array(Ft),ar=0;ar<Ft;ar++)qt[ar]=arguments[ar];return St=ut.call.apply(ut,[this].concat(qt))||this,St.state={isVisible:Boolean(St.props.on),data:St.props.on,animate:St.props.shouldAnimate&&St.props.on?"open":"none"},St.onClose=function(){if(St.state.animate!=="close")return;St.setState({isVisible:!1})},St}Se.getDerivedStateFromProps=function(Ft,qt){return Ft.shouldAnimate?Ft.on?{isVisible:!0,data:Ft.on,animate:"open"}:qt.isVisible?{isVisible:!0,data:qt.data,animate:"close"}:{isVisible:!1,animate:"close",data:null}:{isVisible:Boolean(Ft.on),data:Ft.on,animate:"none"}};var We=Se.prototype;return We.render=function(){if(!this.state.isVisible)return null;var Ft={onClose:this.onClose,data:this.state.data,animate:this.state.animate};return this.props.children(Ft)},Se}(f.a.PureComponent),Fl={dragging:5e3,dropAnimating:4500},ml=function(Se,We){return We?Mn.drop(We.duration):Se?Mn.snap:Mn.fluid},Gl=function(Se,We){return Se?We?Hn.opacity.drop:Hn.opacity.combining:null},Zs=function(Se){return Se.forceShouldAnimate!=null?Se.forceShouldAnimate:Se.mode==="SNAP"};function Ql(ut){var Se=ut.dimension,We=Se.client,St=ut.offset,Ft=ut.combineWith,qt=ut.dropping,ar=Boolean(Ft),lr=Zs(ut),yr=Boolean(qt),Vr=yr?Rn.drop(St,ar):Rn.moveTo(St),Xr={position:"fixed",top:We.marginBox.top,left:We.marginBox.left,boxSizing:"border-box",width:We.borderBox.width,height:We.borderBox.height,transition:ml(lr,qt),transform:Vr,opacity:Gl(ar,yr),zIndex:yr?Fl.dropAnimating:Fl.dragging,pointerEvents:"none"};return Xr}function Ro(ut){return{transform:Rn.moveTo(ut.offset),transition:ut.shouldAnimateDisplacement?null:"none"}}function Ws(ut){return ut.type==="DRAGGING"?Ql(ut):Ro(ut)}function al(ut,Se,We){We===void 0&&(We=fe);var St=window.getComputedStyle(Se),Ft=Se.getBoundingClientRect(),qt=E(Ft,St),ar=w(qt,We),lr={client:qt,tagName:Se.tagName.toLowerCase(),display:St.display},yr={x:qt.marginBox.width,y:qt.marginBox.height},Vr={descriptor:ut,placeholder:lr,displaceBy:yr,client:qt,page:ar};return Vr}function Ps(ut){var Se=as("draggable"),We=ut.descriptor,St=ut.registry,Ft=ut.getDraggableRef,qt=ut.canDragInteractiveElements,ar=ut.shouldRespectForcePress,lr=ut.isEnabled,yr=r(function(){return{canDragInteractiveElements:qt,shouldRespectForcePress:ar,isEnabled:lr}},[qt,lr,ar]),Vr=o(function(Gr){var dn=Ft();return dn||ve(!1),al(We,dn,Gr)},[We,Ft]),Xr=r(function(){return{uniqueId:Se,descriptor:We,options:yr,getDimension:Vr}},[We,Vr,yr,Se]),Pr=Object(g.useRef)(Xr),Fr=Object(g.useRef)(!0);Ga(function(){return St.draggable.register(Pr.current),function(){return St.draggable.unregister(Pr.current)}},[St.draggable]),Ga(function(){if(Fr.current){Fr.current=!1;return}var Gr=Pr.current;Pr.current=Xr,St.draggable.update(Xr,Gr)},[Xr,St.draggable])}function Us(ut,Se,We){Ct(function(){function St(qt){return"Draggable[id: "+qt+"]: "}var Ft=ut.draggableId;if(Ft||ve(!1),typeof Ft=="string"||ve(!1),Ve(ut.index)||ve(!1),ut.mapped.type==="DRAGGING")return;fl(We()),ut.isEnabled&&(_s(Se,Ft)||ve(!1))})}function gl(ut){Qe(function(){var Se=Object(g.useRef)(ut);Ct(function(){ut===Se.current||ve(!1)},[ut])})}function xs(ut){ut.preventDefault()}function ol(ut){var Se=Object(g.useRef)(null),We=o(function(ao){Se.current=ao},[]),St=o(function(){return Se.current},[]),Ft=zs(Mo),qt=Ft.contextId,ar=Ft.dragHandleUsageInstructionsId,lr=Ft.registry,yr=zs(il),Vr=yr.type,Xr=yr.droppableId,Pr=r(function(){return{id:ut.draggableId,index:ut.index,type:Vr,droppableId:Xr}},[ut.draggableId,ut.index,Vr,Xr]),Fr=ut.children,Gr=ut.draggableId,dn=ut.isEnabled,pn=ut.shouldRespectForcePress,ei=ut.canDragInteractiveElements,ci=ut.isClone,ii=ut.mapped,Zi=ut.dropAnimationFinished;if(Us(ut,qt,St),gl(ci),!ci){var Si=r(function(){return{descriptor:Pr,registry:lr,getDraggableRef:St,canDragInteractiveElements:ei,shouldRespectForcePress:pn,isEnabled:dn}},[Pr,lr,St,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;Zi()},[Zi,ii]),co=r(function(){var ao=Ws(ii),Uo=ii.type==="DRAGGING"&&ii.dropping?Ei:null,L={innerRef:We,draggableProps:{"data-rbd-draggable-context-id":qt,"data-rbd-draggable-id":Gr,style:ao,onTransitionEnd:Uo},dragHandleProps:Va};return L},[qt,Va,Gr,ii,Ei,We]),zo=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 Fr(co,ii.snapshot,zo)}var Js=function(Se,We){return Se===We},Bl=function(Se){var We=Se.combine,St=Se.destination;return St?St.droppableId:We?We.droppableId:null},_l=function(Se){return Se.combine?Se.combine.draggableId:null},vl=function(Se){return Se.at&&Se.at.type==="COMBINE"?Se.at.combine.draggableId:null};function ql(){var ut=b(function(Ft,qt){return{x:Ft,y:qt}}),Se=b(function(Ft,qt,ar,lr,yr){return{isDragging:!0,isClone:qt,isDropAnimating:Boolean(yr),dropAnimation:yr,mode:Ft,draggingOver:ar,combineWith:lr,combineTargetFor:null}}),We=b(function(Ft,qt,ar,lr,yr,Vr,Xr){return{mapped:{type:"DRAGGING",dropping:null,draggingOver:yr,combineWith:Vr,mode:qt,offset:Ft,dimension:ar,forceShouldAnimate:Xr,snapshot:Se(qt,lr,yr,Vr,null)}}}),St=function(qt,ar){if(qt.isDragging){if(qt.critical.draggable.id!==ar.draggableId)return null;var lr=qt.current.client.offset,yr=qt.dimensions.draggables[ar.draggableId],Vr=gn(qt.impact),Xr=vl(qt.impact),Pr=qt.forceShouldAnimate;return We(ut(lr.x,lr.y),qt.movementMode,yr,ar.isClone,Vr,Xr,Pr)}if(qt.phase==="DROP_ANIMATING"){var Fr=qt.completed;if(Fr.result.draggableId!==ar.draggableId)return null;var Gr=ar.isClone,dn=qt.dimensions.draggables[ar.draggableId],pn=Fr.result,ei=pn.mode,ci=Bl(pn),ii=_l(pn),Zi=qt.dropDuration,Si={duration:Zi,curve:wn.drop,moveTo:qt.newHomeClientOffset,opacity:ii?Hn.opacity.drop:null,scale:ii?Hn.scale.drop:null};return{mapped:{type:"DRAGGING",offset:qt.newHomeClientOffset,dimension:dn,dropping:Si,draggingOver:ci,combineWith:ii,mode:ei,forceShouldAnimate:null,snapshot:Se(ei,Gr,ci,ii,Si)}}}return null};return St}function Pl(ut){return{isDragging:!1,isDropAnimating:!1,isClone:!1,dropAnimation:null,mode:null,draggingOver:null,combineTargetFor:ut,combineWith:null}}var yl={mapped:{type:"SECONDARY",offset:fe,combineTargetFor:null,shouldAnimateDisplacement:!0,snapshot:Pl(null)}};function Zl(){var ut=b(function(ar,lr){return{x:ar,y:lr}}),Se=b(Pl),We=b(function(ar,lr,yr){return lr===void 0&&(lr=null),{mapped:{type:"SECONDARY",offset:ar,combineTargetFor:lr,shouldAnimateDisplacement:yr,snapshot:Se(lr)}}}),St=function(lr){return lr?We(fe,lr,!0):null},Ft=function(lr,yr,Vr,Xr){var Pr=Vr.displaced.visible[lr],Fr=Boolean(Xr.inVirtualList&&Xr.effected[lr]),Gr=or(Vr),dn=Gr&&Gr.draggableId===lr?yr:null;if(!Pr){if(!Fr)return St(dn);if(Vr.displaced.invisible[lr])return null;var pn=te(Xr.displacedBy.point),ei=ut(pn.x,pn.y);return We(ei,dn,!0)}if(Fr)return St(dn);var ci=Vr.displacedBy.point,ii=ut(ci.x,ci.y);return We(ii,dn,Pr.shouldAnimate)},qt=function(lr,yr){if(lr.isDragging)return lr.critical.draggable.id===yr.draggableId?null:Ft(yr.draggableId,lr.critical.draggable.id,lr.impact,lr.afterCritical);if(lr.phase==="DROP_ANIMATING"){var Vr=lr.completed;return Vr.result.draggableId===yr.draggableId?null:Ft(yr.draggableId,Vr.result.draggableId,Vr.impact,Vr.afterCritical)}return null};return qt}var lc=function(){var Se=ql(),We=Zl(),St=function(qt,ar){return Se(qt,ar)||We(qt,ar)||yl};return St},Jl={dropAnimationFinished:br},$l=Object(h.c)(lc,Jl,null,{context:Io,pure:!0,areStatePropsEqual:Js})(ol);function Ol(ut){var Se=zs(il),We=Se.isUsingCloneFor;return We===ut.draggableId&&!ut.isClone?null:f.a.createElement($l,ut)}function ec(ut){var Se=typeof ut.isDragDisabled=="boolean"?!ut.isDragDisabled:!0,We=Boolean(ut.disableInteractiveElementBlocking),St=Boolean(ut.shouldRespectForcePress);return f.a.createElement(Ol,Object(m.a)({},ut,{isClone:!1,isEnabled:Se,canDragInteractiveElements:We,shouldRespectForcePress:St}))}function cc(ut){var Se=Object(g.useContext)(Mo);Se||ve(!1);var We=Se.contextId,St=Se.isMovementAllowed,Ft=Object(g.useRef)(null),qt=Object(g.useRef)(null),ar=ut.children,lr=ut.droppableId,yr=ut.type,Vr=ut.mode,Xr=ut.direction,Pr=ut.ignoreContainerClipping,Fr=ut.isDropDisabled,Gr=ut.isCombineEnabled,dn=ut.snapshot,pn=ut.useClone,ei=ut.updateViewportMaxScroll,ci=ut.getContainerForClone,ii=o(function(){return Ft.current},[]),Zi=o(function(k){Ft.current=k},[]),Si=o(function(){return qt.current},[]),Va=o(function(k){qt.current=k},[]);Tl({props:ut,getDroppableRef:ii,getPlaceholderRef:Si});var Ei=o(function(){St()&&ei({maxScroll:Xa()})},[St,ei]);Bs({droppableId:lr,type:yr,mode:Vr,direction:Xr,isDropDisabled:Fr,isCombineEnabled:Gr,ignoreContainerClipping:Pr,getDroppableRef:ii});var co=f.a.createElement(Yl,{on:ut.placeholder,shouldAnimate:ut.shouldAnimatePlaceholder},function(k){var ee=k.onClose,re=k.data,ce=k.animate;return f.a.createElement(hl,{placeholder:re,onClose:ee,innerRef:Va,animate:ce,contextId:We,onTransitionEnd:Ei})}),zo=r(function(){return{innerRef:Zi,placeholder:co,droppableProps:{"data-rbd-droppable-id":lr,"data-rbd-droppable-context-id":We}}},[We,lr,co,Zi]),ao=pn?pn.dragging.draggableId:null,Uo=r(function(){return{droppableId:lr,type:yr,isUsingCloneFor:ao}},[lr,ao,yr]);function L(){if(!pn)return null;var k=pn.dragging,ee=pn.render,re=f.a.createElement(Ol,{draggableId:k.draggableId,index:k.source.index,isClone:!0,isEnabled:!0,shouldRespectForcePress:!1,canDragInteractiveElements:!0},function(ce,Be){return ee(ce,Be,k)});return F.a.createPortal(re,ci())}return f.a.createElement(il.Provider,{value:Uo},ar(zo,dn),L())}var Il=function(Se,We){return Se===We.droppable.type},js=function(Se,We){return We.draggables[Se.draggable.id]},Ll=function(){var Se={placeholder:null,shouldAnimatePlaceholder:!0,snapshot:{isDraggingOver:!1,draggingOverWith:null,draggingFromThisWith:null,isUsingPlaceholder:!1},useClone:null},We=Object(m.a)({},Se,{shouldAnimatePlaceholder:!1}),St=b(function(ar){return{draggableId:ar.id,type:ar.type,source:{index:ar.index,droppableId:ar.droppableId}}}),Ft=b(function(ar,lr,yr,Vr,Xr,Pr){var Fr=Xr.descriptor.id,Gr=Xr.descriptor.droppableId===ar;if(Gr){var dn=Pr?{render:Pr,dragging:St(Xr.descriptor)}:null,pn={isDraggingOver:yr,draggingOverWith:yr?Fr:null,draggingFromThisWith:Fr,isUsingPlaceholder:!0};return{placeholder:Xr.placeholder,shouldAnimatePlaceholder:!1,snapshot:pn,useClone:dn}}if(!lr)return We;if(!Vr)return Se;var ei={isDraggingOver:yr,draggingOverWith:Fr,draggingFromThisWith:null,isUsingPlaceholder:!0};return{placeholder:Xr.placeholder,shouldAnimatePlaceholder:!0,snapshot:ei,useClone:null}}),qt=function(lr,yr){var Vr=yr.droppableId,Xr=yr.type,Pr=!yr.isDropDisabled,Fr=yr.renderClone;if(lr.isDragging){var Gr=lr.critical;if(!Il(Xr,Gr))return We;var dn=js(Gr,lr.dimensions),pn=gn(lr.impact)===Vr;return Ft(Vr,Pr,pn,pn,dn,Fr)}if(lr.phase==="DROP_ANIMATING"){var ei=lr.completed;if(!Il(Xr,ei.critical))return We;var ci=js(ei.critical,lr.dimensions);return Ft(Vr,Pr,Bl(ei.result)===Vr,gn(ei.impact)===Vr,ci,Fr)}if(lr.phase==="IDLE"&&lr.completed&&!lr.shouldFlush){var ii=lr.completed;if(!Il(Xr,ii.critical))return We;var Zi=gn(ii.impact)===Vr,Si=Boolean(ii.impact.at&&ii.impact.at.type==="COMBINE"),Va=ii.critical.droppable.id===Vr;return Zi?Si?Se:We:Va?Se:We}return We};return qt},Al={updateViewportMaxScroll:Or};function uc(){return document.body||ve(!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)(Ll,Al,null,{context:Io,pure:!0,areStatePropsEqual:Js})(cc);sl.defaultProps=dc},ni6a:function(R,D,e){var g=e("pzxd"),f=e("mFDi"),A=e("gut8"),m=A.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;R.exports=c},nkfE:function(R,D,e){var g=e("bYtY"),f=e("ca2m"),A=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):{},x=s.getTheme();g.merge(t,x.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)})}),A.registerSubTypeDefaulter(r+"Axis",g.curry(d,r))}R.exports=i},noeP:function(R,D,e){var g=e("ProS"),f=e("bYtY"),A=e("UOVi");g.registerAction("dataZoom",function(m,v){var h=A.createLinkedNodesFinder(f.bind(v.eachComponent,v,"dataZoom"),A.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(R,D,e){var g=e("IwbS"),f=e("OS9S"),A=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++],x=o[n++];if(i.moveTo(s,u),d>0){var S=(s+p)/2-(u-x)*d,T=(u+x)/2-(p-s)*d;i.quadraticCurveTo(S,T,p,x)}else i.lineTo(p,x)}},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++],x=1;x<s;x++){var S=d[t++],T=d[t++];if(A.containStroke(u,p,S,T))return l}l++}else for(var l=0,t=0;t<d.length;){var u=d[t++],p=d[t++],S=d[t++],T=d[t++];if(n>0){var w=(u+S)/2-(p-T)*n,E=(p+T)/2-(S-u)*n;if(m.containStroke(u,p,w,E,S,T))return l}else if(A.containStroke(u,p,S,T))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;R.exports=a},oBaM:function(R,D,e){var g=e("T4UG"),f=e("5GtS"),A=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(A.bind(this.getData,this),A.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/>"+A.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(A.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;R.exports=a},oE7X:function(R,D,e){var g=e("bLfw");g.registerSubTypeDefaulter("timeline",function(){return"slider"})},oIFs:function(R,D,e){},oVpE:function(R,D,e){var g=e("bYtY"),f=e("IwbS"),A=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,x=u.cy,S=u.width/2,T=u.height/2;s.moveTo(p,x-T),s.lineTo(p+S,x+T),s.lineTo(p-S,x+T),s.closePath()}}),c=f.extendShape({type:"diamond",shape:{cx:0,cy:0,width:0,height:0},buildPath:function(s,u){var p=u.cx,x=u.cy,S=u.width/2,T=u.height/2;s.moveTo(p,x-T),s.lineTo(p+S,x),s.lineTo(p,x+T),s.lineTo(p-S,x),s.closePath()}}),a=f.extendShape({type:"pin",shape:{x:0,y:0,width:0,height:0},buildPath:function(s,u){var p=u.x,x=u.y,S=u.width/5*3,T=Math.max(S,u.height),w=S/2,E=w*w/(T-w),C=x-T+w+E,_=Math.asin(E/w),y=Math.cos(_)*w,b=Math.sin(_),O=Math.cos(_),I=w*.6,M=w*.7;s.moveTo(p-y,C+E),s.arc(p,C,w,Math.PI-_,Math.PI*2+_),s.bezierCurveTo(p+y-b*I,C+E+O*I,p,x-M,p,x),s.bezierCurveTo(p,x-M,p-y+b*I,C+E+O*I,p-y,C+E),s.closePath()}}),i=f.extendShape({type:"arrow",shape:{x:0,y:0,width:0,height:0},buildPath:function(s,u){var p=u.height,x=u.width,S=u.x,T=u.y,w=x/3*2;s.moveTo(S,T),s.lineTo(S+w,T+p),s.lineTo(S,T+p/4*3),s.lineTo(S-w,T+p),s.lineTo(S,T),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,x,S){S.x1=s,S.y1=u+x/2,S.x2=s+p,S.y2=u+x/2},rect:function(s,u,p,x,S){S.x=s,S.y=u,S.width=p,S.height=x},roundRect:function(s,u,p,x,S){S.x=s,S.y=u,S.width=p,S.height=x,S.r=Math.min(p,x)/4},square:function(s,u,p,x,S){var T=Math.min(p,x);S.x=s,S.y=u,S.width=T,S.height=T},circle:function(s,u,p,x,S){S.cx=s+p/2,S.cy=u+x/2,S.r=Math.min(p,x)/2},diamond:function(s,u,p,x,S){S.cx=s+p/2,S.cy=u+x/2,S.width=p,S.height=x},pin:function(s,u,p,x,S){S.x=s+p/2,S.y=u+x/2,S.width=p,S.height=x},arrow:function(s,u,p,x,S){S.x=s+p/2,S.y=u+x/2,S.width=p,S.height=x},triangle:function(s,u,p,x,S){S.cx=s+p/2,S.cy=u+x/2,S.width=p,S.height=x}},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 x=v(s,u,p),S=this.shape;return S&&S.symbolType==="pin"&&u.textPosition==="inside"&&(x.y=p.y+p.height*.4),x},buildPath:function(s,u,p){var x=u.symbolType;if(x!=="none"){var S=d[x];S||(x="rect",S=d[x]),o[x](u.x,u.y,u.width,u.height,S.shape),S.buildPath(s,S.shape,p)}}});function l(s,u){if(this.type!=="image"){var p=this.style,x=this.shape;x&&x.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,x,S,T,w){var E=s.indexOf("empty")===0;E&&(s=s.substr(5,1).toLowerCase()+s.substr(6));var C;return s.indexOf("image://")===0?C=f.makeImage(s.slice(8),new A(u,p,x,S),w?"center":"cover"):s.indexOf("path://")===0?C=f.makePath(s.slice(7),{},new A(u,p,x,S),w?"center":"cover"):C=new n({shape:{symbolType:s,x:u,y:p,width:x,height:S}}),C.__isEmptyBrush=E,C.setColor=l,C.setColor(T),C}D.createSymbol=t},oY9F:function(R,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}});R.exports=f},or5M:function(R,D,e){var g=e("1hJj"),f=e("QoRX"),A=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,x=!0,S=i&v?new g:void 0;for(d.set(c,a),d.set(a,c);++p<l;){var T=c[p],w=a[p];if(r)var E=n?r(w,T,p,a,c,d):r(T,w,p,c,a,d);if(E!==void 0){if(E)continue;x=!1;break}if(S){if(!f(a,function(C,_){if(!A(S,_)&&(T===C||o(T,C,i,r,d)))return S.push(_)})){x=!1;break}}else if(!(T===w||o(T,w,i,r,d))){x=!1;break}}return d.delete(c),d.delete(a),x}R.exports=h},osHv:function(R,D,e){(function(g){g(e("VrN/"))})(function(g){"use strict";var f=g.Pos;function A(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,x,S){this.line=p,this.ch=x,this.cm=u,this.text=u.getLine(p),this.min=S?Math.max(S.from,u.firstLine()):u.firstLine(),this.max=S?Math.min(S.to-1,u.lastLine()):u.lastLine()}function a(u,p){var x=u.cm.getTokenTypeAt(f(u.line,p));return x&&/\btag\b/.test(x)}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 x=u.text.lastIndexOf("/",p),S=x>-1&&!/\S/.test(u.text.slice(x+1,p));return u.ch=p+1,S?"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 x=h.exec(u.text);if(x&&x.index==p)return x}}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 x=u.text.lastIndexOf("/",p),S=x>-1&&!/\S/.test(u.text.slice(x+1,p));return u.ch=p+1,S?"selfClose":"regular"}}function t(u,p){for(var x=[];;){var S=n(u),T,w=u.line,E=u.ch-(S?S[0].length:0);if(!S||!(T=o(u)))return;if(T=="selfClose")continue;if(S[1]){for(var C=x.length-1;C>=0;--C)if(x[C]==S[2]){x.length=C;break}if(C<0&&(!p||p==S[2]))return{tag:S[2],from:f(w,E),to:f(u.line,u.ch)}}else x.push(S[2])}}function s(u,p){for(var x=[];;){var S=l(u);if(!S)return;if(S=="selfClose"){d(u);continue}var T=u.line,w=u.ch,E=d(u);if(!E)return;if(E[1])x.push(E[2]);else{for(var C=x.length-1;C>=0;--C)if(x[C]==E[2]){x.length=C;break}if(C<0&&(!p||p==E[2]))return{tag:E[2],from:f(u.line,u.ch),to:f(T,w)}}}}g.registerHelper("fold","xml",function(u,p){for(var x=new c(u,p.line,0);;){var S=n(x);if(!S||x.line!=p.line)return;var T=o(x);if(!T)return;if(!S[1]&&T!="selfClose"){var w=f(x.line,x.ch),E=t(x,S[2]);return E&&A(E.from,w)>0?{from:w,to:E.from}:null}}}),g.findMatchingTag=function(u,p,x){var S=new c(u,p.line,p.ch,x);if(S.text.indexOf(">")==-1&&S.text.indexOf("<")==-1)return;var T=o(S),w=T&&f(S.line,S.ch),E=T&&d(S);if(!T||!E||A(S,p)>0)return;var C={from:f(S.line,S.ch),to:w,tag:E[2]};return T=="selfClose"?{open:C,close:null,at:"open"}:E[1]?{open:s(S,E[2]),close:C,at:"close"}:(S=new c(u,w.line,w.ch,x),{open:C,close:t(S,E[2]),at:"open"})},g.findEnclosingTag=function(u,p,x,S){for(var T=new c(u,p.line,p.ch,x);;){var w=s(T,S);if(!w)break;var E=new c(u,p.line,p.ch,x),C=t(E,w.tag);if(C)return{open:w,close:C}}},g.scanForClosingTag=function(u,p,x,S){var T=new c(u,p.line,p.ch,S?{from:0,to:S}:null);return t(T,x)}})},ozfa:function(R,D,e){"use strict";var g=e("cIOH"),f=e.n(g),A=e("KxFI"),m=e.n(A)},"p+If":function(R,D,e){var g=e("ProS");e("cpOr"),e("rkZ5");var f=e("ZYIC"),A=e("7ph2");g.registerLayout(f),g.registerVisual(A)},"p/La":function(R,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,A){f==="china"&&A.name==="\u53F0\u6E7E"&&A.geometries.push({type:"polygon",exterior:e[0]})}R.exports=g},p1MT:function(R,D,e){var g=e("Hw7h"),f=e("IwbS"),A=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),x=v(t[0],l.getWidth()),S=v(t[1],l.getHeight()),T=v(n.get("radius"),p/2);return{cx:x,cy:S,r:T}}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=A.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,x=n.getModel("axisLine"),S=x.getModel("lineStyle"),T=n.get("clockwise"),w=-n.get("startAngle")/180*Math.PI,E=-n.get("endAngle")/180*Math.PI,C=(E-w)%r,_=w,y=S.get("width"),b=x.get("show"),O=0;b&&O<s.length;O++){var I=Math.min(Math.max(s[O][0],0),1),E=w+C*I,M=new f.Sector({shape:{startAngle:_,endAngle:E,cx:u.cx,cy:u.cy,clockwise:T,r0:u.r-y,r:u.r},silent:!0});M.setStyle({fill:s[O][1]}),M.setStyle(S.getLineStyle(["color","borderWidth","borderColor"])),p.add(M),_=E}var F=function(j){if(j<=0)return s[0][1];for(var K=0;K<s.length;K++)if(s[K][0]>=j&&(K===0?0:s[K-1][0])<j)return s[K][1];return s[K-1][1]};if(!T){var P=w;w=E,E=P}this._renderTicks(n,l,t,F,u,w,E,T),this._renderPointer(n,l,t,F,u,w,E,T),this._renderTitle(n,l,t,F,u),this._renderDetail(n,l,t,F,u)},_renderTicks:function(n,l,t,s,u,p,x,S){for(var T=this.group,w=u.cx,E=u.cy,C=u.r,_=+n.get("min"),y=+n.get("max"),b=n.getModel("splitLine"),O=n.getModel("axisTick"),I=n.getModel("axisLabel"),M=n.get("splitNumber"),F=O.get("splitNumber"),P=v(b.get("length"),C),j=v(O.get("length"),C),K=p,N=(x-p)/M,B=N/F,U=b.getModel("lineStyle").getLineStyle(),H=O.getModel("lineStyle").getLineStyle(),z=0;z<=M;z++){var X=Math.cos(K),W=Math.sin(K);if(b.get("show")){var Y=new f.Line({shape:{x1:X*C+w,y1:W*C+E,x2:X*(C-P)+w,y2:W*(C-P)+E},style:U,silent:!0});U.stroke==="auto"&&Y.setStyle({stroke:s(z/M)}),T.add(Y)}if(I.get("show")){var q=i(h(z/M*(y-_)+_),I.get("formatter")),me=I.get("distance"),G=s(z/M);T.add(new f.Text({style:f.setTextStyle({},I,{text:q,x:X*(C-P-me)+w,y:W*(C-P-me)+E,textVerticalAlign:W<-.4?"top":W>.4?"bottom":"middle",textAlign:X<-.4?"left":X>.4?"right":"center"},{autoColor:G}),silent:!0}))}if(O.get("show")&&z!==M){for(var ye=0;ye<=F;ye++){var X=Math.cos(K),W=Math.sin(K),Ae=new f.Line({shape:{x1:X*C+w,y1:W*C+E,x2:X*(C-j)+w,y2:W*(C-j)+E},silent:!0,style:H});H.stroke==="auto"&&Ae.setStyle({stroke:s((z+ye/F)/M)}),T.add(Ae),K+=B}K-=B}else K+=N}},_renderPointer:function(n,l,t,s,u,p,x,S){var T=this.group,w=this._data;if(!n.get("pointer.show")){w&&w.eachItemGraphicEl(function(b){T.remove(b)});return}var E=[+n.get("min"),+n.get("max")],C=[p,x],_=n.getData(),y=_.mapDimension("value");_.diff(w).add(function(b){var O=new g({shape:{angle:p}});f.initProps(O,{shape:{angle:c(_.get(y,b),E,C,!0)}},n),T.add(O),_.setItemGraphicEl(b,O)}).update(function(b,O){var I=w.getItemGraphicEl(O);f.updateProps(I,{shape:{angle:c(_.get(y,b),E,C,!0)}},n),T.add(I),_.setItemGraphicEl(b,I)}).remove(function(b){var O=w.getItemGraphicEl(b);T.remove(O)}).execute(),_.eachItemGraphicEl(function(b,O){var I=_.getItemModel(O),M=I.getModel("pointer");b.setShape({x:u.cx,y:u.cy,width:v(M.get("width"),u.r),r:v(M.get("length"),u.r)}),b.useStyle(I.getModel("itemStyle").getItemStyle()),b.style.fill==="auto"&&b.setStyle("fill",s(c(_.get(y,O),E,[0,1],!0))),f.setHoverStyle(b,I.getModel("emphasis.itemStyle").getItemStyle())}),this._data=_},_renderTitle:function(n,l,t,s,u){var p=n.getData(),x=p.mapDimension("value"),S=n.getModel("title");if(S.get("show")){var T=S.get("offsetCenter"),w=u.cx+v(T[0],u.r),E=u.cy+v(T[1],u.r),C=+n.get("min"),_=+n.get("max"),y=n.getData().get(x,0),b=s(c(y,[C,_],[0,1],!0));this.group.add(new f.Text({silent:!0,style:f.setTextStyle({},S,{x:w,y:E,text:p.getName(0),textAlign:"center",textVerticalAlign:"middle"},{autoColor:b,forceRich:!0})}))}},_renderDetail:function(n,l,t,s,u){var p=n.getModel("detail"),x=+n.get("min"),S=+n.get("max");if(p.get("show")){var T=p.get("offsetCenter"),w=u.cx+v(T[0],u.r),E=u.cy+v(T[1],u.r),C=v(p.get("width"),u.r),_=v(p.get("height"),u.r),y=n.getData(),b=y.get(y.mapDimension("value"),0),O=s(c(b,[x,S],[0,1],!0));this.group.add(new f.Text({silent:!0,style:f.setTextStyle({},p,{x:w,y:E,text:i(b,p.get("formatter")),textWidth:isNaN(C)?null:C,textHeight:isNaN(_)?null:_,textAlign:"center",textVerticalAlign:"middle"},{autoColor:O,forceRich:!0})}))}}}),d=o;R.exports=d},"p77/":function(R,D,e){},pC0b:function(R,D,e){"use strict";var g=e("cIOH"),f=e.n(g),A=e("xzDV"),m=e.n(A),v=e("5Dmo")},"pED+":function(R,D,e){},pG52:function(R,D,e){"use strict";Object.defineProperty(D,"__esModule",{value:!0}),D.default=void 0;var g=f(e("WXVj"));function f(m){return m&&m.__esModule?m:{default:m}}var A=g;D.default=A,R.exports=A},pLH3:function(R,D,e){var g=e("ProS");e("ALo7"),e("TWL2");var f=e("mOdp"),A=e("JLnu"),m=e("0/Rx");g.registerVisual(f("funnel")),g.registerLayout(A),g.registerProcessor(m("funnel"))},pP6R:function(R,D,e){var g=e("ProS"),f="\0_ec_interaction_mutex";function A(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(){}),D.take=A,D.release=m,D.isTaken=v},pSRY:function(R,D,e){var g=e("QkVE");function f(A){return g(this,A).has(A)}R.exports=f},pmaE:function(R,D,e){var g=e("ProS"),f=e("bYtY"),A=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,x=u.offset,S=new A.Circle({style:{fill:r.getData().getVisual("color")},shape:{cx:p[0]+x*9,cy:p[1],r:3},silent:!0,z2:8+(x?0:A.Z2_EMPHASIS_LIFT+1)});if(!x){var T=r.mainSeries.getData(),w=n.getName(s),E=T.indexOfName(w),C=n.getItemModel(s),_=C.getModel("label"),y=C.getModel("emphasis.label"),b=T.getItemGraphicEl(E),O=f.retrieve2(r.getFormattedLabel(E,"normal"),w),I=f.retrieve2(r.getFormattedLabel(E,"emphasis"),O),M=b[v],F=Math.random();if(!M){M=b[v]={};var P=f.curry(a,!0),j=f.curry(a,!1);b.on("mouseover",P).on("mouseout",j).on("emphasis",P).on("normal",j)}b[h]=F,f.extend(M,{recordVersion:F,circle:S,labelModel:_,hoverLabelModel:y,emphasisText:I,normalText:O}),i(M,!1)}l.add(S)})}});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(A.setTextStyle({},l,{text:l.get("show")?t:null},{isRectText:!0,useInsideStyle:!1},!0)),d.__mapOriginalZ2=d.z2,d.z2+=A.Z2_EMPHASIS_LIFT):(A.setTextStyle(d.style,n,{text:n.get("show")?s:null,textPosition:n.getShallow("position")||"bottom"},{isRectText:!0,useInsideStyle:!1}),d.dirty(!1),d.__mapOriginalZ2!=null&&(d.z2=d.__mapOriginalZ2,d.__mapOriginalZ2=null))}R.exports=c},pwpV:function(R,D,e){},pzxd:function(R,D,e){var g=e("bYtY"),f=g.retrieve2,A=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"]],x={},S={};function T(z){return w(z),m(z.rich,w),z}function w(z){if(z){z.font=a.makeFont(z);var X=z.textAlign;X==="middle"&&(X="center"),z.textAlign=X==null||s[X]?X:"left";var W=z.textVerticalAlign||z.textBaseline;W==="center"&&(W="middle"),z.textVerticalAlign=W==null||u[W]?W:"top";var Y=z.textPadding;Y&&(z.textPadding=v(z.textPadding))}}function E(z,X,W,Y,q,me){Y.rich?_(z,X,W,Y,q,me):C(z,X,W,Y,q,me)}function C(z,X,W,Y,q,me){"use strict";var G=I(Y),ye,Ae=!1,ve=X.__attrCachedBy===n.PLAIN_TEXT;me!==l?(me&&(ye=me.style,Ae=!G&&ve&&ye),X.__attrCachedBy=G?n.NONE:n.PLAIN_TEXT):ve&&(X.__attrCachedBy=n.NONE);var Ue=Y.font||t;(!Ae||Ue!==(ye.font||t))&&(X.font=Ue);var Me=z.__computedFont;z.__styleFont!==Ue&&(z.__styleFont=Ue,Me=z.__computedFont=X.font);var nt=Y.textPadding,ne=Y.textLineHeight,be=z.__textCotentBlock;(!be||z.__dirtyText)&&(be=z.__textCotentBlock=a.parsePlainText(W,Me,nt,ne,Y.truncate));var ot=be.outerHeight,ue=be.lines,Q=be.lineHeight,V=P(S,z,Y,q),J=V.baseX,fe=V.baseY,oe=V.textAlign||"left",Le=V.textVerticalAlign;b(X,Y,q,J,fe);var he=a.adjustTextY(fe,ot,Le),te=J,Z=he;if(G||nt){var ge=a.getWidth(W,Me),Re=ge;nt&&(Re+=nt[1]+nt[3]);var ze=a.adjustTextX(J,Re,oe);G&&M(z,X,Y,ze,he,Re,ot),nt&&(te=U(J,oe,nt),Z+=nt[0])}X.textAlign=oe,X.textBaseline="middle",X.globalAlpha=Y.opacity||1;for(var dt=0;dt<p.length;dt++){var De=p[dt],Tt=De[0],je=De[1],st=Y[Tt];(!Ae||st!==ye[Tt])&&(X[je]=o(X,je,st||De[2]))}Z+=Q/2;var Xe=Y.textStrokeWidth,Je=Ae?ye.textStrokeWidth:null,et=!Ae||Xe!==Je,at=!Ae||et||Y.textStroke!==ye.textStroke,Ve=K(Y.textStroke,Xe),le=N(Y.textFill);if(Ve&&(et&&(X.lineWidth=Xe),at&&(X.strokeStyle=Ve)),le&&((!Ae||Y.textFill!==ye.textFill)&&(X.fillStyle=le)),ue.length===1)Ve&&X.strokeText(ue[0],te,Z),le&&X.fillText(ue[0],te,Z);else for(var dt=0;dt<ue.length;dt++)Ve&&X.strokeText(ue[dt],te,Z),le&&X.fillText(ue[dt],te,Z),Z+=Q}function _(z,X,W,Y,q,me){me!==l&&(X.__attrCachedBy=n.NONE);var G=z.__textCotentBlock;(!G||z.__dirtyText)&&(G=z.__textCotentBlock=a.parseRichText(W,Y)),y(z,X,G,Y,q)}function y(z,X,W,Y,q){var me=W.width,G=W.outerWidth,ye=W.outerHeight,Ae=Y.textPadding,ve=P(S,z,Y,q),Ue=ve.baseX,Me=ve.baseY,nt=ve.textAlign,ne=ve.textVerticalAlign;b(X,Y,q,Ue,Me);var be=a.adjustTextX(Ue,G,nt),ot=a.adjustTextY(Me,ye,ne),ue=be,Q=ot;Ae&&(ue+=Ae[3],Q+=Ae[0]);var V=ue+me;I(Y)&&M(z,X,Y,be,ot,G,ye);for(var J=0;J<W.lines.length;J++){for(var fe=W.lines[J],oe=fe.tokens,Le=oe.length,he=fe.lineHeight,te=fe.width,Z=0,ge=ue,Re=V,ze=Le-1,dt;Z<Le&&(dt=oe[Z],!dt.textAlign||dt.textAlign==="left");)O(z,X,dt,Y,he,Q,ge,"left"),te-=dt.width,ge+=dt.width,Z++;for(;ze>=0&&(dt=oe[ze],dt.textAlign==="right");)O(z,X,dt,Y,he,Q,Re,"right"),te-=dt.width,Re-=dt.width,ze--;for(ge+=(me-(ge-ue)-(V-Re)-te)/2;Z<=ze;)dt=oe[Z],O(z,X,dt,Y,he,Q,ge+dt.width/2,"center"),ge+=dt.width,Z++;Q+=he}}function b(z,X,W,Y,q){if(W&&X.textRotation){var me=X.textOrigin;me==="center"?(Y=W.width/2+W.x,q=W.height/2+W.y):me&&(Y=me[0]+W.x,q=me[1]+W.y),z.translate(Y,q),z.rotate(-X.textRotation),z.translate(-Y,-q)}}function O(z,X,W,Y,q,me,G,ye){var Ae=Y.rich[W.styleName]||{};Ae.text=W.text;var ve=W.textVerticalAlign,Ue=me+q/2;ve==="top"?Ue=me+W.height/2:ve==="bottom"&&(Ue=me+q-W.height/2),!W.isLineHolder&&I(Ae)&&M(z,X,Ae,ye==="right"?G-W.width:ye==="center"?G-W.width/2:G,Ue-W.height/2,W.width,W.height);var Me=W.textPadding;Me&&(G=U(G,ye,Me),Ue-=W.height/2-Me[2]-W.textHeight/2),j(X,"shadowBlur",A(Ae.textShadowBlur,Y.textShadowBlur,0)),j(X,"shadowColor",Ae.textShadowColor||Y.textShadowColor||"transparent"),j(X,"shadowOffsetX",A(Ae.textShadowOffsetX,Y.textShadowOffsetX,0)),j(X,"shadowOffsetY",A(Ae.textShadowOffsetY,Y.textShadowOffsetY,0)),j(X,"textAlign",ye),j(X,"textBaseline","middle"),j(X,"font",W.font||t);var nt=K(Ae.textStroke||Y.textStroke,be),ne=N(Ae.textFill||Y.textFill),be=f(Ae.textStrokeWidth,Y.textStrokeWidth);nt&&(j(X,"lineWidth",be),j(X,"strokeStyle",nt),X.strokeText(W.text,G,Ue)),ne&&(j(X,"fillStyle",ne),X.fillText(W.text,G,Ue))}function I(z){return!!(z.textBackgroundColor||z.textBorderWidth&&z.textBorderColor)}function M(z,X,W,Y,q,me,G){var ye=W.textBackgroundColor,Ae=W.textBorderWidth,ve=W.textBorderColor,Ue=h(ye);if(j(X,"shadowBlur",W.textBoxShadowBlur||0),j(X,"shadowColor",W.textBoxShadowColor||"transparent"),j(X,"shadowOffsetX",W.textBoxShadowOffsetX||0),j(X,"shadowOffsetY",W.textBoxShadowOffsetY||0),Ue||Ae&&ve){X.beginPath();var Me=W.textBorderRadius;Me?i.buildPath(X,{x:Y,y:q,width:me,height:G,r:Me}):X.rect(Y,q,me,G),X.closePath()}if(Ue)if(j(X,"fillStyle",ye),W.fillOpacity!=null){var nt=X.globalAlpha;X.globalAlpha=W.fillOpacity*W.opacity,X.fill(),X.globalAlpha=nt}else X.fill();else if(c(ye)){var ne=ye.image;ne=r.createOrUpdateImage(ne,null,z,F,ye),ne&&r.isImageReady(ne)&&X.drawImage(ne,Y,q,me,G)}if(Ae&&ve)if(j(X,"lineWidth",Ae),j(X,"strokeStyle",ve),W.strokeOpacity!=null){var nt=X.globalAlpha;X.globalAlpha=W.strokeOpacity*W.opacity,X.stroke(),X.globalAlpha=nt}else X.stroke()}function F(z,X){X.image=z}function P(z,X,W,Y){var q=W.x||0,me=W.y||0,G=W.textAlign,ye=W.textVerticalAlign;if(Y){var Ae=W.textPosition;if(Ae instanceof Array)q=Y.x+B(Ae[0],Y.width),me=Y.y+B(Ae[1],Y.height);else{var ve=X&&X.calculateTextPosition?X.calculateTextPosition(x,W,Y):a.calculateTextPosition(x,W,Y);q=ve.x,me=ve.y,G=G||ve.textAlign,ye=ye||ve.textVerticalAlign}var Ue=W.textOffset;Ue&&(q+=Ue[0],me+=Ue[1])}return z=z||{},z.baseX=q,z.baseY=me,z.textAlign=G,z.textVerticalAlign=ye,z}function j(z,X,W){return z[X]=o(z,X,W),z[X]}function K(z,X){return z==null||X<=0||z==="transparent"||z==="none"?null:z.image||z.colorStops?"#000":z}function N(z){return z==null||z==="none"?null:z.image||z.colorStops?"#000":z}function B(z,X){return typeof z=="string"?z.lastIndexOf("%")>=0?parseFloat(z)/100*X:parseFloat(z):z}function U(z,X,W){return X==="right"?z-W[1]:X==="center"?z+W[3]/2-W[1]/2:z+W[3]}function H(z,X){return z!=null&&(z||X.textBackgroundColor||X.textBorderWidth&&X.textBorderColor||X.textPadding)}D.normalizeTextStyle=T,D.renderText=E,D.getBoxPosition=P,D.getStroke=K,D.getFill=N,D.parsePercent=B,D.needDrawText=H},"q/+u":function(R,D,e){var g=e("ProS"),f=e("9wZj"),A=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 A: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(R,D){var e=["lineStyle","normal","opacity"],g={seriesType:"parallel",reset:function(f,A,m){var v=f.getModel("itemStyle"),h=f.getModel("lineStyle"),c=A.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,x){var S=l[p];if(p==="normal"&&u.hasItemOption){var T=u.getItemModel(x).get(e,!0);T!=null&&(S=T)}u.setItemVisual(x,"opacity",S)},s.start,s.end)}return{progress:t}}};R.exports=g},q4HE:function(R,D){var e="\\ud800-\\udfff",g="\\u0300-\\u036f",f="\\ufe20-\\ufe2f",A="\\u20d0-\\u20ff",m=g+f+A,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("|")+")",x=RegExp(a+"(?="+a+")|"+p+u,"g");function S(T){for(var w=x.lastIndex=0;x.test(T);)++w;return w}R.exports=S},q7KB:function(R,D,e){},qH13:function(R,D,e){var g=e("ItGF"),f=e("QBsz"),A=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,x=Math.abs,S=Math.cos,T=Math.sin,w=Math.max;if(!g.canvasSupported){var E=",",C="progid:DXImageTransform.Microsoft",_=21600,y=_/2,b=1e5,O=1e3,I=function(fe){fe.style.cssText="position:absolute;left:0;top:0;width:1px;height:1px;",fe.coordsize=_+","+_,fe.coordorigin="0,0"},M=function(fe){return String(fe).replace(/&/g,"&").replace(/"/g,""")},F=function(fe,oe,Le){return"rgb("+[fe,oe,Le].join(",")+")"},P=function(fe,oe){oe&&fe&&oe.parentNode!==fe&&fe.appendChild(oe)},j=function(fe,oe){oe&&fe&&oe.parentNode===fe&&fe.removeChild(oe)},K=function(fe,oe,Le){return(parseFloat(fe)||0)*b+(parseFloat(oe)||0)*O+Le},N=c.parsePercent,B=function(fe,oe,Le){var he=v.parse(oe);Le=+Le,isNaN(Le)&&(Le=1),he&&(fe.color=F(he[0],he[1],he[2]),fe.opacity=Le*he[3])},U=function(fe){var oe=v.parse(fe);return[F(oe[0],oe[1],oe[2]),oe[3]]},H=function(fe,oe,Le){var he=oe.fill;if(he!=null)if(he instanceof l){var te,Z=0,ge=[0,0],Re=0,ze=1,dt=Le.getBoundingRect(),De=dt.width,Tt=dt.height;if(he.type==="linear"){te="gradient";var je=Le.transform,st=[he.x*De,he.y*Tt],Xe=[he.x2*De,he.y2*Tt];je&&(A(st,st,je),A(Xe,Xe,je));var Je=Xe[0]-st[0],et=Xe[1]-st[1];Z=Math.atan2(Je,et)*180/Math.PI,Z<0&&(Z+=360),Z<1e-6&&(Z=0)}else{te="gradientradial";var st=[he.x*De,he.y*Tt],je=Le.transform,at=Le.scale,Ve=De,le=Tt;ge=[(st[0]-dt.x)/Ve,(st[1]-dt.y)/le],je&&A(st,st,je),Ve/=at[0]*_,le/=at[1]*_;var ae=w(Ve,le);Re=2*0/ae,ze=2*he.r/ae-Re}var lt=he.colorStops.slice();lt.sort(function(Ce,Ee){return Ce.offset-Ee.offset});for(var Ze=lt.length,Te=[],Jt=[],mt=0;mt<Ze;mt++){var ft=lt[mt],bt=U(ft.color);Jt.push(ft.offset*ze+Re+" "+bt[0]),(mt===0||mt===Ze-1)&&Te.push(bt)}if(Ze>=2){var It=Te[0][0],or=Te[1][0],Pt=Te[0][1]*oe.opacity,_e=Te[1][1]*oe.opacity;fe.type=te,fe.method="none",fe.focus="100%",fe.angle=Z,fe.color=It,fe.color2=or,fe.colors=Jt.join(","),fe.opacity=_e,fe.opacity2=Pt}te==="radial"&&(fe.focusposition=ge.join(","))}else B(fe,he,oe.opacity)},z=function(fe,oe){oe.lineDash&&(fe.dashstyle=oe.lineDash.join(" ")),oe.stroke!=null&&!(oe.stroke instanceof l)&&B(fe,oe.stroke,oe.opacity)},X=function(fe,oe,Le,he){var te=oe==="fill",Z=fe.getElementsByTagName(oe)[0];Le[oe]!=null&&Le[oe]!=="none"&&(te||!te&&Le.lineWidth)?(fe[te?"filled":"stroked"]="true",Le[oe]instanceof l&&j(fe,Z),Z||(Z=t.createNode(oe)),te?H(Z,Le,he):z(Z,Le),P(fe,Z)):(fe[te?"filled":"stroked"]="false",j(fe,Z))},W=[[],[],[]],Y=function(fe,oe){var Le=s.M,he=s.C,te=s.L,Z=s.A,ge=s.Q,Re=[],ze,dt,De,Tt,je,st,Xe=fe.data,Je=fe.len();for(Tt=0;Tt<Je;){De=Xe[Tt++],dt="",ze=0;switch(De){case Le:dt=" m ",ze=1,je=Xe[Tt++],st=Xe[Tt++],W[0][0]=je,W[0][1]=st;break;case te:dt=" l ",ze=1,je=Xe[Tt++],st=Xe[Tt++],W[0][0]=je,W[0][1]=st;break;case ge:case he:dt=" c ",ze=3;var et=Xe[Tt++],at=Xe[Tt++],Ve=Xe[Tt++],le=Xe[Tt++],ae,lt;De===ge?(ae=Ve,lt=le,Ve=(Ve+2*et)/3,le=(le+2*at)/3,et=(je+2*et)/3,at=(st+2*at)/3):(ae=Xe[Tt++],lt=Xe[Tt++]),W[0][0]=et,W[0][1]=at,W[1][0]=Ve,W[1][1]=le,W[2][0]=ae,W[2][1]=lt,je=ae,st=lt;break;case Z:var Ze=0,Te=0,Jt=1,mt=1,ft=0;oe&&(Ze=oe[4],Te=oe[5],Jt=p(oe[0]*oe[0]+oe[1]*oe[1]),mt=p(oe[2]*oe[2]+oe[3]*oe[3]),ft=Math.atan2(-oe[1]/mt,oe[0]/Jt));var bt=Xe[Tt++],It=Xe[Tt++],or=Xe[Tt++],Pt=Xe[Tt++],_e=Xe[Tt++]+ft,Ce=Xe[Tt++]+_e+ft;Tt++;var Ee=Xe[Tt++],we=bt+S(_e)*or,Fe=It+T(_e)*Pt,et=bt+S(Ce)*or,at=It+T(Ce)*Pt,Ye=Ee?" wa ":" at ";Math.abs(we-et)<1e-4&&(Math.abs(Ce-_e)>.01?Ee&&(we+=270/_):Math.abs(Fe-It)<1e-4?Ee&&we<bt||!Ee&&we>bt?at-=270/_:at+=270/_:Ee&&Fe<It||!Ee&&Fe>It?et+=270/_:et-=270/_),Re.push(Ye,u(((bt-or)*Jt+Ze)*_-y),E,u(((It-Pt)*mt+Te)*_-y),E,u(((bt+or)*Jt+Ze)*_-y),E,u(((It+Pt)*mt+Te)*_-y),E,u((we*Jt+Ze)*_-y),E,u((Fe*mt+Te)*_-y),E,u((et*Jt+Ze)*_-y),E,u((at*mt+Te)*_-y)),je=et,st=at;break;case s.R:var Ge=W[0],qe=W[1];Ge[0]=Xe[Tt++],Ge[1]=Xe[Tt++],qe[0]=Ge[0]+Xe[Tt++],qe[1]=Ge[1]+Xe[Tt++],oe&&(A(Ge,Ge,oe),A(qe,qe,oe)),Ge[0]=u(Ge[0]*_-y),qe[0]=u(qe[0]*_-y),Ge[1]=u(Ge[1]*_-y),qe[1]=u(qe[1]*_-y),Re.push(" m ",Ge[0],E,Ge[1]," l ",qe[0],E,Ge[1]," l ",qe[0],E,qe[1]," l ",Ge[0],E,qe[1]);break;case s.Z:Re.push(" x ")}if(ze>0){Re.push(dt);for(var Ke=0;Ke<ze;Ke++){var ct=W[Ke];oe&&A(ct,ct,oe),Re.push(u(ct[0]*_-y),E,u(ct[1]*_-y),Ke<ze-1?E:"")}}}return Re.join("")};d.prototype.brushVML=function(J){var fe=this.style,oe=this._vmlEl;oe||(oe=t.createNode("shape"),I(oe),this._vmlEl=oe),X(oe,"fill",fe,this),X(oe,"stroke",fe,this);var Le=this.transform,he=Le!=null,te=oe.getElementsByTagName("stroke")[0];if(te){var Z=fe.lineWidth;if(he&&!fe.strokeNoScale){var ge=Le[0]*Le[3]-Le[1]*Le[2];Z*=p(x(ge))}te.weight=Z+"px"}var Re=this.path||(this.path=new n);this.__dirtyPath&&(Re.beginPath(),Re.subPixelOptimize=!1,this.buildPath(Re,this.shape),Re.toStatic(),this.__dirtyPath=!1),oe.path=Y(Re,this.transform),oe.style.zIndex=K(this.zlevel,this.z,this.z2),P(J,oe),fe.text!=null?this.drawRectText(J,this.getBoundingRect()):this.removeRectText(J)},d.prototype.onRemove=function(J){j(J,this._vmlEl),this.removeRectText(J)},d.prototype.onAdd=function(J){P(J,this._vmlEl),this.appendRectText(J)};var q=function(fe){return typeof fe=="object"&&fe.tagName&&fe.tagName.toUpperCase()==="IMG"};r.prototype.brushVML=function(J){var fe=this.style,oe=fe.image,Le,he;if(q(oe)){var te=oe.src;if(te===this._imageSrc)Le=this._imageWidth,he=this._imageHeight;else{var Z=oe.runtimeStyle,ge=Z.width,Re=Z.height;Z.width="auto",Z.height="auto",Le=oe.width,he=oe.height,Z.width=ge,Z.height=Re,this._imageSrc=te,this._imageWidth=Le,this._imageHeight=he}oe=te}else oe===this._imageSrc&&(Le=this._imageWidth,he=this._imageHeight);if(!oe)return;var ze=fe.x||0,dt=fe.y||0,De=fe.width,Tt=fe.height,je=fe.sWidth,st=fe.sHeight,Xe=fe.sx||0,Je=fe.sy||0,et=je&&st,at=this._vmlEl;at||(at=t.doc.createElement("div"),I(at),this._vmlEl=at);var Ve=at.style,le=!1,ae,lt=1,Ze=1;if(this.transform&&(ae=this.transform,lt=p(ae[0]*ae[0]+ae[1]*ae[1]),Ze=p(ae[2]*ae[2]+ae[3]*ae[3]),le=ae[1]||ae[2]),le){var Te=[ze,dt],Jt=[ze+De,dt],mt=[ze,dt+Tt],ft=[ze+De,dt+Tt];A(Te,Te,ae),A(Jt,Jt,ae),A(mt,mt,ae),A(ft,ft,ae);var bt=w(Te[0],Jt[0],mt[0],ft[0]),It=w(Te[1],Jt[1],mt[1],ft[1]),or=[];or.push("M11=",ae[0]/lt,E,"M12=",ae[2]/Ze,E,"M21=",ae[1]/lt,E,"M22=",ae[3]/Ze,E,"Dx=",u(ze*lt+ae[4]),E,"Dy=",u(dt*Ze+ae[5])),Ve.padding="0 "+u(bt)+"px "+u(It)+"px 0",Ve.filter=C+".Matrix("+or.join("")+", SizingMethod=clip)"}else ae&&(ze=ze*lt+ae[4],dt=dt*Ze+ae[5]),Ve.filter="",Ve.left=u(ze)+"px",Ve.top=u(dt)+"px";var Pt=this._imageEl,_e=this._cropEl;Pt||(Pt=t.doc.createElement("div"),this._imageEl=Pt);var Ce=Pt.style;if(et){if(Le&&he)Ce.width=u(lt*Le*De/je)+"px",Ce.height=u(Ze*he*Tt/st)+"px";else{var Ee=new Image,we=this;Ee.onload=function(){Ee.onload=null,Le=Ee.width,he=Ee.height,Ce.width=u(lt*Le*De/je)+"px",Ce.height=u(Ze*he*Tt/st)+"px",we._imageWidth=Le,we._imageHeight=he,we._imageSrc=oe},Ee.src=oe}_e||(_e=t.doc.createElement("div"),_e.style.overflow="hidden",this._cropEl=_e);var Fe=_e.style;Fe.width=u((De+Xe*De/je)*lt),Fe.height=u((Tt+Je*Tt/st)*Ze),Fe.filter=C+".Matrix(Dx="+-Xe*De/je*lt+",Dy="+-Je*Tt/st*Ze+")",_e.parentNode||at.appendChild(_e),Pt.parentNode!==_e&&_e.appendChild(Pt)}else Ce.width=u(lt*De)+"px",Ce.height=u(Ze*Tt)+"px",at.appendChild(Pt),_e&&_e.parentNode&&(at.removeChild(_e),this._cropEl=null);var Ye="",Ge=fe.opacity;Ge<1&&(Ye+=".Alpha(opacity="+u(Ge*100)+") "),Ye+=C+".AlphaImageLoader(src="+oe+", SizingMethod=scale)",Ce.filter=Ye,at.style.zIndex=K(this.zlevel,this.z,this.z2),P(J,at),fe.text!=null&&this.drawRectText(J,this.getBoundingRect())},r.prototype.onRemove=function(J){j(J,this._vmlEl),this._vmlEl=null,this._cropEl=null,this._imageEl=null,this.removeRectText(J)},r.prototype.onAdd=function(J){P(J,this._vmlEl),this.appendRectText(J)};var me="normal",G={},ye=0,Ae=100,ve=document.createElement("div"),Ue=function(fe){var oe=G[fe];if(!oe){ye>Ae&&(ye=0,G={});var Le=ve.style,he;try{Le.font=fe,he=Le.fontFamily.split(",")[0]}catch(te){}oe={style:Le.fontStyle||me,variant:Le.fontVariant||me,weight:Le.fontWeight||me,size:parseFloat(Le.fontSize||12)|0,family:he||"Microsoft YaHei"},G[fe]=oe,ye++}return oe},Me;h.$override("measureText",function(J,fe){var oe=t.doc;Me||(Me=oe.createElement("div"),Me.style.cssText="position:absolute;top:-20000px;left:0;padding:0;margin:0;border:none;white-space:pre;",t.doc.body.appendChild(Me));try{Me.style.font=fe}catch(Le){}return Me.innerHTML="",Me.appendChild(oe.createTextNode(J)),{width:Me.offsetWidth}});for(var nt=new m,ne=function(fe,oe,Le,he){var te=this.style;this.__dirty&&c.normalizeTextStyle(te,!0);var Z=te.text;if(Z!=null&&(Z+=""),!Z)return;if(te.rich){var ge=h.parseRichText(Z,te);Z=[];for(var Re=0;Re<ge.lines.length;Re++){for(var ze=ge.lines[Re].tokens,dt=[],De=0;De<ze.length;De++)dt.push(ze[De].text);Z.push(dt.join(""))}Z=Z.join(`
|
|
|
`)}var Tt,je,st=te.textAlign,Xe=te.textVerticalAlign,Je=Ue(te.font),et=Je.style+" "+Je.variant+" "+Je.weight+" "+Je.size+'px "'+Je.family+'"';Le=Le||h.getBoundingRect(Z,et,st,Xe,te.textPadding,te.textLineHeight);var at=this.transform;if(at&&!he&&(nt.copy(oe),nt.applyTransform(at),oe=nt),he)Tt=oe.x,je=oe.y;else{var Ve=te.textPosition;if(Ve instanceof Array)Tt=oe.x+N(Ve[0],oe.width),je=oe.y+N(Ve[1],oe.height),st=st||"left";else{var le=this.calculateTextPosition?this.calculateTextPosition({},te,oe):h.calculateTextPosition({},te,oe);Tt=le.x,je=le.y,st=st||le.textAlign,Xe=Xe||le.textVerticalAlign}}Tt=h.adjustTextX(Tt,Le.width,st),je=h.adjustTextY(je,Le.height,Xe),je+=Le.height/2;var ae=t.createNode,lt=this._textVmlEl,Ze,Te,Jt;lt?(Jt=lt.firstChild,Ze=Jt.nextSibling,Te=Ze.nextSibling):(lt=ae("line"),Ze=ae("path"),Te=ae("textpath"),Jt=ae("skew"),Te.style["v-text-align"]="left",I(lt),Ze.textpathok=!0,Te.on=!0,lt.from="0 0",lt.to="1000 0.05",P(lt,Jt),P(lt,Ze),P(lt,Te),this._textVmlEl=lt);var mt=[Tt,je],ft=lt.style;at&&he?(A(mt,mt,at),Jt.on=!0,Jt.matrix=at[0].toFixed(3)+E+at[2].toFixed(3)+E+at[1].toFixed(3)+E+at[3].toFixed(3)+",0,0",Jt.offset=(u(mt[0])||0)+","+(u(mt[1])||0),Jt.origin="0 0",ft.left="0px",ft.top="0px"):(Jt.on=!1,ft.left=u(Tt)+"px",ft.top=u(je)+"px"),Te.string=M(Z);try{Te.style.font=et}catch(bt){}X(lt,"fill",{fill:te.textFill,opacity:te.opacity},this),X(lt,"stroke",{stroke:te.textStroke,opacity:te.opacity,lineDash:te.lineDash||null},this),lt.style.zIndex=K(this.zlevel,this.z,this.z2),P(fe,lt)},be=function(fe){j(fe,this._textVmlEl),this._textVmlEl=null},ot=function(fe){P(fe,this._textVmlEl)},ue=[a,i,r,d,o],Q=0;Q<ue.length;Q++){var V=ue[Q].prototype;V.drawRectText=ne,V.removeRectText=be,V.appendRectText=ot}o.prototype.brushVML=function(J){var fe=this.style;fe.text!=null?this.drawRectText(J,{x:fe.x||0,y:fe.y||0,width:0,height:0},this.getBoundingRect(),!0):this.removeRectText(J)},o.prototype.onRemove=function(J){this.removeRectText(J)},o.prototype.onAdd=function(J){this.appendRectText(J)}}},qJCg:function(R,D,e){var g=e("BlVb"),f=e("mFDi"),A=e("IwbS"),m=A.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;R.exports=a},qMZE:function(R,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}}}});R.exports=f},qNPg:function(R,D,e){"use strict";e.d(D,"a",function(){return W});var g=e("rePB"),f=e("VTBJ"),A=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(q,me){var G=q.prefixCls,ye=q.id,Ae=q.inputElement,ve=q.disabled,Ue=q.tabIndex,Me=q.autoFocus,nt=q.autoComplete,ne=q.editable,be=q.accessibilityIndex,ot=q.value,ue=q.onKeyDown,Q=q.onMouseDown,V=q.onChange,J=q.onPaste,fe=q.onCompositionStart,oe=q.onCompositionEnd,Le=q.open,he=q.attrs,te=Ae||h.createElement("input",null),Z=te,ge=Z.ref,Re=Z.props,ze=Re.onKeyDown,dt=Re.onChange,De=Re.onMouseDown,Tt=Re.onCompositionStart,je=Re.onCompositionEnd,st=Re.style;return te=h.cloneElement(te,Object(f.a)(Object(f.a)({id:ye,ref:Object(l.a)(me,ge),disabled:ve,tabIndex:Ue,autoComplete:nt||"off",autoFocus:Me,className:"".concat(G,"-selection-search-input"),style:Object(f.a)(Object(f.a)({},st),{},{opacity:ne?null:0}),role:"combobox","aria-expanded":Le,"aria-haspopup":"listbox","aria-owns":"".concat(ye,"_list"),"aria-autocomplete":"list","aria-controls":"".concat(ye,"_list"),"aria-activedescendant":"".concat(ye,"_list_").concat(be)},he),{},{value:ne?ot:"",readOnly:!ne,unselectable:ne?null:"on",onKeyDown:function(Je){ue(Je),ze&&ze(Je)},onMouseDown:function(Je){Q(Je),De&&De(Je)},onChange:function(Je){V(Je),dt&&dt(Je)},onCompositionStart:function(Je){fe(Je),Tt&&Tt(Je)},onCompositionEnd:function(Je){oe(Je),je&&je(Je)},onPaste:J})),te},s=h.forwardRef(t);s.displayName="Input";var u=s,p=e("WKfj");function x(Y,q){p.b?h.useLayoutEffect(Y,q):h.useEffect(Y,q)}var S="__RC_SELECT_MAX_REST_COUNT__",T=function(q){var me=q.id,G=q.prefixCls,ye=q.values,Ae=q.open,ve=q.searchValue,Ue=q.inputRef,Me=q.placeholder,nt=q.disabled,ne=q.mode,be=q.showSearch,ot=q.autoFocus,ue=q.autoComplete,Q=q.accessibilityIndex,V=q.tabIndex,J=q.removeIcon,fe=q.choiceTransitionName,oe=q.maxTagCount,Le=q.maxTagTextLength,he=q.maxTagPlaceholder,te=he===void 0?function(bt){return"+ ".concat(bt.length," ...")}:he,Z=q.tagRender,ge=q.onSelect,Re=q.onInputChange,ze=q.onInputPaste,dt=q.onInputKeyDown,De=q.onInputMouseDown,Tt=q.onInputCompositionStart,je=q.onInputCompositionEnd,st=h.useState(!1),Xe=Object(m.a)(st,2),Je=Xe[0],et=Xe[1],at=h.useRef(null),Ve=h.useState(0),le=Object(m.a)(Ve,2),ae=le[0],lt=le[1];h.useEffect(function(){et(!0)},[]);var Ze=Ae||ne==="tags"?ve:"",Te=ne==="tags"||Ae&&be;x(function(){lt(at.current.scrollWidth)},[Ze]);var Jt=ye,mt;typeof oe=="number"&&(mt=ye.length-oe,Jt=ye.slice(0,oe)),typeof Le=="number"&&(Jt=Jt.map(function(bt){var It=bt.label,or=Object(v.a)(bt,["label"]),Pt=It;if(typeof It=="string"||typeof It=="number"){var _e=String(Pt);_e.length>Le&&(Pt="".concat(_e.slice(0,Le),"..."))}return Object(f.a)(Object(f.a)({},or),{},{label:Pt})})),mt>0&&Jt.push({key:S,label:typeof te=="function"?te(ye.slice(oe)):te});var ft=h.createElement(d.CSSMotionList,{component:!1,keys:Jt,motionName:fe,motionAppear:Je},function(bt){var It=bt.key,or=bt.label,Pt=bt.value,_e=bt.disabled,Ce=bt.className,Ee=bt.style,we=It||Pt,Fe=It!==S&&!_e,Ye=function(Ke){Ke.preventDefault(),Ke.stopPropagation()},Ge=function(Ke){Ke&&Ke.stopPropagation(),ge(Pt,{selected:!1})};return typeof Z=="function"?h.createElement("span",{key:we,onMouseDown:Ye,className:Ce,style:Ee},Z({label:or,value:Pt,disabled:_e,closable:Fe,onClose:Ge})):h.createElement("span",{key:we,className:i()(Ce,"".concat(G,"-selection-item"),Object(g.a)({},"".concat(G,"-selection-item-disabled"),_e)),style:Ee},h.createElement("span",{className:"".concat(G,"-selection-item-content")},or),Fe&&h.createElement(n.a,{className:"".concat(G,"-selection-item-remove"),onMouseDown:Ye,onClick:Ge,customizeIcon:J},"\xD7"))});return h.createElement(h.Fragment,null,ft,h.createElement("span",{className:"".concat(G,"-selection-search"),style:{width:ae}},h.createElement(u,{ref:Ue,open:Ae,prefixCls:G,id:me,inputElement:null,disabled:nt,autoFocus:ot,autoComplete:ue,editable:Te,accessibilityIndex:Q,value:Ze,onKeyDown:dt,onMouseDown:De,onChange:Re,onPaste:ze,onCompositionStart:Tt,onCompositionEnd:je,tabIndex:V,attrs:Object(o.a)(q,!0)}),h.createElement("span",{ref:at,className:"".concat(G,"-selection-search-mirror"),"aria-hidden":!0},Ze,"\xA0")),!ye.length&&!Ze&&h.createElement("span",{className:"".concat(G,"-selection-placeholder")},Me))},w=T,E=function(q){var me=q.inputElement,G=q.prefixCls,ye=q.id,Ae=q.inputRef,ve=q.disabled,Ue=q.autoFocus,Me=q.autoComplete,nt=q.accessibilityIndex,ne=q.mode,be=q.open,ot=q.values,ue=q.placeholder,Q=q.tabIndex,V=q.showSearch,J=q.searchValue,fe=q.activeValue,oe=q.onInputKeyDown,Le=q.onInputMouseDown,he=q.onInputChange,te=q.onInputPaste,Z=q.onInputCompositionStart,ge=q.onInputCompositionEnd,Re=h.useState(!1),ze=Object(m.a)(Re,2),dt=ze[0],De=ze[1],Tt=ne==="combobox",je=Tt||V&&be,st=ot[0],Xe=J||"";Tt&&fe&&!dt&&(Xe=fe),h.useEffect(function(){Tt&&De(!1)},[Tt,fe]);var Je=ne!=="combobox"&&!be?!1:!!Xe,et=st&&(typeof st.label=="string"||typeof st.label=="number")?st.label.toString():void 0;return h.createElement(h.Fragment,null,h.createElement("span",{className:"".concat(G,"-selection-search")},h.createElement(u,{ref:Ae,prefixCls:G,id:ye,open:be,inputElement:me,disabled:ve,autoFocus:Ue,autoComplete:Me,editable:je,accessibilityIndex:nt,value:Xe,onKeyDown:oe,onMouseDown:Le,onChange:function(Ve){De(!0),he(Ve)},onPaste:te,onCompositionStart:Z,onCompositionEnd:ge,tabIndex:Q,attrs:Object(o.a)(q,!0)})),!Tt&&st&&!Je&&h.createElement("span",{className:"".concat(G,"-selection-item"),title:et},st.label),!st&&!Je&&h.createElement("span",{className:"".concat(G,"-selection-placeholder")},ue))},C=E;function _(){var Y=arguments.length>0&&arguments[0]!==void 0?arguments[0]:250,q=h.useRef(null),me=h.useRef(null);h.useEffect(function(){return function(){window.clearTimeout(me.current)}},[]);function G(ye){(ye||q.current===null)&&(q.current=ye),window.clearTimeout(me.current),me.current=window.setTimeout(function(){q.current=null},Y)}return[function(){return q.current},G]}var y=function(q,me){var G=Object(h.useRef)(null),ye=Object(h.useRef)(!1),Ae=q.prefixCls,ve=q.multiple,Ue=q.open,Me=q.mode,nt=q.showSearch,ne=q.tokenWithEnter,be=q.onSearch,ot=q.onSearchSubmit,ue=q.onToggleOpen,Q=q.onInputKeyDown,V=q.domRef;h.useImperativeHandle(me,function(){return{focus:function(){G.current.focus()},blur:function(){G.current.blur()}}});var J=_(0),fe=Object(m.a)(J,2),oe=fe[0],Le=fe[1],he=function(Je){var et=Je.which;(et===c.a.UP||et===c.a.DOWN)&&Je.preventDefault(),Q&&Q(Je),et===c.a.ENTER&&Me==="tags"&&!ye.current&&!Ue&&ot(Je.target.value),[c.a.SHIFT,c.a.TAB,c.a.BACKSPACE,c.a.ESC].includes(et)||ue(!0)},te=function(){Le(!0)},Z=Object(h.useRef)(null),ge=function(Je){be(Je,!0,ye.current)!==!1&&ue(!0)},Re=function(){ye.current=!0},ze=function(){ye.current=!1},dt=function(Je){var et=Je.target.value;if(ne&&Z.current&&/[\r\n]/.test(Z.current)){var at=Z.current.replace(/\r\n/g," ").replace(/[\r\n]/g," ");et=et.replace(at,Z.current)}Z.current=null,ge(et)},De=function(Je){var et=Je.clipboardData,at=et.getData("text");Z.current=at},Tt=function(Je){var et=oe();if(Je.target!==G.current){et||Je.preventDefault();var at=document.body.style.msTouchAction!==void 0;at?setTimeout(function(){G.current.focus()}):G.current.focus()}(Me!=="combobox"&&(!nt||!et)||!Ue)&&(Ue&&be("",!0,!1),ue())},je={inputRef:G,onInputKeyDown:he,onInputMouseDown:te,onInputChange:dt,onInputPaste:De,onInputCompositionStart:Re,onInputCompositionEnd:ze},st=ve?h.createElement(w,Object.assign({},q,je)):h.createElement(C,Object.assign({},q,je));return h.createElement("div",{ref:V,className:"".concat(Ae,"-selector"),onMouseDown:Tt},st)},b=h.forwardRef(y);b.displayName="Selector";var O=b,I=e("uciX"),M=function(q){var me=typeof q!="number"?0:1;return{bottomLeft:{points:["tl","bl"],offset:[0,4],overflow:{adjustX:me,adjustY:1}},bottomRight:{points:["tr","br"],offset:[0,4],overflow:{adjustX:me,adjustY:1}},topLeft:{points:["bl","tl"],offset:[0,-4],overflow:{adjustX:me,adjustY:1}},topRight:{points:["br","tr"],offset:[0,-4],overflow:{adjustX:me,adjustY:1}}}},F=function(q,me){var G=q.prefixCls,ye=q.disabled,Ae=q.visible,ve=q.children,Ue=q.popupElement,Me=q.containerWidth,nt=q.animation,ne=q.transitionName,be=q.dropdownStyle,ot=q.dropdownClassName,ue=q.direction,Q=ue===void 0?"ltr":ue,V=q.dropdownMatchSelectWidth,J=V===void 0?!0:V,fe=q.dropdownRender,oe=q.dropdownAlign,Le=q.getPopupContainer,he=q.empty,te=q.getTriggerDOMNode,Z=Object(v.a)(q,["prefixCls","disabled","visible","children","popupElement","containerWidth","animation","transitionName","dropdownStyle","dropdownClassName","direction","dropdownMatchSelectWidth","dropdownRender","dropdownAlign","getPopupContainer","empty","getTriggerDOMNode"]),ge="".concat(G,"-dropdown"),Re=Ue;fe&&(Re=fe(Ue));var ze=h.useMemo(function(){return M(J)},[J]),dt=nt?"".concat(ge,"-").concat(nt):ne,De=h.useRef(null);h.useImperativeHandle(me,function(){return{getPopupElement:function(){return De.current}}});var Tt=Object(f.a)({minWidth:Me},be);return typeof J=="number"?Tt.width=J:J&&(Tt.width=Me),h.createElement(I.a,Object.assign({},Z,{showAction:[],hideAction:[],popupPlacement:Q==="rtl"?"bottomRight":"bottomLeft",builtinPlacements:ze,prefixCls:ge,popupTransitionName:dt,popup:h.createElement("div",{ref:De},Re),popupAlign:oe,popupVisible:Ae,getPopupContainer:Le,popupClassName:i()(ot,Object(g.a)({},"".concat(ge,"-empty"),he)),popupStyle:Tt,getTriggerDOMNode:te}),ve)},P=h.forwardRef(F);P.displayName="SelectTrigger";var j=P,K=e("wPlo");function N(){var Y=arguments.length>0&&arguments[0]!==void 0?arguments[0]:10,q=h.useState(!1),me=Object(m.a)(q,2),G=me[0],ye=me[1],Ae=h.useRef(null),ve=function(){window.clearTimeout(Ae.current)};h.useEffect(function(){return ve},[]);var Ue=function(nt,ne){ve(),Ae.current=window.setTimeout(function(){ye(nt),ne&&ne()},Y)};return[G,Ue,ve]}var B=e("2Qr1");function U(Y,q,me){var G=h.useRef(null);G.current={elements:Y.filter(function(ye){return ye}),open:q,triggerOpen:me},h.useEffect(function(){function ye(Ae){var ve=Ae.target;G.current.open&&G.current.elements.every(function(Ue){return!Ue.contains(ve)&&Ue!==ve})&&G.current.triggerOpen(!1)}return window.addEventListener("mousedown",ye),function(){return window.removeEventListener("mousedown",ye)}},[])}function H(Y){var q=h.useRef(Y),me=h.useMemo(function(){var G=new Map;q.current.forEach(function(Ae){var ve=Ae.value,Ue=Ae.label;ve!==Ue&&G.set(ve,Ue)});var ye=Y.map(function(Ae){var ve=G.get(Ae.value);return Ae.value===Ae.label&&ve?Object(f.a)(Object(f.a)({},Ae),{},{label:ve}):Ae});return q.current=ye,ye},[Y]);return me}function z(Y,q){var me=h.useRef(null),G=h.useMemo(function(){var Ae=new Map;return q.forEach(function(ve){var Ue=ve.data.value;Ae.set(Ue,ve)}),Ae},[Y,q]);me.current=G;var ye=function(ve){return ve.map(function(Ue){return me.current.get(Ue)}).filter(Boolean)};return ye}var X=["removeIcon","placeholder","autoFocus","maxTagCount","maxTagTextLength","maxTagPlaceholder","choiceTransitionName","onInputKeyDown"];function W(Y){var q=Y.prefixCls,me=Y.components.optionList,G=Y.convertChildrenToData,ye=Y.flattenOptions,Ae=Y.getLabeledValue,ve=Y.filterOptions,Ue=Y.isValueDisabled,Me=Y.findValueOption,nt=Y.warningProps,ne=Y.fillOptionsWithMissingValue,be=Y.omitDOMProps;function ot(Q,V){var J,fe=Q.prefixCls,oe=fe===void 0?q:fe,Le=Q.className,he=Q.id,te=Q.open,Z=Q.defaultOpen,ge=Q.options,Re=Q.children,ze=Q.mode,dt=Q.value,De=Q.defaultValue,Tt=Q.labelInValue,je=Q.showSearch,st=Q.inputValue,Xe=Q.searchValue,Je=Q.filterOption,et=Q.optionFilterProp,at=et===void 0?"value":et,Ve=Q.autoClearSearchValue,le=Ve===void 0?!0:Ve,ae=Q.onSearch,lt=Q.allowClear,Ze=Q.clearIcon,Te=Q.showArrow,Jt=Q.inputIcon,mt=Q.menuItemSelectedIcon,ft=Q.disabled,bt=Q.loading,It=Q.defaultActiveFirstOption,or=Q.notFoundContent,Pt=or===void 0?"Not Found":or,_e=Q.optionLabelProp,Ce=Q.backfill,Ee=Q.getInputElement,we=Q.getPopupContainer,Fe=Q.listHeight,Ye=Fe===void 0?200:Fe,Ge=Q.listItemHeight,qe=Ge===void 0?20:Ge,Ke=Q.animation,ct=Q.transitionName,wt=Q.virtual,Lt=Q.dropdownStyle,de=Q.dropdownClassName,xe=Q.dropdownMatchSelectWidth,$=Q.dropdownRender,se=Q.dropdownAlign,Oe=Q.showAction,ke=Oe===void 0?[]:Oe,Pe=Q.direction,rt=Q.tokenSeparators,At=Q.tagRender,Wt=Q.onPopupScroll,$t=Q.onDropdownVisibleChange,Rt=Q.onFocus,zt=Q.onBlur,Gt=Q.onKeyUp,Qt=Q.onKeyDown,Mt=Q.onMouseDown,dr=Q.onChange,er=Q.onSelect,ht=Q.onDeselect,Et=Q.onClear,pt=Q.internalProps,vt=pt===void 0?{}:pt,Nt=Object(v.a)(Q,["prefixCls","className","id","open","defaultOpen","options","children","mode","value","defaultValue","labelInValue","showSearch","inputValue","searchValue","filterOption","optionFilterProp","autoClearSearchValue","onSearch","allowClear","clearIcon","showArrow","inputIcon","menuItemSelectedIcon","disabled","loading","defaultActiveFirstOption","notFoundContent","optionLabelProp","backfill","getInputElement","getPopupContainer","listHeight","listItemHeight","animation","transitionName","virtual","dropdownStyle","dropdownClassName","dropdownMatchSelectWidth","dropdownRender","dropdownAlign","showAction","direction","tokenSeparators","tagRender","onPopupScroll","onDropdownVisibleChange","onFocus","onBlur","onKeyUp","onKeyDown","onMouseDown","onChange","onSelect","onDeselect","onClear","internalProps"]),_t=vt.mark===K.a,gt=be?be(Nt):Nt;X.forEach(function(Rn){delete gt[Rn]});var Ht=Object(h.useRef)(null),kt=Object(h.useRef)(null),ir=Object(h.useRef)(null),Xt=Object(h.useRef)(null),mr=Object(h.useMemo)(function(){return(rt||[]).some(function(Rn){return[`
|
|
|
`,`\r
|
|
|
`].includes(Rn)})},[rt]),Ar=N(),Nr=Object(m.a)(Ar,3),kr=Nr[0],tn=Nr[1],qr=Nr[2],_r=Object(h.useState)(),Qr=Object(m.a)(_r,2),Lr=Qr[0],ur=Qr[1];Object(h.useEffect)(function(){ur("rc_select_".concat(Object(p.a)()))},[]);var pr=he||Lr,cr=_e;cr===void 0&&(cr=ge?"label":"children");var fr=ze==="combobox"?!1:Tt,xr=ze==="tags"||ze==="multiple",Yr=je!==void 0?je:xr||ze==="combobox",un=Object(h.useRef)(null);h.useImperativeHandle(V,function(){return{focus:ir.current.focus,blur:ir.current.blur}});var Nn=Object(r.a)(De,{value:dt}),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:ze==="combobox"})},[Tn,fr]),Kn=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],Li=xa;ze==="combobox"&&Tn!==void 0?Li=Tn:Xe!==void 0?Li=Xe:st&&(Li=st);var Ci=Object(h.useMemo)(function(){var Rn=ge;return Rn===void 0&&(Rn=G(Re)),ze==="tags"&&ne&&(Rn=ne(Rn,Tn,cr,Tt)),Rn||[]},[ge,Re,ze,Tn]),Gn=Object(h.useMemo)(function(){return ye(Ci,Q)},[Ci]),Oa=z(Bn,Gn),mn=Object(h.useMemo)(function(){if(!Li||!Yr)return Object(A.a)(Ci);var Rn=ve(Li,Ci,{optionFilterProp:at,filterOption:ze==="combobox"&&Je===void 0?function(){return!0}:Je});return ze==="tags"&&Rn.every(function(En){return En[at]!==Li})&&Rn.unshift({value:Li,label:Li,key:"__RC_SELECT_TAG_PLACEHOLDER__"}),Rn},[Ci,Li,ze,Yr]),On=Object(h.useMemo)(function(){return ye(mn,Q)},[mn]);Object(h.useEffect)(function(){Xt.current&&Xt.current.scrollTo&&Xt.current.scrollTo(0)},[Li]);var _n=Object(h.useMemo)(function(){var Rn=Bn.map(function(En){var In=Oa([En]),Xn=Ae(En,{options:In,prevValue:Tn,labelInValue:fr,optionLabelProp:cr});return Object(f.a)(Object(f.a)({},Xn),{},{disabled:Ue(En,In)})});return!ze&&Rn.length===1&&Rn[0].value===null&&Rn[0].label===null?[]:Rn},[Tn,Ci,ze]);_n=H(_n);var Ln=function(En,In,Xn){var ai=Oa([En]),ri=Me([En],ai)[0];if(!vt.skipTriggerSelect){var Di=fr?Ae(En,{options:ai,prevValue:Tn,labelInValue:fr,optionLabelProp:cr}):En;In&&er?er(Di,ri):!In&&ht&&ht(Di,ri)}_t&&(In&&vt.onRawSelect?vt.onRawSelect(En,ri,Xn):!In&&vt.onRawDeselect&&vt.onRawDeselect(En,ri,Xn))},jn=Object(h.useState)([]),ni=Object(m.a)(jn,2),di=ni[0],Na=ni[1],Qi=function(En){if(_t&&vt.skipTriggerChange)return;var In=Oa(En),Xn=Object(p.f)(Array.from(En),{labelInValue:fr,options:In,getLabeledValue:Ae,prevValue:Tn,optionLabelProp:cr}),ai=xr?Xn:Xn[0];if(dr&&(Bn.length!==0||Xn.length!==0)){var ri=Me(En,In,{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,In){var Xn=In.selected,ai=In.source;if(ft)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)),Ln(En,!xr||Xn,ai),ze==="combobox"?(ta(String(En)),An("")):(!xr||le)&&(ta(""),An(""))},Pa=function(En,In){ma(En,Object(f.a)(Object(f.a)({},In),{},{source:"option"}))},Qa=function(En,In){ma(En,Object(f.a)(Object(f.a)({},In),{},{source:"selection"}))},Wi=ze==="combobox"&&Ee&&Ee()||null,Co=Object(r.a)(void 0,{defaultValue:Z,value:te}),aa=Object(m.a)(Co,2),Hi=aa[0],ga=aa[1],ha=Hi,mo=!Pt&&!mn.length;(ft||mo&&ha&&ze==="combobox")&&(ha=!1);var Fn=mo?!1:ha,$i=function(En){var In=En!==void 0?En:!ha;Hi!==In&&!ft&&(ga(In),$t&&$t(In))};U([Ht.current,kt.current&&kt.current.getPopupElement()],Fn,$i);var eo=function(En,In,Xn){var ai=!0,ri=En;An(null);var Di=Xn?null:Object(B.f)(En,rt),yi=Di;if(ze==="combobox")In&&Qi([ri]);else if(Di){ri="",ze!=="tags"&&(yi=Di.map(function(_i){var Un=Gn.find(function(Ri){var fa=Ri.data;return fa[cr]===_i});return Un?Un.data.value:null}).filter(function(_i){return _i!==null}));var xi=Array.from(new Set([].concat(Object(A.a)(Bn),Object(A.a)(yi))));Qi(xi),xi.forEach(function(_i){Ln(_i,!0,"input")}),$i(!1),ai=!1}return ta(ri),ae&&Li!==ri&&ae(ri),ai},To=function(En){var In=Array.from(new Set([].concat(Object(A.a)(Bn),[En])));Qi(In),In.forEach(function(Xn){Ln(Xn,!0,"input")}),ta("")};Object(h.useEffect)(function(){Hi&&!!ft&&ga(!1)},[ft]),Object(h.useEffect)(function(){!ha&&!xr&&ze!=="combobox"&&eo("",!1,!1)},[ha]);var uo=_(),rr=Object(m.a)(uo,2),Tr=rr[0],Br=rr[1],Wr=function(En){var In=Tr(),Xn=En.which;if(!ha&&Xn===c.a.ENTER&&$i(!0),Br(!!Li),Xn===c.a.BACKSPACE&&!In&&xr&&!Li&&Bn.length){var ai=Object(p.c)(_n,Bn);ai.removedValue!==null&&(Qi(ai.values),Ln(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 In=arguments.length,Xn=new Array(In>1?In-1:0),ai=1;ai<In;ai++)Xn[ai-1]=arguments[ai];if(ha&&Xt.current){var ri;(ri=Xt.current).onKeyUp.apply(ri,[En].concat(Xn))}Gt&&Gt.apply(void 0,[En].concat(Xn))},it=Object(h.useRef)(!1),jt=function(){tn(!0),ft||(Rt&&!it.current&&Rt.apply(void 0,arguments),ke.includes("focus")&&$i(!0)),it.current=!0},Zt=function(){if(tn(!1,function(){it.current=!1,$i(!1)}),ft)return;Li&&(ze==="tags"?(eo("",!1,!1),Qi(Array.from(new Set([].concat(Object(A.a)(Bn),[Li]))))):ze==="multiple"&&ta("")),zt&&zt.apply(void 0,arguments)},nr=[];Object(h.useEffect)(function(){return function(){nr.forEach(function(Rn){return clearTimeout(Rn)}),nr.splice(0,nr.length)}},[]);var Or=function(En){var In=En.target,Xn=kt.current&&kt.current.getPopupElement();if(Xn&&Xn.contains(In)){var ai=setTimeout(function(){var xi=nr.indexOf(ai);xi!==-1&&nr.splice(xi,1),qr(),Xn.contains(document.activeElement)||ir.current.focus()});nr.push(ai)}if(Mt){for(var ri=arguments.length,Di=new Array(ri>1?ri-1:0),yi=1;yi<ri;yi++)Di[yi-1]=arguments[yi];Mt.apply(void 0,[En].concat(Di))}},wr=Object(h.useState)(0),Er=Object(m.a)(wr,2),Kr=Er[0],Zr=Er[1],Jr=It!==void 0?It:ze!=="combobox",an=function(En,In){Zr(In),Ce&&ze==="combobox"&&En!==null&&An(String(En))},xt=Object(h.useState)(null),Vt=Object(m.a)(xt,2),sr=Vt[0],br=Vt[1],Mr=Object(h.useState)({}),Dr=Object(m.a)(Mr,2),rn=Dr[1];function fn(){rn({})}x(function(){if(Fn){var Rn=Math.ceil(Ht.current.offsetWidth);sr!==Rn&&br(Rn)}},[Fn]);var wn=h.createElement(me,{ref:Xt,prefixCls:oe,id:pr,open:ha,childrenAsData:!ge,options:mn,flattenOptions:On,multiple:xr,values:Kn,height:Ye,itemHeight:qe,onSelect:Pa,onToggleOpen:$i,onActiveValue:an,defaultActiveFirstOption:Jr,notFoundContent:Pt,onScroll:Wt,searchValue:Li,menuItemSelectedIcon:mt,virtual:wt!==!1&&xe!==!1,onMouseEnter:fn}),Hn,Sn=function(){_t&&vt.onClear&&vt.onClear(),Et&&Et(),Qi([]),eo("",!1,!1)};!ft&<&&(Bn.length||Li)&&(Hn=h.createElement(n.a,{className:"".concat(oe,"-clear"),onMouseDown:Sn,customizeIcon:Ze},"\xD7"));var bn=Te!==void 0?Te:bt||!xr&&ze!=="combobox",Mn;bn&&(Mn=h.createElement(n.a,{className:i()("".concat(oe,"-arrow"),Object(g.a)({},"".concat(oe,"-arrow-loading"),bt)),customizeIcon:Jt,customizeIconProps:{loading:bt,searchValue:Li,open:ha,focused:kr,showSearch:Yr}}));var vn=i()(oe,Le,(J={},Object(g.a)(J,"".concat(oe,"-focused"),kr),Object(g.a)(J,"".concat(oe,"-multiple"),xr),Object(g.a)(J,"".concat(oe,"-single"),!xr),Object(g.a)(J,"".concat(oe,"-allow-clear"),lt),Object(g.a)(J,"".concat(oe,"-show-arrow"),bn),Object(g.a)(J,"".concat(oe,"-disabled"),ft),Object(g.a)(J,"".concat(oe,"-loading"),bt),Object(g.a)(J,"".concat(oe,"-open"),ha),Object(g.a)(J,"".concat(oe,"-customize-input"),Wi),Object(g.a)(J,"".concat(oe,"-show-search"),Yr),J));return h.createElement("div",Object.assign({className:vn},gt,{ref:Ht,onMouseDown:Or,onKeyDown:Wr,onKeyUp:hn,onFocus:jt,onBlur:Zt}),kr&&!ha&&h.createElement("span",{style:{width:0,height:0,display:"flex",overflow:"hidden",opacity:0},"aria-live":"polite"},"".concat(Bn.join(", "))),h.createElement(j,{ref:kt,disabled:ft,prefixCls:oe,visible:Fn,popupElement:wn,containerWidth:sr,animation:Ke,transitionName:ct,dropdownStyle:Lt,dropdownClassName:de,direction:Pe,dropdownMatchSelectWidth:xe,dropdownRender:$,dropdownAlign:se,getPopupContainer:we,empty:!Ci.length,getTriggerDOMNode:function(){return un.current}},h.createElement(O,Object.assign({},Q,{domRef:un,prefixCls:oe,inputElement:Wi,ref:ir,id:pr,showSearch:Yr,mode:ze,accessibilityIndex:Kr,multiple:xr,tagRender:At,values:_n,open:ha,onToggleOpen:$i,searchValue:Li,activeValue:Vn,onSearch:eo,onSearchSubmit:To,onSelect:Qa,tokenWithEnter:mr}))),Mn,Hn)}var ue=h.forwardRef(ot);return ue}},qPY4:function(R,D,e){"use strict";Object.defineProperty(D,"__esModule",{value:!0}),D.default=void 0;var g=f(e("u4NN"));function f(m){return m&&m.__esModule?m:{default:m}}var A=g;D.default=A,R.exports=A},qWUW:function(R,D,e){"use strict";var g=e("TqRt"),f=e("284h");Object.defineProperty(D,"__esModule",{value:!0}),D.default=void 0;var A=f(e("q1tI")),m=g(e("DL4k")),v=g(e("KQxl")),h=function(i,r){return A.createElement(v.default,Object.assign({},i,{ref:r,icon:m.default}))};h.displayName="CaretDownOutlined";var c=A.forwardRef(h);D.default=c},qWt2:function(R,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}}});R.exports=f},qZFw:function(R,D,e){var g=e("bYtY"),f=e("6GrX"),A=e("hM6l"),m=e("4NO4"),v=m.makeInner,h=v();function c(i,r){r=r||[0,360],A.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:A.prototype.dataToCoord,angleToData:A.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),x=p/s;isNaN(x)&&(x=Infinity);var S=Math.max(0,Math.floor(x)),T=h(i.model),w=T.lastAutoInterval,E=T.lastTickCount;return w!=null&&E!=null&&Math.abs(w-S)<=1&&Math.abs(E-n)<=1&&w>S?S=w:(T.lastTickCount=n,T.lastAutoInterval=S),S}},g.inherits(c,A);var a=c;R.exports=a},qZTm:function(R,D,e){var g=e("fR/l"),f=e("MvSz"),A=e("7GkX");function m(v){return g(v,A,f)}R.exports=m},qgGe:function(R,D,e){var g=e("bYtY"),f=e("T4UG"),A=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,A.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}R.exports=h},qj72:function(R,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 A(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)}}}R.exports=A},"qt/9":function(R,D,e){var g=e("ProS"),f=e("bYtY");e("Wqna"),e("1tlw"),e("Mylv");var A=e("nVfU"),m=A.layout,v=e("f5Yq");e("Ae16"),g.registerLayout(f.curry(m,"pictorialBar")),g.registerVisual(v("pictorialBar","roundRect"))},quyA:function(R,D){var e="\\ud800-\\udfff",g="\\u0300-\\u036f",f="\\ufe20-\\ufe2f",A="\\u20d0-\\u20ff",m=g+f+A,v="\\ufe0e\\ufe0f",h="\\u200d",c=RegExp("["+h+e+m+v+"]");function a(i){return c.test(i)}R.exports=a},qwVE:function(R,D,e){var g=e("ProS"),f=e("bYtY"),A=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(A.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,x)}return n.color;function p(S){return n[S]}function x(S,T){n[S]=T}}},"r+aA":function(R,D,e){"use strict";var g=e("TqRt"),f=e("284h");Object.defineProperty(D,"__esModule",{value:!0}),D.default=void 0;var A=f(e("q1tI")),m=g(e("s2MQ")),v=g(e("KQxl")),h=function(i,r){return A.createElement(v.default,Object.assign({},i,{ref:r,icon:m.default}))};h.displayName="EyeInvisibleOutlined";var c=A.forwardRef(h);D.default=c},"r/2G":function(R,D,e){"use strict";Object.defineProperty(D,"__esModule",{value:!0}),D.default=void 0;var g=f(e("+Zaj"));function f(m){return m&&m.__esModule?m:{default:m}}var A=g;D.default=A,R.exports=A},r0c9:function(R,D,e){(function(g,f){var A,A;/*!
|
|
|
|
|
|
JSZip v3.6.0 - A JavaScript class for generating and reading zip files
|
|
|
<http://stuartk.com/jszip>
|
|
|
|
|
|
(c) 2009-2016 Stuart Knightley <stuart [at] stuartk.com>
|
|
|
Dual licenced under the MIT license or GPLv3. See https://raw.github.com/Stuk/jszip/master/LICENSE.markdown.
|
|
|
|
|
|
JSZip uses the library pako released under the MIT license :
|
|
|
https://github.com/nodeca/pako/blob/master/LICENSE
|
|
|
*/!function(m){R.exports=m()}(function(){return function m(v,h,c){function a(o,d){if(!h[o]){if(!v[o]){var n=typeof A=="function"&&A;if(!d&&n)return A(o,!0);if(i)return i(o,!0);var l=new Error("Cannot find module '"+o+"'");throw l.code="MODULE_NOT_FOUND",l}var t=h[o]={exports:{}};v[o][0].call(t.exports,function(s){var u=v[o][1][s];return a(u||s)},t,t.exports,m,v,h,c)}return h[o].exports}for(var i=typeof A=="function"&&A,r=0;r<c.length;r++)a(c[r]);return a}({1:[function(m,v,h){(function(c){!function(a){typeof h=="object"&&v!==void 0?v.exports=a():(typeof window!="undefined"?window:c!==void 0?c:typeof self!="undefined"?self:this).JSZip=a()}(function(){return function a(i,r,o){function d(t,s){if(!r[t]){if(!i[t]){var u=typeof m=="function"&&m;if(!s&&u)return u(t,!0);if(n)return n(t,!0);var p=new Error("Cannot find module '"+t+"'");throw p.code="MODULE_NOT_FOUND",p}var x=r[t]={exports:{}};i[t][0].call(x.exports,function(S){return d(i[t][1][S]||S)},x,x.exports,a,i,r,o)}return r[t].exports}for(var n=typeof m=="function"&&m,l=0;l<o.length;l++)d(o[l]);return d}({1:[function(a,i,r){(function(o){!function(d){typeof r=="object"&&i!==void 0?i.exports=d():(typeof window!="undefined"?window:o!==void 0?o:typeof self!="undefined"?self:this).JSZip=d()}(function(){return function d(n,l,t){function s(x,S){if(!l[x]){if(!n[x]){var T=typeof a=="function"&&a;if(!S&&T)return T(x,!0);if(u)return u(x,!0);var w=new Error("Cannot find module '"+x+"'");throw w.code="MODULE_NOT_FOUND",w}var E=l[x]={exports:{}};n[x][0].call(E.exports,function(C){return s(n[x][1][C]||C)},E,E.exports,d,n,l,t)}return l[x].exports}for(var u=typeof a=="function"&&a,p=0;p<t.length;p++)s(t[p]);return s}({1:[function(d,n,l){(function(t){!function(s){typeof l=="object"&&n!==void 0?n.exports=s():(typeof window!="undefined"?window:t!==void 0?t:typeof self!="undefined"?self:this).JSZip=s()}(function(){return function s(u,p,x){function S(E,C){if(!p[E]){if(!u[E]){var _=typeof d=="function"&&d;if(!C&&_)return _(E,!0);if(T)return T(E,!0);var y=new Error("Cannot find module '"+E+"'");throw y.code="MODULE_NOT_FOUND",y}var b=p[E]={exports:{}};u[E][0].call(b.exports,function(O){return S(u[E][1][O]||O)},b,b.exports,s,u,p,x)}return p[E].exports}for(var T=typeof d=="function"&&d,w=0;w<x.length;w++)S(x[w]);return S}({1:[function(s,u,p){(function(x){!function(S){typeof p=="object"&&u!==void 0?u.exports=S():(typeof window!="undefined"?window:x!==void 0?x:typeof self!="undefined"?self:this).JSZip=S()}(function(){return function S(T,w,E){function C(b,O){if(!w[b]){if(!T[b]){var I=typeof s=="function"&&s;if(!O&&I)return I(b,!0);if(_)return _(b,!0);var M=new Error("Cannot find module '"+b+"'");throw M.code="MODULE_NOT_FOUND",M}var F=w[b]={exports:{}};T[b][0].call(F.exports,function(P){return C(T[b][1][P]||P)},F,F.exports,S,T,w,E)}return w[b].exports}for(var _=typeof s=="function"&&s,y=0;y<E.length;y++)C(E[y]);return C}({1:[function(S,T,w){(function(E){!function(C){typeof w=="object"&&T!==void 0?T.exports=C():(typeof window!="undefined"?window:E!==void 0?E:typeof self!="undefined"?self:this).JSZip=C()}(function(){return function C(_,y,b){function O(F,P){if(!y[F]){if(!_[F]){var j=typeof S=="function"&&S;if(!P&&j)return j(F,!0);if(I)return I(F,!0);var K=new Error("Cannot find module '"+F+"'");throw K.code="MODULE_NOT_FOUND",K}var N=y[F]={exports:{}};_[F][0].call(N.exports,function(B){return O(_[F][1][B]||B)},N,N.exports,C,_,y,b)}return y[F].exports}for(var I=typeof S=="function"&&S,M=0;M<b.length;M++)O(b[M]);return O}({1:[function(C,_,y){"use strict";var b=C("./utils"),O=C("./support"),I="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=";y.encode=function(M){for(var F,P,j,K,N,B,U,H=[],z=0,X=M.length,W=X,Y=b.getTypeOf(M)!=="string";z<M.length;)W=X-z,j=Y?(F=M[z++],P=z<X?M[z++]:0,z<X?M[z++]:0):(F=M.charCodeAt(z++),P=z<X?M.charCodeAt(z++):0,z<X?M.charCodeAt(z++):0),K=F>>2,N=(3&F)<<4|P>>4,B=1<W?(15&P)<<2|j>>6:64,U=2<W?63&j:64,H.push(I.charAt(K)+I.charAt(N)+I.charAt(B)+I.charAt(U));return H.join("")},y.decode=function(M){var F,P,j,K,N,B,U=0,H=0;if(M.substr(0,"data:".length)==="data:")throw new Error("Invalid base64 input, it looks like a data url.");var z,X=3*(M=M.replace(/[^A-Za-z0-9\+\/\=]/g,"")).length/4;if(M.charAt(M.length-1)===I.charAt(64)&&X--,M.charAt(M.length-2)===I.charAt(64)&&X--,X%1!=0)throw new Error("Invalid base64 input, bad content length.");for(z=O.uint8array?new Uint8Array(0|X):new Array(0|X);U<M.length;)F=I.indexOf(M.charAt(U++))<<2|(K=I.indexOf(M.charAt(U++)))>>4,P=(15&K)<<4|(N=I.indexOf(M.charAt(U++)))>>2,j=(3&N)<<6|(B=I.indexOf(M.charAt(U++))),z[H++]=F,N!==64&&(z[H++]=P),B!==64&&(z[H++]=j);return z}},{"./support":30,"./utils":32}],2:[function(C,_,y){"use strict";var b=C("./external"),O=C("./stream/DataWorker"),I=C("./stream/Crc32Probe"),M=C("./stream/DataLengthProbe");function F(P,j,K,N,B){this.compressedSize=P,this.uncompressedSize=j,this.crc32=K,this.compression=N,this.compressedContent=B}F.prototype={getContentWorker:function(){var j=new O(b.Promise.resolve(this.compressedContent)).pipe(this.compression.uncompressWorker()).pipe(new M("data_length")),K=this;return j.on("end",function(){if(this.streamInfo.data_length!==K.uncompressedSize)throw new Error("Bug : uncompressed data size mismatch")}),j},getCompressedWorker:function(){return new O(b.Promise.resolve(this.compressedContent)).withStreamInfo("compressedSize",this.compressedSize).withStreamInfo("uncompressedSize",this.uncompressedSize).withStreamInfo("crc32",this.crc32).withStreamInfo("compression",this.compression)}},F.createWorkerFrom=function(P,j,K){return P.pipe(new I).pipe(new M("uncompressedSize")).pipe(j.compressWorker(K)).pipe(new M("compressedSize")).withStreamInfo("compression",j)},_.exports=F},{"./external":6,"./stream/Crc32Probe":25,"./stream/DataLengthProbe":26,"./stream/DataWorker":27}],3:[function(C,_,y){"use strict";var b=C("./stream/GenericWorker");y.STORE={magic:"\0\0",compressWorker:function(I){return new b("STORE compression")},uncompressWorker:function(){return new b("STORE decompression")}},y.DEFLATE=C("./flate")},{"./flate":7,"./stream/GenericWorker":28}],4:[function(C,_,y){"use strict";var b=C("./utils"),O=function(){for(var I,M=[],F=0;F<256;F++){I=F;for(var P=0;P<8;P++)I=1&I?3988292384^I>>>1:I>>>1;M[F]=I}return M}();_.exports=function(I,M){return I!==void 0&&I.length?b.getTypeOf(I)!=="string"?function(F,P,j){var K=O,N=0+j;F^=-1;for(var B=0;B<N;B++)F=F>>>8^K[255&(F^P[B])];return-1^F}(0|M,I,I.length):function(F,P,j){var K=O,N=0+j;F^=-1;for(var B=0;B<N;B++)F=F>>>8^K[255&(F^P.charCodeAt(B))];return-1^F}(0|M,I,I.length):0}},{"./utils":32}],5:[function(C,_,y){"use strict";y.base64=!1,y.binary=!1,y.dir=!1,y.createFolders=!0,y.date=null,y.compression=null,y.compressionOptions=null,y.comment=null,y.unixPermissions=null,y.dosPermissions=null},{}],6:[function(C,_,y){"use strict";var b;b=typeof Promise!="undefined"?Promise:C("lie"),_.exports={Promise:b}},{lie:37}],7:[function(C,_,y){"use strict";var b=typeof Uint8Array!="undefined"&&typeof Uint16Array!="undefined"&&typeof Uint32Array!="undefined",O=C("pako"),I=C("./utils"),M=C("./stream/GenericWorker"),F=b?"uint8array":"array";function P(j,K){M.call(this,"FlateWorker/"+j),this._pako=null,this._pakoAction=j,this._pakoOptions=K,this.meta={}}y.magic="\b\0",I.inherits(P,M),P.prototype.processChunk=function(j){this.meta=j.meta,this._pako===null&&this._createPako(),this._pako.push(I.transformTo(F,j.data),!1)},P.prototype.flush=function(){M.prototype.flush.call(this),this._pako===null&&this._createPako(),this._pako.push([],!0)},P.prototype.cleanUp=function(){M.prototype.cleanUp.call(this),this._pako=null},P.prototype._createPako=function(){this._pako=new O[this._pakoAction]({raw:!0,level:this._pakoOptions.level||-1});var j=this;this._pako.onData=function(K){j.push({data:K,meta:j.meta})}},y.compressWorker=function(j){return new P("Deflate",j)},y.uncompressWorker=function(){return new P("Inflate",{})}},{"./stream/GenericWorker":28,"./utils":32,pako:38}],8:[function(C,_,y){"use strict";function b(N,B){var U,H="";for(U=0;U<B;U++)H+=String.fromCharCode(255&N),N>>>=8;return H}function O(N,B,U,H,z,X){var W,Y,q=N.file,me=N.compression,G=X!==F.utf8encode,ye=I.transformTo("string",X(q.name)),Ae=I.transformTo("string",F.utf8encode(q.name)),ve=q.comment,Ue=I.transformTo("string",X(ve)),Me=I.transformTo("string",F.utf8encode(ve)),nt=Ae.length!==q.name.length,ne=Me.length!==ve.length,be="",ot="",ue="",Q=q.dir,V=q.date,J={crc32:0,compressedSize:0,uncompressedSize:0};B&&!U||(J.crc32=N.crc32,J.compressedSize=N.compressedSize,J.uncompressedSize=N.uncompressedSize);var fe=0;B&&(fe|=8),G||!nt&&!ne||(fe|=2048);var oe,Le=0,he=0;Q&&(Le|=16),z==="UNIX"?(he=798,Le|=((oe=q.unixPermissions)||(oe=Q?16893:33204),(65535&oe)<<16)):(he=20,Le|=63&(q.dosPermissions||0)),W=V.getUTCHours(),W<<=6,W|=V.getUTCMinutes(),W<<=5,W|=V.getUTCSeconds()/2,Y=V.getUTCFullYear()-1980,Y<<=4,Y|=V.getUTCMonth()+1,Y<<=5,Y|=V.getUTCDate(),nt&&(be+="up"+b((ot=b(1,1)+b(P(ye),4)+Ae).length,2)+ot),ne&&(be+="uc"+b((ue=b(1,1)+b(P(Ue),4)+Me).length,2)+ue);var te="";return te+=`
|
|
|
\0`,te+=b(fe,2),te+=me.magic,te+=b(W,2),te+=b(Y,2),te+=b(J.crc32,4),te+=b(J.compressedSize,4),te+=b(J.uncompressedSize,4),te+=b(ye.length,2),te+=b(be.length,2),{fileRecord:j.LOCAL_FILE_HEADER+te+ye+be,dirRecord:j.CENTRAL_FILE_HEADER+b(he,2)+te+b(Ue.length,2)+"\0\0\0\0"+b(Le,4)+b(H,4)+ye+be+Ue}}var I=C("../utils"),M=C("../stream/GenericWorker"),F=C("../utf8"),P=C("../crc32"),j=C("../signature");function K(N,B,U,H){M.call(this,"ZipFileWorker"),this.bytesWritten=0,this.zipComment=B,this.zipPlatform=U,this.encodeFileName=H,this.streamFiles=N,this.accumulate=!1,this.contentBuffer=[],this.dirRecords=[],this.currentSourceOffset=0,this.entriesCount=0,this.currentFile=null,this._sources=[]}I.inherits(K,M),K.prototype.push=function(N){var B=N.meta.percent||0,U=this.entriesCount,H=this._sources.length;this.accumulate?this.contentBuffer.push(N):(this.bytesWritten+=N.data.length,M.prototype.push.call(this,{data:N.data,meta:{currentFile:this.currentFile,percent:U?(B+100*(U-H-1))/U:100}}))},K.prototype.openedSource=function(N){this.currentSourceOffset=this.bytesWritten,this.currentFile=N.file.name;var B=this.streamFiles&&!N.file.dir;if(B){var U=O(N,B,!1,this.currentSourceOffset,this.zipPlatform,this.encodeFileName);this.push({data:U.fileRecord,meta:{percent:0}})}else this.accumulate=!0},K.prototype.closedSource=function(N){this.accumulate=!1;var B,U=this.streamFiles&&!N.file.dir,H=O(N,U,!0,this.currentSourceOffset,this.zipPlatform,this.encodeFileName);if(this.dirRecords.push(H.dirRecord),U)this.push({data:(B=N,j.DATA_DESCRIPTOR+b(B.crc32,4)+b(B.compressedSize,4)+b(B.uncompressedSize,4)),meta:{percent:100}});else for(this.push({data:H.fileRecord,meta:{percent:0}});this.contentBuffer.length;)this.push(this.contentBuffer.shift());this.currentFile=null},K.prototype.flush=function(){for(var N=this.bytesWritten,B=0;B<this.dirRecords.length;B++)this.push({data:this.dirRecords[B],meta:{percent:100}});var U,H,z,X,W,Y,q=this.bytesWritten-N,me=(U=this.dirRecords.length,H=q,z=N,X=this.zipComment,W=this.encodeFileName,Y=I.transformTo("string",W(X)),j.CENTRAL_DIRECTORY_END+"\0\0\0\0"+b(U,2)+b(U,2)+b(H,4)+b(z,4)+b(Y.length,2)+Y);this.push({data:me,meta:{percent:100}})},K.prototype.prepareNextSource=function(){this.previous=this._sources.shift(),this.openedSource(this.previous.streamInfo),this.isPaused?this.previous.pause():this.previous.resume()},K.prototype.registerPrevious=function(N){this._sources.push(N);var B=this;return N.on("data",function(U){B.processChunk(U)}),N.on("end",function(){B.closedSource(B.previous.streamInfo),B._sources.length?B.prepareNextSource():B.end()}),N.on("error",function(U){B.error(U)}),this},K.prototype.resume=function(){return!!M.prototype.resume.call(this)&&(!this.previous&&this._sources.length?(this.prepareNextSource(),!0):this.previous||this._sources.length||this.generatedError?void 0:(this.end(),!0))},K.prototype.error=function(N){var B=this._sources;if(!M.prototype.error.call(this,N))return!1;for(var U=0;U<B.length;U++)try{B[U].error(N)}catch(H){}return!0},K.prototype.lock=function(){M.prototype.lock.call(this);for(var N=this._sources,B=0;B<N.length;B++)N[B].lock()},_.exports=K},{"../crc32":4,"../signature":23,"../stream/GenericWorker":28,"../utf8":31,"../utils":32}],9:[function(C,_,y){"use strict";var b=C("../compressions"),O=C("./ZipFileWorker");y.generateWorker=function(I,M,F){var P=new O(M.streamFiles,F,M.platform,M.encodeFileName),j=0;try{I.forEach(function(K,N){j++;var B=function(X,W){var Y=X||W,q=b[Y];if(!q)throw new Error(Y+" is not a valid compression method !");return q}(N.options.compression,M.compression),U=N.options.compressionOptions||M.compressionOptions||{},H=N.dir,z=N.date;N._compressWorker(B,U).withStreamInfo("file",{name:K,dir:H,date:z,comment:N.comment||"",unixPermissions:N.unixPermissions,dosPermissions:N.dosPermissions}).pipe(P)}),P.entriesCount=j}catch(K){P.error(K)}return P}},{"../compressions":3,"./ZipFileWorker":8}],10:[function(C,_,y){"use strict";function b(){if(!(this instanceof b))return new b;if(arguments.length)throw new Error("The constructor with parameters has been removed in JSZip 3.0, please check the upgrade guide.");this.files={},this.comment=null,this.root="",this.clone=function(){var O=new b;for(var I in this)typeof this[I]!="function"&&(O[I]=this[I]);return O}}(b.prototype=C("./object")).loadAsync=C("./load"),b.support=C("./support"),b.defaults=C("./defaults"),b.version="3.5.0",b.loadAsync=function(O,I){return new b().loadAsync(O,I)},b.external=C("./external"),_.exports=b},{"./defaults":5,"./external":6,"./load":11,"./object":15,"./support":30}],11:[function(C,_,y){"use strict";var b=C("./utils"),O=C("./external"),I=C("./utf8"),M=C("./zipEntries"),F=C("./stream/Crc32Probe"),P=C("./nodejsUtils");function j(K){return new O.Promise(function(N,B){var U=K.decompressed.getContentWorker().pipe(new F);U.on("error",function(H){B(H)}).on("end",function(){U.streamInfo.crc32!==K.decompressed.crc32?B(new Error("Corrupted zip : CRC32 mismatch")):N()}).resume()})}_.exports=function(K,N){var B=this;return N=b.extend(N||{},{base64:!1,checkCRC32:!1,optimizedBinaryString:!1,createFolders:!1,decodeFileName:I.utf8decode}),P.isNode&&P.isStream(K)?O.Promise.reject(new Error("JSZip can't accept a stream when loading a zip file.")):b.prepareContent("the loaded zip file",K,!0,N.optimizedBinaryString,N.base64).then(function(U){var H=new M(N);return H.load(U),H}).then(function(U){var H=[O.Promise.resolve(U)],z=U.files;if(N.checkCRC32)for(var X=0;X<z.length;X++)H.push(j(z[X]));return O.Promise.all(H)}).then(function(U){for(var H=U.shift(),z=H.files,X=0;X<z.length;X++){var W=z[X];B.file(W.fileNameStr,W.decompressed,{binary:!0,optimizedBinaryString:!0,date:W.date,dir:W.dir,comment:W.fileCommentStr.length?W.fileCommentStr:null,unixPermissions:W.unixPermissions,dosPermissions:W.dosPermissions,createFolders:N.createFolders})}return H.zipComment.length&&(B.comment=H.zipComment),B})}},{"./external":6,"./nodejsUtils":14,"./stream/Crc32Probe":25,"./utf8":31,"./utils":32,"./zipEntries":33}],12:[function(C,_,y){"use strict";var b=C("../utils"),O=C("../stream/GenericWorker");function I(M,F){O.call(this,"Nodejs stream input adapter for "+M),this._upstreamEnded=!1,this._bindStream(F)}b.inherits(I,O),I.prototype._bindStream=function(M){var F=this;(this._stream=M).pause(),M.on("data",function(P){F.push({data:P,meta:{percent:0}})}).on("error",function(P){F.isPaused?this.generatedError=P:F.error(P)}).on("end",function(){F.isPaused?F._upstreamEnded=!0:F.end()})},I.prototype.pause=function(){return!!O.prototype.pause.call(this)&&(this._stream.pause(),!0)},I.prototype.resume=function(){return!!O.prototype.resume.call(this)&&(this._upstreamEnded?this.end():this._stream.resume(),!0)},_.exports=I},{"../stream/GenericWorker":28,"../utils":32}],13:[function(C,_,y){"use strict";var b=C("readable-stream").Readable;function O(I,M,F){b.call(this,M),this._helper=I;var P=this;I.on("data",function(j,K){P.push(j)||P._helper.pause(),F&&F(K)}).on("error",function(j){P.emit("error",j)}).on("end",function(){P.push(null)})}C("../utils").inherits(O,b),O.prototype._read=function(){this._helper.resume()},_.exports=O},{"../utils":32,"readable-stream":16}],14:[function(C,_,y){"use strict";_.exports={isNode:typeof f!="undefined",newBufferFrom:function(O,I){if(f.from&&f.from!==Uint8Array.from)return f.from(O,I);if(typeof O=="number")throw new Error('The "data" argument must not be a number');return new f(O,I)},allocBuffer:function(O){if(f.alloc)return f.alloc(O);var I=new f(O);return I.fill(0),I},isBuffer:function(O){return f.isBuffer(O)},isStream:function(O){return O&&typeof O.on=="function"&&typeof O.pause=="function"&&typeof O.resume=="function"}}},{}],15:[function(C,_,y){"use strict";function b(Y,q,me){var G,ye=M.getTypeOf(q),Ae=M.extend(me||{},j);Ae.date=Ae.date||new Date,Ae.compression!==null&&(Ae.compression=Ae.compression.toUpperCase()),typeof Ae.unixPermissions=="string"&&(Ae.unixPermissions=parseInt(Ae.unixPermissions,8)),Ae.unixPermissions&&16384&Ae.unixPermissions&&(Ae.dir=!0),Ae.dosPermissions&&16&Ae.dosPermissions&&(Ae.dir=!0),Ae.dir&&(Y=O(Y)),Ae.createFolders&&(G=function(nt){nt.slice(-1)==="/"&&(nt=nt.substring(0,nt.length-1));var ne=nt.lastIndexOf("/");return 0<ne?nt.substring(0,ne):""}(Y))&&z.call(this,G,!0);var ve,Ue=ye==="string"&&Ae.binary===!1&&Ae.base64===!1;me&&me.binary!==void 0||(Ae.binary=!Ue),(q instanceof K&&q.uncompressedSize===0||Ae.dir||!q||q.length===0)&&(Ae.base64=!1,Ae.binary=!0,q="",Ae.compression="STORE",ye="string"),ve=q instanceof K||q instanceof F?q:U.isNode&&U.isStream(q)?new H(Y,q):M.prepareContent(Y,q,Ae.binary,Ae.optimizedBinaryString,Ae.base64);var Me=new N(Y,ve,Ae);this.files[Y]=Me}function O(Y){return Y.slice(-1)!=="/"&&(Y+="/"),Y}var I=C("./utf8"),M=C("./utils"),F=C("./stream/GenericWorker"),P=C("./stream/StreamHelper"),j=C("./defaults"),K=C("./compressedObject"),N=C("./zipObject"),B=C("./generate"),U=C("./nodejsUtils"),H=C("./nodejs/NodejsStreamInputAdapter"),z=function(q,me){return me=me!==void 0?me:j.createFolders,q=O(q),this.files[q]||b.call(this,q,null,{dir:!0,createFolders:me}),this.files[q]};function X(Y){return Object.prototype.toString.call(Y)==="[object RegExp]"}var W={load:function(){throw new Error("This method has been removed in JSZip 3.0, please check the upgrade guide.")},forEach:function(q){var me,G,ye;for(me in this.files)this.files.hasOwnProperty(me)&&(ye=this.files[me],(G=me.slice(this.root.length,me.length))&&me.slice(0,this.root.length)===this.root&&q(G,ye))},filter:function(q){var me=[];return this.forEach(function(G,ye){q(G,ye)&&me.push(ye)}),me},file:function(q,me,G){if(arguments.length!==1)return q=this.root+q,b.call(this,q,me,G),this;if(X(q)){var ye=q;return this.filter(function(ve,Ue){return!Ue.dir&&ye.test(ve)})}var Ae=this.files[this.root+q];return Ae&&!Ae.dir?Ae:null},folder:function(q){if(!q)return this;if(X(q))return this.filter(function(Ae,ve){return ve.dir&&q.test(Ae)});var me=this.root+q,G=z.call(this,me),ye=this.clone();return ye.root=G.name,ye},remove:function(q){q=this.root+q;var me=this.files[q];if(me||(q.slice(-1)!=="/"&&(q+="/"),me=this.files[q]),me&&!me.dir)delete this.files[q];else for(var G=this.filter(function(Ae,ve){return ve.name.slice(0,q.length)===q}),ye=0;ye<G.length;ye++)delete this.files[G[ye].name];return this},generate:function(q){throw new Error("This method has been removed in JSZip 3.0, please check the upgrade guide.")},generateInternalStream:function(q){var me,G={};try{if((G=M.extend(q||{},{streamFiles:!1,compression:"STORE",compressionOptions:null,type:"",platform:"DOS",comment:null,mimeType:"application/zip",encodeFileName:I.utf8encode})).type=G.type.toLowerCase(),G.compression=G.compression.toUpperCase(),G.type==="binarystring"&&(G.type="string"),!G.type)throw new Error("No output type specified.");M.checkSupport(G.type),G.platform!=="darwin"&&G.platform!=="freebsd"&&G.platform!=="linux"&&G.platform!=="sunos"||(G.platform="UNIX"),G.platform==="win32"&&(G.platform="DOS");var ye=G.comment||this.comment||"";me=B.generateWorker(this,G,ye)}catch(Ae){(me=new F("error")).error(Ae)}return new P(me,G.type||"string",G.mimeType)},generateAsync:function(q,me){return this.generateInternalStream(q).accumulate(me)},generateNodeStream:function(q,me){return(q=q||{}).type||(q.type="nodebuffer"),this.generateInternalStream(q).toNodejsStream(me)}};_.exports=W},{"./compressedObject":2,"./defaults":5,"./generate":9,"./nodejs/NodejsStreamInputAdapter":12,"./nodejsUtils":14,"./stream/GenericWorker":28,"./stream/StreamHelper":29,"./utf8":31,"./utils":32,"./zipObject":35}],16:[function(C,_,y){_.exports=C("stream")},{stream:void 0}],17:[function(C,_,y){"use strict";var b=C("./DataReader");function O(I){b.call(this,I);for(var M=0;M<this.data.length;M++)I[M]=255&I[M]}C("../utils").inherits(O,b),O.prototype.byteAt=function(I){return this.data[this.zero+I]},O.prototype.lastIndexOfSignature=function(I){for(var M=I.charCodeAt(0),F=I.charCodeAt(1),P=I.charCodeAt(2),j=I.charCodeAt(3),K=this.length-4;0<=K;--K)if(this.data[K]===M&&this.data[K+1]===F&&this.data[K+2]===P&&this.data[K+3]===j)return K-this.zero;return-1},O.prototype.readAndCheckSignature=function(I){var M=I.charCodeAt(0),F=I.charCodeAt(1),P=I.charCodeAt(2),j=I.charCodeAt(3),K=this.readData(4);return M===K[0]&&F===K[1]&&P===K[2]&&j===K[3]},O.prototype.readData=function(I){if(this.checkOffset(I),I===0)return[];var M=this.data.slice(this.zero+this.index,this.zero+this.index+I);return this.index+=I,M},_.exports=O},{"../utils":32,"./DataReader":18}],18:[function(C,_,y){"use strict";var b=C("../utils");function O(I){this.data=I,this.length=I.length,this.index=0,this.zero=0}O.prototype={checkOffset:function(M){this.checkIndex(this.index+M)},checkIndex:function(M){if(this.length<this.zero+M||M<0)throw new Error("End of data reached (data length = "+this.length+", asked index = "+M+"). Corrupted zip ?")},setIndex:function(M){this.checkIndex(M),this.index=M},skip:function(M){this.setIndex(this.index+M)},byteAt:function(M){},readInt:function(M){var F,P=0;for(this.checkOffset(M),F=this.index+M-1;F>=this.index;F--)P=(P<<8)+this.byteAt(F);return this.index+=M,P},readString:function(M){return b.transformTo("string",this.readData(M))},readData:function(M){},lastIndexOfSignature:function(M){},readAndCheckSignature:function(M){},readDate:function(){var M=this.readInt(4);return new Date(Date.UTC(1980+(M>>25&127),(M>>21&15)-1,M>>16&31,M>>11&31,M>>5&63,(31&M)<<1))}},_.exports=O},{"../utils":32}],19:[function(C,_,y){"use strict";var b=C("./Uint8ArrayReader");function O(I){b.call(this,I)}C("../utils").inherits(O,b),O.prototype.readData=function(I){this.checkOffset(I);var M=this.data.slice(this.zero+this.index,this.zero+this.index+I);return this.index+=I,M},_.exports=O},{"../utils":32,"./Uint8ArrayReader":21}],20:[function(C,_,y){"use strict";var b=C("./DataReader");function O(I){b.call(this,I)}C("../utils").inherits(O,b),O.prototype.byteAt=function(I){return this.data.charCodeAt(this.zero+I)},O.prototype.lastIndexOfSignature=function(I){return this.data.lastIndexOf(I)-this.zero},O.prototype.readAndCheckSignature=function(I){return I===this.readData(4)},O.prototype.readData=function(I){this.checkOffset(I);var M=this.data.slice(this.zero+this.index,this.zero+this.index+I);return this.index+=I,M},_.exports=O},{"../utils":32,"./DataReader":18}],21:[function(C,_,y){"use strict";var b=C("./ArrayReader");function O(I){b.call(this,I)}C("../utils").inherits(O,b),O.prototype.readData=function(I){if(this.checkOffset(I),I===0)return new Uint8Array(0);var M=this.data.subarray(this.zero+this.index,this.zero+this.index+I);return this.index+=I,M},_.exports=O},{"../utils":32,"./ArrayReader":17}],22:[function(C,_,y){"use strict";var b=C("../utils"),O=C("../support"),I=C("./ArrayReader"),M=C("./StringReader"),F=C("./NodeBufferReader"),P=C("./Uint8ArrayReader");_.exports=function(j){var K=b.getTypeOf(j);return b.checkSupport(K),K!=="string"||O.uint8array?K==="nodebuffer"?new F(j):O.uint8array?new P(b.transformTo("uint8array",j)):new I(b.transformTo("array",j)):new M(j)}},{"../support":30,"../utils":32,"./ArrayReader":17,"./NodeBufferReader":19,"./StringReader":20,"./Uint8ArrayReader":21}],23:[function(C,_,y){"use strict";y.LOCAL_FILE_HEADER="PK",y.CENTRAL_FILE_HEADER="PK",y.CENTRAL_DIRECTORY_END="PK",y.ZIP64_CENTRAL_DIRECTORY_LOCATOR="PK\x07",y.ZIP64_CENTRAL_DIRECTORY_END="PK",y.DATA_DESCRIPTOR="PK\x07\b"},{}],24:[function(C,_,y){"use strict";var b=C("./GenericWorker"),O=C("../utils");function I(M){b.call(this,"ConvertWorker to "+M),this.destType=M}O.inherits(I,b),I.prototype.processChunk=function(M){this.push({data:O.transformTo(this.destType,M.data),meta:M.meta})},_.exports=I},{"../utils":32,"./GenericWorker":28}],25:[function(C,_,y){"use strict";var b=C("./GenericWorker"),O=C("../crc32");function I(){b.call(this,"Crc32Probe"),this.withStreamInfo("crc32",0)}C("../utils").inherits(I,b),I.prototype.processChunk=function(M){this.streamInfo.crc32=O(M.data,this.streamInfo.crc32||0),this.push(M)},_.exports=I},{"../crc32":4,"../utils":32,"./GenericWorker":28}],26:[function(C,_,y){"use strict";var b=C("../utils"),O=C("./GenericWorker");function I(M){O.call(this,"DataLengthProbe for "+M),this.propName=M,this.withStreamInfo(M,0)}b.inherits(I,O),I.prototype.processChunk=function(M){if(M){var F=this.streamInfo[this.propName]||0;this.streamInfo[this.propName]=F+M.data.length}O.prototype.processChunk.call(this,M)},_.exports=I},{"../utils":32,"./GenericWorker":28}],27:[function(C,_,y){"use strict";var b=C("../utils"),O=C("./GenericWorker");function I(M){O.call(this,"DataWorker");var F=this;this.dataIsReady=!1,this.index=0,this.max=0,this.data=null,this.type="",this._tickScheduled=!1,M.then(function(P){F.dataIsReady=!0,F.data=P,F.max=P&&P.length||0,F.type=b.getTypeOf(P),F.isPaused||F._tickAndRepeat()},function(P){F.error(P)})}b.inherits(I,O),I.prototype.cleanUp=function(){O.prototype.cleanUp.call(this),this.data=null},I.prototype.resume=function(){return!!O.prototype.resume.call(this)&&(!this._tickScheduled&&this.dataIsReady&&(this._tickScheduled=!0,b.delay(this._tickAndRepeat,[],this)),!0)},I.prototype._tickAndRepeat=function(){this._tickScheduled=!1,this.isPaused||this.isFinished||(this._tick(),this.isFinished||(b.delay(this._tickAndRepeat,[],this),this._tickScheduled=!0))},I.prototype._tick=function(){if(this.isPaused||this.isFinished)return!1;var M=null,F=Math.min(this.max,this.index+16384);if(this.index>=this.max)return this.end();switch(this.type){case"string":M=this.data.substring(this.index,F);break;case"uint8array":M=this.data.subarray(this.index,F);break;case"array":case"nodebuffer":M=this.data.slice(this.index,F)}return this.index=F,this.push({data:M,meta:{percent:this.max?this.index/this.max*100:0}})},_.exports=I},{"../utils":32,"./GenericWorker":28}],28:[function(C,_,y){"use strict";function b(O){this.name=O||"default",this.streamInfo={},this.generatedError=null,this.extraStreamInfo={},this.isPaused=!0,this.isFinished=!1,this.isLocked=!1,this._listeners={data:[],end:[],error:[]},this.previous=null}b.prototype={push:function(I){this.emit("data",I)},end:function(){if(this.isFinished)return!1;this.flush();try{this.emit("end"),this.cleanUp(),this.isFinished=!0}catch(I){this.emit("error",I)}return!0},error:function(I){return!this.isFinished&&(this.isPaused?this.generatedError=I:(this.isFinished=!0,this.emit("error",I),this.previous&&this.previous.error(I),this.cleanUp()),!0)},on:function(I,M){return this._listeners[I].push(M),this},cleanUp:function(){this.streamInfo=this.generatedError=this.extraStreamInfo=null,this._listeners=[]},emit:function(I,M){if(this._listeners[I])for(var F=0;F<this._listeners[I].length;F++)this._listeners[I][F].call(this,M)},pipe:function(I){return I.registerPrevious(this)},registerPrevious:function(I){if(this.isLocked)throw new Error("The stream '"+this+"' has already been used.");this.streamInfo=I.streamInfo,this.mergeStreamInfo(),this.previous=I;var M=this;return I.on("data",function(F){M.processChunk(F)}),I.on("end",function(){M.end()}),I.on("error",function(F){M.error(F)}),this},pause:function(){return!this.isPaused&&!this.isFinished&&(this.isPaused=!0,this.previous&&this.previous.pause(),!0)},resume:function(){if(!this.isPaused||this.isFinished)return!1;var I=this.isPaused=!1;return this.generatedError&&(this.error(this.generatedError),I=!0),this.previous&&this.previous.resume(),!I},flush:function(){},processChunk:function(I){this.push(I)},withStreamInfo:function(I,M){return this.extraStreamInfo[I]=M,this.mergeStreamInfo(),this},mergeStreamInfo:function(){for(var I in this.extraStreamInfo)this.extraStreamInfo.hasOwnProperty(I)&&(this.streamInfo[I]=this.extraStreamInfo[I])},lock:function(){if(this.isLocked)throw new Error("The stream '"+this+"' has already been used.");this.isLocked=!0,this.previous&&this.previous.lock()},toString:function(){var I="Worker "+this.name;return this.previous?this.previous+" -> "+I:I}},_.exports=b},{}],29:[function(C,_,y){"use strict";var b=C("../utils"),O=C("./ConvertWorker"),I=C("./GenericWorker"),M=C("../base64"),F=C("../support"),P=C("../external"),j=null;if(F.nodestream)try{j=C("../nodejs/NodejsStreamOutputAdapter")}catch(N){}function K(N,B,U){var H=B;switch(B){case"blob":case"arraybuffer":H="uint8array";break;case"base64":H="string"}try{this._internalType=H,this._outputType=B,this._mimeType=U,b.checkSupport(H),this._worker=N.pipe(new O(H)),N.lock()}catch(z){this._worker=new I("error"),this._worker.error(z)}}K.prototype={accumulate:function(B){return U=this,H=B,new P.Promise(function(z,X){var W=[],Y=U._internalType,q=U._outputType,me=U._mimeType;U.on("data",function(G,ye){W.push(G),H&&H(ye)}).on("error",function(G){W=[],X(G)}).on("end",function(){try{var G=function(ye,Ae,ve){switch(ye){case"blob":return b.newBlob(b.transformTo("arraybuffer",Ae),ve);case"base64":return M.encode(Ae);default:return b.transformTo(ye,Ae)}}(q,function(ye,Ae){var ve,Ue=0,Me=null,nt=0;for(ve=0;ve<Ae.length;ve++)nt+=Ae[ve].length;switch(ye){case"string":return Ae.join("");case"array":return Array.prototype.concat.apply([],Ae);case"uint8array":for(Me=new Uint8Array(nt),ve=0;ve<Ae.length;ve++)Me.set(Ae[ve],Ue),Ue+=Ae[ve].length;return Me;case"nodebuffer":return f.concat(Ae);default:throw new Error("concat : unsupported type '"+ye+"'")}}(Y,W),me);z(G)}catch(ye){X(ye)}W=[]}).resume()});var U,H},on:function(B,U){var H=this;return B==="data"?this._worker.on(B,function(z){U.call(H,z.data,z.meta)}):this._worker.on(B,function(){b.delay(U,arguments,H)}),this},resume:function(){return b.delay(this._worker.resume,[],this._worker),this},pause:function(){return this._worker.pause(),this},toNodejsStream:function(B){if(b.checkSupport("nodestream"),this._outputType!=="nodebuffer")throw new Error(this._outputType+" is not supported by this method");return new j(this,{objectMode:this._outputType!=="nodebuffer"},B)}},_.exports=K},{"../base64":1,"../external":6,"../nodejs/NodejsStreamOutputAdapter":13,"../support":30,"../utils":32,"./ConvertWorker":24,"./GenericWorker":28}],30:[function(C,_,y){"use strict";if(y.base64=!0,y.array=!0,y.string=!0,y.arraybuffer=typeof ArrayBuffer!="undefined"&&typeof Uint8Array!="undefined",y.nodebuffer=typeof f!="undefined",y.uint8array=typeof Uint8Array!="undefined",typeof ArrayBuffer=="undefined")y.blob=!1;else{var b=new ArrayBuffer(0);try{y.blob=new Blob([b],{type:"application/zip"}).size===0}catch(I){try{var O=new(self.BlobBuilder||self.WebKitBlobBuilder||self.MozBlobBuilder||self.MSBlobBuilder);O.append(b),y.blob=O.getBlob("application/zip").size===0}catch(M){y.blob=!1}}}try{y.nodestream=!!C("readable-stream").Readable}catch(I){y.nodestream=!1}},{"readable-stream":16}],31:[function(C,_,y){"use strict";for(var b=C("./utils"),O=C("./support"),I=C("./nodejsUtils"),M=C("./stream/GenericWorker"),F=new Array(256),P=0;P<256;P++)F[P]=252<=P?6:248<=P?5:240<=P?4:224<=P?3:192<=P?2:1;function j(){M.call(this,"utf-8 decode"),this.leftOver=null}function K(){M.call(this,"utf-8 encode")}F[254]=F[254]=1,y.utf8encode=function(N){return O.nodebuffer?I.newBufferFrom(N,"utf-8"):function(B){var U,H,z,X,W,Y=B.length,q=0;for(X=0;X<Y;X++)(64512&(H=B.charCodeAt(X)))==55296&&X+1<Y&&(64512&(z=B.charCodeAt(X+1)))==56320&&(H=65536+(H-55296<<10)+(z-56320),X++),q+=H<128?1:H<2048?2:H<65536?3:4;for(U=O.uint8array?new Uint8Array(q):new Array(q),X=W=0;W<q;X++)(64512&(H=B.charCodeAt(X)))==55296&&X+1<Y&&(64512&(z=B.charCodeAt(X+1)))==56320&&(H=65536+(H-55296<<10)+(z-56320),X++),H<128?U[W++]=H:(H<2048?U[W++]=192|H>>>6:(H<65536?U[W++]=224|H>>>12:(U[W++]=240|H>>>18,U[W++]=128|H>>>12&63),U[W++]=128|H>>>6&63),U[W++]=128|63&H);return U}(N)},y.utf8decode=function(N){return O.nodebuffer?b.transformTo("nodebuffer",N).toString("utf-8"):function(B){var U,H,z,X,W=B.length,Y=new Array(2*W);for(U=H=0;U<W;)if((z=B[U++])<128)Y[H++]=z;else if(4<(X=F[z]))Y[H++]=65533,U+=X-1;else{for(z&=X===2?31:X===3?15:7;1<X&&U<W;)z=z<<6|63&B[U++],X--;1<X?Y[H++]=65533:z<65536?Y[H++]=z:(z-=65536,Y[H++]=55296|z>>10&1023,Y[H++]=56320|1023&z)}return Y.length!==H&&(Y.subarray?Y=Y.subarray(0,H):Y.length=H),b.applyFromCharCode(Y)}(N=b.transformTo(O.uint8array?"uint8array":"array",N))},b.inherits(j,M),j.prototype.processChunk=function(N){var B=b.transformTo(O.uint8array?"uint8array":"array",N.data);if(this.leftOver&&this.leftOver.length){if(O.uint8array){var U=B;(B=new Uint8Array(U.length+this.leftOver.length)).set(this.leftOver,0),B.set(U,this.leftOver.length)}else B=this.leftOver.concat(B);this.leftOver=null}var H=function(X,W){var Y;for((W=W||X.length)>X.length&&(W=X.length),Y=W-1;0<=Y&&(192&X[Y])==128;)Y--;return Y<0||Y===0?W:Y+F[X[Y]]>W?Y:W}(B),z=B;H!==B.length&&(O.uint8array?(z=B.subarray(0,H),this.leftOver=B.subarray(H,B.length)):(z=B.slice(0,H),this.leftOver=B.slice(H,B.length))),this.push({data:y.utf8decode(z),meta:N.meta})},j.prototype.flush=function(){this.leftOver&&this.leftOver.length&&(this.push({data:y.utf8decode(this.leftOver),meta:{}}),this.leftOver=null)},y.Utf8DecodeWorker=j,b.inherits(K,M),K.prototype.processChunk=function(N){this.push({data:y.utf8encode(N.data),meta:N.meta})},y.Utf8EncodeWorker=K},{"./nodejsUtils":14,"./stream/GenericWorker":28,"./support":30,"./utils":32}],32:[function(C,_,y){"use strict";var b=C("./support"),O=C("./base64"),I=C("./nodejsUtils"),M=C("set-immediate-shim"),F=C("./external");function P(H){return H}function j(H,z){for(var X=0;X<H.length;++X)z[X]=255&H.charCodeAt(X);return z}y.newBlob=function(H,z){y.checkSupport("blob");try{return new Blob([H],{type:z})}catch(W){try{var X=new(self.BlobBuilder||self.WebKitBlobBuilder||self.MozBlobBuilder||self.MSBlobBuilder);return X.append(H),X.getBlob(z)}catch(Y){throw new Error("Bug : can't construct the Blob.")}}};var K={stringifyByChunk:function(z,X,W){var Y=[],q=0,me=z.length;if(me<=W)return String.fromCharCode.apply(null,z);for(;q<me;)X==="array"||X==="nodebuffer"?Y.push(String.fromCharCode.apply(null,z.slice(q,Math.min(q+W,me)))):Y.push(String.fromCharCode.apply(null,z.subarray(q,Math.min(q+W,me)))),q+=W;return Y.join("")},stringifyByChar:function(z){for(var X="",W=0;W<z.length;W++)X+=String.fromCharCode(z[W]);return X},applyCanBeUsed:{uint8array:function(){try{return b.uint8array&&String.fromCharCode.apply(null,new Uint8Array(1)).length===1}catch(H){return!1}}(),nodebuffer:function(){try{return b.nodebuffer&&String.fromCharCode.apply(null,I.allocBuffer(1)).length===1}catch(H){return!1}}()}};function N(H){var z=65536,X=y.getTypeOf(H),W=!0;if(X==="uint8array"?W=K.applyCanBeUsed.uint8array:X==="nodebuffer"&&(W=K.applyCanBeUsed.nodebuffer),W)for(;1<z;)try{return K.stringifyByChunk(H,X,z)}catch(Y){z=Math.floor(z/2)}return K.stringifyByChar(H)}function B(H,z){for(var X=0;X<H.length;X++)z[X]=H[X];return z}y.applyFromCharCode=N;var U={};U.string={string:P,array:function(z){return j(z,new Array(z.length))},arraybuffer:function(z){return U.string.uint8array(z).buffer},uint8array:function(z){return j(z,new Uint8Array(z.length))},nodebuffer:function(z){return j(z,I.allocBuffer(z.length))}},U.array={string:N,array:P,arraybuffer:function(z){return new Uint8Array(z).buffer},uint8array:function(z){return new Uint8Array(z)},nodebuffer:function(z){return I.newBufferFrom(z)}},U.arraybuffer={string:function(z){return N(new Uint8Array(z))},array:function(z){return B(new Uint8Array(z),new Array(z.byteLength))},arraybuffer:P,uint8array:function(z){return new Uint8Array(z)},nodebuffer:function(z){return I.newBufferFrom(new Uint8Array(z))}},U.uint8array={string:N,array:function(z){return B(z,new Array(z.length))},arraybuffer:function(z){return z.buffer},uint8array:P,nodebuffer:function(z){return I.newBufferFrom(z)}},U.nodebuffer={string:N,array:function(z){return B(z,new Array(z.length))},arraybuffer:function(z){return U.nodebuffer.uint8array(z).buffer},uint8array:function(z){return B(z,new Uint8Array(z.length))},nodebuffer:P},y.transformTo=function(H,z){if(z=z||"",!H)return z;y.checkSupport(H);var X=y.getTypeOf(z);return U[X][H](z)},y.getTypeOf=function(H){return typeof H=="string"?"string":Object.prototype.toString.call(H)==="[object Array]"?"array":b.nodebuffer&&I.isBuffer(H)?"nodebuffer":b.uint8array&&H instanceof Uint8Array?"uint8array":b.arraybuffer&&H instanceof ArrayBuffer?"arraybuffer":void 0},y.checkSupport=function(H){if(!b[H.toLowerCase()])throw new Error(H+" is not supported by this platform")},y.MAX_VALUE_16BITS=65535,y.MAX_VALUE_32BITS=-1,y.pretty=function(H){var z,X,W="";for(X=0;X<(H||"").length;X++)W+="\\x"+((z=H.charCodeAt(X))<16?"0":"")+z.toString(16).toUpperCase();return W},y.delay=function(H,z,X){M(function(){H.apply(X||null,z||[])})},y.inherits=function(H,z){function X(){}X.prototype=z.prototype,H.prototype=new X},y.extend=function(){var H,z,X={};for(H=0;H<arguments.length;H++)for(z in arguments[H])arguments[H].hasOwnProperty(z)&&X[z]===void 0&&(X[z]=arguments[H][z]);return X},y.prepareContent=function(H,z,X,W,Y){return F.Promise.resolve(z).then(function(q){return b.blob&&(q instanceof Blob||["[object File]","[object Blob]"].indexOf(Object.prototype.toString.call(q))!==-1)&&typeof FileReader!="undefined"?new F.Promise(function(me,G){var ye=new FileReader;ye.onload=function(Ae){me(Ae.target.result)},ye.onerror=function(Ae){G(Ae.target.error)},ye.readAsArrayBuffer(q)}):q}).then(function(q){var me,G=y.getTypeOf(q);return G?(G==="arraybuffer"?q=y.transformTo("uint8array",q):G==="string"&&(Y?q=O.decode(q):X&&W!==!0&&(q=j(me=q,b.uint8array?new Uint8Array(me.length):new Array(me.length)))),q):F.Promise.reject(new Error("Can't read the data of '"+H+"'. Is it in a supported JavaScript type (String, Blob, ArrayBuffer, etc) ?"))})}},{"./base64":1,"./external":6,"./nodejsUtils":14,"./support":30,"set-immediate-shim":54}],33:[function(C,_,y){"use strict";var b=C("./reader/readerFor"),O=C("./utils"),I=C("./signature"),M=C("./zipEntry"),F=(C("./utf8"),C("./support"));function P(j){this.files=[],this.loadOptions=j}P.prototype={checkSignature:function(K){if(!this.reader.readAndCheckSignature(K)){this.reader.index-=4;var N=this.reader.readString(4);throw new Error("Corrupted zip or bug: unexpected signature ("+O.pretty(N)+", expected "+O.pretty(K)+")")}},isSignature:function(K,N){var B=this.reader.index;this.reader.setIndex(K);var U=this.reader.readString(4)===N;return this.reader.setIndex(B),U},readBlockEndOfCentral:function(){this.diskNumber=this.reader.readInt(2),this.diskWithCentralDirStart=this.reader.readInt(2),this.centralDirRecordsOnThisDisk=this.reader.readInt(2),this.centralDirRecords=this.reader.readInt(2),this.centralDirSize=this.reader.readInt(4),this.centralDirOffset=this.reader.readInt(4),this.zipCommentLength=this.reader.readInt(2);var K=this.reader.readData(this.zipCommentLength),N=F.uint8array?"uint8array":"array",B=O.transformTo(N,K);this.zipComment=this.loadOptions.decodeFileName(B)},readBlockZip64EndOfCentral:function(){this.zip64EndOfCentralSize=this.reader.readInt(8),this.reader.skip(4),this.diskNumber=this.reader.readInt(4),this.diskWithCentralDirStart=this.reader.readInt(4),this.centralDirRecordsOnThisDisk=this.reader.readInt(8),this.centralDirRecords=this.reader.readInt(8),this.centralDirSize=this.reader.readInt(8),this.centralDirOffset=this.reader.readInt(8),this.zip64ExtensibleData={};for(var K,N,B,U=this.zip64EndOfCentralSize-44;0<U;)K=this.reader.readInt(2),N=this.reader.readInt(4),B=this.reader.readData(N),this.zip64ExtensibleData[K]={id:K,length:N,value:B}},readBlockZip64EndOfCentralLocator:function(){if(this.diskWithZip64CentralDirStart=this.reader.readInt(4),this.relativeOffsetEndOfZip64CentralDir=this.reader.readInt(8),this.disksCount=this.reader.readInt(4),1<this.disksCount)throw new Error("Multi-volumes zip are not supported")},readLocalFiles:function(){var K,N;for(K=0;K<this.files.length;K++)N=this.files[K],this.reader.setIndex(N.localHeaderOffset),this.checkSignature(I.LOCAL_FILE_HEADER),N.readLocalPart(this.reader),N.handleUTF8(),N.processAttributes()},readCentralDir:function(){var K;for(this.reader.setIndex(this.centralDirOffset);this.reader.readAndCheckSignature(I.CENTRAL_FILE_HEADER);)(K=new M({zip64:this.zip64},this.loadOptions)).readCentralPart(this.reader),this.files.push(K);if(this.centralDirRecords!==this.files.length&&this.centralDirRecords!==0&&this.files.length===0)throw new Error("Corrupted zip or bug: expected "+this.centralDirRecords+" records in central dir, got "+this.files.length)},readEndOfCentral:function(){var K=this.reader.lastIndexOfSignature(I.CENTRAL_DIRECTORY_END);if(K<0)throw this.isSignature(0,I.LOCAL_FILE_HEADER)?new Error("Corrupted zip: can't find end of central directory"):new Error("Can't find end of central directory : is this a zip file ? If it is, see https://stuk.github.io/jszip/documentation/howto/read_zip.html");this.reader.setIndex(K);var N=K;if(this.checkSignature(I.CENTRAL_DIRECTORY_END),this.readBlockEndOfCentral(),this.diskNumber===O.MAX_VALUE_16BITS||this.diskWithCentralDirStart===O.MAX_VALUE_16BITS||this.centralDirRecordsOnThisDisk===O.MAX_VALUE_16BITS||this.centralDirRecords===O.MAX_VALUE_16BITS||this.centralDirSize===O.MAX_VALUE_32BITS||this.centralDirOffset===O.MAX_VALUE_32BITS){if(this.zip64=!0,(K=this.reader.lastIndexOfSignature(I.ZIP64_CENTRAL_DIRECTORY_LOCATOR))<0)throw new Error("Corrupted zip: can't find the ZIP64 end of central directory locator");if(this.reader.setIndex(K),this.checkSignature(I.ZIP64_CENTRAL_DIRECTORY_LOCATOR),this.readBlockZip64EndOfCentralLocator(),!this.isSignature(this.relativeOffsetEndOfZip64CentralDir,I.ZIP64_CENTRAL_DIRECTORY_END)&&(this.relativeOffsetEndOfZip64CentralDir=this.reader.lastIndexOfSignature(I.ZIP64_CENTRAL_DIRECTORY_END),this.relativeOffsetEndOfZip64CentralDir<0))throw new Error("Corrupted zip: can't find the ZIP64 end of central directory");this.reader.setIndex(this.relativeOffsetEndOfZip64CentralDir),this.checkSignature(I.ZIP64_CENTRAL_DIRECTORY_END),this.readBlockZip64EndOfCentral()}var B=this.centralDirOffset+this.centralDirSize;this.zip64&&(B+=20,B+=12+this.zip64EndOfCentralSize);var U=N-B;if(0<U)this.isSignature(N,I.CENTRAL_FILE_HEADER)||(this.reader.zero=U);else if(U<0)throw new Error("Corrupted zip: missing "+Math.abs(U)+" bytes.")},prepareReader:function(K){this.reader=b(K)},load:function(K){this.prepareReader(K),this.readEndOfCentral(),this.readCentralDir(),this.readLocalFiles()}},_.exports=P},{"./reader/readerFor":22,"./signature":23,"./support":30,"./utf8":31,"./utils":32,"./zipEntry":34}],34:[function(C,_,y){"use strict";var b=C("./reader/readerFor"),O=C("./utils"),I=C("./compressedObject"),M=C("./crc32"),F=C("./utf8"),P=C("./compressions"),j=C("./support");function K(N,B){this.options=N,this.loadOptions=B}K.prototype={isEncrypted:function(){return(1&this.bitFlag)==1},useUTF8:function(){return(2048&this.bitFlag)==2048},readLocalPart:function(B){var U,H;if(B.skip(22),this.fileNameLength=B.readInt(2),H=B.readInt(2),this.fileName=B.readData(this.fileNameLength),B.skip(H),this.compressedSize===-1||this.uncompressedSize===-1)throw new Error("Bug or corrupted zip : didn't get enough information from the central directory (compressedSize === -1 || uncompressedSize === -1)");if((U=function(z){for(var X in P)if(P.hasOwnProperty(X)&&P[X].magic===z)return P[X];return null}(this.compressionMethod))===null)throw new Error("Corrupted zip : compression "+O.pretty(this.compressionMethod)+" unknown (inner file : "+O.transformTo("string",this.fileName)+")");this.decompressed=new I(this.compressedSize,this.uncompressedSize,this.crc32,U,B.readData(this.compressedSize))},readCentralPart:function(B){this.versionMadeBy=B.readInt(2),B.skip(2),this.bitFlag=B.readInt(2),this.compressionMethod=B.readString(2),this.date=B.readDate(),this.crc32=B.readInt(4),this.compressedSize=B.readInt(4),this.uncompressedSize=B.readInt(4);var U=B.readInt(2);if(this.extraFieldsLength=B.readInt(2),this.fileCommentLength=B.readInt(2),this.diskNumberStart=B.readInt(2),this.internalFileAttributes=B.readInt(2),this.externalFileAttributes=B.readInt(4),this.localHeaderOffset=B.readInt(4),this.isEncrypted())throw new Error("Encrypted zip are not supported");B.skip(U),this.readExtraFields(B),this.parseZIP64ExtraField(B),this.fileComment=B.readData(this.fileCommentLength)},processAttributes:function(){this.unixPermissions=null,this.dosPermissions=null;var B=this.versionMadeBy>>8;this.dir=!!(16&this.externalFileAttributes),B==0&&(this.dosPermissions=63&this.externalFileAttributes),B==3&&(this.unixPermissions=this.externalFileAttributes>>16&65535),this.dir||this.fileNameStr.slice(-1)!=="/"||(this.dir=!0)},parseZIP64ExtraField:function(B){if(this.extraFields[1]){var U=b(this.extraFields[1].value);this.uncompressedSize===O.MAX_VALUE_32BITS&&(this.uncompressedSize=U.readInt(8)),this.compressedSize===O.MAX_VALUE_32BITS&&(this.compressedSize=U.readInt(8)),this.localHeaderOffset===O.MAX_VALUE_32BITS&&(this.localHeaderOffset=U.readInt(8)),this.diskNumberStart===O.MAX_VALUE_32BITS&&(this.diskNumberStart=U.readInt(4))}},readExtraFields:function(B){var U,H,z,X=B.index+this.extraFieldsLength;for(this.extraFields||(this.extraFields={});B.index+4<X;)U=B.readInt(2),H=B.readInt(2),z=B.readData(H),this.extraFields[U]={id:U,length:H,value:z};B.setIndex(X)},handleUTF8:function(){var B=j.uint8array?"uint8array":"array";if(this.useUTF8())this.fileNameStr=F.utf8decode(this.fileName),this.fileCommentStr=F.utf8decode(this.fileComment);else{var U=this.findExtraFieldUnicodePath();if(U!==null)this.fileNameStr=U;else{var H=O.transformTo(B,this.fileName);this.fileNameStr=this.loadOptions.decodeFileName(H)}var z=this.findExtraFieldUnicodeComment();if(z!==null)this.fileCommentStr=z;else{var X=O.transformTo(B,this.fileComment);this.fileCommentStr=this.loadOptions.decodeFileName(X)}}},findExtraFieldUnicodePath:function(){var B=this.extraFields[28789];if(B){var U=b(B.value);return U.readInt(1)!==1||M(this.fileName)!==U.readInt(4)?null:F.utf8decode(U.readData(B.length-5))}return null},findExtraFieldUnicodeComment:function(){var B=this.extraFields[25461];if(B){var U=b(B.value);return U.readInt(1)!==1||M(this.fileComment)!==U.readInt(4)?null:F.utf8decode(U.readData(B.length-5))}return null}},_.exports=K},{"./compressedObject":2,"./compressions":3,"./crc32":4,"./reader/readerFor":22,"./support":30,"./utf8":31,"./utils":32}],35:[function(C,_,y){"use strict";function b(B,U,H){this.name=B,this.dir=H.dir,this.date=H.date,this.comment=H.comment,this.unixPermissions=H.unixPermissions,this.dosPermissions=H.dosPermissions,this._data=U,this._dataBinary=H.binary,this.options={compression:H.compression,compressionOptions:H.compressionOptions}}var O=C("./stream/StreamHelper"),I=C("./stream/DataWorker"),M=C("./utf8"),F=C("./compressedObject"),P=C("./stream/GenericWorker");b.prototype={internalStream:function(U){var H=null,z="string";try{if(!U)throw new Error("No output type specified.");var X=(z=U.toLowerCase())==="string"||z==="text";z!=="binarystring"&&z!=="text"||(z="string"),H=this._decompressWorker();var W=!this._dataBinary;W&&!X&&(H=H.pipe(new M.Utf8EncodeWorker)),!W&&X&&(H=H.pipe(new M.Utf8DecodeWorker))}catch(Y){(H=new P("error")).error(Y)}return new O(H,z,"")},async:function(U,H){return this.internalStream(U).accumulate(H)},nodeStream:function(U,H){return this.internalStream(U||"nodebuffer").toNodejsStream(H)},_compressWorker:function(U,H){if(this._data instanceof F&&this._data.compression.magic===U.magic)return this._data.getCompressedWorker();var z=this._decompressWorker();return this._dataBinary||(z=z.pipe(new M.Utf8EncodeWorker)),F.createWorkerFrom(z,U,H)},_decompressWorker:function(){return this._data instanceof F?this._data.getContentWorker():this._data instanceof P?this._data:new I(this._data)}};for(var j=["asText","asBinary","asNodeBuffer","asUint8Array","asArrayBuffer"],K=function(){throw new Error("This method has been removed in JSZip 3.0, please check the upgrade guide.")},N=0;N<j.length;N++)b.prototype[j[N]]=K;_.exports=b},{"./compressedObject":2,"./stream/DataWorker":27,"./stream/GenericWorker":28,"./stream/StreamHelper":29,"./utf8":31}],36:[function(C,_,y){(function(b){"use strict";var O,I,M=b.MutationObserver||b.WebKitMutationObserver;if(M){var F=0,P=new M(B),j=b.document.createTextNode("");P.observe(j,{characterData:!0}),O=function(){j.data=F=++F%2}}else if(b.setImmediate||b.MessageChannel===void 0)O="document"in b&&"onreadystatechange"in b.document.createElement("script")?function(){var U=b.document.createElement("script");U.onreadystatechange=function(){B(),U.onreadystatechange=null,U.parentNode.removeChild(U),U=null},b.document.documentElement.appendChild(U)}:function(){setTimeout(B,0)};else{var K=new b.MessageChannel;K.port1.onmessage=B,O=function(){K.port2.postMessage(0)}}var N=[];function B(){var U,H;I=!0;for(var z=N.length;z;){for(H=N,N=[],U=-1;++U<z;)H[U]();z=N.length}I=!1}_.exports=function(U){N.push(U)!==1||I||O()}}).call(this,E!==void 0?E:typeof self!="undefined"?self:typeof window!="undefined"?window:{})},{}],37:[function(C,_,y){"use strict";var b=C("immediate");function O(){}var I={},M=["REJECTED"],F=["FULFILLED"],P=["PENDING"];function j(z){if(typeof z!="function")throw new TypeError("resolver must be a function");this.state=P,this.queue=[],this.outcome=void 0,z!==O&&U(this,z)}function K(z,X,W){this.promise=z,typeof X=="function"&&(this.onFulfilled=X,this.callFulfilled=this.otherCallFulfilled),typeof W=="function"&&(this.onRejected=W,this.callRejected=this.otherCallRejected)}function N(z,X,W){b(function(){var Y;try{Y=X(W)}catch(q){return I.reject(z,q)}Y===z?I.reject(z,new TypeError("Cannot resolve promise with itself")):I.resolve(z,Y)})}function B(z){var X=z&&z.then;if(z&&(typeof z=="object"||typeof z=="function")&&typeof X=="function")return function(){X.apply(z,arguments)}}function U(z,X){var W=!1;function Y(G){W||(W=!0,I.reject(z,G))}function q(G){W||(W=!0,I.resolve(z,G))}var me=H(function(){X(q,Y)});me.status==="error"&&Y(me.value)}function H(z,X){var W={};try{W.value=z(X),W.status="success"}catch(Y){W.status="error",W.value=Y}return W}(_.exports=j).prototype.finally=function(z){if(typeof z!="function")return this;var X=this.constructor;return this.then(function(W){return X.resolve(z()).then(function(){return W})},function(W){return X.resolve(z()).then(function(){throw W})})},j.prototype.catch=function(z){return this.then(null,z)},j.prototype.then=function(z,X){if(typeof z!="function"&&this.state===F||typeof X!="function"&&this.state===M)return this;var W=new this.constructor(O);return this.state!==P?N(W,this.state===F?z:X,this.outcome):this.queue.push(new K(W,z,X)),W},K.prototype.callFulfilled=function(z){I.resolve(this.promise,z)},K.prototype.otherCallFulfilled=function(z){N(this.promise,this.onFulfilled,z)},K.prototype.callRejected=function(z){I.reject(this.promise,z)},K.prototype.otherCallRejected=function(z){N(this.promise,this.onRejected,z)},I.resolve=function(z,X){var W=H(B,X);if(W.status==="error")return I.reject(z,W.value);var Y=W.value;if(Y)U(z,Y);else{z.state=F,z.outcome=X;for(var q=-1,me=z.queue.length;++q<me;)z.queue[q].callFulfilled(X)}return z},I.reject=function(z,X){z.state=M,z.outcome=X;for(var W=-1,Y=z.queue.length;++W<Y;)z.queue[W].callRejected(X);return z},j.resolve=function(z){return z instanceof this?z:I.resolve(new this(O),z)},j.reject=function(z){var X=new this(O);return I.reject(X,z)},j.all=function(z){var X=this;if(Object.prototype.toString.call(z)!=="[object Array]")return this.reject(new TypeError("must be an array"));var W=z.length,Y=!1;if(!W)return this.resolve([]);for(var q=new Array(W),me=0,G=-1,ye=new this(O);++G<W;)Ae(z[G],G);return ye;function Ae(ve,Ue){X.resolve(ve).then(function(Me){q[Ue]=Me,++me!==W||Y||(Y=!0,I.resolve(ye,q))},function(Me){Y||(Y=!0,I.reject(ye,Me))})}},j.race=function(z){if(Object.prototype.toString.call(z)!=="[object Array]")return this.reject(new TypeError("must be an array"));var X=z.length,W=!1;if(!X)return this.resolve([]);for(var Y,q=-1,me=new this(O);++q<X;)Y=z[q],this.resolve(Y).then(function(G){W||(W=!0,I.resolve(me,G))},function(G){W||(W=!0,I.reject(me,G))});return me}},{immediate:36}],38:[function(C,_,y){"use strict";var b={};(0,C("./lib/utils/common").assign)(b,C("./lib/deflate"),C("./lib/inflate"),C("./lib/zlib/constants")),_.exports=b},{"./lib/deflate":39,"./lib/inflate":40,"./lib/utils/common":41,"./lib/zlib/constants":44}],39:[function(C,_,y){"use strict";var b=C("./zlib/deflate"),O=C("./utils/common"),I=C("./utils/strings"),M=C("./zlib/messages"),F=C("./zlib/zstream"),P=Object.prototype.toString,j=0,K=-1,N=0,B=8;function U(z){if(!(this instanceof U))return new U(z);this.options=O.assign({level:K,method:B,chunkSize:16384,windowBits:15,memLevel:8,strategy:N,to:""},z||{});var X=this.options;X.raw&&0<X.windowBits?X.windowBits=-X.windowBits:X.gzip&&0<X.windowBits&&X.windowBits<16&&(X.windowBits+=16),this.err=0,this.msg="",this.ended=!1,this.chunks=[],this.strm=new F,this.strm.avail_out=0;var W=b.deflateInit2(this.strm,X.level,X.method,X.windowBits,X.memLevel,X.strategy);if(W!==j)throw new Error(M[W]);if(X.header&&b.deflateSetHeader(this.strm,X.header),X.dictionary){var Y;if(Y=typeof X.dictionary=="string"?I.string2buf(X.dictionary):P.call(X.dictionary)==="[object ArrayBuffer]"?new Uint8Array(X.dictionary):X.dictionary,(W=b.deflateSetDictionary(this.strm,Y))!==j)throw new Error(M[W]);this._dict_set=!0}}function H(z,X){var W=new U(X);if(W.push(z,!0),W.err)throw W.msg||M[W.err];return W.result}U.prototype.push=function(z,X){var W,Y,q=this.strm,me=this.options.chunkSize;if(this.ended)return!1;Y=X===~~X?X:X===!0?4:0,typeof z=="string"?q.input=I.string2buf(z):P.call(z)==="[object ArrayBuffer]"?q.input=new Uint8Array(z):q.input=z,q.next_in=0,q.avail_in=q.input.length;do{if(q.avail_out===0&&(q.output=new O.Buf8(me),q.next_out=0,q.avail_out=me),(W=b.deflate(q,Y))!==1&&W!==j)return this.onEnd(W),!(this.ended=!0);q.avail_out!==0&&(q.avail_in!==0||Y!==4&&Y!==2)||(this.options.to==="string"?this.onData(I.buf2binstring(O.shrinkBuf(q.output,q.next_out))):this.onData(O.shrinkBuf(q.output,q.next_out)))}while((0<q.avail_in||q.avail_out===0)&&W!==1);return Y===4?(W=b.deflateEnd(this.strm),this.onEnd(W),this.ended=!0,W===j):Y!==2||(this.onEnd(j),!(q.avail_out=0))},U.prototype.onData=function(z){this.chunks.push(z)},U.prototype.onEnd=function(z){z===j&&(this.options.to==="string"?this.result=this.chunks.join(""):this.result=O.flattenChunks(this.chunks)),this.chunks=[],this.err=z,this.msg=this.strm.msg},y.Deflate=U,y.deflate=H,y.deflateRaw=function(z,X){return(X=X||{}).raw=!0,H(z,X)},y.gzip=function(z,X){return(X=X||{}).gzip=!0,H(z,X)}},{"./utils/common":41,"./utils/strings":42,"./zlib/deflate":46,"./zlib/messages":51,"./zlib/zstream":53}],40:[function(C,_,y){"use strict";var b=C("./zlib/inflate"),O=C("./utils/common"),I=C("./utils/strings"),M=C("./zlib/constants"),F=C("./zlib/messages"),P=C("./zlib/zstream"),j=C("./zlib/gzheader"),K=Object.prototype.toString;function N(U){if(!(this instanceof N))return new N(U);this.options=O.assign({chunkSize:16384,windowBits:0,to:""},U||{});var H=this.options;H.raw&&0<=H.windowBits&&H.windowBits<16&&(H.windowBits=-H.windowBits,H.windowBits===0&&(H.windowBits=-15)),!(0<=H.windowBits&&H.windowBits<16)||U&&U.windowBits||(H.windowBits+=32),15<H.windowBits&&H.windowBits<48&&(15&H.windowBits)==0&&(H.windowBits|=15),this.err=0,this.msg="",this.ended=!1,this.chunks=[],this.strm=new P,this.strm.avail_out=0;var z=b.inflateInit2(this.strm,H.windowBits);if(z!==M.Z_OK)throw new Error(F[z]);this.header=new j,b.inflateGetHeader(this.strm,this.header)}function B(U,H){var z=new N(H);if(z.push(U,!0),z.err)throw z.msg||F[z.err];return z.result}N.prototype.push=function(U,H){var z,X,W,Y,q,me,G=this.strm,ye=this.options.chunkSize,Ae=this.options.dictionary,ve=!1;if(this.ended)return!1;X=H===~~H?H:H===!0?M.Z_FINISH:M.Z_NO_FLUSH,typeof U=="string"?G.input=I.binstring2buf(U):K.call(U)==="[object ArrayBuffer]"?G.input=new Uint8Array(U):G.input=U,G.next_in=0,G.avail_in=G.input.length;do{if(G.avail_out===0&&(G.output=new O.Buf8(ye),G.next_out=0,G.avail_out=ye),(z=b.inflate(G,M.Z_NO_FLUSH))===M.Z_NEED_DICT&&Ae&&(me=typeof Ae=="string"?I.string2buf(Ae):K.call(Ae)==="[object ArrayBuffer]"?new Uint8Array(Ae):Ae,z=b.inflateSetDictionary(this.strm,me)),z===M.Z_BUF_ERROR&&ve===!0&&(z=M.Z_OK,ve=!1),z!==M.Z_STREAM_END&&z!==M.Z_OK)return this.onEnd(z),!(this.ended=!0);G.next_out&&(G.avail_out!==0&&z!==M.Z_STREAM_END&&(G.avail_in!==0||X!==M.Z_FINISH&&X!==M.Z_SYNC_FLUSH)||(this.options.to==="string"?(W=I.utf8border(G.output,G.next_out),Y=G.next_out-W,q=I.buf2string(G.output,W),G.next_out=Y,G.avail_out=ye-Y,Y&&O.arraySet(G.output,G.output,W,Y,0),this.onData(q)):this.onData(O.shrinkBuf(G.output,G.next_out)))),G.avail_in===0&&G.avail_out===0&&(ve=!0)}while((0<G.avail_in||G.avail_out===0)&&z!==M.Z_STREAM_END);return z===M.Z_STREAM_END&&(X=M.Z_FINISH),X===M.Z_FINISH?(z=b.inflateEnd(this.strm),this.onEnd(z),this.ended=!0,z===M.Z_OK):X!==M.Z_SYNC_FLUSH||(this.onEnd(M.Z_OK),!(G.avail_out=0))},N.prototype.onData=function(U){this.chunks.push(U)},N.prototype.onEnd=function(U){U===M.Z_OK&&(this.options.to==="string"?this.result=this.chunks.join(""):this.result=O.flattenChunks(this.chunks)),this.chunks=[],this.err=U,this.msg=this.strm.msg},y.Inflate=N,y.inflate=B,y.inflateRaw=function(U,H){return(H=H||{}).raw=!0,B(U,H)},y.ungzip=B},{"./utils/common":41,"./utils/strings":42,"./zlib/constants":44,"./zlib/gzheader":47,"./zlib/inflate":49,"./zlib/messages":51,"./zlib/zstream":53}],41:[function(C,_,y){"use strict";var b=typeof Uint8Array!="undefined"&&typeof Uint16Array!="undefined"&&typeof Int32Array!="undefined";y.assign=function(M){for(var F=Array.prototype.slice.call(arguments,1);F.length;){var P=F.shift();if(P){if(typeof P!="object")throw new TypeError(P+"must be non-object");for(var j in P)P.hasOwnProperty(j)&&(M[j]=P[j])}}return M},y.shrinkBuf=function(M,F){return M.length===F?M:M.subarray?M.subarray(0,F):(M.length=F,M)};var O={arraySet:function(F,P,j,K,N){if(P.subarray&&F.subarray)F.set(P.subarray(j,j+K),N);else for(var B=0;B<K;B++)F[N+B]=P[j+B]},flattenChunks:function(F){var P,j,K,N,B,U;for(P=K=0,j=F.length;P<j;P++)K+=F[P].length;for(U=new Uint8Array(K),P=N=0,j=F.length;P<j;P++)B=F[P],U.set(B,N),N+=B.length;return U}},I={arraySet:function(F,P,j,K,N){for(var B=0;B<K;B++)F[N+B]=P[j+B]},flattenChunks:function(F){return[].concat.apply([],F)}};y.setTyped=function(M){M?(y.Buf8=Uint8Array,y.Buf16=Uint16Array,y.Buf32=Int32Array,y.assign(y,O)):(y.Buf8=Array,y.Buf16=Array,y.Buf32=Array,y.assign(y,I))},y.setTyped(b)},{}],42:[function(C,_,y){"use strict";var b=C("./common"),O=!0,I=!0;try{String.fromCharCode.apply(null,[0])}catch(j){O=!1}try{String.fromCharCode.apply(null,new Uint8Array(1))}catch(j){I=!1}for(var M=new b.Buf8(256),F=0;F<256;F++)M[F]=252<=F?6:248<=F?5:240<=F?4:224<=F?3:192<=F?2:1;function P(j,K){if(K<65537&&(j.subarray&&I||!j.subarray&&O))return String.fromCharCode.apply(null,b.shrinkBuf(j,K));for(var N="",B=0;B<K;B++)N+=String.fromCharCode(j[B]);return N}M[254]=M[254]=1,y.string2buf=function(j){var K,N,B,U,H,z=j.length,X=0;for(U=0;U<z;U++)(64512&(N=j.charCodeAt(U)))==55296&&U+1<z&&(64512&(B=j.charCodeAt(U+1)))==56320&&(N=65536+(N-55296<<10)+(B-56320),U++),X+=N<128?1:N<2048?2:N<65536?3:4;for(K=new b.Buf8(X),U=H=0;H<X;U++)(64512&(N=j.charCodeAt(U)))==55296&&U+1<z&&(64512&(B=j.charCodeAt(U+1)))==56320&&(N=65536+(N-55296<<10)+(B-56320),U++),N<128?K[H++]=N:(N<2048?K[H++]=192|N>>>6:(N<65536?K[H++]=224|N>>>12:(K[H++]=240|N>>>18,K[H++]=128|N>>>12&63),K[H++]=128|N>>>6&63),K[H++]=128|63&N);return K},y.buf2binstring=function(j){return P(j,j.length)},y.binstring2buf=function(j){for(var K=new b.Buf8(j.length),N=0,B=K.length;N<B;N++)K[N]=j.charCodeAt(N);return K},y.buf2string=function(j,K){var N,B,U,H,z=K||j.length,X=new Array(2*z);for(N=B=0;N<z;)if((U=j[N++])<128)X[B++]=U;else if(4<(H=M[U]))X[B++]=65533,N+=H-1;else{for(U&=H===2?31:H===3?15:7;1<H&&N<z;)U=U<<6|63&j[N++],H--;1<H?X[B++]=65533:U<65536?X[B++]=U:(U-=65536,X[B++]=55296|U>>10&1023,X[B++]=56320|1023&U)}return P(X,B)},y.utf8border=function(j,K){var N;for((K=K||j.length)>j.length&&(K=j.length),N=K-1;0<=N&&(192&j[N])==128;)N--;return N<0||N===0?K:N+M[j[N]]>K?N:K}},{"./common":41}],43:[function(C,_,y){"use strict";_.exports=function(b,O,I,M){for(var F=65535&b|0,P=b>>>16&65535|0,j=0;I!==0;){for(I-=j=2e3<I?2e3:I;P=P+(F=F+O[M++]|0)|0,--j;);F%=65521,P%=65521}return F|P<<16|0}},{}],44:[function(C,_,y){"use strict";_.exports={Z_NO_FLUSH:0,Z_PARTIAL_FLUSH:1,Z_SYNC_FLUSH:2,Z_FULL_FLUSH:3,Z_FINISH:4,Z_BLOCK:5,Z_TREES:6,Z_OK:0,Z_STREAM_END:1,Z_NEED_DICT:2,Z_ERRNO:-1,Z_STREAM_ERROR:-2,Z_DATA_ERROR:-3,Z_BUF_ERROR:-5,Z_NO_COMPRESSION:0,Z_BEST_SPEED:1,Z_BEST_COMPRESSION:9,Z_DEFAULT_COMPRESSION:-1,Z_FILTERED:1,Z_HUFFMAN_ONLY:2,Z_RLE:3,Z_FIXED:4,Z_DEFAULT_STRATEGY:0,Z_BINARY:0,Z_TEXT:1,Z_UNKNOWN:2,Z_DEFLATED:8}},{}],45:[function(C,_,y){"use strict";var b=function(){for(var O,I=[],M=0;M<256;M++){O=M;for(var F=0;F<8;F++)O=1&O?3988292384^O>>>1:O>>>1;I[M]=O}return I}();_.exports=function(O,I,M,F){var P=b,j=F+M;O^=-1;for(var K=F;K<j;K++)O=O>>>8^P[255&(O^I[K])];return-1^O}},{}],46:[function(C,_,y){"use strict";var b,O=C("../utils/common"),I=C("./trees"),M=C("./adler32"),F=C("./crc32"),P=C("./messages"),j=0,K=0,N=-2,B=2,U=8,H=286,z=30,X=19,W=2*H+1,Y=15,q=3,me=258,G=me+q+1,ye=42,Ae=113;function ve(Z,ge){return Z.msg=P[ge],ge}function Ue(Z){return(Z<<1)-(4<Z?9:0)}function Me(Z){for(var ge=Z.length;0<=--ge;)Z[ge]=0}function nt(Z){var ge=Z.state,Re=ge.pending;Re>Z.avail_out&&(Re=Z.avail_out),Re!==0&&(O.arraySet(Z.output,ge.pending_buf,ge.pending_out,Re,Z.next_out),Z.next_out+=Re,ge.pending_out+=Re,Z.total_out+=Re,Z.avail_out-=Re,ge.pending-=Re,ge.pending===0&&(ge.pending_out=0))}function ne(Z,ge){I._tr_flush_block(Z,0<=Z.block_start?Z.block_start:-1,Z.strstart-Z.block_start,ge),Z.block_start=Z.strstart,nt(Z.strm)}function be(Z,ge){Z.pending_buf[Z.pending++]=ge}function ot(Z,ge){Z.pending_buf[Z.pending++]=ge>>>8&255,Z.pending_buf[Z.pending++]=255&ge}function ue(Z,ge){var Re,ze,dt=Z.max_chain_length,De=Z.strstart,Tt=Z.prev_length,je=Z.nice_match,st=Z.strstart>Z.w_size-G?Z.strstart-(Z.w_size-G):0,Xe=Z.window,Je=Z.w_mask,et=Z.prev,at=Z.strstart+me,Ve=Xe[De+Tt-1],le=Xe[De+Tt];Z.prev_length>=Z.good_match&&(dt>>=2),je>Z.lookahead&&(je=Z.lookahead);do if(Xe[(Re=ge)+Tt]===le&&Xe[Re+Tt-1]===Ve&&Xe[Re]===Xe[De]&&Xe[++Re]===Xe[De+1]){De+=2,Re++;do;while(Xe[++De]===Xe[++Re]&&Xe[++De]===Xe[++Re]&&Xe[++De]===Xe[++Re]&&Xe[++De]===Xe[++Re]&&Xe[++De]===Xe[++Re]&&Xe[++De]===Xe[++Re]&&Xe[++De]===Xe[++Re]&&Xe[++De]===Xe[++Re]&&De<at);if(ze=me-(at-De),De=at-me,Tt<ze){if(Z.match_start=ge,je<=(Tt=ze))break;Ve=Xe[De+Tt-1],le=Xe[De+Tt]}}while((ge=et[ge&Je])>st&&--dt!=0);return Tt<=Z.lookahead?Tt:Z.lookahead}function Q(Z){var ge,Re,ze,dt,De,Tt,je,st,Xe,Je,et=Z.w_size;do{if(dt=Z.window_size-Z.lookahead-Z.strstart,Z.strstart>=et+(et-G)){for(O.arraySet(Z.window,Z.window,et,et,0),Z.match_start-=et,Z.strstart-=et,Z.block_start-=et,ge=Re=Z.hash_size;ze=Z.head[--ge],Z.head[ge]=et<=ze?ze-et:0,--Re;);for(ge=Re=et;ze=Z.prev[--ge],Z.prev[ge]=et<=ze?ze-et:0,--Re;);dt+=et}if(Z.strm.avail_in===0)break;if(Tt=Z.strm,je=Z.window,st=Z.strstart+Z.lookahead,Je=void 0,(Xe=dt)<(Je=Tt.avail_in)&&(Je=Xe),Re=Je===0?0:(Tt.avail_in-=Je,O.arraySet(je,Tt.input,Tt.next_in,Je,st),Tt.state.wrap===1?Tt.adler=M(Tt.adler,je,Je,st):Tt.state.wrap===2&&(Tt.adler=F(Tt.adler,je,Je,st)),Tt.next_in+=Je,Tt.total_in+=Je,Je),Z.lookahead+=Re,Z.lookahead+Z.insert>=q)for(De=Z.strstart-Z.insert,Z.ins_h=Z.window[De],Z.ins_h=(Z.ins_h<<Z.hash_shift^Z.window[De+1])&Z.hash_mask;Z.insert&&(Z.ins_h=(Z.ins_h<<Z.hash_shift^Z.window[De+q-1])&Z.hash_mask,Z.prev[De&Z.w_mask]=Z.head[Z.ins_h],Z.head[Z.ins_h]=De,De++,Z.insert--,!(Z.lookahead+Z.insert<q)););}while(Z.lookahead<G&&Z.strm.avail_in!==0)}function V(Z,ge){for(var Re,ze;;){if(Z.lookahead<G){if(Q(Z),Z.lookahead<G&&ge===j)return 1;if(Z.lookahead===0)break}if(Re=0,Z.lookahead>=q&&(Z.ins_h=(Z.ins_h<<Z.hash_shift^Z.window[Z.strstart+q-1])&Z.hash_mask,Re=Z.prev[Z.strstart&Z.w_mask]=Z.head[Z.ins_h],Z.head[Z.ins_h]=Z.strstart),Re!==0&&Z.strstart-Re<=Z.w_size-G&&(Z.match_length=ue(Z,Re)),Z.match_length>=q)if(ze=I._tr_tally(Z,Z.strstart-Z.match_start,Z.match_length-q),Z.lookahead-=Z.match_length,Z.match_length<=Z.max_lazy_match&&Z.lookahead>=q){for(Z.match_length--;Z.strstart++,Z.ins_h=(Z.ins_h<<Z.hash_shift^Z.window[Z.strstart+q-1])&Z.hash_mask,Re=Z.prev[Z.strstart&Z.w_mask]=Z.head[Z.ins_h],Z.head[Z.ins_h]=Z.strstart,--Z.match_length!=0;);Z.strstart++}else Z.strstart+=Z.match_length,Z.match_length=0,Z.ins_h=Z.window[Z.strstart],Z.ins_h=(Z.ins_h<<Z.hash_shift^Z.window[Z.strstart+1])&Z.hash_mask;else ze=I._tr_tally(Z,0,Z.window[Z.strstart]),Z.lookahead--,Z.strstart++;if(ze&&(ne(Z,!1),Z.strm.avail_out===0))return 1}return Z.insert=Z.strstart<q-1?Z.strstart:q-1,ge===4?(ne(Z,!0),Z.strm.avail_out===0?3:4):Z.last_lit&&(ne(Z,!1),Z.strm.avail_out===0)?1:2}function J(Z,ge){for(var Re,ze,dt;;){if(Z.lookahead<G){if(Q(Z),Z.lookahead<G&&ge===j)return 1;if(Z.lookahead===0)break}if(Re=0,Z.lookahead>=q&&(Z.ins_h=(Z.ins_h<<Z.hash_shift^Z.window[Z.strstart+q-1])&Z.hash_mask,Re=Z.prev[Z.strstart&Z.w_mask]=Z.head[Z.ins_h],Z.head[Z.ins_h]=Z.strstart),Z.prev_length=Z.match_length,Z.prev_match=Z.match_start,Z.match_length=q-1,Re!==0&&Z.prev_length<Z.max_lazy_match&&Z.strstart-Re<=Z.w_size-G&&(Z.match_length=ue(Z,Re),Z.match_length<=5&&(Z.strategy===1||Z.match_length===q&&4096<Z.strstart-Z.match_start)&&(Z.match_length=q-1)),Z.prev_length>=q&&Z.match_length<=Z.prev_length){for(dt=Z.strstart+Z.lookahead-q,ze=I._tr_tally(Z,Z.strstart-1-Z.prev_match,Z.prev_length-q),Z.lookahead-=Z.prev_length-1,Z.prev_length-=2;++Z.strstart<=dt&&(Z.ins_h=(Z.ins_h<<Z.hash_shift^Z.window[Z.strstart+q-1])&Z.hash_mask,Re=Z.prev[Z.strstart&Z.w_mask]=Z.head[Z.ins_h],Z.head[Z.ins_h]=Z.strstart),--Z.prev_length!=0;);if(Z.match_available=0,Z.match_length=q-1,Z.strstart++,ze&&(ne(Z,!1),Z.strm.avail_out===0))return 1}else if(Z.match_available){if((ze=I._tr_tally(Z,0,Z.window[Z.strstart-1]))&&ne(Z,!1),Z.strstart++,Z.lookahead--,Z.strm.avail_out===0)return 1}else Z.match_available=1,Z.strstart++,Z.lookahead--}return Z.match_available&&(ze=I._tr_tally(Z,0,Z.window[Z.strstart-1]),Z.match_available=0),Z.insert=Z.strstart<q-1?Z.strstart:q-1,ge===4?(ne(Z,!0),Z.strm.avail_out===0?3:4):Z.last_lit&&(ne(Z,!1),Z.strm.avail_out===0)?1:2}function fe(Z,ge,Re,ze,dt){this.good_length=Z,this.max_lazy=ge,this.nice_length=Re,this.max_chain=ze,this.func=dt}function oe(){this.strm=null,this.status=0,this.pending_buf=null,this.pending_buf_size=0,this.pending_out=0,this.pending=0,this.wrap=0,this.gzhead=null,this.gzindex=0,this.method=U,this.last_flush=-1,this.w_size=0,this.w_bits=0,this.w_mask=0,this.window=null,this.window_size=0,this.prev=null,this.head=null,this.ins_h=0,this.hash_size=0,this.hash_bits=0,this.hash_mask=0,this.hash_shift=0,this.block_start=0,this.match_length=0,this.prev_match=0,this.match_available=0,this.strstart=0,this.match_start=0,this.lookahead=0,this.prev_length=0,this.max_chain_length=0,this.max_lazy_match=0,this.level=0,this.strategy=0,this.good_match=0,this.nice_match=0,this.dyn_ltree=new O.Buf16(2*W),this.dyn_dtree=new O.Buf16(2*(2*z+1)),this.bl_tree=new O.Buf16(2*(2*X+1)),Me(this.dyn_ltree),Me(this.dyn_dtree),Me(this.bl_tree),this.l_desc=null,this.d_desc=null,this.bl_desc=null,this.bl_count=new O.Buf16(Y+1),this.heap=new O.Buf16(2*H+1),Me(this.heap),this.heap_len=0,this.heap_max=0,this.depth=new O.Buf16(2*H+1),Me(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 Le(Z){var ge;return Z&&Z.state?(Z.total_in=Z.total_out=0,Z.data_type=B,(ge=Z.state).pending=0,ge.pending_out=0,ge.wrap<0&&(ge.wrap=-ge.wrap),ge.status=ge.wrap?ye:Ae,Z.adler=ge.wrap===2?0:1,ge.last_flush=j,I._tr_init(ge),K):ve(Z,N)}function he(Z){var ge,Re=Le(Z);return Re===K&&((ge=Z.state).window_size=2*ge.w_size,Me(ge.head),ge.max_lazy_match=b[ge.level].max_lazy,ge.good_match=b[ge.level].good_length,ge.nice_match=b[ge.level].nice_length,ge.max_chain_length=b[ge.level].max_chain,ge.strstart=0,ge.block_start=0,ge.lookahead=0,ge.insert=0,ge.match_length=ge.prev_length=q-1,ge.match_available=0,ge.ins_h=0),Re}function te(Z,ge,Re,ze,dt,De){if(!Z)return N;var Tt=1;if(ge===-1&&(ge=6),ze<0?(Tt=0,ze=-ze):15<ze&&(Tt=2,ze-=16),dt<1||9<dt||Re!==U||ze<8||15<ze||ge<0||9<ge||De<0||4<De)return ve(Z,N);ze===8&&(ze=9);var je=new oe;return(Z.state=je).strm=Z,je.wrap=Tt,je.gzhead=null,je.w_bits=ze,je.w_size=1<<je.w_bits,je.w_mask=je.w_size-1,je.hash_bits=dt+7,je.hash_size=1<<je.hash_bits,je.hash_mask=je.hash_size-1,je.hash_shift=~~((je.hash_bits+q-1)/q),je.window=new O.Buf8(2*je.w_size),je.head=new O.Buf16(je.hash_size),je.prev=new O.Buf16(je.w_size),je.lit_bufsize=1<<dt+6,je.pending_buf_size=4*je.lit_bufsize,je.pending_buf=new O.Buf8(je.pending_buf_size),je.d_buf=1*je.lit_bufsize,je.l_buf=3*je.lit_bufsize,je.level=ge,je.strategy=De,je.method=Re,he(Z)}b=[new fe(0,0,0,0,function(Z,ge){var Re=65535;for(Re>Z.pending_buf_size-5&&(Re=Z.pending_buf_size-5);;){if(Z.lookahead<=1){if(Q(Z),Z.lookahead===0&&ge===j)return 1;if(Z.lookahead===0)break}Z.strstart+=Z.lookahead,Z.lookahead=0;var ze=Z.block_start+Re;if((Z.strstart===0||Z.strstart>=ze)&&(Z.lookahead=Z.strstart-ze,Z.strstart=ze,ne(Z,!1),Z.strm.avail_out===0))return 1;if(Z.strstart-Z.block_start>=Z.w_size-G&&(ne(Z,!1),Z.strm.avail_out===0))return 1}return Z.insert=0,ge===4?(ne(Z,!0),Z.strm.avail_out===0?3:4):(Z.strstart>Z.block_start&&(ne(Z,!1),Z.strm.avail_out),1)}),new fe(4,4,8,4,V),new fe(4,5,16,8,V),new fe(4,6,32,32,V),new fe(4,4,16,16,J),new fe(8,16,32,32,J),new fe(8,16,128,128,J),new fe(8,32,128,256,J),new fe(32,128,258,1024,J),new fe(32,258,258,4096,J)],y.deflateInit=function(Z,ge){return te(Z,ge,U,15,8,0)},y.deflateInit2=te,y.deflateReset=he,y.deflateResetKeep=Le,y.deflateSetHeader=function(Z,ge){return Z&&Z.state?Z.state.wrap!==2?N:(Z.state.gzhead=ge,K):N},y.deflate=function(Z,ge){var Re,ze,dt,De;if(!Z||!Z.state||5<ge||ge<0)return Z?ve(Z,N):N;if(ze=Z.state,!Z.output||!Z.input&&Z.avail_in!==0||ze.status===666&&ge!==4)return ve(Z,Z.avail_out===0?-5:N);if(ze.strm=Z,Re=ze.last_flush,ze.last_flush=ge,ze.status===ye)if(ze.wrap===2)Z.adler=0,be(ze,31),be(ze,139),be(ze,8),ze.gzhead?(be(ze,(ze.gzhead.text?1:0)+(ze.gzhead.hcrc?2:0)+(ze.gzhead.extra?4:0)+(ze.gzhead.name?8:0)+(ze.gzhead.comment?16:0)),be(ze,255&ze.gzhead.time),be(ze,ze.gzhead.time>>8&255),be(ze,ze.gzhead.time>>16&255),be(ze,ze.gzhead.time>>24&255),be(ze,ze.level===9?2:2<=ze.strategy||ze.level<2?4:0),be(ze,255&ze.gzhead.os),ze.gzhead.extra&&ze.gzhead.extra.length&&(be(ze,255&ze.gzhead.extra.length),be(ze,ze.gzhead.extra.length>>8&255)),ze.gzhead.hcrc&&(Z.adler=F(Z.adler,ze.pending_buf,ze.pending,0)),ze.gzindex=0,ze.status=69):(be(ze,0),be(ze,0),be(ze,0),be(ze,0),be(ze,0),be(ze,ze.level===9?2:2<=ze.strategy||ze.level<2?4:0),be(ze,3),ze.status=Ae);else{var Tt=U+(ze.w_bits-8<<4)<<8;Tt|=(2<=ze.strategy||ze.level<2?0:ze.level<6?1:ze.level===6?2:3)<<6,ze.strstart!==0&&(Tt|=32),Tt+=31-Tt%31,ze.status=Ae,ot(ze,Tt),ze.strstart!==0&&(ot(ze,Z.adler>>>16),ot(ze,65535&Z.adler)),Z.adler=1}if(ze.status===69)if(ze.gzhead.extra){for(dt=ze.pending;ze.gzindex<(65535&ze.gzhead.extra.length)&&(ze.pending!==ze.pending_buf_size||(ze.gzhead.hcrc&&ze.pending>dt&&(Z.adler=F(Z.adler,ze.pending_buf,ze.pending-dt,dt)),nt(Z),dt=ze.pending,ze.pending!==ze.pending_buf_size));)be(ze,255&ze.gzhead.extra[ze.gzindex]),ze.gzindex++;ze.gzhead.hcrc&&ze.pending>dt&&(Z.adler=F(Z.adler,ze.pending_buf,ze.pending-dt,dt)),ze.gzindex===ze.gzhead.extra.length&&(ze.gzindex=0,ze.status=73)}else ze.status=73;if(ze.status===73)if(ze.gzhead.name){dt=ze.pending;do{if(ze.pending===ze.pending_buf_size&&(ze.gzhead.hcrc&&ze.pending>dt&&(Z.adler=F(Z.adler,ze.pending_buf,ze.pending-dt,dt)),nt(Z),dt=ze.pending,ze.pending===ze.pending_buf_size)){De=1;break}De=ze.gzindex<ze.gzhead.name.length?255&ze.gzhead.name.charCodeAt(ze.gzindex++):0,be(ze,De)}while(De!==0);ze.gzhead.hcrc&&ze.pending>dt&&(Z.adler=F(Z.adler,ze.pending_buf,ze.pending-dt,dt)),De===0&&(ze.gzindex=0,ze.status=91)}else ze.status=91;if(ze.status===91)if(ze.gzhead.comment){dt=ze.pending;do{if(ze.pending===ze.pending_buf_size&&(ze.gzhead.hcrc&&ze.pending>dt&&(Z.adler=F(Z.adler,ze.pending_buf,ze.pending-dt,dt)),nt(Z),dt=ze.pending,ze.pending===ze.pending_buf_size)){De=1;break}De=ze.gzindex<ze.gzhead.comment.length?255&ze.gzhead.comment.charCodeAt(ze.gzindex++):0,be(ze,De)}while(De!==0);ze.gzhead.hcrc&&ze.pending>dt&&(Z.adler=F(Z.adler,ze.pending_buf,ze.pending-dt,dt)),De===0&&(ze.status=103)}else ze.status=103;if(ze.status===103&&(ze.gzhead.hcrc?(ze.pending+2>ze.pending_buf_size&&nt(Z),ze.pending+2<=ze.pending_buf_size&&(be(ze,255&Z.adler),be(ze,Z.adler>>8&255),Z.adler=0,ze.status=Ae)):ze.status=Ae),ze.pending!==0){if(nt(Z),Z.avail_out===0)return ze.last_flush=-1,K}else if(Z.avail_in===0&&Ue(ge)<=Ue(Re)&&ge!==4)return ve(Z,-5);if(ze.status===666&&Z.avail_in!==0)return ve(Z,-5);if(Z.avail_in!==0||ze.lookahead!==0||ge!==j&&ze.status!==666){var je=ze.strategy===2?function(st,Xe){for(var Je;;){if(st.lookahead===0&&(Q(st),st.lookahead===0)){if(Xe===j)return 1;break}if(st.match_length=0,Je=I._tr_tally(st,0,st.window[st.strstart]),st.lookahead--,st.strstart++,Je&&(ne(st,!1),st.strm.avail_out===0))return 1}return st.insert=0,Xe===4?(ne(st,!0),st.strm.avail_out===0?3:4):st.last_lit&&(ne(st,!1),st.strm.avail_out===0)?1:2}(ze,ge):ze.strategy===3?function(st,Xe){for(var Je,et,at,Ve,le=st.window;;){if(st.lookahead<=me){if(Q(st),st.lookahead<=me&&Xe===j)return 1;if(st.lookahead===0)break}if(st.match_length=0,st.lookahead>=q&&0<st.strstart&&(et=le[at=st.strstart-1])===le[++at]&&et===le[++at]&&et===le[++at]){Ve=st.strstart+me;do;while(et===le[++at]&&et===le[++at]&&et===le[++at]&&et===le[++at]&&et===le[++at]&&et===le[++at]&&et===le[++at]&&et===le[++at]&&at<Ve);st.match_length=me-(Ve-at),st.match_length>st.lookahead&&(st.match_length=st.lookahead)}if(st.match_length>=q?(Je=I._tr_tally(st,1,st.match_length-q),st.lookahead-=st.match_length,st.strstart+=st.match_length,st.match_length=0):(Je=I._tr_tally(st,0,st.window[st.strstart]),st.lookahead--,st.strstart++),Je&&(ne(st,!1),st.strm.avail_out===0))return 1}return st.insert=0,Xe===4?(ne(st,!0),st.strm.avail_out===0?3:4):st.last_lit&&(ne(st,!1),st.strm.avail_out===0)?1:2}(ze,ge):b[ze.level].func(ze,ge);if(je!==3&&je!==4||(ze.status=666),je===1||je===3)return Z.avail_out===0&&(ze.last_flush=-1),K;if(je===2&&(ge===1?I._tr_align(ze):ge!==5&&(I._tr_stored_block(ze,0,0,!1),ge===3&&(Me(ze.head),ze.lookahead===0&&(ze.strstart=0,ze.block_start=0,ze.insert=0))),nt(Z),Z.avail_out===0))return ze.last_flush=-1,K}return ge!==4?K:ze.wrap<=0?1:(ze.wrap===2?(be(ze,255&Z.adler),be(ze,Z.adler>>8&255),be(ze,Z.adler>>16&255),be(ze,Z.adler>>24&255),be(ze,255&Z.total_in),be(ze,Z.total_in>>8&255),be(ze,Z.total_in>>16&255),be(ze,Z.total_in>>24&255)):(ot(ze,Z.adler>>>16),ot(ze,65535&Z.adler)),nt(Z),0<ze.wrap&&(ze.wrap=-ze.wrap),ze.pending!==0?K:1)},y.deflateEnd=function(Z){var ge;return Z&&Z.state?(ge=Z.state.status)!==ye&&ge!==69&&ge!==73&&ge!==91&&ge!==103&&ge!==Ae&&ge!==666?ve(Z,N):(Z.state=null,ge===Ae?ve(Z,-3):K):N},y.deflateSetDictionary=function(Z,ge){var Re,ze,dt,De,Tt,je,st,Xe,Je=ge.length;if(!Z||!Z.state)return N;if((De=(Re=Z.state).wrap)===2||De===1&&Re.status!==ye||Re.lookahead)return N;for(De===1&&(Z.adler=M(Z.adler,ge,Je,0)),Re.wrap=0,Je>=Re.w_size&&(De===0&&(Me(Re.head),Re.strstart=0,Re.block_start=0,Re.insert=0),Xe=new O.Buf8(Re.w_size),O.arraySet(Xe,ge,Je-Re.w_size,Re.w_size,0),ge=Xe,Je=Re.w_size),Tt=Z.avail_in,je=Z.next_in,st=Z.input,Z.avail_in=Je,Z.next_in=0,Z.input=ge,Q(Re);Re.lookahead>=q;){for(ze=Re.strstart,dt=Re.lookahead-(q-1);Re.ins_h=(Re.ins_h<<Re.hash_shift^Re.window[ze+q-1])&Re.hash_mask,Re.prev[ze&Re.w_mask]=Re.head[Re.ins_h],Re.head[Re.ins_h]=ze,ze++,--dt;);Re.strstart=ze,Re.lookahead=q-1,Q(Re)}return Re.strstart+=Re.lookahead,Re.block_start=Re.strstart,Re.insert=Re.lookahead,Re.lookahead=0,Re.match_length=Re.prev_length=q-1,Re.match_available=0,Z.next_in=je,Z.input=st,Z.avail_in=Tt,Re.wrap=De,K},y.deflateInfo="pako deflate (from Nodeca project)"},{"../utils/common":41,"./adler32":43,"./crc32":45,"./messages":51,"./trees":52}],47:[function(C,_,y){"use strict";_.exports=function(){this.text=0,this.time=0,this.xflags=0,this.os=0,this.extra=null,this.extra_len=0,this.name="",this.comment="",this.hcrc=0,this.done=!1}},{}],48:[function(C,_,y){"use strict";_.exports=function(b,O){var I,M,F,P,j,K,N,B,U,H,z,X,W,Y,q,me,G,ye,Ae,ve,Ue,Me,nt,ne,be;I=b.state,M=b.next_in,ne=b.input,F=M+(b.avail_in-5),P=b.next_out,be=b.output,j=P-(O-b.avail_out),K=P+(b.avail_out-257),N=I.dmax,B=I.wsize,U=I.whave,H=I.wnext,z=I.window,X=I.hold,W=I.bits,Y=I.lencode,q=I.distcode,me=(1<<I.lenbits)-1,G=(1<<I.distbits)-1;e:do{W<15&&(X+=ne[M++]<<W,W+=8,X+=ne[M++]<<W,W+=8),ye=Y[X&me];t:for(;;){if(X>>>=Ae=ye>>>24,W-=Ae,(Ae=ye>>>16&255)==0)be[P++]=65535&ye;else{if(!(16&Ae)){if((64&Ae)==0){ye=Y[(65535&ye)+(X&(1<<Ae)-1)];continue t}if(32&Ae){I.mode=12;break e}b.msg="invalid literal/length code",I.mode=30;break e}ve=65535&ye,(Ae&=15)&&(W<Ae&&(X+=ne[M++]<<W,W+=8),ve+=X&(1<<Ae)-1,X>>>=Ae,W-=Ae),W<15&&(X+=ne[M++]<<W,W+=8,X+=ne[M++]<<W,W+=8),ye=q[X&G];r:for(;;){if(X>>>=Ae=ye>>>24,W-=Ae,!(16&(Ae=ye>>>16&255))){if((64&Ae)==0){ye=q[(65535&ye)+(X&(1<<Ae)-1)];continue r}b.msg="invalid distance code",I.mode=30;break e}if(Ue=65535&ye,W<(Ae&=15)&&(X+=ne[M++]<<W,(W+=8)<Ae&&(X+=ne[M++]<<W,W+=8)),N<(Ue+=X&(1<<Ae)-1)){b.msg="invalid distance too far back",I.mode=30;break e}if(X>>>=Ae,W-=Ae,(Ae=P-j)<Ue){if(U<(Ae=Ue-Ae)&&I.sane){b.msg="invalid distance too far back",I.mode=30;break e}if(nt=z,(Me=0)===H){if(Me+=B-Ae,Ae<ve){for(ve-=Ae;be[P++]=z[Me++],--Ae;);Me=P-Ue,nt=be}}else if(H<Ae){if(Me+=B+H-Ae,(Ae-=H)<ve){for(ve-=Ae;be[P++]=z[Me++],--Ae;);if(Me=0,H<ve){for(ve-=Ae=H;be[P++]=z[Me++],--Ae;);Me=P-Ue,nt=be}}}else if(Me+=H-Ae,Ae<ve){for(ve-=Ae;be[P++]=z[Me++],--Ae;);Me=P-Ue,nt=be}for(;2<ve;)be[P++]=nt[Me++],be[P++]=nt[Me++],be[P++]=nt[Me++],ve-=3;ve&&(be[P++]=nt[Me++],1<ve&&(be[P++]=nt[Me++]))}else{for(Me=P-Ue;be[P++]=be[Me++],be[P++]=be[Me++],be[P++]=be[Me++],2<(ve-=3););ve&&(be[P++]=be[Me++],1<ve&&(be[P++]=be[Me++]))}break}}break}}while(M<F&&P<K);M-=ve=W>>3,X&=(1<<(W-=ve<<3))-1,b.next_in=M,b.next_out=P,b.avail_in=M<F?F-M+5:5-(M-F),b.avail_out=P<K?K-P+257:257-(P-K),I.hold=X,I.bits=W}},{}],49:[function(C,_,y){"use strict";var b=C("../utils/common"),O=C("./adler32"),I=C("./crc32"),M=C("./inffast"),F=C("./inftrees"),P=1,j=2,K=0,N=-2,B=1,U=852,H=592;function z(Me){return(Me>>>24&255)+(Me>>>8&65280)+((65280&Me)<<8)+((255&Me)<<24)}function X(){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 b.Buf16(320),this.work=new b.Buf16(288),this.lendyn=null,this.distdyn=null,this.sane=0,this.back=0,this.was=0}function W(Me){var nt;return Me&&Me.state?(nt=Me.state,Me.total_in=Me.total_out=nt.total=0,Me.msg="",nt.wrap&&(Me.adler=1&nt.wrap),nt.mode=B,nt.last=0,nt.havedict=0,nt.dmax=32768,nt.head=null,nt.hold=0,nt.bits=0,nt.lencode=nt.lendyn=new b.Buf32(U),nt.distcode=nt.distdyn=new b.Buf32(H),nt.sane=1,nt.back=-1,K):N}function Y(Me){var nt;return Me&&Me.state?((nt=Me.state).wsize=0,nt.whave=0,nt.wnext=0,W(Me)):N}function q(Me,nt){var ne,be;return Me&&Me.state?(be=Me.state,nt<0?(ne=0,nt=-nt):(ne=1+(nt>>4),nt<48&&(nt&=15)),nt&&(nt<8||15<nt)?N:(be.window!==null&&be.wbits!==nt&&(be.window=null),be.wrap=ne,be.wbits=nt,Y(Me))):N}function me(Me,nt){var ne,be;return Me?(be=new X,(Me.state=be).window=null,(ne=q(Me,nt))!==K&&(Me.state=null),ne):N}var G,ye,Ae=!0;function ve(Me){if(Ae){var nt;for(G=new b.Buf32(512),ye=new b.Buf32(32),nt=0;nt<144;)Me.lens[nt++]=8;for(;nt<256;)Me.lens[nt++]=9;for(;nt<280;)Me.lens[nt++]=7;for(;nt<288;)Me.lens[nt++]=8;for(F(P,Me.lens,0,288,G,0,Me.work,{bits:9}),nt=0;nt<32;)Me.lens[nt++]=5;F(j,Me.lens,0,32,ye,0,Me.work,{bits:5}),Ae=!1}Me.lencode=G,Me.lenbits=9,Me.distcode=ye,Me.distbits=5}function Ue(Me,nt,ne,be){var ot,ue=Me.state;return ue.window===null&&(ue.wsize=1<<ue.wbits,ue.wnext=0,ue.whave=0,ue.window=new b.Buf8(ue.wsize)),be>=ue.wsize?(b.arraySet(ue.window,nt,ne-ue.wsize,ue.wsize,0),ue.wnext=0,ue.whave=ue.wsize):(be<(ot=ue.wsize-ue.wnext)&&(ot=be),b.arraySet(ue.window,nt,ne-be,ot,ue.wnext),(be-=ot)?(b.arraySet(ue.window,nt,ne-be,be,0),ue.wnext=be,ue.whave=ue.wsize):(ue.wnext+=ot,ue.wnext===ue.wsize&&(ue.wnext=0),ue.whave<ue.wsize&&(ue.whave+=ot))),0}y.inflateReset=Y,y.inflateReset2=q,y.inflateResetKeep=W,y.inflateInit=function(Me){return me(Me,15)},y.inflateInit2=me,y.inflate=function(Me,nt){var ne,be,ot,ue,Q,V,J,fe,oe,Le,he,te,Z,ge,Re,ze,dt,De,Tt,je,st,Xe,Je,et,at=0,Ve=new b.Buf8(4),le=[16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15];if(!Me||!Me.state||!Me.output||!Me.input&&Me.avail_in!==0)return N;(ne=Me.state).mode===12&&(ne.mode=13),Q=Me.next_out,ot=Me.output,J=Me.avail_out,ue=Me.next_in,be=Me.input,V=Me.avail_in,fe=ne.hold,oe=ne.bits,Le=V,he=J,Xe=K;e:for(;;)switch(ne.mode){case B:if(ne.wrap===0){ne.mode=13;break}for(;oe<16;){if(V===0)break e;V--,fe+=be[ue++]<<oe,oe+=8}if(2&ne.wrap&&fe===35615){Ve[ne.check=0]=255&fe,Ve[1]=fe>>>8&255,ne.check=I(ne.check,Ve,2,0),oe=fe=0,ne.mode=2;break}if(ne.flags=0,ne.head&&(ne.head.done=!1),!(1&ne.wrap)||(((255&fe)<<8)+(fe>>8))%31){Me.msg="incorrect header check",ne.mode=30;break}if((15&fe)!=8){Me.msg="unknown compression method",ne.mode=30;break}if(oe-=4,st=8+(15&(fe>>>=4)),ne.wbits===0)ne.wbits=st;else if(st>ne.wbits){Me.msg="invalid window size",ne.mode=30;break}ne.dmax=1<<st,Me.adler=ne.check=1,ne.mode=512&fe?10:12,oe=fe=0;break;case 2:for(;oe<16;){if(V===0)break e;V--,fe+=be[ue++]<<oe,oe+=8}if(ne.flags=fe,(255&ne.flags)!=8){Me.msg="unknown compression method",ne.mode=30;break}if(57344&ne.flags){Me.msg="unknown header flags set",ne.mode=30;break}ne.head&&(ne.head.text=fe>>8&1),512&ne.flags&&(Ve[0]=255&fe,Ve[1]=fe>>>8&255,ne.check=I(ne.check,Ve,2,0)),oe=fe=0,ne.mode=3;case 3:for(;oe<32;){if(V===0)break e;V--,fe+=be[ue++]<<oe,oe+=8}ne.head&&(ne.head.time=fe),512&ne.flags&&(Ve[0]=255&fe,Ve[1]=fe>>>8&255,Ve[2]=fe>>>16&255,Ve[3]=fe>>>24&255,ne.check=I(ne.check,Ve,4,0)),oe=fe=0,ne.mode=4;case 4:for(;oe<16;){if(V===0)break e;V--,fe+=be[ue++]<<oe,oe+=8}ne.head&&(ne.head.xflags=255&fe,ne.head.os=fe>>8),512&ne.flags&&(Ve[0]=255&fe,Ve[1]=fe>>>8&255,ne.check=I(ne.check,Ve,2,0)),oe=fe=0,ne.mode=5;case 5:if(1024&ne.flags){for(;oe<16;){if(V===0)break e;V--,fe+=be[ue++]<<oe,oe+=8}ne.length=fe,ne.head&&(ne.head.extra_len=fe),512&ne.flags&&(Ve[0]=255&fe,Ve[1]=fe>>>8&255,ne.check=I(ne.check,Ve,2,0)),oe=fe=0}else ne.head&&(ne.head.extra=null);ne.mode=6;case 6:if(1024&ne.flags&&(V<(te=ne.length)&&(te=V),te&&(ne.head&&(st=ne.head.extra_len-ne.length,ne.head.extra||(ne.head.extra=new Array(ne.head.extra_len)),b.arraySet(ne.head.extra,be,ue,te,st)),512&ne.flags&&(ne.check=I(ne.check,be,te,ue)),V-=te,ue+=te,ne.length-=te),ne.length))break e;ne.length=0,ne.mode=7;case 7:if(2048&ne.flags){if(V===0)break e;for(te=0;st=be[ue+te++],ne.head&&st&&ne.length<65536&&(ne.head.name+=String.fromCharCode(st)),st&&te<V;);if(512&ne.flags&&(ne.check=I(ne.check,be,te,ue)),V-=te,ue+=te,st)break e}else ne.head&&(ne.head.name=null);ne.length=0,ne.mode=8;case 8:if(4096&ne.flags){if(V===0)break e;for(te=0;st=be[ue+te++],ne.head&&st&&ne.length<65536&&(ne.head.comment+=String.fromCharCode(st)),st&&te<V;);if(512&ne.flags&&(ne.check=I(ne.check,be,te,ue)),V-=te,ue+=te,st)break e}else ne.head&&(ne.head.comment=null);ne.mode=9;case 9:if(512&ne.flags){for(;oe<16;){if(V===0)break e;V--,fe+=be[ue++]<<oe,oe+=8}if(fe!==(65535&ne.check)){Me.msg="header crc mismatch",ne.mode=30;break}oe=fe=0}ne.head&&(ne.head.hcrc=ne.flags>>9&1,ne.head.done=!0),Me.adler=ne.check=0,ne.mode=12;break;case 10:for(;oe<32;){if(V===0)break e;V--,fe+=be[ue++]<<oe,oe+=8}Me.adler=ne.check=z(fe),oe=fe=0,ne.mode=11;case 11:if(ne.havedict===0)return Me.next_out=Q,Me.avail_out=J,Me.next_in=ue,Me.avail_in=V,ne.hold=fe,ne.bits=oe,2;Me.adler=ne.check=1,ne.mode=12;case 12:if(nt===5||nt===6)break e;case 13:if(ne.last){fe>>>=7&oe,oe-=7&oe,ne.mode=27;break}for(;oe<3;){if(V===0)break e;V--,fe+=be[ue++]<<oe,oe+=8}switch(ne.last=1&fe,oe-=1,3&(fe>>>=1)){case 0:ne.mode=14;break;case 1:if(ve(ne),ne.mode=20,nt!==6)break;fe>>>=2,oe-=2;break e;case 2:ne.mode=17;break;case 3:Me.msg="invalid block type",ne.mode=30}fe>>>=2,oe-=2;break;case 14:for(fe>>>=7&oe,oe-=7&oe;oe<32;){if(V===0)break e;V--,fe+=be[ue++]<<oe,oe+=8}if((65535&fe)!=(fe>>>16^65535)){Me.msg="invalid stored block lengths",ne.mode=30;break}if(ne.length=65535&fe,oe=fe=0,ne.mode=15,nt===6)break e;case 15:ne.mode=16;case 16:if(te=ne.length){if(V<te&&(te=V),J<te&&(te=J),te===0)break e;b.arraySet(ot,be,ue,te,Q),V-=te,ue+=te,J-=te,Q+=te,ne.length-=te;break}ne.mode=12;break;case 17:for(;oe<14;){if(V===0)break e;V--,fe+=be[ue++]<<oe,oe+=8}if(ne.nlen=257+(31&fe),fe>>>=5,oe-=5,ne.ndist=1+(31&fe),fe>>>=5,oe-=5,ne.ncode=4+(15&fe),fe>>>=4,oe-=4,286<ne.nlen||30<ne.ndist){Me.msg="too many length or distance symbols",ne.mode=30;break}ne.have=0,ne.mode=18;case 18:for(;ne.have<ne.ncode;){for(;oe<3;){if(V===0)break e;V--,fe+=be[ue++]<<oe,oe+=8}ne.lens[le[ne.have++]]=7&fe,fe>>>=3,oe-=3}for(;ne.have<19;)ne.lens[le[ne.have++]]=0;if(ne.lencode=ne.lendyn,ne.lenbits=7,Je={bits:ne.lenbits},Xe=F(0,ne.lens,0,19,ne.lencode,0,ne.work,Je),ne.lenbits=Je.bits,Xe){Me.msg="invalid code lengths set",ne.mode=30;break}ne.have=0,ne.mode=19;case 19:for(;ne.have<ne.nlen+ne.ndist;){for(;ze=(at=ne.lencode[fe&(1<<ne.lenbits)-1])>>>16&255,dt=65535&at,!((Re=at>>>24)<=oe);){if(V===0)break e;V--,fe+=be[ue++]<<oe,oe+=8}if(dt<16)fe>>>=Re,oe-=Re,ne.lens[ne.have++]=dt;else{if(dt===16){for(et=Re+2;oe<et;){if(V===0)break e;V--,fe+=be[ue++]<<oe,oe+=8}if(fe>>>=Re,oe-=Re,ne.have===0){Me.msg="invalid bit length repeat",ne.mode=30;break}st=ne.lens[ne.have-1],te=3+(3&fe),fe>>>=2,oe-=2}else if(dt===17){for(et=Re+3;oe<et;){if(V===0)break e;V--,fe+=be[ue++]<<oe,oe+=8}oe-=Re,st=0,te=3+(7&(fe>>>=Re)),fe>>>=3,oe-=3}else{for(et=Re+7;oe<et;){if(V===0)break e;V--,fe+=be[ue++]<<oe,oe+=8}oe-=Re,st=0,te=11+(127&(fe>>>=Re)),fe>>>=7,oe-=7}if(ne.have+te>ne.nlen+ne.ndist){Me.msg="invalid bit length repeat",ne.mode=30;break}for(;te--;)ne.lens[ne.have++]=st}}if(ne.mode===30)break;if(ne.lens[256]===0){Me.msg="invalid code -- missing end-of-block",ne.mode=30;break}if(ne.lenbits=9,Je={bits:ne.lenbits},Xe=F(P,ne.lens,0,ne.nlen,ne.lencode,0,ne.work,Je),ne.lenbits=Je.bits,Xe){Me.msg="invalid literal/lengths set",ne.mode=30;break}if(ne.distbits=6,ne.distcode=ne.distdyn,Je={bits:ne.distbits},Xe=F(j,ne.lens,ne.nlen,ne.ndist,ne.distcode,0,ne.work,Je),ne.distbits=Je.bits,Xe){Me.msg="invalid distances set",ne.mode=30;break}if(ne.mode=20,nt===6)break e;case 20:ne.mode=21;case 21:if(6<=V&&258<=J){Me.next_out=Q,Me.avail_out=J,Me.next_in=ue,Me.avail_in=V,ne.hold=fe,ne.bits=oe,M(Me,he),Q=Me.next_out,ot=Me.output,J=Me.avail_out,ue=Me.next_in,be=Me.input,V=Me.avail_in,fe=ne.hold,oe=ne.bits,ne.mode===12&&(ne.back=-1);break}for(ne.back=0;ze=(at=ne.lencode[fe&(1<<ne.lenbits)-1])>>>16&255,dt=65535&at,!((Re=at>>>24)<=oe);){if(V===0)break e;V--,fe+=be[ue++]<<oe,oe+=8}if(ze&&(240&ze)==0){for(De=Re,Tt=ze,je=dt;ze=(at=ne.lencode[je+((fe&(1<<De+Tt)-1)>>De)])>>>16&255,dt=65535&at,!(De+(Re=at>>>24)<=oe);){if(V===0)break e;V--,fe+=be[ue++]<<oe,oe+=8}fe>>>=De,oe-=De,ne.back+=De}if(fe>>>=Re,oe-=Re,ne.back+=Re,ne.length=dt,ze===0){ne.mode=26;break}if(32&ze){ne.back=-1,ne.mode=12;break}if(64&ze){Me.msg="invalid literal/length code",ne.mode=30;break}ne.extra=15&ze,ne.mode=22;case 22:if(ne.extra){for(et=ne.extra;oe<et;){if(V===0)break e;V--,fe+=be[ue++]<<oe,oe+=8}ne.length+=fe&(1<<ne.extra)-1,fe>>>=ne.extra,oe-=ne.extra,ne.back+=ne.extra}ne.was=ne.length,ne.mode=23;case 23:for(;ze=(at=ne.distcode[fe&(1<<ne.distbits)-1])>>>16&255,dt=65535&at,!((Re=at>>>24)<=oe);){if(V===0)break e;V--,fe+=be[ue++]<<oe,oe+=8}if((240&ze)==0){for(De=Re,Tt=ze,je=dt;ze=(at=ne.distcode[je+((fe&(1<<De+Tt)-1)>>De)])>>>16&255,dt=65535&at,!(De+(Re=at>>>24)<=oe);){if(V===0)break e;V--,fe+=be[ue++]<<oe,oe+=8}fe>>>=De,oe-=De,ne.back+=De}if(fe>>>=Re,oe-=Re,ne.back+=Re,64&ze){Me.msg="invalid distance code",ne.mode=30;break}ne.offset=dt,ne.extra=15&ze,ne.mode=24;case 24:if(ne.extra){for(et=ne.extra;oe<et;){if(V===0)break e;V--,fe+=be[ue++]<<oe,oe+=8}ne.offset+=fe&(1<<ne.extra)-1,fe>>>=ne.extra,oe-=ne.extra,ne.back+=ne.extra}if(ne.offset>ne.dmax){Me.msg="invalid distance too far back",ne.mode=30;break}ne.mode=25;case 25:if(J===0)break e;if(te=he-J,ne.offset>te){if((te=ne.offset-te)>ne.whave&&ne.sane){Me.msg="invalid distance too far back",ne.mode=30;break}Z=te>ne.wnext?(te-=ne.wnext,ne.wsize-te):ne.wnext-te,te>ne.length&&(te=ne.length),ge=ne.window}else ge=ot,Z=Q-ne.offset,te=ne.length;for(J<te&&(te=J),J-=te,ne.length-=te;ot[Q++]=ge[Z++],--te;);ne.length===0&&(ne.mode=21);break;case 26:if(J===0)break e;ot[Q++]=ne.length,J--,ne.mode=21;break;case 27:if(ne.wrap){for(;oe<32;){if(V===0)break e;V--,fe|=be[ue++]<<oe,oe+=8}if(he-=J,Me.total_out+=he,ne.total+=he,he&&(Me.adler=ne.check=ne.flags?I(ne.check,ot,he,Q-he):O(ne.check,ot,he,Q-he)),he=J,(ne.flags?fe:z(fe))!==ne.check){Me.msg="incorrect data check",ne.mode=30;break}oe=fe=0}ne.mode=28;case 28:if(ne.wrap&&ne.flags){for(;oe<32;){if(V===0)break e;V--,fe+=be[ue++]<<oe,oe+=8}if(fe!==(4294967295&ne.total)){Me.msg="incorrect length check",ne.mode=30;break}oe=fe=0}ne.mode=29;case 29:Xe=1;break e;case 30:Xe=-3;break e;case 31:return-4;case 32:default:return N}return Me.next_out=Q,Me.avail_out=J,Me.next_in=ue,Me.avail_in=V,ne.hold=fe,ne.bits=oe,(ne.wsize||he!==Me.avail_out&&ne.mode<30&&(ne.mode<27||nt!==4))&&Ue(Me,Me.output,Me.next_out,he-Me.avail_out)?(ne.mode=31,-4):(Le-=Me.avail_in,he-=Me.avail_out,Me.total_in+=Le,Me.total_out+=he,ne.total+=he,ne.wrap&&he&&(Me.adler=ne.check=ne.flags?I(ne.check,ot,he,Me.next_out-he):O(ne.check,ot,he,Me.next_out-he)),Me.data_type=ne.bits+(ne.last?64:0)+(ne.mode===12?128:0)+(ne.mode===20||ne.mode===15?256:0),(Le==0&&he===0||nt===4)&&Xe===K&&(Xe=-5),Xe)},y.inflateEnd=function(Me){if(!Me||!Me.state)return N;var nt=Me.state;return nt.window&&(nt.window=null),Me.state=null,K},y.inflateGetHeader=function(Me,nt){var ne;return Me&&Me.state?(2&(ne=Me.state).wrap)==0?N:((ne.head=nt).done=!1,K):N},y.inflateSetDictionary=function(Me,nt){var ne,be=nt.length;return Me&&Me.state?(ne=Me.state).wrap!==0&&ne.mode!==11?N:ne.mode===11&&O(1,nt,be,0)!==ne.check?-3:Ue(Me,nt,be,be)?(ne.mode=31,-4):(ne.havedict=1,K):N},y.inflateInfo="pako inflate (from Nodeca project)"},{"../utils/common":41,"./adler32":43,"./crc32":45,"./inffast":48,"./inftrees":50}],50:[function(C,_,y){"use strict";var b=C("../utils/common"),O=[3,4,5,6,7,8,9,10,11,13,15,17,19,23,27,31,35,43,51,59,67,83,99,115,131,163,195,227,258,0,0],I=[16,16,16,16,16,16,16,16,17,17,17,17,18,18,18,18,19,19,19,19,20,20,20,20,21,21,21,21,16,72,78],M=[1,2,3,4,5,7,9,13,17,25,33,49,65,97,129,193,257,385,513,769,1025,1537,2049,3073,4097,6145,8193,12289,16385,24577,0,0],F=[16,16,16,16,17,17,18,18,19,19,20,20,21,21,22,22,23,23,24,24,25,25,26,26,27,27,28,28,29,29,64,64];_.exports=function(P,j,K,N,B,U,H,z){var X,W,Y,q,me,G,ye,Ae,ve,Ue=z.bits,Me=0,nt=0,ne=0,be=0,ot=0,ue=0,Q=0,V=0,J=0,fe=0,oe=null,Le=0,he=new b.Buf16(16),te=new b.Buf16(16),Z=null,ge=0;for(Me=0;Me<=15;Me++)he[Me]=0;for(nt=0;nt<N;nt++)he[j[K+nt]]++;for(ot=Ue,be=15;1<=be&&he[be]===0;be--);if(be<ot&&(ot=be),be===0)return B[U++]=20971520,B[U++]=20971520,z.bits=1,0;for(ne=1;ne<be&&he[ne]===0;ne++);for(ot<ne&&(ot=ne),Me=V=1;Me<=15;Me++)if(V<<=1,(V-=he[Me])<0)return-1;if(0<V&&(P===0||be!==1))return-1;for(te[1]=0,Me=1;Me<15;Me++)te[Me+1]=te[Me]+he[Me];for(nt=0;nt<N;nt++)j[K+nt]!==0&&(H[te[j[K+nt]]++]=nt);if(G=P===0?(oe=Z=H,19):P===1?(oe=O,Le-=257,Z=I,ge-=257,256):(oe=M,Z=F,-1),Me=ne,me=U,Q=nt=fe=0,Y=-1,q=(J=1<<(ue=ot))-1,P===1&&852<J||P===2&&592<J)return 1;for(;;){for(ye=Me-Q,ve=H[nt]<G?(Ae=0,H[nt]):H[nt]>G?(Ae=Z[ge+H[nt]],oe[Le+H[nt]]):(Ae=96,0),X=1<<Me-Q,ne=W=1<<ue;B[me+(fe>>Q)+(W-=X)]=ye<<24|Ae<<16|ve|0,W!==0;);for(X=1<<Me-1;fe&X;)X>>=1;if(X!==0?(fe&=X-1,fe+=X):fe=0,nt++,--he[Me]==0){if(Me===be)break;Me=j[K+H[nt]]}if(ot<Me&&(fe&q)!==Y){for(Q===0&&(Q=ot),me+=ne,V=1<<(ue=Me-Q);ue+Q<be&&!((V-=he[ue+Q])<=0);)ue++,V<<=1;if(J+=1<<ue,P===1&&852<J||P===2&&592<J)return 1;B[Y=fe&q]=ot<<24|ue<<16|me-U|0}}return fe!==0&&(B[me+fe]=Me-Q<<24|64<<16|0),z.bits=ot,0}},{"../utils/common":41}],51:[function(C,_,y){"use strict";_.exports={2:"need dictionary",1:"stream end",0:"","-1":"file error","-2":"stream error","-3":"data error","-4":"insufficient memory","-5":"buffer error","-6":"incompatible version"}},{}],52:[function(C,_,y){"use strict";var b=C("../utils/common");function O(he){for(var te=he.length;0<=--te;)he[te]=0}var I=15,M=16,F=[0,0,0,0,0,0,0,0,1,1,1,1,2,2,2,2,3,3,3,3,4,4,4,4,5,5,5,5,0],P=[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],j=[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],N=new Array(576);O(N);var B=new Array(60);O(B);var U=new Array(512);O(U);var H=new Array(256);O(H);var z=new Array(29);O(z);var X,W,Y,q=new Array(30);function me(he,te,Z,ge,Re){this.static_tree=he,this.extra_bits=te,this.extra_base=Z,this.elems=ge,this.max_length=Re,this.has_stree=he&&he.length}function G(he,te){this.dyn_tree=he,this.max_code=0,this.stat_desc=te}function ye(he){return he<256?U[he]:U[256+(he>>>7)]}function Ae(he,te){he.pending_buf[he.pending++]=255&te,he.pending_buf[he.pending++]=te>>>8&255}function ve(he,te,Z){he.bi_valid>M-Z?(he.bi_buf|=te<<he.bi_valid&65535,Ae(he,he.bi_buf),he.bi_buf=te>>M-he.bi_valid,he.bi_valid+=Z-M):(he.bi_buf|=te<<he.bi_valid&65535,he.bi_valid+=Z)}function Ue(he,te,Z){ve(he,Z[2*te],Z[2*te+1])}function Me(he,te){for(var Z=0;Z|=1&he,he>>>=1,Z<<=1,0<--te;);return Z>>>1}function nt(he,te,Z){var ge,Re,ze=new Array(I+1),dt=0;for(ge=1;ge<=I;ge++)ze[ge]=dt=dt+Z[ge-1]<<1;for(Re=0;Re<=te;Re++){var De=he[2*Re+1];De!==0&&(he[2*Re]=Me(ze[De]++,De))}}function ne(he){var te;for(te=0;te<286;te++)he.dyn_ltree[2*te]=0;for(te=0;te<30;te++)he.dyn_dtree[2*te]=0;for(te=0;te<19;te++)he.bl_tree[2*te]=0;he.dyn_ltree[512]=1,he.opt_len=he.static_len=0,he.last_lit=he.matches=0}function be(he){8<he.bi_valid?Ae(he,he.bi_buf):0<he.bi_valid&&(he.pending_buf[he.pending++]=he.bi_buf),he.bi_buf=0,he.bi_valid=0}function ot(he,te,Z,ge){var Re=2*te,ze=2*Z;return he[Re]<he[ze]||he[Re]===he[ze]&&ge[te]<=ge[Z]}function ue(he,te,Z){for(var ge=he.heap[Z],Re=Z<<1;Re<=he.heap_len&&(Re<he.heap_len&&ot(te,he.heap[Re+1],he.heap[Re],he.depth)&&Re++,!ot(te,ge,he.heap[Re],he.depth));)he.heap[Z]=he.heap[Re],Z=Re,Re<<=1;he.heap[Z]=ge}function Q(he,te,Z){var ge,Re,ze,dt,De=0;if(he.last_lit!==0)for(;ge=he.pending_buf[he.d_buf+2*De]<<8|he.pending_buf[he.d_buf+2*De+1],Re=he.pending_buf[he.l_buf+De],De++,ge===0?Ue(he,Re,te):(Ue(he,(ze=H[Re])+256+1,te),(dt=F[ze])!==0&&ve(he,Re-=z[ze],dt),Ue(he,ze=ye(--ge),Z),(dt=P[ze])!==0&&ve(he,ge-=q[ze],dt)),De<he.last_lit;);Ue(he,256,te)}function V(he,te){var Z,ge,Re,ze=te.dyn_tree,dt=te.stat_desc.static_tree,De=te.stat_desc.has_stree,Tt=te.stat_desc.elems,je=-1;for(he.heap_len=0,he.heap_max=573,Z=0;Z<Tt;Z++)ze[2*Z]!==0?(he.heap[++he.heap_len]=je=Z,he.depth[Z]=0):ze[2*Z+1]=0;for(;he.heap_len<2;)ze[2*(Re=he.heap[++he.heap_len]=je<2?++je:0)]=1,he.depth[Re]=0,he.opt_len--,De&&(he.static_len-=dt[2*Re+1]);for(te.max_code=je,Z=he.heap_len>>1;1<=Z;Z--)ue(he,ze,Z);for(Re=Tt;Z=he.heap[1],he.heap[1]=he.heap[he.heap_len--],ue(he,ze,1),ge=he.heap[1],he.heap[--he.heap_max]=Z,he.heap[--he.heap_max]=ge,ze[2*Re]=ze[2*Z]+ze[2*ge],he.depth[Re]=(he.depth[Z]>=he.depth[ge]?he.depth[Z]:he.depth[ge])+1,ze[2*Z+1]=ze[2*ge+1]=Re,he.heap[1]=Re++,ue(he,ze,1),2<=he.heap_len;);he.heap[--he.heap_max]=he.heap[1],function(st,Xe){var Je,et,at,Ve,le,ae,lt=Xe.dyn_tree,Ze=Xe.max_code,Te=Xe.stat_desc.static_tree,Jt=Xe.stat_desc.has_stree,mt=Xe.stat_desc.extra_bits,ft=Xe.stat_desc.extra_base,bt=Xe.stat_desc.max_length,It=0;for(Ve=0;Ve<=I;Ve++)st.bl_count[Ve]=0;for(lt[2*st.heap[st.heap_max]+1]=0,Je=st.heap_max+1;Je<573;Je++)bt<(Ve=lt[2*lt[2*(et=st.heap[Je])+1]+1]+1)&&(Ve=bt,It++),lt[2*et+1]=Ve,Ze<et||(st.bl_count[Ve]++,le=0,ft<=et&&(le=mt[et-ft]),ae=lt[2*et],st.opt_len+=ae*(Ve+le),Jt&&(st.static_len+=ae*(Te[2*et+1]+le)));if(It!==0){do{for(Ve=bt-1;st.bl_count[Ve]===0;)Ve--;st.bl_count[Ve]--,st.bl_count[Ve+1]+=2,st.bl_count[bt]--,It-=2}while(0<It);for(Ve=bt;Ve!==0;Ve--)for(et=st.bl_count[Ve];et!==0;)Ze<(at=st.heap[--Je])||(lt[2*at+1]!==Ve&&(st.opt_len+=(Ve-lt[2*at+1])*lt[2*at],lt[2*at+1]=Ve),et--)}}(he,te),nt(ze,je,he.bl_count)}function J(he,te,Z){var ge,Re,ze=-1,dt=te[1],De=0,Tt=7,je=4;for(dt===0&&(Tt=138,je=3),te[2*(Z+1)+1]=65535,ge=0;ge<=Z;ge++)Re=dt,dt=te[2*(ge+1)+1],++De<Tt&&Re===dt||(De<je?he.bl_tree[2*Re]+=De:Re!==0?(Re!==ze&&he.bl_tree[2*Re]++,he.bl_tree[32]++):De<=10?he.bl_tree[34]++:he.bl_tree[36]++,ze=Re,je=(De=0)===dt?(Tt=138,3):Re===dt?(Tt=6,3):(Tt=7,4))}function fe(he,te,Z){var ge,Re,ze=-1,dt=te[1],De=0,Tt=7,je=4;for(dt===0&&(Tt=138,je=3),ge=0;ge<=Z;ge++)if(Re=dt,dt=te[2*(ge+1)+1],!(++De<Tt&&Re===dt)){if(De<je)for(;Ue(he,Re,he.bl_tree),--De!=0;);else Re!==0?(Re!==ze&&(Ue(he,Re,he.bl_tree),De--),Ue(he,16,he.bl_tree),ve(he,De-3,2)):De<=10?(Ue(he,17,he.bl_tree),ve(he,De-3,3)):(Ue(he,18,he.bl_tree),ve(he,De-11,7));ze=Re,je=(De=0)===dt?(Tt=138,3):Re===dt?(Tt=6,3):(Tt=7,4)}}O(q);var oe=!1;function Le(he,te,Z,ge){var Re,ze,dt;ve(he,0+(ge?1:0),3),ze=te,dt=Z,be(Re=he),Ae(Re,dt),Ae(Re,~dt),b.arraySet(Re.pending_buf,Re.window,ze,dt,Re.pending),Re.pending+=dt}y._tr_init=function(he){oe||(function(){var te,Z,ge,Re,ze,dt=new Array(I+1);for(Re=ge=0;Re<28;Re++)for(z[Re]=ge,te=0;te<1<<F[Re];te++)H[ge++]=Re;for(H[ge-1]=Re,Re=ze=0;Re<16;Re++)for(q[Re]=ze,te=0;te<1<<P[Re];te++)U[ze++]=Re;for(ze>>=7;Re<30;Re++)for(q[Re]=ze<<7,te=0;te<1<<P[Re]-7;te++)U[256+ze++]=Re;for(Z=0;Z<=I;Z++)dt[Z]=0;for(te=0;te<=143;)N[2*te+1]=8,te++,dt[8]++;for(;te<=255;)N[2*te+1]=9,te++,dt[9]++;for(;te<=279;)N[2*te+1]=7,te++,dt[7]++;for(;te<=287;)N[2*te+1]=8,te++,dt[8]++;for(nt(N,287,dt),te=0;te<30;te++)B[2*te+1]=5,B[2*te]=Me(te,5);X=new me(N,F,257,286,I),W=new me(B,P,0,30,I),Y=new me(new Array(0),j,0,19,7)}(),oe=!0),he.l_desc=new G(he.dyn_ltree,X),he.d_desc=new G(he.dyn_dtree,W),he.bl_desc=new G(he.bl_tree,Y),he.bi_buf=0,he.bi_valid=0,ne(he)},y._tr_stored_block=Le,y._tr_flush_block=function(he,te,Z,ge){var Re,ze,dt=0;0<he.level?(he.strm.data_type===2&&(he.strm.data_type=function(De){var Tt,je=4093624447;for(Tt=0;Tt<=31;Tt++,je>>>=1)if(1&je&&De.dyn_ltree[2*Tt]!==0)return 0;if(De.dyn_ltree[18]!==0||De.dyn_ltree[20]!==0||De.dyn_ltree[26]!==0)return 1;for(Tt=32;Tt<256;Tt++)if(De.dyn_ltree[2*Tt]!==0)return 1;return 0}(he)),V(he,he.l_desc),V(he,he.d_desc),dt=function(De){var Tt;for(J(De,De.dyn_ltree,De.l_desc.max_code),J(De,De.dyn_dtree,De.d_desc.max_code),V(De,De.bl_desc),Tt=18;3<=Tt&&De.bl_tree[2*K[Tt]+1]===0;Tt--);return De.opt_len+=3*(Tt+1)+5+5+4,Tt}(he),Re=he.opt_len+3+7>>>3,(ze=he.static_len+3+7>>>3)<=Re&&(Re=ze)):Re=ze=Z+5,Z+4<=Re&&te!==-1?Le(he,te,Z,ge):he.strategy===4||ze===Re?(ve(he,2+(ge?1:0),3),Q(he,N,B)):(ve(he,4+(ge?1:0),3),function(De,Tt,je,st){var Xe;for(ve(De,Tt-257,5),ve(De,je-1,5),ve(De,st-4,4),Xe=0;Xe<st;Xe++)ve(De,De.bl_tree[2*K[Xe]+1],3);fe(De,De.dyn_ltree,Tt-1),fe(De,De.dyn_dtree,je-1)}(he,he.l_desc.max_code+1,he.d_desc.max_code+1,dt+1),Q(he,he.dyn_ltree,he.dyn_dtree)),ne(he),ge&&be(he)},y._tr_tally=function(he,te,Z){return he.pending_buf[he.d_buf+2*he.last_lit]=te>>>8&255,he.pending_buf[he.d_buf+2*he.last_lit+1]=255&te,he.pending_buf[he.l_buf+he.last_lit]=255&Z,he.last_lit++,te===0?he.dyn_ltree[2*Z]++:(he.matches++,te--,he.dyn_ltree[2*(H[Z]+256+1)]++,he.dyn_dtree[2*ye(te)]++),he.last_lit===he.lit_bufsize-1},y._tr_align=function(he){var te;ve(he,2,3),Ue(he,256,N),(te=he).bi_valid===16?(Ae(te,te.bi_buf),te.bi_buf=0,te.bi_valid=0):8<=te.bi_valid&&(te.pending_buf[te.pending++]=255&te.bi_buf,te.bi_buf>>=8,te.bi_valid-=8)}},{"../utils/common":41}],53:[function(C,_,y){"use strict";_.exports=function(){this.input=null,this.next_in=0,this.avail_in=0,this.total_in=0,this.output=null,this.next_out=0,this.avail_out=0,this.total_out=0,this.msg="",this.state=null,this.data_type=2,this.adler=0}},{}],54:[function(C,_,y){"use strict";_.exports=typeof setImmediate=="function"?setImmediate:function(){var b=[].slice.apply(arguments);b.splice(1,0,0),setTimeout.apply(null,b)}},{}]},{},[10])(10)})}).call(this,x!==void 0?x:typeof self!="undefined"?self:typeof window!="undefined"?window:{})},{}]},{},[1])(1)})}).call(this,t!==void 0?t:typeof self!="undefined"?self:typeof window!="undefined"?window:{})},{}]},{},[1])(1)})}).call(this,o!==void 0?o:typeof self!="undefined"?self:typeof window!="undefined"?window:{})},{}]},{},[1])(1)})}).call(this,c!==void 0?c:typeof self!="undefined"?self:typeof window!="undefined"?window:{})},{}]},{},[1])(1)})}).call(this,typeof g!="undefined"?g:typeof self!="undefined"?self:typeof window!="undefined"?window:{})},{}]},{},[1])(1)})}).call(this,e("yLpj"),e("HDXh").Buffer)},r6Bn:function(R,D,e){var g=e("bYtY"),f=e("ItGF"),A=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 A&&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 A&&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 A&&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;R.exports=c},rA99:function(R,D,e){var g=e("y+Vt"),f=e("QBsz"),A=e("Sj9i"),m=A.quadraticSubdivide,v=A.cubicSubdivide,h=A.quadraticAt,c=A.cubicAt,a=A.quadraticDerivativeAt,i=A.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,x=t.y2,S=t.cpx1,T=t.cpy1,w=t.cpx2,E=t.cpy2,C=t.percent;if(C===0)return;l.moveTo(s,u),w==null||E==null?(C<1&&(m(s,S,p,C,r),S=r[1],p=r[2],m(u,T,x,C,r),T=r[1],x=r[2]),l.quadraticCurveTo(S,T,p,x)):(C<1&&(v(s,S,w,p,C,r),S=r[1],w=r[2],p=r[3],v(u,T,E,x,C,r),T=r[1],E=r[2],x=r[3]),l.bezierCurveTo(S,T,w,E,p,x))},pointAt:function(l){return o(this.shape,l,!1)},tangentAt:function(l){var t=o(this.shape,l,!0);return f.normalize(t,t)}});R.exports=d},"rAM+":function(R,D,e){"use strict";e.d(D,"a",function(){return f});var g=e("Qw5x");function f(A,m){var v;if(typeof Symbol=="undefined"||A[Symbol.iterator]==null){if(Array.isArray(A)||(v=Object(g.a)(A))||m&&A&&typeof A.length=="number"){v&&(A=v);var h=0,c=function(){};return{s:c,n:function(){return h>=A.length?{done:!0}:{done:!1,value:A[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=A[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(R,D){function e(g){var f=-1,A=Array(g.size);return g.forEach(function(m){A[++f]=m}),A}R.exports=e},rHrb:function(R,D,e){"use strict";Object.defineProperty(D,"__esModule",{value:!0}),D.CopyToClipboard=void 0;var g=A(e("q1tI")),f=A(e("+QRC"));function A(x){return x&&x.__esModule?x:{default:x}}function m(x){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?m=function(T){return typeof T}:m=function(T){return T&&typeof Symbol=="function"&&T.constructor===Symbol&&T!==Symbol.prototype?"symbol":typeof T},m(x)}function v(x,S){var T=Object.keys(x);if(Object.getOwnPropertySymbols){var w=Object.getOwnPropertySymbols(x);S&&(w=w.filter(function(E){return Object.getOwnPropertyDescriptor(x,E).enumerable})),T.push.apply(T,w)}return T}function h(x){for(var S=1;S<arguments.length;S++){var T=arguments[S]!=null?arguments[S]:{};S%2?v(T,!0).forEach(function(w){u(x,w,T[w])}):Object.getOwnPropertyDescriptors?Object.defineProperties(x,Object.getOwnPropertyDescriptors(T)):v(T).forEach(function(w){Object.defineProperty(x,w,Object.getOwnPropertyDescriptor(T,w))})}return x}function c(x,S){if(x==null)return{};var T=a(x,S),w,E;if(Object.getOwnPropertySymbols){var C=Object.getOwnPropertySymbols(x);for(E=0;E<C.length;E++){if(w=C[E],S.indexOf(w)>=0)continue;if(!Object.prototype.propertyIsEnumerable.call(x,w))continue;T[w]=x[w]}}return T}function a(x,S){if(x==null)return{};var T={},w=Object.keys(x),E,C;for(C=0;C<w.length;C++){if(E=w[C],S.indexOf(E)>=0)continue;T[E]=x[E]}return T}function i(x,S){if(!(x instanceof S))throw new TypeError("Cannot call a class as a function")}function r(x,S){for(var T=0;T<S.length;T++){var w=S[T];w.enumerable=w.enumerable||!1,w.configurable=!0,"value"in w&&(w.writable=!0),Object.defineProperty(x,w.key,w)}}function o(x,S,T){return S&&r(x.prototype,S),T&&r(x,T),x}function d(x,S){return S&&(m(S)==="object"||typeof S=="function")?S:l(x)}function n(x){return n=Object.setPrototypeOf?Object.getPrototypeOf:function(T){return T.__proto__||Object.getPrototypeOf(T)},n(x)}function l(x){if(x===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return x}function t(x,S){if(typeof S!="function"&&S!==null)throw new TypeError("Super expression must either be null or a function");x.prototype=Object.create(S&&S.prototype,{constructor:{value:x,writable:!0,configurable:!0}}),S&&s(x,S)}function s(x,S){return s=Object.setPrototypeOf||function(w,E){return w.__proto__=E,w},s(x,S)}function u(x,S,T){return S in x?Object.defineProperty(x,S,{value:T,enumerable:!0,configurable:!0,writable:!0}):x[S]=T,x}var p=function(x){t(S,x);function S(){var T,w;i(this,S);for(var E=arguments.length,C=new Array(E),_=0;_<E;_++)C[_]=arguments[_];return w=d(this,(T=n(S)).call.apply(T,[this].concat(C))),u(l(w),"onClick",function(y){var b=w.props,O=b.text,I=b.onCopy,M=b.children,F=b.options,P=g.default.Children.only(M),j=(0,f.default)(O,F);I&&I(O,j),P&&P.props&&typeof P.props.onClick=="function"&&P.props.onClick(y)}),w}return o(S,[{key:"render",value:function(){var w=this.props,E=w.text,C=w.onCopy,_=w.options,y=w.children,b=c(w,["text","onCopy","options","children"]),O=g.default.Children.only(y);return g.default.cloneElement(O,h({},b,{onClick:this.onClick}))}}]),S}(g.default.PureComponent);D.CopyToClipboard=p,u(p,"defaultProps",{onCopy:void 0,options:void 0})},rLCj:function(R,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"},A=f,m=e("6VBw"),v=function(a,i){return g.createElement(m.a,Object.assign({},a,{ref:i,icon:A}))};v.displayName="ReloadOutlined";var h=D.a=g.forwardRef(v)},rUJ1:function(R,D){var e=/[&<>"']/,g=/[&<>"']/g,f=/[<>"']|&(?!#?\w+;)/,A=/[<>"']|&(?!#?\w+;)/g,m={"&":"&","<":"<",">":">",'"':""","'":"'"},v=function(y){return m[y]};function h(_,y){if(y){if(e.test(_))return _.replace(g,v)}else if(f.test(_))return _.replace(A,v);return _}var c=/&(#(?:\d+)|(?:#x[0-9A-Fa-f]+)|(?:\w+));?/ig;function a(_){return _.replace(c,function(y,b){return b=b.toLowerCase(),b==="colon"?":":b.charAt(0)==="#"?b.charAt(1)==="x"?String.fromCharCode(parseInt(b.substring(2),16)):String.fromCharCode(+b.substring(1)):""})}var i=/(^|[^\[])\^/g;function r(_,y){_=_.source||_,y=y||"";var b={replace:function(I,M){return M=M.source||M,M=M.replace(i,"$1"),_=_.replace(I,M),b},getRegex:function(){return new RegExp(_,y)}};return b}var o=/[^\w:]/g,d=/^$|^[a-z][a-z0-9+.-]*:|^[?#]/i;function n(_,y,b){if(_){var O;try{O=decodeURIComponent(a(b)).replace(o,"").toLowerCase()}catch(I){return null}if(O.indexOf("javascript:")===0||O.indexOf("vbscript:")===0||O.indexOf("data:")===0)return null}y&&!d.test(b)&&(b=p(y,b));try{b=encodeURI(b).replace(/%25/g,"%")}catch(I){return null}return b}var l={},t=/^[^:]+:\/*[^/]*$/,s=/^([^:]+:)[\s\S]*$/,u=/^([^:]+:\/*[^/]*)[\s\S]*$/;function p(_,y){l[" "+_]||(t.test(_)?l[" "+_]=_+"/":l[" "+_]=w(_,"/",!0)),_=l[" "+_];var b=_.indexOf(":")===-1;return y.substring(0,2)==="//"?b?y:_.replace(s,"$1")+y:y.charAt(0)==="/"?b?y:_.replace(u,"$1")+y:_+y}var x={exec:function(){}};function S(_){for(var y=1,b,O;y<arguments.length;y++){b=arguments[y];for(O in b)Object.prototype.hasOwnProperty.call(b,O)&&(_[O]=b[O])}return _}function T(_,y){var b=_.replace(/\|/g,function(M,F,P){for(var j=!1,K=F;--K>=0&&P[K]==="\\";)j=!j;return j?"|":" |"}),O=b.split(/ \|/),I=0;if(O.length>y)O.splice(y);else for(;O.length<y;)O.push("");for(;I<O.length;I++)O[I]=O[I].trim().replace(/\\\|/g,"|");return O}function w(_,y,b){var O=_.length;if(O===0)return"";for(var I=0;I<O;){var M=_.charAt(O-I-1);if(M===y&&!b)I++;else if(M!==y&&b)I++;else break}return _.substr(0,O-I)}function E(_,y){if(_.indexOf(y[1])===-1)return-1;for(var b=_.length,O=0,I=0;I<b;I++)if(_[I]==="\\")I++;else if(_[I]===y[0])O++;else if(_[I]===y[1]&&(O--,O<0))return I;return-1}function C(_){_&&_.sanitize&&!_.silent&&console.warn("marked(): sanitize and sanitizer parameters are deprecated since version 0.7.0, should not be used and will be removed in the future. Read more here: https://marked.js.org/#/USING_ADVANCED.md#options")}R.exports={escape:h,unescape:a,edit:r,cleanUrl:n,resolveUrl:p,noopTest:x,merge:S,splitCells:T,rtrim:w,findClosingBracket:E,checkSanitizeDeprecation:C}},rdUC:function(R,D,e){var g=e("MFOe"),f=g.Global;R.exports={name:"localStorage",read:m,write:v,each:h,remove:c,clearAll:a};function A(){return f.localStorage}function m(i){return A().getItem(i)}function v(i,r){return A().setItem(i,r)}function h(i){for(var r=A().length-1;r>=0;r--){var o=A().key(r);i(m(o),o)}}function c(i){return A().removeItem(i)}function a(){return A().clear()}},rdor:function(R,D,e){var g=e("lOQZ"),f=g.circularLayout;function A(m){m.eachSeriesByType("graph",function(v){v.get("layout")==="circular"&&f(v,"symbolSize")})}R.exports=A},rfSb:function(R,D,e){var g=e("T4UG"),f=e("sdST"),A=e("L0Ub"),m=A.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(P){return P[2]}),p=[];u.buckets.each(function(P,j){p.push({name:j,dataList:P})});for(var x=p.length,S=-1,T=-1,w=0;w<x;++w){var E=p[w].dataList.length;E>S&&(S=E,T=w)}for(var C=0;C<x;++C){if(C===T)continue;for(var _=p[C].name,y=0;y<S;++y){for(var b=p[T].dataList[y][0],O=p[C].dataList.length,I=-1,M=0;M<O;++M){var F=p[C].dataList[M][0];if(F===b){I=M;break}}I===-1&&(t[s]=[],t[s][0]=b,t[s][1]=0,t[s][2]=_,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"),x=h.filter(t.data,function(b){return b[2]!==void 0}),S=this.fixData(x||[]),T=[],w=this.nameMap=h.createHashMap(),E=0,C=0;C<S.length;++C)T.push(S[C][d]),w.get(S[C][d])||(w.set(S[C][d],E),E++);var _=f(S,{coordDimensions:["single"],dimensionsDefine:[{name:"time",type:m(p)},{name:"value",type:"float"},{name:"name",type:"ordinal"}],encodeDefine:{single:0,value:1,itemName:2}}),y=new v(_,this);return y.initData(S),y},getLayerSeries:function(){for(var t=this.getData(),s=t.count(),u=[],p=0;p<s;++p)u[p]=p;var x=t.mapDimension("single"),S=a(u,function(w){return t.get("name",w)}),T=[];return S.buckets.each(function(w,E){w.sort(function(C,_){return t.get(x,C)-t.get(x,_)}),T.push({name:E,indices:w})}),T},getAxisTooltipData:function(t,s,u){h.isArray(t)||(t=t?[t]:[]);for(var p=this.getData(),x=this.getLayerSeries(),S=[],T=x.length,w,E=0;E<T;++E){for(var C=Number.MAX_VALUE,_=-1,y=x[E].indices.length,b=0;b<y;++b){var O=p.get(t[0],x[E].indices[b]),I=Math.abs(O-s);I<=C&&(w=O,C=I,_=x[E].indices[b])}S.push(_)}return{dataIndices:S,nestestValue:w}},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;R.exports=l},rkZ5:function(R,D,e){var g=e("Tghj"),f=g.__DEV__,A=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=A.extendChartView({type:"lines",init:function(){},render:function(l,t,s){var u=l.getData(),p=this._updateLineDraw(u,l),x=l.get("zlevel"),S=l.get("effect.trailLength"),T=s.getZr(),w=T.painter.getType()==="svg";w||T.painter.getLayer(x).clear(!0),this._lastZlevel!=null&&!w&&T.configLayer(this._lastZlevel,{motionBlur:!1}),this._showEffect(l)&&S&&(w||T.configLayer(x,{motionBlur:!0,lastFrameAlpha:Math.max(Math.min(S/10+.9,1),0)})),p.updateData(u);var E=l.get("clip",!0)&&d(l.coordinateSystem,!1,l);E?this.group.setClipPath(E):this.group.removeClipPath(),this._lastZlevel=x,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 x=r.reset(l);x.progress&&x.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"),x=t.pipelineContext,S=x.large;return(!s||u!==this._hasEffet||p!==this._isPolyline||S!==this._isLargeDraw)&&(s&&s.remove(),s=this._lineDraw=S?new i:new m(p?u?a:c:u?v:h),this._hasEffet=u,this._isPolyline=p,this._isLargeDraw=S,this.group.removeAll()),this.group.add(s.group),s},_showEffect:function(l){return!!l.get("effect.show")},_clearLayer:function(l){var t=l.getZr(),s=t.painter.getType()==="svg";!s&&this._lastZlevel!=null&&t.painter.getLayer(this._lastZlevel).clear(!0)},remove:function(l,t){this._lineDraw&&this._lineDraw.remove(),this._lineDraw=null,this._clearLayer(t)},dispose:function(){}});R.exports=n},rmlV:function(R,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()}});R.exports=f},rnVJ:function(R,D,e){var g=e("bYtY"),f=["rect","polygon","keep","clear"];function A(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)})}R.exports=A},rwxt:function(R,D,e){"use strict";Object.defineProperty(D,"__esModule",{value:!0}),D.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 A(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&&A(c.prototype,a),i&&A(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}();D.default=h},rySg:function(R,D,e){e("SMc4"),e("8nMs")},s2MQ:function(R,D,e){"use strict";Object.defineProperty(D,"__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"};D.default=g},s2lz:function(R,D,e){var g=e("ProS"),f=e("bYtY"),A=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=A.Group,s=A.Rect,u=f.each,p=3,x=["label"],S=["emphasis","label"],T=["upperLabel"],w=["emphasis","upperLabel"],E=10,C=1,_=2,y=o([["fill","color"],["stroke","strokeColor"],["lineWidth","strokeWidth"],["shadowBlur"],["shadowOffsetX"],["shadowOffsetY"],["shadowColor"]]),b=function(P){var j=y(P);return j.stroke=j.fill=j.lineWidth=null,j},O=g.extendChartView({type:"treemap",init:function(P,j){this._containerGroup,this._storage=I(),this._oldTree,this._breadcrumb,this._controller,this._state="ready"},render:function(P,j,K,N){var B=j.findComponents({mainType:"series",subType:"treemap",query:N});if(f.indexOf(B,P)<0)return;this.seriesModel=P,this.api=K,this.ecModel=j;var U=["treemapZoomToNode","treemapRootToNode"],H=v.retrieveTargetInfo(N,U,P),z=N&&N.type,X=P.layoutInfo,W=!this._oldTree,Y=this._storage,q=z==="treemapRootToNode"&&H&&Y?{rootNodeGroup:Y.nodeGroup[H.node.getRawIndex()],direction:N.direction}:null,me=this._giveContainerGroup(X),G=this._doRender(me,P,q);!W&&(!z||z==="treemapZoomToNode"||z==="treemapRootToNode")?this._doAnimation(me,G,P,q):G.renderFinally(),this._resetController(K),this._renderBreadcrumb(P,K,H)},_giveContainerGroup:function(P){var j=this._containerGroup;return j||(j=this._containerGroup=new t,this._initEvents(j),this.group.add(j)),j.attr("position",[P.x,P.y]),j},_doRender:function(P,j,K){var N=j.getData().tree,B=this._oldTree,U=I(),H=I(),z=this._storage,X=[],W=f.curry(M,j,H,z,K,U,X);q(N.root?[N.root]:[],B&&B.root?[B.root]:[],P,N===B||!B,0);var Y=me(z);return this._oldTree=N,this._storage=H,{lastsForAnimation:U,willDeleteEls:Y,renderFinally:G};function q(ye,Ae,ve,Ue,Me){Ue?(Ae=ye,u(ye,function(be,ot){!be.isRemoved()&&ne(ot,ot)})):new m(Ae,ye,nt,nt).add(ne).update(ne).remove(f.curry(ne,null)).execute();function nt(be){return be.getId()}function ne(be,ot){var ue=be!=null?ye[be]:null,Q=ot!=null?Ae[ot]:null,V=W(ue,Q,ve,Me);V&&q(ue&&ue.viewChildren||[],Q&&Q.viewChildren||[],V,Ue,Me+1)}}function me(ye){var Ae=I();return ye&&u(ye,function(ve,Ue){var Me=Ae[Ue];u(ve,function(nt){nt&&(Me.push(nt),nt.__tmWillDelete=1)})}),Ae}function G(){u(Y,function(ye){u(ye,function(Ae){Ae.parent&&Ae.parent.remove(Ae)})}),u(X,function(ye){ye.invisible=!0,ye.dirty()})}},_doAnimation:function(P,j,K,N){if(!K.get("animation"))return;var B=K.get("animationDurationUpdate"),U=K.get("animationEasing"),H=r.createWrap();u(j.willDeleteEls,function(z,X){u(z,function(W,Y){if(W.invisible)return;var q=W.parent,me;if(N&&N.direction==="drillDown")me=q===N.rootNodeGroup?{shape:{x:0,y:0,width:q.__tmNodeWidth,height:q.__tmNodeHeight},style:{opacity:0}}:{style:{opacity:0}};else{var G=0,ye=0;q.__tmWillDelete||(G=q.__tmNodeWidth/2,ye=q.__tmNodeHeight/2),me=X==="nodeGroup"?{position:[G,ye],style:{opacity:0}}:{shape:{x:G,y:ye,width:0,height:0},style:{opacity:0}}}me&&H.add(W,me,B,U)})}),u(this._storage,function(z,X){u(z,function(W,Y){var q=j.lastsForAnimation[X][Y],me={};if(!q)return;X==="nodeGroup"?q.old&&(me.position=W.position.slice(),W.attr("position",q.old)):(q.old&&(me.shape=f.extend({},W.shape),W.setShape(q.old)),q.fadein?(W.setStyle("opacity",0),me.style={opacity:1}):W.style.opacity!==1&&(me.style={opacity:1})),H.add(W,me,B,U)})},this),this._state="animating",H.done(l(function(){this._state="ready",j.renderFinally()},this)).start()},_resetController:function(P){var j=this._controller;j||(j=this._controller=new c(P.getZr()),j.enable(this.seriesModel.get("roam")),j.on("pan",l(this._onPan,this)),j.on("zoom",l(this._onZoom,this)));var K=new a(0,0,P.getWidth(),P.getHeight());j.setPointerChecker(function(N,B,U){return K.contain(B,U)})},_clearController:function(){var P=this._controller;P&&(P.dispose(),P=null)},_onPan:function(P){if(this._state!=="animating"&&(Math.abs(P.dx)>p||Math.abs(P.dy)>p)){var j=this.seriesModel.getData().tree.root;if(!j)return;var K=j.getLayout();if(!K)return;this.api.dispatchAction({type:"treemapMove",from:this.uid,seriesId:this.seriesModel.id,rootRect:{x:K.x+P.dx,y:K.y+P.dy,width:K.width,height:K.height}})}},_onZoom:function(P){var j=P.originX,K=P.originY;if(this._state!=="animating"){var N=this.seriesModel.getData().tree.root;if(!N)return;var B=N.getLayout();if(!B)return;var U=new a(B.x,B.y,B.width,B.height),H=this.seriesModel.layoutInfo;j-=H.x,K-=H.y;var z=i.create();i.translate(z,z,[-j,-K]),i.scale(z,z,[P.scale,P.scale]),i.translate(z,z,[j,K]),U.applyTransform(z),this.api.dispatchAction({type:"treemapRender",from:this.uid,seriesId:this.seriesModel.id,rootRect:{x:U.x,y:U.y,width:U.width,height:U.height}})}},_initEvents:function(P){P.on("click",function(j){if(this._state!=="ready")return;var K=this.seriesModel.get("nodeClick",!0);if(!K)return;var N=this.findTarget(j.offsetX,j.offsetY);if(!N)return;var B=N.node;if(B.getLayout().isLeafRoot)this._rootToNode(N);else if(K==="zoomToNode")this._zoomToNode(N);else if(K==="link"){var U=B.hostTree.data.getItemModel(B.dataIndex),H=U.get("link",!0),z=U.get("target",!0)||"blank";H&&n(H,z)}},this)},_renderBreadcrumb:function(P,j,K){K||(K=P.get("leafDepth",!0)!=null?{node:P.getViewRoot()}:this.findTarget(j.getWidth()/2,j.getHeight()/2),K||(K={node:P.getData().tree.root})),(this._breadcrumb||(this._breadcrumb=new h(this.group))).render(P,j,K.node,l(N,this));function N(B){this._state!=="animating"&&(v.aboveViewRoot(P.getViewRoot(),B)?this._rootToNode({node:B}):this._zoomToNode({node:B}))}},remove:function(){this._clearController(),this._containerGroup&&this._containerGroup.removeAll(),this._storage=I(),this._state="ready",this._breadcrumb&&this._breadcrumb.remove()},dispose:function(){this._clearController()},_zoomToNode:function(P){this.api.dispatchAction({type:"treemapZoomToNode",from:this.uid,seriesId:this.seriesModel.id,targetNode:P.node})},_rootToNode:function(P){this.api.dispatchAction({type:"treemapRootToNode",from:this.uid,seriesId:this.seriesModel.id,targetNode:P.node})},findTarget:function(P,j){var K,N=this.seriesModel.getViewRoot();return N.eachNode({attr:"viewChildren",order:"preorder"},function(B){var U=this._storage.background[B.getRawIndex()];if(U){var H=U.transformCoordToLocal(P,j),z=U.shape;if(z.x<=H[0]&&H[0]<=z.x+z.width&&z.y<=H[1]&&H[1]<=z.y+z.height)K={node:B,offsetX:H[0],offsetY:H[1]};else return!1}},this),K}});function I(){return{nodeGroup:[],background:[],content:[]}}function M(P,j,K,N,B,U,H,z,X,W){if(!H)return;var Y=H.getLayout(),q=P.getData();if(q.setItemGraphicEl(H.dataIndex,null),!Y||!Y.isInView)return;var me=Y.width,G=Y.height,ye=Y.borderWidth,Ae=Y.invisible,ve=H.getRawIndex(),Ue=z&&z.getRawIndex(),Me=H.viewChildren,nt=Y.upperHeight,ne=Me&&Me.length,be=H.getModel("itemStyle"),ot=H.getModel("emphasis.itemStyle"),ue=Z("nodeGroup",t);if(!ue)return;if(X.add(ue),ue.attr("position",[Y.x||0,Y.y||0]),ue.__tmNodeWidth=me,ue.__tmNodeHeight=G,Y.isAboveViewRoot)return ue;var Q=H.getModel(),V=Z("background",s,W,C);if(V&&fe(ue,V,ne&&Y.upperLabelHeight),ne)A.isHighDownDispatcher(ue)&&A.setAsHighDownDispatcher(ue,!1),V&&(A.setAsHighDownDispatcher(V,!0),q.setItemGraphicEl(H.dataIndex,V));else{var J=Z("content",s,W,_);J&&oe(ue,J),V&&A.isHighDownDispatcher(V)&&A.setAsHighDownDispatcher(V,!1),A.setAsHighDownDispatcher(ue,!0),q.setItemGraphicEl(H.dataIndex,ue)}return ue;function fe(ze,dt,De){if(dt.dataIndex=H.dataIndex,dt.seriesIndex=P.seriesIndex,dt.setShape({x:0,y:0,width:me,height:G}),Ae)Le(dt);else{dt.invisible=!1;var Tt=H.getVisual("borderColor",!0),je=ot.get("borderColor"),st=b(be);st.fill=Tt;var Xe=y(ot);if(Xe.fill=je,De){var Je=me-2*ye;he(st,Xe,Tt,Je,nt,{x:ye,y:0,width:Je,height:nt})}else st.text=Xe.text=null;dt.setStyle(st),A.setElementHoverStyle(dt,Xe)}ze.add(dt)}function oe(ze,dt){dt.dataIndex=H.dataIndex,dt.seriesIndex=P.seriesIndex;var De=Math.max(me-2*ye,0),Tt=Math.max(G-2*ye,0);if(dt.culling=!0,dt.setShape({x:ye,y:ye,width:De,height:Tt}),Ae)Le(dt);else{dt.invisible=!1;var je=H.getVisual("color",!0),st=b(be);st.fill=je;var Xe=y(ot);he(st,Xe,je,De,Tt),dt.setStyle(st),A.setElementHoverStyle(dt,Xe)}ze.add(dt)}function Le(ze){!ze.invisible&&U.push(ze)}function he(ze,dt,De,Tt,je,st){var Xe=Q.get("name"),Je=Q.getModel(st?T:x),et=Q.getModel(st?w:S),at=Je.getShallow("show");A.setLabelStyle(ze,dt,Je,et,{defaultText:at?Xe:null,autoColor:De,isRectText:!0,labelFetcher:P,labelDataIndex:H.dataIndex,labelProp:st?"upperLabel":"label"}),te(ze,st,Y),te(dt,st,Y),st&&(ze.textRect=f.clone(st)),ze.truncate=at&&Je.get("ellipsis")?{outerWidth:Tt,outerHeight:je,minChar:2}:null}function te(ze,dt,De){var Tt=ze.text;if(!dt&&De.isLeafRoot&&Tt!=null){var je=P.get("drillDownIcon",!0);ze.text=je?je+" "+Tt:Tt}}function Z(ze,dt,De,Tt){var je=Ue!=null&&K[ze][Ue],st=B[ze];return je?(K[ze][Ue]=null,ge(st,je,ze)):Ae||(je=new dt({z:F(De,Tt)}),je.__tmDepth=De,je.__tmStorageName=ze,Re(st,je,ze)),j[ze][ve]=je}function ge(ze,dt,De){var Tt=ze[ve]={};Tt.old=De==="nodeGroup"?dt.position.slice():f.extend({},dt.shape)}function Re(ze,dt,De){var Tt=ze[ve]={},je=H.parentNode;if(je&&(!N||N.direction==="drillDown")){var st=0,Xe=0,Je=B.background[je.getRawIndex()];!N&&Je&&Je.old&&(st=Je.old.width,Xe=Je.old.height),Tt.old=De==="nodeGroup"?[0,Xe]:{x:st,y:Xe,width:0,height:0}}Tt.fadein=De!=="nodeGroup"}}function F(P,j){var K=P*E+j;return(K-1)/K}R.exports=O},sAZ8:function(R,D,e){var g=e("ProS"),f=e("bYtY"),A=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),x=p.coordinateSystem,S=n.getAreaSelectStyle(),T=S.width,w=n.axis.dim,E=x.getAxisLayout(w),C=f.extend({strokeContainThreshold:T},E),_=new A(n,C);f.each(c,_.add,_),this._axisGroup.add(_.getGroup()),this._refreshBrushController(C,S,n,p,T,t);var y=s&&s.animation===!1?null:n;h.groupTransition(u,this._axisGroup,y)},_refreshBrushController:function(n,l,t,s,u,p){var x=t.axis.getExtent(),S=x[1]-x[0],T=Math.min(30,Math.abs(S)*.1),w=h.BoundingRect.create({x:x[0],y:-u/2,width:S,height:u});w.x-=T,w.width+=2*T,this._brushController.mount({enableGlobalPan:!0,rotation:n.rotation,position:n.position}).setPanels([{panelId:"pl",clipPath:v.makeRectPanelClipPath(w),isTargetByCursor:v.makeRectIsTargetByCursor(w,p,s),getLinearBrushOtherExtent:v.makeLinearBrushOtherExtent(w,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;R.exports=d},sE09:function(R,D,e){},sEf8:function(R,D){function e(g){return function(f){return g(f)}}R.exports=e},sGsY:function(R,D,e){"use strict";var g=e("lSNA"),f=e.n(g),A=e("pVnL"),m=e.n(A),v=e("q1tI"),h=e("TSYQ"),c=e.n(h),a=e("H84U"),i=e("B6l+"),r=e.n(i),o=function(H){var z=H.value,X=H.formatter,W=H.precision,Y=H.decimalSeparator,q=H.groupSeparator,me=q===void 0?"":q,G=H.prefixCls,ye;if(typeof X=="function")ye=X(z);else{var Ae=String(z),ve=Ae.match(/^(-?)(\d*)(\.(\d+))?$/);if(!ve||Ae==="-")ye=Ae;else{var Ue=ve[1],Me=ve[2]||"0",nt=ve[4]||"";Me=Me.replace(/\B(?=(\d{3})+(?!\d))/g,me),typeof W=="number"&&(nt=r()(nt,W,"0").slice(0,W)),nt&&(nt="".concat(Y).concat(nt)),ye=[v.createElement("span",{key:"int",className:"".concat(G,"-content-value-int")},Ue,Me),nt&&v.createElement("span",{key:"decimal",className:"".concat(G,"-content-value-decimal")},nt)]}}return v.createElement("span",{className:"".concat(G,"-content-value")},ye)},d=o,n=function(H){var z=H.prefixCls,X=H.className,W=H.style,Y=H.valueStyle,q=H.value,me=q===void 0?0:q,G=H.title,ye=H.valueRender,Ae=H.prefix,ve=H.suffix,Ue=H.direction,Me=H.onMouseEnter,nt=H.onMouseLeave,ne=v.createElement(d,m()({},H,{value:me})),be=c()(z,X,f()({},"".concat(z,"-rtl"),Ue==="rtl"));return v.createElement("div",{className:be,style:W,onMouseEnter:Me,onMouseLeave:nt},G&&v.createElement("div",{className:"".concat(z,"-title")},G),v.createElement("div",{style:Y,className:"".concat(z,"-content")},Ae&&v.createElement("span",{className:"".concat(z,"-content-prefix")},Ae),ye?ye(ne):ne,ve&&v.createElement("span",{className:"".concat(z,"-content-suffix")},ve)))};n.defaultProps={decimalSeparator:".",groupSeparator:","};var l=Object(a.c)({prefixCls:"statistic"})(n),t=l,s=e("lwsE"),u=e.n(s),p=e("W8MJ"),x=e.n(p),S=e("7W2i"),T=e.n(S),w=e("LQ03"),E=e.n(w),C=e("J4zp"),_=e.n(C),y=e("QQZ/"),b=e.n(y),O=[["Y",1e3*60*60*24*365],["M",1e3*60*60*24*30],["D",1e3*60*60*24],["H",1e3*60*60],["m",1e3*60],["s",1e3],["S",1]];function I(U,H){var z=U,X=/\[[^\]]*]/g,W=(H.match(X)||[]).map(function(G){return G.slice(1,-1)}),Y=H.replace(X,"[]"),q=O.reduce(function(G,ye){var Ae=_()(ye,2),ve=Ae[0],Ue=Ae[1];if(G.indexOf(ve)!==-1){var Me=Math.floor(z/Ue);return z-=Me*Ue,G.replace(new RegExp("".concat(ve,"+"),"g"),function(nt){var ne=nt.length;return b()(Me.toString(),ne,"0")})}return G},Y),me=0;return q.replace(X,function(){var G=W[me];return me+=1,G})}function M(U,H){var z=H.format,X=z===void 0?"":z,W=new Date(U).getTime(),Y=Date.now(),q=Math.max(W-Y,0);return I(q,X)}var F=e("0n0R"),P=1e3/30;function j(U){return new Date(U).getTime()}var K=function(U){T()(z,U);var H=E()(z);function z(){var X;return u()(this,z),X=H.apply(this,arguments),X.syncTimer=function(){var W=X.props.value,Y=j(W);Y>=Date.now()?X.startTimer():X.stopTimer()},X.startTimer=function(){if(X.countdownId)return;X.countdownId=window.setInterval(function(){X.forceUpdate()},P)},X.stopTimer=function(){var W=X.props,Y=W.onFinish,q=W.value;if(X.countdownId){clearInterval(X.countdownId),X.countdownId=void 0;var me=j(q);Y&&me<Date.now()&&Y()}},X.formatCountdown=function(W,Y){var q=X.props.format;return M(W,m()(m()({},Y),{format:q}))},X.valueRender=function(W){return Object(F.a)(W,{title:void 0})},X}return x()(z,[{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}))}}]),z}(v.Component);K.defaultProps={format:"HH:mm:ss"};var N=K;t.Countdown=N;var B=D.a=t},"sK/D":function(R,D,e){var g=e("IwbS"),f=e("OELB"),A=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:A(c.cx,1),cy:A(c.cy,1),r0:A(r.r0,1),r:A(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}D.createGridClipPath=m,D.createPolarClipPath=v,D.createClipPath=h},sKgW:function(R,D){var e=9007199254740991,g=Math.floor;function f(A,m){var v="";if(!A||m<1||m>e)return v;do m%2&&(v+=A),m=g(m/2),m&&(A+=A);while(m);return v}R.exports=f},sPJy:function(R,D,e){"use strict";var g=e("cIOH"),f=e.n(g),A=e("AOa7"),m=e.n(A),v=e("lUTK"),h=e("qVdP")},sPtV:function(R,D,e){"use strict";e.d(D,"a",function(){return m});var g=e("q1tI"),f=e.n(g),A=e("hkKa");function m(v){var h=g.useRef(v),c=Object(A.a)();return[function(){return h.current},function(a){h.current=a,c()}]}},sRwP:function(R,D,e){e("jsU+"),e("2548"),e("Tp9H"),e("06DH"),e("dnwI"),e("fE02"),e("33Ds")},"sS/r":function(R,D,e){var g=e("4fz+"),f=e("iRjW"),A=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){},A.enableClassExtend(m),A.enableClassManagement(m,{registerWhenExtend:!0});var h=m;R.exports=h},"sW+o":function(R,D,e){var g=e("SrGk"),f=e("bYtY"),A=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 A("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{A("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;R.exports=h},sboe:function(R,D,e){"use strict";e.d(D,"a",function(){return A});var g=e("q1tI"),f=e.n(g),A=g.createContext(null)},sdST:function(R,D,e){var g=e("hi0g");function f(A,m){return m=m||{},g(m.coordDimensions||[],A,{dimsDef:m.dimensionsDefine||A.dimensionsDefine,encodeDef:m.encodeDefine||A.encodeDefine,dimCount:m.dimensionsCount,encodeDefaulter:m.encodeDefaulter,generateCoord:m.generateCoord,generateCoordCount:m.generateCoordCount})}R.exports=f},seXi:function(R,D,e){var g=e("qZTm"),f=1,A=Object.prototype,m=A.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 x=o.get(h),S=o.get(c);if(x&&S)return x==c&&S==h;var T=!0;o.set(h,c),o.set(c,h);for(var w=d;++u<l;){p=n[u];var E=h[p],C=c[p];if(i)var _=d?i(C,E,p,c,h,o):i(E,C,p,h,c,o);if(!(_===void 0?E===C||r(E,C,a,i,o):_)){T=!1;break}w||(w=p=="constructor")}if(T&&!w){var y=h.constructor,b=c.constructor;y!=b&&"constructor"in h&&"constructor"in c&&!(typeof y=="function"&&y instanceof y&&typeof b=="function"&&b instanceof b)&&(T=!1)}return o.delete(h),o.delete(c),T}R.exports=v},shjB:function(R,D){var e=9007199254740991;function g(f){return typeof f=="number"&&f>-1&&f%1==0&&f<=e}R.exports=g},sjKO:function(R,D,e){"use strict";Object.defineProperty(D,"__esModule",{value:!0}),D.default=A;var g=30,f=12;function A(m,v){var h,c,a,i,r,o,d,n,l,t,s,u,p,x,S,T,w,E,C,_,y,b,O,I,M;h=m.state,c=m.next_in,I=m.input,a=c+(m.avail_in-5),i=m.next_out,M=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,x=h.lencode,S=h.distcode,T=(1<<h.lenbits)-1,w=(1<<h.distbits)-1;e:do{p<15&&(u+=I[c++]<<p,p+=8,u+=I[c++]<<p,p+=8),E=x[u&T];t:for(;;){if(C=E>>>24,u>>>=C,p-=C,C=E>>>16&255,C===0)M[i++]=E&65535;else if(C&16){_=E&65535,C&=15,C&&(p<C&&(u+=I[c++]<<p,p+=8),_+=u&(1<<C)-1,u>>>=C,p-=C),p<15&&(u+=I[c++]<<p,p+=8,u+=I[c++]<<p,p+=8),E=S[u&w];r:for(;;){if(C=E>>>24,u>>>=C,p-=C,C=E>>>16&255,C&16){if(y=E&65535,C&=15,p<C&&(u+=I[c++]<<p,p+=8,p<C&&(u+=I[c++]<<p,p+=8)),y+=u&(1<<C)-1,y>d){m.msg="invalid distance too far back",h.mode=g;break e}if(u>>>=C,p-=C,C=i-r,y>C){if(C=y-C,C>l&&h.sane){m.msg="invalid distance too far back",h.mode=g;break e}if(b=0,O=s,t===0){if(b+=n-C,C<_){_-=C;do M[i++]=s[b++];while(--C);b=i-y,O=M}}else if(t<C){if(b+=n+t-C,C-=t,C<_){_-=C;do M[i++]=s[b++];while(--C);if(b=0,t<_){C=t,_-=C;do M[i++]=s[b++];while(--C);b=i-y,O=M}}}else if(b+=t-C,C<_){_-=C;do M[i++]=s[b++];while(--C);b=i-y,O=M}for(;_>2;)M[i++]=O[b++],M[i++]=O[b++],M[i++]=O[b++],_-=3;_&&(M[i++]=O[b++],_>1&&(M[i++]=O[b++]))}else{b=i-y;do M[i++]=M[b++],M[i++]=M[b++],M[i++]=M[b++],_-=3;while(_>2);_&&(M[i++]=M[b++],_>1&&(M[i++]=M[b++]))}}else if((C&64)===0){E=S[(E&65535)+(u&(1<<C)-1)];continue r}else{m.msg="invalid distance code",h.mode=g;break e}break}}else if((C&64)===0){E=x[(E&65535)+(u&(1<<C)-1)];continue t}else if(C&32){h.mode=f;break e}else{m.msg="invalid literal/length code",h.mode=g;break e}break}}while(c<a&&i<o);_=p>>3,c-=_,p-=_<<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(R,D,e){var g=e("bYtY"),f=g.each;function A(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)}R.exports=A},t23M:function(R,D,e){"use strict";var g=e("VTBJ"),f=e("1OyB"),A=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(x){var S=p.props.onResize,T=x[0].target,w=T.getBoundingClientRect(),E=w.width,C=w.height,_=T.offsetWidth,y=T.offsetHeight,b=Math.floor(E),O=Math.floor(C);if(p.state.width!==b||p.state.height!==O||p.state.offsetWidth!==_||p.state.offsetHeight!==y){var I={width:b,height:O,offsetWidth:_,offsetHeight:y};p.setState(I),S&&Promise.resolve().then(function(){S(Object(g.a)(Object(g.a)({},I),{},{offsetWidth:_,offsetHeight:y}))})}},p.setChildNode=function(x){p.childNode=x},p}return Object(A.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 x=this.props.disabled;if(x){this.destroyObserver();return}var S=Object(a.a)(this.childNode||this),T=S!==this.currentElement;T&&(this.destroyObserver(),this.currentElement=S),!this.resizeObserver&&S&&(this.resizeObserver=new d.default(this.onResize),this.resizeObserver.observe(S))}},{key:"destroyObserver",value:function(){this.resizeObserver&&(this.resizeObserver.disconnect(),this.resizeObserver=null)}},{key:"render",value:function(){var x=this.props.children,S=Object(i.a)(x);if(S.length>1)Object(r.a)(!1,"Find more than one child node with `children` in ResizeObserver. Will only observe first one.");else if(S.length===0)return Object(r.a)(!1,"`children` of ResizeObserver is empty. Nothing is in observe."),null;var T=S[0];if(h.isValidElement(T)&&Object(o.c)(T)){var w=T.ref;S[0]=h.cloneElement(T,{ref:Object(o.a)(w,this.setChildNode)})}return S.length===1?S[0]:S.map(function(E,C){return!h.isValidElement(E)||"key"in E&&E.key!==null?E:h.cloneElement(E,{key:"".concat(n,"-").concat(C)})})}}]),u}(h.Component);l.displayName="ResizeObserver",D.a=l},t3Fx:function(R,D,e){"use strict";Object.defineProperty(D,"__esModule",{value:!0}),D.default=void 0;var g=Object.assign||function(s){for(var u=1;u<arguments.length;u++){var p=arguments[u];for(var x in p)Object.prototype.hasOwnProperty.call(p,x)&&(s[x]=p[x])}return s},f=function(){function s(u,p){for(var x=0;x<p.length;x++){var S=p[x];S.enumerable=S.enumerable||!1,S.configurable=!0,"value"in S&&(S.writable=!0),Object.defineProperty(u,S.key,S)}}return function(u,p,x){return p&&s(u.prototype,p),x&&s(u,x),u}}(),A=e("q1tI"),m=o(A),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 x=n(this,(u.__proto__||Object.getPrototypeOf(u)).call(this,p));return x.getEchartsInstance=function(){return x.echartsLib.getInstanceByDom(x.echartsElement)||x.echartsLib.init(x.echartsElement,x.props.theme,x.props.opts)},x.dispose=function(){if(x.echartsElement){try{(0,i.clear)(x.echartsElement)}catch(S){console.warn(S)}x.echartsLib.dispose(x.echartsElement)}},x.rerender=function(){var S=x.props,T=S.onEvents,w=S.onChartReady,E=x.renderEchartDom();x.bindEvents(E,T||{}),typeof w=="function"&&x.props.onChartReady(E),x.echartsElement&&(0,i.bind)(x.echartsElement,function(){try{E.resize()}catch(C){console.warn(C)}})},x.bindEvents=function(S,T){var w=function(_,y){typeof _=="string"&&typeof y=="function"&&S.on(_,function(b){y(b,S)})};for(var E in T)Object.prototype.hasOwnProperty.call(T,E)&&w(E,T[E])},x.renderEchartDom=function(){var S=x.getEchartsInstance();return S.setOption(x.props.option,x.props.notMerge||!1,x.props.lazyUpdate||!1),x.props.showLoading?S.showLoading(x.props.loadingOption||null):S.hideLoading(),S},x.echartsLib=p.echarts,x.echartsElement=null,x}return f(u,[{key:"componentDidMount",value:function(){this.rerender()}},{key:"componentDidUpdate",value:function(x){if(typeof this.props.shouldSetOption=="function"&&!this.props.shouldSetOption(x,this.props))return;if(!(0,a.default)(x.theme,this.props.theme)||!(0,a.default)(x.opts,this.props.opts)||!(0,a.default)(x.onEvents,this.props.onEvents)){this.dispose(),this.rerender();return}var S=["option","notMerge","lazyUpdate","showLoading","loadingOption"];if((0,a.default)((0,r.pick)(this.props,S),(0,r.pick)(x,S)))return;var T=this.renderEchartDom();if(!(0,a.default)(x.style,this.props.style)||!(0,a.default)(x.className,this.props.className))try{T.resize()}catch(w){console.warn(w)}}},{key:"componentWillUnmount",value:function(){this.dispose()}},{key:"render",value:function(){var x=this,S=this.props,T=S.style,w=S.className,E=g({height:300},T);return m.default.createElement("div",{ref:function(_){x.echartsElement=_},style:E,className:"echarts-for-react "+w})}}]),u}(A.Component);D.default=t,t.propTypes={option:h.default.object.isRequired,echarts:h.default.object,notMerge:h.default.bool,lazyUpdate:h.default.bool,style:h.default.object,className:h.default.string,theme:h.default.oneOfType([h.default.string,h.default.object]),onChartReady:h.default.func,showLoading:h.default.bool,loadingOption:h.default.object,onEvents:h.default.object,opts:h.default.shape({devicePixelRatio:h.default.number,renderer:h.default.oneOf(["canvas","svg"]),width:h.default.oneOfType([h.default.number,h.default.oneOf([null,void 0,"auto"])]),height:h.default.oneOfType([h.default.number,h.default.oneOf([null,void 0,"auto"])])}),shouldSetOption:h.default.func},t.defaultProps={echarts:{},notMerge:!1,lazyUpdate:!1,style:{},className:"",theme:null,onChartReady:function(){},showLoading:!1,loadingOption:null,onEvents:{},opts:{},shouldSetOption:function(){return!0}}},tBnm:function(R,D,e){var g=e("bYtY"),f=e("IwbS"),A=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(x){var x=g.clone(x);return x.coord=n.dataToCoord(x.tickValue),x});i(p),i(s),g.each(h,function(x){o.get(x+".show")&&(!n.scale.isBlank()||x==="axisLine")&&this["_"+x](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,x;t[p]===0?x=new f.Circle({shape:{cx:d.cx,cy:d.cy,r:t[u]},style:s.getLineStyle(),z2:1,silent:!0}):x=new f.Ring({shape:{cx:d.cx,cy:d.cy,r:t[u],r0:t[p]},style:s.getLineStyle(),z2:1,silent:!0}),x.style.fill=null,this.group.add(x)},_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)],x=g.map(n,function(S){return new f.Line({shape:c(d,[p,p+u],S.coord)})});this.group.add(f.mergePath(x,{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"),x=t[a(d)],S=[],T=0;T<l.length;T++)for(var w=0;w<l[T].length;w++)S.push(new f.Line({shape:c(d,[x,x+p],l[T][w].coord)}));this.group.add(f.mergePath(S,{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"),x=p.get("margin"),S=o.get("triggerEvent");g.each(s,function(T,w){var E=p,C=T.tickValue,_=t[a(d)],y=d.coordToPoint([_+x,T.coord]),b=d.cx,O=d.cy,I=Math.abs(y[0]-b)/_<.3?"center":y[0]>b?"left":"right",M=Math.abs(y[1]-O)/_<.3?"middle":y[1]>O?"top":"bottom";u&&u[C]&&u[C].textStyle&&(E=new A(u[C].textStyle,p,p.ecModel));var F=new f.Text({silent:v.isLabelSilent(o)});this.group.add(F),f.setTextStyle(F.style,E,{x:y[0],y:y[1],textFill:E.getTextColor()||o.get("axisLine.lineStyle.color"),text:T.formattedLabel,textAlign:I,textVerticalAlign:M}),S&&(F.eventData=v.makeAxisEventDataBase(o),F.eventData.targetType="axisLabel",F.eventData.value=T.rawLabel)},this)},_splitLine:function(o,d,n,l,t){var s=o.getModel("splitLine"),u=s.getModel("lineStyle"),p=u.get("color"),x=0;p=p instanceof Array?p:[p];for(var S=[],T=0;T<n.length;T++){var w=x++%p.length;S[w]=S[w]||[],S[w].push(new f.Line({shape:c(d,t,n[T].coord)}))}for(var T=0;T<S.length;T++)this.group.add(f.mergePath(S[T],{style:g.defaults({stroke:p[T%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=[],x=0;x<l.length;x++)for(var S=0;S<l[x].length;S++)p.push(new f.Line({shape:c(d,t,l[x][S].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"),x=0;p=p instanceof Array?p:[p];for(var S=[],T=Math.PI/180,w=-n[0].coord*T,E=Math.min(t[0],t[1]),C=Math.max(t[0],t[1]),_=o.get("clockwise"),y=1;y<n.length;y++){var b=x++%p.length;S[b]=S[b]||[],S[b].push(new f.Sector({shape:{cx:d.cx,cy:d.cy,r0:E,r:C,startAngle:w,endAngle:-n[y].coord*T,clockwise:_},silent:!0})),w=-n[y].coord*T}for(var y=0;y<S.length;y++)this.group.add(f.mergePath(S[y],{style:g.defaults({fill:p[y%p.length]},u.getAreaStyle()),silent:!0}))}});R.exports=r},tMB7:function(R,D,e){var g=e("y1pI");function f(A){var m=this.__data__,v=g(m,A);return v<0?void 0:m[v][1]}R.exports=f},tSko:function(R,D,e){"use strict";var g=e("TqRt"),f=e("284h");Object.defineProperty(D,"__esModule",{value:!0}),D.default=void 0;var A=f(e("q1tI")),m=g(e("SRve")),v=g(e("KQxl")),h=function(i,r){return A.createElement(v.default,Object.assign({},i,{ref:r,icon:m.default}))};h.displayName="PlusOutlined";var c=A.forwardRef(h);D.default=c},tadb:function(R,D,e){var g=e("Cwc5"),f=e("Kz5y"),A=g(f,"DataView");R.exports=A},tceW:function(R,D,e){var g=e("KCsZ"),f=g([["fill","color"],["stroke","borderColor"],["lineWidth","borderWidth"],["stroke","barBorderColor"],["lineWidth","barBorderWidth"],["opacity"],["shadowBlur"],["shadowOffsetX"],["shadowOffsetY"],["shadowColor"]]),A={getBarItemStyle:function(m){var v=f(this,m);if(this.getBorderLineDash){var h=this.getBorderLineDash();h&&(v.lineDash=h)}return v}};R.exports=A},txkQ:function(R,D,e){var g=e("aX58");D.zrender=g;var f=e("Fofx");D.matrix=f;var A=e("QBsz");D.vector=A;var m=e("bYtY"),v=e("Qe9p");D.color=v;var h=e("IwbS"),c=e("OELB");D.number=c;var a=e("7aKB");D.format=a;var i=e("iLNv"),r=i.throttle;D.throttle=i.throttle;var o=e("FUi9");D.helper=o;var d=e("vafp");D.parseGeoJSON=d;var n=e("YXkt");D.List=n;var l=e("Qxkt");D.Model=l;var t=e("hM6l");D.Axis=t;var s=e("ItGF");D.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(S){p[S]=m[S]});var x={};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(S){x[S]=h[S]}),D.parseGeoJson=u,D.util=p,D.graphic=x},u3DP:function(R,D,e){var g=e("6GrX"),f=e("OELB"),A=f.parsePercent,m=Math.PI/180;function v(i,r,o,d,n,l,t,s,u,p){i.sort(function(I,M){return I.y-M.y});function x(I,M,F,P){for(var j=I;j<M&&!(i[j].y+F>u+t);j++)if(i[j].y+=F,j>I&&j+1<M&&i[j+1].y>i[j].y+i[j].height){S(j,F/2);return}S(M-1,F/2)}function S(I,M){for(var F=I;F>=0&&!(i[F].y-M<u);F--)if(i[F].y-=M,F>0&&i[F].y>i[F-1].y+i[F-1].height)break}function T(I,M,F,P,j,K){for(var N=(K>0,M?Number.MAX_VALUE:0),B=0,U=I.length;B<U;B++){if(I[B].labelAlignTo!=="none")continue;var H=Math.abs(I[B].y-P),z=I[B].len,X=I[B].len2,W=H<j+z?Math.sqrt((j+z+X)*(j+z+X)-H*H):Math.abs(I[B].x-F);M&&W>=N&&(W=N-10),!M&&W<=N&&(W=N+10),I[B].x=F+W*K,N=W}}for(var w=0,E,C=i.length,_=[],y=[],b=0;b<C;b++){if(i[b].position==="outer"&&i[b].labelAlignTo==="labelLine"){var O=i[b].x-p;i[b].linePoints[1][0]+=O,i[b].x=p}E=i[b].y-w,E<0&&x(b,C,-E,n),w=i[b].y+i[b].height}t-w<0&&S(C-1,w-t);for(var b=0;b<C;b++)i[b].y>=o?y.push(i[b]):_.push(i[b]);T(_,!1,r,o,d,n),T(y,!0,r,o,d,n)}function h(i,r,o,d,n,l,t,s){for(var u=[],p=[],x=Number.MAX_VALUE,S=-Number.MAX_VALUE,T=0;T<i.length;T++){if(c(i[T]))continue;i[T].x<r?(x=Math.min(x,i[T].x),u.push(i[T])):(S=Math.max(S,i[T].x),p.push(i[T]))}v(p,r,o,d,1,n,l,t,s,S),v(u,r,o,d,-1,n,l,t,s,x);for(var T=0;T<i.length;T++){var w=i[T];if(c(w))continue;var E=w.linePoints;if(E){var C=w.labelAlignTo==="edge",_=w.textRect.width,y;C?w.x<r?y=E[2][0]-w.labelDistance-t-w.labelMargin:y=t+n-w.labelMargin-E[2][0]-w.labelDistance:w.x<r?y=w.x-t-w.bleedMargin:y=t+n-w.x-w.bleedMargin,y<w.textRect.width&&(w.text=g.truncateText(w.text,y,w.font),w.labelAlignTo==="edge"&&(_=g.getWidth(w.text,w.font)));var b=E[1][0]-E[2][0];C?w.x<r?E[2][0]=t+w.labelMargin+_+w.labelDistance:E[2][0]=t+n-w.labelMargin-_-w.labelDistance:(w.x<r?E[2][0]=w.x+w.labelDistance:E[2][0]=w.x-w.labelDistance,E[1][0]=E[2][0]+b),E[1][1]=E[2][1]=w.y}}}function c(i){return i.position==="center"}function a(i,r,o,d,n,l){var t=i.getData(),s=[],u,p,x=!1,S=(i.get("minShowLabelAngle")||0)*m;t.each(function(T){var w=t.getItemLayout(T),E=t.getItemModel(T),C=E.getModel("label"),_=C.get("position")||E.get("emphasis.label.position"),y=C.get("distanceToLabelLine"),b=C.get("alignTo"),O=A(C.get("margin"),o),I=C.get("bleedMargin"),M=C.getFont(),F=E.getModel("labelLine"),P=F.get("length");P=A(P,o);var j=F.get("length2");if(j=A(j,o),w.angle<S)return;var K=(w.startAngle+w.endAngle)/2,N=Math.cos(K),B=Math.sin(K),U,H,z,X;u=w.cx,p=w.cy;var W=i.getFormattedLabel(T,"normal")||t.getName(T),Y=g.getBoundingRect(W,M,X,"top"),q=_==="inside"||_==="inner";if(_==="center")U=w.cx,H=w.cy,X="center";else{var me=(q?(w.r+w.r0)/2*N:w.r*N)+u,G=(q?(w.r+w.r0)/2*B:w.r*B)+p;if(U=me+N*3,H=G+B*3,!q){var ye=me+N*(P+r-w.r),Ae=G+B*(P+r-w.r),ve=ye+(N<0?-1:1)*j,Ue=Ae;b==="edge"?U=N<0?n+O:n+o-O:U=ve+(N<0?-y:y),H=Ue,z=[[me,G],[ye,Ae],[ve,Ue]]}X=q?"center":b==="edge"?N>0?"right":"left":N>0?"left":"right"}var Me,nt=C.get("rotate");typeof nt=="number"?Me=nt*(Math.PI/180):Me=nt?N<0?-K+Math.PI:-K:0,x=!!Me,w.label={x:U,y:H,position:_,height:Y.height,len:P,len2:j,linePoints:z,textAlign:X,verticalAlign:"middle",rotation:Me,inside:q,labelDistance:y,labelAlignTo:b,labelMargin:O,bleedMargin:I,textRect:Y,text:W,font:M},q||s.push(w.label)}),!x&&i.get("avoidLabelOverlap")&&h(s,u,p,r,o,d,n,l)}R.exports=a},u3os:function(R,D,e){"use strict";Object.defineProperty(D,"__esModule",{value:!0}),D.ver=D.clear=D.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)}};D.bind=f;var A=function(h){var c=(0,g.getSensor)(h);(0,g.removeSensor)(c)};D.clear=A;var m="1.0.1";D.ver=m},u4NN:function(R,D,e){"use strict";var g=e("TqRt"),f=e("284h");Object.defineProperty(D,"__esModule",{value:!0}),D.default=void 0;var A=f(e("q1tI")),m=g(e("Uc92")),v=g(e("KQxl")),h=function(i,r){return A.createElement(v.default,Object.assign({},i,{ref:r,icon:m.default}))};h.displayName="EyeOutlined";var c=A.forwardRef(h);D.default=c},u8Dt:function(R,D,e){var g=e("YESw"),f="__lodash_hash_undefined__",A=Object.prototype,m=A.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}R.exports=v},u9fO:function(R,D,e){"use strict";Object.defineProperty(D,"__esModule",{value:!0}),D.default=void 0;var g=f(e("b80e"));function f(m){return m&&m.__esModule?m:{default:m}}var A=g;D.default=A,R.exports=A},uAnK:function(R,D,e){var g=e("bYtY"),f=e("Kagy"),A=e("KxfA"),m=A.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(T,w){++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=x();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(T,w){if(w<d){var E,C=T.get("name"),_="series."+(i>1?"multiple":"single")+".";E=p(C?_+"withName":_+"withoutName"),E=u(E,{seriesId:T.seriesIndex,seriesName:T.get("name"),seriesType:S(T.subType)});var y=T.getData();window.data=y,y.count()>r?E+=u(p("data.partialData"),{displayCnt:r}):E+=p("data.allData");for(var b=[],O=0;O<y.count();O++)if(O<r){var I=y.getName(O),M=m(y,O);b.push(u(p(I?"data.withName":"data.withoutName"),{name:I,value:M}))}E+=b.join(p("data.separator.middle"))+p("data.separator.end"),t.push(E)}}),n+=t.join(p("series.multiple.separator.middle"))+p("series.multiple.separator.end"),h.setAttribute("aria-label",n);function u(T,w){if(typeof T!="string")return T;var E=T;return g.each(w,function(C,_){E=E.replace(new RegExp("\\{\\s*"+_+"\\s*\\}","g"),C)}),E}function p(T){var w=a.get(T);if(w==null){for(var E=T.split("."),C=f.aria,_=0;_<E.length;++_)C=C[E[_]];return C}else return w}function x(){var T=c.getModel("title").option;return T&&T.length&&(T=T[0]),T&&T.text}function S(T){return f.series.typeNames[T]||"\u81EA\u5B9A\u4E49\u56FE"}}R.exports=v},uK0f:function(R,D,e){(function(g,f){R.exports=f()})(this,function(){"use strict";function g(f,A,m){m=m||{},m.childrenKeyName=m.childrenKeyName||"children";var v=f||[],h=[],c=0;do{var a=v.filter(function(i){return A(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(R,D,e){var g=e("ProS");g.registerAction({type:"brush",event:"brush"},function(f,A){A.eachComponent({mainType:"brush",query:f},function(m){m.setAreas(f.areas)})}),g.registerAction({type:"brushSelect",event:"brushSelected",update:"none"},function(){}),g.registerAction({type:"brushEnd",event:"brushEnd",update:"none"},function(){})},uQRt:function(R,D,e){R.exports=g;function g(){return e("gaXo"),{}}},ugBc:function(R,D,e){"use strict";Object.defineProperty(D,"__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"};D.default=g},v56E:function(R,D,e){},v5uJ:function(R,D,e){var g=e("ProS"),f=e("2B6p"),A=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=A(c,m);h.setCenter&&h.setCenter(a.center),h.setZoom&&h.setZoom(a.zoom)})})},"vF/C":function(R,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(R,D,e){var g=e("SrGk"),f=e("bYtY");function A(h,c){g.call(this,h,c,["filter"],"__filter_in_use__","_shadowDom")}f.inherits(A,g),A.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+")"}},A.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},A.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)},A.prototype.remove=function(h,c){c._shadowDomId!=null&&(this.removeDom(h),h.style.filter="")},A.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},A.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=A;R.exports=v},vL6D:function(R,D,e){var g=e("bYtY"),f=e("+rIm"),A=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 A.Group;var x=m.layout(n),S=new f(n,x);g.each(i,S.add,S),u.add(this._axisGroup),u.add(S.getGroup()),g.each(r,function(T){n.get(T+".show")&&this["_"+T](n)},this),A.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 x=n.coordinateSystem.getRect(),S=l.isHorizontal(),T=[],w=0,E=l.getTicksCoords({tickModel:t}),C=[],_=[],y=0;y<E.length;++y){var b=l.toGlobalCoord(E[y].coord);S?(C[0]=b,C[1]=x.y,_[0]=b,_[1]=x.y+x.height):(C[0]=x.x,C[1]=b,_[0]=x.x+x.width,_[1]=b);var O=w++%p.length;T[O]=T[O]||[],T[O].push(new A.Line({subPixelOptimize:!0,shape:{x1:C[0],y1:C[1],x2:_[0],y2:_[1]},style:{lineWidth:u},silent:!0}))}for(var y=0;y<T.length;++y)this.group.add(A.mergePath(T[y],{style:{stroke:p[y%p.length],lineDash:s.getLineDash(u),lineWidth:u},silent:!0}))},_splitArea:function(n){c(this,this._axisGroup,n,n)}}),d=o;R.exports=d},vWvF:function(R,D,e){var g=e("Bq2U"),f=e("SUKs"),A=e("bYtY"),m=A.isString,v=A.isFunction,h=A.isObject,c=A.isArrayLike,a=A.indexOf,i=function(){this.animators=[]};i.prototype={constructor:i,animate:function(t,s){var u,p=!1,x=this,S=this.__zr;if(t){var T=t.split("."),w=x;p=T[0]==="shape";for(var E=0,C=T.length;E<C;E++){if(!w)continue;w=w[T[E]]}w&&(u=w)}else u=x;if(!u){f('Property "'+t+'" is not existed in element '+x.id);return}var _=x.animators,y=new g(u,s);return y.during(function(b){x.dirty(p)}).done(function(){_.splice(a(_,y),1)}),_.push(y),S&&S.animation.addAnimator(y),y},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,x,S){r(this,t,s,u,p,x,S)},animateFrom:function(t,s,u,p,x,S){r(this,t,s,u,p,x,S,!0)}};function r(l,t,s,u,p,x,S,T){m(u)?(x=p,p=u,u=0):v(p)?(x=p,p="linear",u=0):v(u)?(x=u,u=0):v(s)?(x=s,s=500):s||(s=500),l.stopAnimation(),o(l,"",l,t,s,u,T);var w=l.animators.slice(),E=w.length;function C(){E--,E||x&&x()}E||x&&x();for(var _=0;_<w.length;_++)w[_].done(C).start(p,S)}function o(l,t,s,u,p,x,S){var T={},w=0;for(var E in u){if(!u.hasOwnProperty(E))continue;s[E]!=null?h(u[E])&&!c(u[E])?o(l,t?t+"."+E:E,s[E],u[E],p,x,S):(S?(T[E]=s[E],d(l,t,E,u[E])):T[E]=u[E],w++):u[E]!=null&&!S&&d(l,t,E,u[E])}w>0&&l.animate(t,!1).when(p==null?500:p,T).delay(x||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;R.exports=n},vZ6x:function(R,D,e){var g=e("Tghj"),f=g.__DEV__,A=e("bYtY"),m=e("IwbS"),v=e("4NO4"),h=e("9KIM"),c=A.each,a=A.indexOf,i=A.curry,r=["dataToPoint","pointToData"],o=["grid","xAxis","yAxis","geo","graph","polar","radiusAxis","angleAxis","bmap"];function d(y,b,O){var I=this._targetInfoList=[],M={},F=t(b,y);c(s,function(P,j){(!O||!O.include||a(O.include,j)>=0)&&P(F,I,M)})}var n=d.prototype;n.setOutputRanges=function(y,b){this.matchOutputRanges(y,b,function(O,I,M){if((O.coordRanges||(O.coordRanges=[])).push(I),!O.coordRange){O.coordRange=I;var F=x[O.brushType](0,M,I);O.__rangeOffset={offset:T[O.brushType](F.values,O.range,[1,1]),xyMinMax:F.xyMinMax}}})},n.matchOutputRanges=function(y,b,O){c(y,function(I){var M=this.findTargetInfo(I,b);M&&M!==!0&&A.each(M.coordSyses,function(F){var P=x[I.brushType](1,F,I.range);O(I,P.values,F,b)})},this)},n.setInputRanges=function(y,b){c(y,function(O){var I=this.findTargetInfo(O,b);if(O.range=O.range||[],I&&I!==!0){O.panelId=I.panelId;var M=x[O.brushType](0,I.coordSys,O.coordRange),F=O.__rangeOffset;O.range=F?T[O.brushType](M.values,F.offset,E(M.xyMinMax,F.xyMinMax)):M.values}},this)},n.makePanelOpts=function(y,b){return A.map(this._targetInfoList,function(O){var I=O.getPanelRect();return{panelId:O.panelId,defaultBrushType:b&&b(O),clipPath:h.makeRectPanelClipPath(I),isTargetByCursor:h.makeRectIsTargetByCursor(I,y,O.coordSysModel),getLinearBrushOtherExtent:h.makeLinearBrushOtherExtent(I)}})},n.controlSeries=function(y,b,O){var I=this.findTargetInfo(y,O);return I===!0||I&&a(I.coordSyses,b.coordinateSystem)>=0},n.findTargetInfo=function(y,b){for(var O=this._targetInfoList,I=t(b,y),M=0;M<O.length;M++){var F=O[M],P=y.panelId;if(P){if(F.panelId===P)return F}else for(var M=0;M<u.length;M++)if(u[M](I,F))return F}return!0};function l(y){return y[0]>y[1]&&y.reverse(),y}function t(y,b){return v.parseFinder(y,b,{includeMainTypes:o})}var s={grid:function(y,b){var O=y.xAxisModels,I=y.yAxisModels,M=y.gridModels,F=A.createHashMap(),P={},j={};if(!O&&!I&&!M)return;c(O,function(K){var N=K.axis.grid.model;F.set(N.id,N),P[N.id]=!0}),c(I,function(K){var N=K.axis.grid.model;F.set(N.id,N),j[N.id]=!0}),c(M,function(K){F.set(K.id,K),P[K.id]=!0,j[K.id]=!0}),F.each(function(K){var N=K.coordinateSystem,B=[];c(N.getCartesians(),function(U,H){(a(O,U.getAxis("x").model)>=0||a(I,U.getAxis("y").model)>=0)&&B.push(U)}),b.push({panelId:"grid--"+K.id,gridModel:K,coordSysModel:K,coordSys:B[0],coordSyses:B,getPanelRect:p.grid,xAxisDeclared:P[K.id],yAxisDeclared:j[K.id]})})},geo:function(y,b){c(y.geoModels,function(O){var I=O.coordinateSystem;b.push({panelId:"geo--"+O.id,geoModel:O,coordSysModel:O,coordSys:I,coordSyses:[I],getPanelRect:p.geo})})}},u=[function(y,b){var O=y.xAxisModel,I=y.yAxisModel,M=y.gridModel;return!M&&O&&(M=O.axis.grid.model),!M&&I&&(M=I.axis.grid.model),M&&M===b.gridModel},function(y,b){var O=y.geoModel;return O&&O===b.geoModel}],p={grid:function(){return this.coordSys.grid.getRect().clone()},geo:function(){var y=this.coordSys,b=y.getBoundingRect().clone();return b.applyTransform(m.getTransform(y)),b}},x={lineX:i(S,0),lineY:i(S,1),rect:function(y,b,O){var I=b[r[y]]([O[0][0],O[1][0]]),M=b[r[y]]([O[0][1],O[1][1]]),F=[l([I[0],M[0]]),l([I[1],M[1]])];return{values:F,xyMinMax:F}},polygon:function(y,b,O){var I=[[Infinity,-Infinity],[Infinity,-Infinity]],M=A.map(O,function(F){var P=b[r[y]](F);return I[0][0]=Math.min(I[0][0],P[0]),I[1][0]=Math.min(I[1][0],P[1]),I[0][1]=Math.max(I[0][1],P[0]),I[1][1]=Math.max(I[1][1],P[1]),P});return{values:M,xyMinMax:I}}};function S(y,b,O,I){var M=O.getAxis(["x","y"][y]),F=l(A.map([0,1],function(j){return b?M.coordToData(M.toLocalCoord(I[j])):M.toGlobalCoord(M.dataToCoord(I[j]))})),P=[];return P[y]=F,P[1-y]=[NaN,NaN],{values:F,xyMinMax:P}}var T={lineX:i(w,0),lineY:i(w,1),rect:function(y,b,O){return[[y[0][0]-O[0]*b[0][0],y[0][1]-O[0]*b[0][1]],[y[1][0]-O[1]*b[1][0],y[1][1]-O[1]*b[1][1]]]},polygon:function(y,b,O){return A.map(y,function(I,M){return[I[0]-O[0]*b[M][0],I[1]-O[1]*b[M][1]]})}};function w(y,b,O,I){return[b[0]-I[y]*O[0],b[1]-I[y]*O[1]]}function E(y,b){var O=C(y),I=C(b),M=[O[0]/I[0],O[1]/I[1]];return isNaN(M[0])&&(M[0]=1),isNaN(M[1])&&(M[1]=1),M}function C(y){return y?[y[0][1]-y[0][0],y[1][1]-y[1][0]]:[NaN,NaN]}var _=d;R.exports=_},vZI5:function(R,D,e){var g=e("bYtY"),f=e("T4UG"),A=e("5GhG"),m=A.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;R.exports=h},vafp:function(R,D,e){var g=e("bYtY"),f=e("8nly");function A(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 A(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})}R.exports=v},vcCh:function(R,D,e){var g=e("ProS");e("0qV/"),g.registerAction({type:"dragNode",event:"dragnode",update:"update"},function(f,A){A.eachComponent({mainType:"series",subType:"sankey",query:f},function(m){m.setNodePosition(f.dataIndex,[f.localX,f.localY])})})},vewr:function(R,D,e){"use strict";Object.defineProperty(D,"__esModule",{value:!0}),D.getPointerEvent=g,D.stopEvent=f,D.setCapture=a,D.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 A=!1,m=null;document.captureElement=null;function v(r){if(A)return;var o=new r.constructor(r.type,r);A=!0,document.captureElement?document.captureElement.dispatchEvent(o):m.dispatchEvent(o),A=!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(R,D,e){},"vk+C":function(R,D,e){"use strict";Object.defineProperty(D,"__esModule",{value:!0}),D.default=void 0;var g=f(e("RZPm"));function f(m){return m&&m.__esModule?m:{default:m}}var A=g;D.default=A,R.exports=A},w5pM:function(R,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"},A=f,m=e("6VBw"),v=function(a,i){return g.createElement(m.a,Object.assign({},a,{ref:i,icon:A}))};v.displayName="PlusCircleOutlined";var h=D.a=g.forwardRef(v)},w6Tc:function(R,D,e){"use strict";Object.defineProperty(D,"__esModule",{value:!0}),D.default=void 0;var g=f(e("apAg"));function f(m){return m&&m.__esModule?m:{default:m}}var A=g;D.default=A,R.exports=A},wCAj:function(R,D,e){"use strict";var g=e("cDf5"),f=e.n(g),A=e("lSNA"),m=e.n(A),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"),x=e.n(p),S=e("Kwbf"),T=e("t23M"),w=e("qx4F");function E(rr){return null}var C=E;function _(rr){return null}var y=_,b=e("Ff2n"),O=e("c+Xe"),I="RC_TABLE_KEY";function M(rr){return rr==null?[]:Array.isArray(rr)?rr:[rr]}function F(rr,Tr){if(!Tr&&typeof Tr!="number")return rr;for(var Br=M(Tr),Wr=rr,hn=0;hn<Br.length;hn+=1){if(!Wr)return null;var it=Br[hn];Wr=Wr[it]}return Wr}function P(rr){var Tr=[],Br={};return rr.forEach(function(Wr){for(var hn=Wr||{},it=hn.key,jt=hn.dataIndex,Zt=it||M(jt).join("-")||I;Br[Zt];)Zt="".concat(Zt,"_next");Br[Zt]=!0,Tr.push(Zt)}),Tr}function j(){var rr={};function Tr(it,jt){jt&&Object.keys(jt).forEach(function(Zt){var nr=jt[Zt];nr&&Object(s.a)(nr)==="object"?(it[Zt]=it[Zt]||{},Tr(it[Zt],nr)):it[Zt]=nr})}for(var Br=arguments.length,Wr=new Array(Br),hn=0;hn<Br;hn++)Wr[hn]=arguments[hn];return Wr.forEach(function(it){Tr(rr,it)}),rr}function K(rr){return rr!=null}function N(rr){return rr&&Object(s.a)(rr)==="object"&&!Array.isArray(rr)&&!i.isValidElement(rr)}function B(rr){return typeof rr=="string"?!0:Object(O.c)(rr)}function U(rr,Tr){var Br,Wr=rr.prefixCls,hn=rr.className,it=rr.record,jt=rr.index,Zt=rr.dataIndex,nr=rr.render,Or=rr.children,wr=rr.component,Er=wr===void 0?"td":wr,Kr=rr.colSpan,Zr=rr.rowSpan,Jr=rr.fixLeft,an=rr.fixRight,xt=rr.firstFixLeft,Vt=rr.lastFixLeft,sr=rr.firstFixRight,br=rr.lastFixRight,Mr=rr.appendNode,Dr=rr.additionalProps,rn=Dr===void 0?{}:Dr,fn=rr.ellipsis,wn=rr.align,Hn=rr.rowType,Sn=rr.isSticky,bn="".concat(Wr,"-cell"),Mn,vn;if(Or)vn=Or;else{var Rn=F(it,Zt);if(vn=Rn,nr){var En=nr(Rn,it,jt);N(En)?(vn=En.children,Mn=En.props):vn=En}}Object(s.a)(vn)==="object"&&!Array.isArray(vn)&&!i.isValidElement(vn)&&(vn=null),fn&&(Vt||sr)&&(vn=i.createElement("span",{className:"".concat(bn,"-content")},vn));var In=Mn||{},Xn=In.colSpan,ai=In.rowSpan,ri=In.style,Di=In.className,yi=Object(b.a)(In,["colSpan","rowSpan","style","className"]),xi=Xn!==void 0?Xn:Kr,_i=ai!==void 0?ai:Zr;if(xi===0||_i===0)return null;var Un={},Ri=typeof Jr=="number",fa=typeof an=="number";Ri&&(Un.position="sticky",Un.left=Jr),fa&&(Un.position="sticky",Un.right=an);var Ui={};wn&&(Ui.textAlign=wn);var Mi,mi=fn===!0?{showTitle:!0}:fn;mi&&(mi.showTitle||Hn==="header")&&(typeof vn=="string"||typeof vn=="number"?Mi=vn.toString():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:_i&&_i!==1?_i:null,className:o()(bn,hn,(Br={},Object(n.a)(Br,"".concat(bn,"-fix-left"),Ri),Object(n.a)(Br,"".concat(bn,"-fix-left-first"),xt),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:B(Er)?Tr:null});return i.createElement(Er,Object.assign({},hi),Mr,vn)}var H=i.forwardRef(U);H.displayName="Cell";var z=i.memo(H,function(rr,Tr){return Tr.shouldCellUpdate?!Tr.shouldCellUpdate(Tr.record,rr.record):!1}),X=z,W=i.createContext(null),Y=W;function q(rr,Tr,Br,Wr,hn){var it=Br[rr]||{},jt=Br[Tr]||{},Zt,nr;it.fixed==="left"?Zt=Wr.left[rr]:jt.fixed==="right"&&(nr=Wr.right[Tr]);var Or=!1,wr=!1,Er=!1,Kr=!1,Zr=Br[Tr+1],Jr=Br[rr-1];if(hn==="rtl"){if(Zt!==void 0){var an=Jr&&Jr.fixed==="left";Kr=!an}else if(nr!==void 0){var xt=Zr&&Zr.fixed==="right";Er=!xt}}else if(Zt!==void 0){var Vt=Zr&&Zr.fixed==="left";Or=!Vt}else if(nr!==void 0){var sr=Jr&&Jr.fixed==="right";wr=!sr}return{fixLeft:Zt,fixRight:nr,lastFixLeft:Or,firstFixRight:wr,lastFixRight:Er,firstFixLeft:Kr,isSticky:Wr.isSticky}}function me(rr){var Tr=rr.cells,Br=rr.stickyOffsets,Wr=rr.flattenColumns,hn=rr.rowComponent,it=rr.cellComponent,jt=rr.onHeaderRow,Zt=rr.index,nr=i.useContext(Y),Or=nr.prefixCls,wr=nr.direction,Er;jt&&(Er=jt(Tr.map(function(Zr){return Zr.column}),Zt));var Kr=P(Tr.map(function(Zr){return Zr.column}));return i.createElement(hn,Object.assign({},Er),Tr.map(function(Zr,Jr){var an=Zr.column,xt=q(Zr.colStart,Zr.colEnd,Wr,Br,wr),Vt;return an&&an.onHeaderCell&&(Vt=Zr.column.onHeaderCell(an)),i.createElement(X,Object.assign({},Zr,{ellipsis:an.ellipsis,align:an.align,component:it,prefixCls:Or,key:Kr[Jr]},xt,{additionalProps:Vt,rowType:"header"}))}))}me.displayName="HeaderRow";var G=me;function ye(rr){var Tr=[];function Br(jt,Zt){var nr=arguments.length>2&&arguments[2]!==void 0?arguments[2]:0;Tr[nr]=Tr[nr]||[];var Or=Zt,wr=jt.filter(Boolean).map(function(Er){var Kr={key:Er.key,className:Er.className||"",children:Er.title,column:Er,colStart:Or},Zr=1,Jr=Er.children;return Jr&&Jr.length>0&&(Zr=Br(Jr,Or,nr+1).reduce(function(an,xt){return an+xt},0),Kr.hasSubColumns=!0),"colSpan"in Er&&(Zr=Er.colSpan),"rowSpan"in Er&&(Kr.rowSpan=Er.rowSpan),Kr.colSpan=Zr,Kr.colEnd=Kr.colStart+Zr-1,Tr[nr].push(Kr),Or+=Zr,Zr});return wr}Br(rr,0);for(var Wr=Tr.length,hn=function(Zt){Tr[Zt].forEach(function(nr){!("rowSpan"in nr)&&!nr.hasSubColumns&&(nr.rowSpan=Wr-Zt)})},it=0;it<Wr;it+=1)hn(it);return Tr}function Ae(rr){var Tr=rr.stickyOffsets,Br=rr.columns,Wr=rr.flattenColumns,hn=rr.onHeaderRow,it=i.useContext(Y),jt=it.prefixCls,Zt=it.getComponent,nr=i.useMemo(function(){return ye(Br)},[Br]),Or=Zt(["header","wrapper"],"thead"),wr=Zt(["header","row"],"tr"),Er=Zt(["header","cell"],"th");return i.createElement(Or,{className:"".concat(jt,"-thead")},nr.map(function(Kr,Zr){var Jr=i.createElement(G,{key:Zr,flattenColumns:Wr,cells:Kr,stickyOffsets:Tr,rowComponent:wr,cellComponent:Er,onHeaderRow:hn,index:Zr});return Jr}))}var ve=Ae,Ue="RC_TABLE_INTERNAL_COL_DEFINE";function Me(rr){var Tr=rr.expandable,Br=Object(b.a)(rr,["expandable"]);return"expandable"in rr?Object(l.a)(Object(l.a)({},Br),Tr):Br}function nt(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 ne(rr){for(var Tr=rr.colWidths,Br=rr.columns,Wr=rr.columCount,hn=[],it=Wr||Br.length,jt=!1,Zt=it-1;Zt>=0;Zt-=1){var nr=Tr[Zt],Or=Br&&Br[Zt],wr=Or&&Or[Ue];(nr||wr||jt)&&(hn.unshift(i.createElement("col",Object.assign({key:Zt,style:{width:nr,minWidth:nr}},wr))),jt=!0)}return i.createElement("colgroup",null,hn)}var be=ne;function ot(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 ue(rr){var Tr=rr.noData,Br=rr.columns,Wr=rr.flattenColumns,hn=rr.colWidths,it=rr.columCount,jt=rr.stickyOffsets,Zt=rr.direction,nr=rr.fixHeader,Or=Object(b.a)(rr,["noData","columns","flattenColumns","colWidths","columCount","stickyOffsets","direction","fixHeader"]),wr=i.useContext(Y),Er=wr.prefixCls,Kr=wr.scrollbarSize,Zr=wr.isSticky,Jr=Zr&&!nr?0:Kr,an=Wr[Wr.length-1],xt={fixed:an?an.fixed:null,onHeaderCell:function(){return{className:"".concat(Er,"-cell-scrollbar")}}},Vt=Object(i.useMemo)(function(){return Jr?[].concat(Object(t.a)(Br),[xt]):Br},[Jr,Br]),sr=Object(i.useMemo)(function(){return Jr?[].concat(Object(t.a)(Wr),[xt]):Wr},[Jr,Wr]),br=Object(i.useMemo)(function(){var Dr=jt.right,rn=jt.left;return Object(l.a)(Object(l.a)({},jt),{},{left:Zt==="rtl"?[].concat(Object(t.a)(rn.map(function(fn){return fn+Jr})),[0]):rn,right:Zt==="rtl"?Dr:[].concat(Object(t.a)(Dr.map(function(fn){return fn+Jr})),[0]),isSticky:Zr})},[Jr,jt,Zr]),Mr=ot(hn,it);return i.createElement("table",{style:{tableLayout:"fixed",visibility:Tr||Mr?null:"hidden"}},i.createElement(be,{colWidths:Mr?[].concat(Object(t.a)(Mr),[Jr]):[],columCount:it+1,columns:sr}),i.createElement(ve,Object.assign({},Or,{stickyOffsets:br,columns:Vt,flattenColumns:sr})))}var Q=ue,V=i.createContext(null),J=V;function fe(rr){var Tr=rr.prefixCls,Br=rr.children,Wr=rr.component,hn=rr.cellComponent,it=rr.fixHeader,jt=rr.fixColumn,Zt=rr.horizonScroll,nr=rr.className,Or=rr.expanded,wr=rr.componentWidth,Er=rr.colSpan,Kr=i.useContext(Y),Zr=Kr.scrollbarSize;return i.useMemo(function(){var Jr=Br;return jt&&(Jr=i.createElement("div",{style:{width:wr-(it?Zr:0),position:"sticky",left:0,overflow:"hidden"},className:"".concat(Tr,"-expanded-row-fixed")},Jr)),i.createElement(Wr,{className:nr,style:{display:Or?null:"none"}},i.createElement(X,{component:hn,prefixCls:Tr,colSpan:Er},Jr))},[Br,Wr,it,Zt,nr,Or,wr,Er,Zr])}var oe=fe;function Le(rr){var Tr=rr.className,Br=rr.style,Wr=rr.record,hn=rr.index,it=rr.rowKey,jt=rr.getRowKey,Zt=rr.rowExpandable,nr=rr.expandedKeys,Or=rr.onRow,wr=rr.indent,Er=wr===void 0?0:wr,Kr=rr.rowComponent,Zr=rr.cellComponent,Jr=rr.childrenColumnName,an=i.useContext(Y),xt=an.prefixCls,Vt=an.fixedInfoList,sr=i.useContext(J),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,In=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"&&(!Zt||Zt(Wr)),_i=wn==="nest",Un=Jr&&Wr&&Wr[Jr],Ri=xi||_i,fa;Or&&(fa=Or(Wr,hn));var Ui=function(sa){if(Hn&&Ri&&Sn(Wr,sa),fa&&fa.onClick){for(var Ni,$n=arguments.length,Ai=new Array($n>1?$n-1:0),Ii=1;Ii<$n;Ii++)Ai[Ii-1]=arguments[Ii];(Ni=fa).onClick.apply(Ni,[sa].concat(Ai))}},Mi;typeof bn=="string"?Mi=bn:typeof bn=="function"&&(Mi=bn(Wr,hn,Er));var mi=P(fn),hi=i.createElement(Kr,Object.assign({},fa,{"data-row-key":it,className:o()(Tr,"".concat(xt,"-row"),"".concat(xt,"-row-level-").concat(Er),Mi,fa&&fa.className),style:Object(l.a)(Object(l.a)({},Br),fa?fa.style:null),onClick:Ui}),fn.map(function(oa,sa){var Ni=oa.render,$n=oa.dataIndex,Ai=oa.className,Ii=mi[sa],Vi=Vt[sa],Xi;sa===(In||0)&&_i&&(Xi=i.createElement(i.Fragment,null,i.createElement("span",{style:{paddingLeft:"".concat(vn*Er,"px")},className:"".concat(xt,"-row-indent indent-level-").concat(Er)}),Rn({prefixCls:xt,expanded:yi,expandable:Un,record:Wr,onExpand:Sn})));var bi;return oa.onCell&&(bi=oa.onCell(Wr,hn)),i.createElement(X,Object.assign({className:Ai,ellipsis:oa.ellipsis,align:oa.align,component:Zr,prefixCls:xt,key:Ii,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(oe,{expanded:yi,className:o()("".concat(xt,"-expanded-row"),"".concat(xt,"-expanded-row-level-").concat(Er+1),Ea),prefixCls:xt,fixHeader:br,fixColumn:Mr,horizonScroll:Dr,component:Kr,componentWidth:rn,cellComponent:Zr,colSpan:fn.length},va)}var ya;return Un&&yi&&(ya=(Wr[Jr]||[]).map(function(oa,sa){var Ni=jt(oa,sa);return i.createElement(Le,Object.assign({},rr,{key:Ni,rowKey:Ni,record:oa,recordKey:Ni,index:sa,indent:Er+1}))})),i.createElement(i.Fragment,null,hi,qi,ya)}Le.displayName="BodyRow";var he=Le,te=i.createContext(null),Z=te;function ge(rr){var Tr=rr.data,Br=rr.getRowKey,Wr=rr.measureColumnWidth,hn=rr.expandedKeys,it=rr.onRow,jt=rr.rowExpandable,Zt=rr.emptyNode,nr=rr.childrenColumnName,Or=i.useContext(Z),wr=Or.onColumnResize,Er=i.useContext(Y),Kr=Er.prefixCls,Zr=Er.getComponent,Jr=i.useContext(J),an=Jr.fixHeader,xt=Jr.horizonScroll,Vt=Jr.flattenColumns,sr=Jr.componentWidth;return i.useMemo(function(){var br=Zr(["body","wrapper"],"tbody"),Mr=Zr(["body","row"],"tr"),Dr=Zr(["body","cell"],"td"),rn;Tr.length?rn=Tr.map(function(wn,Hn){var Sn=Br(wn,Hn);return i.createElement(he,{key:Sn,rowKey:Sn,record:wn,recordKey:Sn,index:Hn,rowComponent:Mr,cellComponent:Dr,expandedKeys:hn,onRow:it,getRowKey:Br,rowExpandable:jt,childrenColumnName:nr})}):rn=i.createElement(oe,{expanded:!0,className:"".concat(Kr,"-placeholder"),prefixCls:Kr,fixHeader:an,fixColumn:xt,horizonScroll:xt,component:Mr,componentWidth:sr,cellComponent:Dr,colSpan:Vt.length},Zt);var fn=P(Vt);return i.createElement(br,{className:"".concat(Kr,"-tbody")},Wr&&i.createElement("tr",{"aria-hidden":"true",className:"".concat(Kr,"-measure-row"),style:{height:0}},fn.map(function(wn){return i.createElement(T.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,Kr,it,Wr,hn,Br,Zr,sr,Zt,Vt])}var Re=i.memo(ge);Re.displayName="Body";var ze=Re,dt=e("Zm9Q");function De(rr){return Object(dt.a)(rr).filter(function(Tr){return i.isValidElement(Tr)}).map(function(Tr){var Br=Tr.key,Wr=Tr.props,hn=Wr.children,it=Object(b.a)(Wr,["children"]),jt=Object(l.a)({key:Br},it);return hn&&(jt.children=De(hn)),jt})}function Tt(rr){return rr.reduce(function(Tr,Br){var Wr=Br.fixed,hn=Wr===!0?"left":Wr,it=Br.children;return it&&it.length>0?[].concat(Object(t.a)(Tr),Object(t.a)(Tt(it).map(function(jt){return Object(l.a)({fixed:hn},jt)}))):[].concat(Object(t.a)(Tr),[Object(l.a)(Object(l.a)({},Br),{},{fixed:hn})])},[])}function je(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(S.a)(!1,"Index ".concat(Br-1," of `columns` missing `fixed='left'` prop."));break}}for(var hn=!0,it=rr.length-1;it>=0;it-=1){var jt=rr[it];if(hn&&jt.fixed!=="right")hn=!1;else if(!hn&&jt.fixed==="right"){Object(S.a)(!1,"Index ".concat(it+1," of `columns` missing `fixed='right'` prop."));break}}}function st(rr){return rr.map(function(Tr){var Br=Tr.fixed,Wr=Object(b.a)(Tr,["fixed"]),hn=Br;return Br==="left"?hn="right":Br==="right"&&(hn="left"),Object(l.a)({fixed:hn},Wr)})}function Xe(rr,Tr){var Br=rr.prefixCls,Wr=rr.columns,hn=rr.children,it=rr.expandable,jt=rr.expandedKeys,Zt=rr.getRowKey,nr=rr.onTriggerExpand,Or=rr.expandIcon,wr=rr.rowExpandable,Er=rr.expandIconColumnIndex,Kr=rr.direction,Zr=rr.expandRowByClick,Jr=i.useMemo(function(){return Wr||De(hn)},[Wr,hn]),an=i.useMemo(function(){if(it){var sr,br=Er||0,Mr=Jr[br],Dr=(sr={},Object(n.a)(sr,Ue,{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=Zt(Hn,Sn),Mn=jt.has(bn),vn=wr?wr(Hn):!0,Rn=Or({prefixCls:Br,expanded:Mn,expandable:vn,record:Hn,onExpand:nr});return Zr?i.createElement("span",{onClick:function(In){return In.stopPropagation()}},Rn):Rn}),sr),rn=Jr.slice();return br>=0&&rn.splice(br,0,Dr),rn}return Jr},[it,Jr,Zt,jt,Or,Kr]),xt=i.useMemo(function(){var sr=an;return Tr&&(sr=Tr(sr)),sr.length||(sr=[{render:function(){return null}}]),sr},[Tr,an,Kr]),Vt=i.useMemo(function(){return Kr==="rtl"?st(Tt(xt)):Tt(xt)},[xt,Kr]);return[xt,Vt]}var Je=Xe,et=e("xEkU"),at=e.n(et);function Ve(rr){var Tr=Object(i.useRef)(rr),Br=Object(i.useState)({}),Wr=Object(u.a)(Br,2),hn=Wr[1],it=Object(i.useRef)(null),jt=Object(i.useRef)([]);function Zt(nr){it.current===null&&(jt.current=[],it.current=at()(function(){jt.current.forEach(function(Or){Tr.current=Or(Tr.current)}),it.current=null,hn({})})),jt.current.push(nr)}return Object(i.useEffect)(function(){return function(){at.a.cancel(it.current)}},[]),[Tr.current,Zt]}function le(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 it(){return Tr.current}return Object(i.useEffect)(function(){return Wr},[]),[hn,it]}function ae(rr,Tr,Br){var Wr=Object(i.useMemo)(function(){for(var hn=[],it=[],jt=0,Zt=0,nr=0;nr<Tr;nr+=1)if(Br==="rtl"){it[nr]=Zt,Zt+=rr[nr]||0;var Or=Tr-nr-1;hn[Or]=jt,jt+=rr[Or]||0}else{hn[nr]=jt,jt+=rr[nr]||0;var wr=Tr-nr-1;it[wr]=Zt,Zt+=rr[wr]||0}return{left:hn,right:it}},[rr,Tr,Br]);return Wr}var lt=ae;function Ze(rr){var Tr=rr.className,Br=rr.children;return i.createElement("div",{className:Tr},Br)}var Te=Ze;function Jt(rr){var Tr=rr.className,Br=rr.index,Wr=rr.children,hn=rr.colSpan,it=rr.rowSpan,jt=i.useContext(Y),Zt=jt.prefixCls,nr=jt.fixedInfoList,Or=nr[Br];return i.createElement(X,Object.assign({className:Tr,index:Br,component:"td",prefixCls:Zt,record:null,dataIndex:null,render:function(){return{children:Wr,props:{colSpan:hn,rowSpan:it}}}},Or))}function mt(rr){return i.createElement("tr",Object.assign({},rr))}function ft(rr){var Tr=rr.children,Br=i.useContext(Y),Wr=Br.prefixCls;return i.createElement("tfoot",{className:"".concat(Wr,"-summary")},Tr)}var bt=ft,It={Cell:Jt,Row:mt};function or(rr){var Tr,Br=rr.prefixCls,Wr=rr.record,hn=rr.onExpand,it=rr.expanded,jt=rr.expandable,Zt="".concat(Br,"-row-expand-icon");if(!jt)return i.createElement("span",{className:o()(Zt,"".concat(Br,"-row-spaced"))});var nr=function(wr){hn(Wr,wr),wr.stopPropagation()};return i.createElement("span",{className:o()(Zt,(Tr={},Object(n.a)(Tr,"".concat(Br,"-row-expanded"),it),Object(n.a)(Tr,"".concat(Br,"-row-collapsed"),!it),Tr)),onClick:nr})}function Pt(rr,Tr,Br){var Wr=[];function hn(it){(it||[]).forEach(function(jt,Zt){Wr.push(Tr(jt,Zt)),hn(jt[Br])})}return hn(rr),Wr}var _e=e("zT1h"),Ce=e("y0+3"),Ee=function(Tr,Br){var Wr,hn,it=Tr.scrollBodyRef,jt=Tr.onScroll,Zt=Tr.offsetScroll,nr=i.useContext(Y),Or=nr.prefixCls,wr=((Wr=it.current)===null||Wr===void 0?void 0:Wr.scrollWidth)||0,Er=((hn=it.current)===null||hn===void 0?void 0:hn.clientWidth)||0,Kr=wr&&Er*(Er/wr),Zr=i.useRef(),Jr=Ve({scrollLeft:0,isHiddenScrollBar:!1}),an=Object(u.a)(Jr,2),xt=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-xt.scrollLeft,sr.current.x=0,rn(!0),vn.preventDefault()},Hn=function(vn){var Rn,En=vn||((Rn=window)===null||Rn===void 0?void 0:Rn.event),In=En.buttons;if(!Dr||In===0){Dr&&rn(!1);return}var Xn=sr.current.x+vn.pageX-sr.current.x-sr.current.delta;Xn<=0&&(Xn=0),Xn+Kr>=Er&&(Xn=Er-Kr),jt({scrollLeft:Xn/Er*(wr+2)}),sr.current.x=vn.pageX},Sn=function(){var vn=Object(Ce.b)(it.current).top,Rn=vn+it.current.offsetHeight,En=document.documentElement.scrollTop+window.innerHeight;Rn-Object(w.a)()<=En||vn>=En-Zt?Vt(function(In){return Object(l.a)(Object(l.a)({},In),{},{isHiddenScrollBar:!0})}):Vt(function(In){return Object(l.a)(Object(l.a)({},In),{},{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(_e.a)(document.body,"mouseup",fn,!1),vn=Object(_e.a)(document.body,"mousemove",Hn,!1);return Sn(),function(){Mn.remove(),vn.remove()}},[Kr,Dr]),i.useEffect(function(){var Mn=Object(_e.a)(window,"scroll",Sn,!1),vn=Object(_e.a)(window,"resize",Sn,!1);return function(){Mn.remove(),vn.remove()}},[]),i.useEffect(function(){xt.isHiddenScrollBar||Vt(function(Mn){var vn,Rn;return Object(l.a)(Object(l.a)({},Mn),{},{scrollLeft:it.current.scrollLeft/((vn=it.current)===null||vn===void 0?void 0:vn.scrollWidth)*((Rn=it.current)===null||Rn===void 0?void 0:Rn.clientWidth)})})},[xt.isHiddenScrollBar]),wr<=Er||!Kr||xt.isHiddenScrollBar?null:i.createElement("div",{style:{height:Object(w.a)(),width:Er,bottom:Zt},className:"".concat(Or,"-sticky-scroll")},i.createElement("div",{onMouseDown:wn,ref:Zr,className:o()("".concat(Or,"-sticky-scroll-bar"),Object(n.a)({},"".concat(Or,"-sticky-scroll-bar-active"),Dr)),style:{width:"".concat(Kr,"px"),transform:"translate3d(".concat(xt.scrollLeft,"px, 0, 0)")}}))},we=i.forwardRef(Ee);function Fe(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 Ye=[],Ge={},qe="rc-table-internal-hook",Ke=i.memo(function(rr){var Tr=rr.children;return Tr},function(rr,Tr){return x()(rr.props,Tr.props)?rr.pingLeft!==Tr.pingLeft||rr.pingRight!==Tr.pingRight:!1});function ct(rr){var Tr,Br=rr.prefixCls,Wr=rr.className,hn=rr.rowClassName,it=rr.style,jt=rr.data,Zt=rr.rowKey,nr=rr.scroll,Or=rr.tableLayout,wr=rr.direction,Er=rr.title,Kr=rr.footer,Zr=rr.summary,Jr=rr.id,an=rr.showHeader,xt=rr.components,Vt=rr.emptyText,sr=rr.onRow,br=rr.onHeaderRow,Mr=rr.internalHooks,Dr=rr.transformColumns,rn=rr.internalRefs,fn=rr.sticky,wn=jt||Ye,Hn=!!wn.length,Sn=i.useState(0),bn=Object(u.a)(Sn,2),Mn=bn[0],vn=bn[1];i.useEffect(function(){vn(Object(w.a)())});var Rn=i.useMemo(function(){return j(xt,{})},[xt]),En=i.useCallback(function(ka,_a){return F(Rn,ka)||_a},[Rn]),In=i.useMemo(function(){return typeof Zt=="function"?Zt:function(ka){var _a=ka&&ka[Zt];return _a}},[Zt]),Xn=Me(rr),ai=Xn.expandIcon,ri=Xn.expandedRowKeys,Di=Xn.defaultExpandedRowKeys,yi=Xn.defaultExpandAllRows,xi=Xn.expandedRowRender,_i=Xn.onExpand,Un=Xn.onExpandedRowsChange,Ri=Xn.expandRowByClick,fa=Xn.rowExpandable,Ui=Xn.expandIconColumnIndex,Mi=Xn.expandedRowClassName,mi=Xn.childrenColumnName,hi=Xn.indentSize,qi=ai||or,va=mi||"children",Ea=i.useMemo(function(){return xi?"row":rr.expandable&&Mr===qe&&rr.expandable.__PARENT_RENDER_ICON__||wn.some(function(ka){return ka&&Object(s.a)(ka)==="object"&&ka[va]})?"nest":!1},[!!xi,wn]),ya=i.useState(function(){return Di||(yi?Pt(wn,In,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(ka){var _a=In(ka,wn.indexOf(ka)),Oo,Io=$n.has(_a);Io?($n.delete(_a),Oo=Object(t.a)($n)):Oo=[].concat(Object(t.a)($n),[_a]),Ni(Oo),_i&&_i(!Io,ka),Un&&Un(Oo)},[In,$n,wn,_i,Un]),Ii=i.useState(0),Vi=Object(u.a)(Ii,2),Xi=Vi[0],bi=Vi[1],Aa=Je(Object(l.a)(Object(l.a)(Object(l.a)({},rr),Xn),{},{expandable:!!xi,expandedKeys:$n,getRowKey:In,onTriggerExpand:Ai,expandIcon:qi,expandIconColumnIndex:Ui,direction:wr}),Mr===qe?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),zi=Object(u.a)(Xa,2),Ki=zi[0],ba=zi[1],Ua=i.useState(!1),wa=Object(u.a)(Ua,2),vi=wa[0],Ya=wa[1],za=Ve(new Map),pa=Object(u.a)(za,2),Oi=pa[0],So=pa[1],Ka=P(gi),ja=Ka.map(function(ka){return Oi.get(ka)}),qa=i.useMemo(function(){return ja},[ja.join("_")]),ho=lt(qa,gi.length,wr),Ca=nr&&K(nr.y),to=nr&&K(nr.x),_o=to&&gi.some(function(ka){var _a=ka.fixed;return _a}),Ia=i.useRef(),ki=Fe(fn,Br),Za=ki.isSticky,Da=ki.offsetHeader,pi=ki.offsetScroll,Gi=ki.stickyClassName,oo,go,fo;Ca&&(go={overflowY:"scroll",maxHeight:nr.y}),to&&(oo={overflowX:"auto"},Ca||(go={overflowY:"hidden"}),fo={width:nr.x===!0?"auto":nr.x,minWidth:"100%"});var Ta=i.useCallback(function(ka,_a){So(function(Oo){var Io=new Map(Oo);return Io.set(ka,_a),Io})},[]),Fi=le(null),Ra=Object(u.a)(Fi,2),Vo=Ra[0],ro=Ra[1];function vo(ka,_a){_a&&(typeof _a=="function"?_a(ka):_a.scrollLeft!==ka&&(_a.scrollLeft=ka))}var po=function(_a){var Oo=_a.currentTarget,Io=_a.scrollLeft,ts=typeof Io=="number"?Io:Oo.scrollLeft,Po=Oo||Ge;if(!ro()||ro()===Po){var rs;Vo(Po),vo(ts,ra.current),vo(ts,Yi.current),vo(ts,(rs=Ia.current)===null||rs===void 0?void 0:rs.setScrollLeft)}if(Oo){var ms=Oo.scrollWidth,ls=Oo.clientWidth;ba(ts>0),Ya(ts<ms-ls)}},Ji=function(){Yi.current&&po({currentTarget:Yi.current})},xo=function(_a){var Oo=_a.width;Ji(),bi(Ma.current?Ma.current.offsetWidth:Oo)};i.useEffect(function(){return Ji},[]),i.useEffect(function(){to&&Ji()},[to]),i.useEffect(function(){Mr===qe&&rn&&(rn.body.current=Yi.current)});var is=En(["table"],"table"),Zo=i.useMemo(function(){return Or||(_o?nr.x==="max-content"?"auto":"fixed":Ca||gi.some(function(ka){var _a=ka.ellipsis;return _a})?"fixed":"auto")},[Ca,_o,gi,Or]),Ls,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(ze,{data:wn,measureColumnWidth:Ca||to||Za,expandedKeys:$n,rowExpandable:fa,getRowKey:In,onRow:sr,emptyNode:Ts,childrenColumnName:va}),bo=i.createElement(be,{colWidths:gi.map(function(ka){var _a=ka.width;return _a}),columns:gi}),Ja=Zr&&i.createElement(bt,null,Zr(wn)),Ga=En(["body"]);if(Ca||Za){var so;typeof Ga=="function"?(so=Ga(wn,{scrollbarSize:Mn,ref:Yi,onScroll:po}),Cs.colWidths=gi.map(function(ka,_a){var Oo=ka.width,Io=_a===la.length-1?Oo-Mn:Oo;return typeof Io=="number"&&!Number.isNaN(Io)?Io:(Object(S.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:Zo})},bo,Go,Ja),Za&&i.createElement(we,{ref:Ia,offsetScroll:pi,scrollBodyRef:Yi,onScroll:po})),Ls=i.createElement(i.Fragment,null,an!==!1&&i.createElement("div",{style:Object(l.a)({overflow:"hidden"},Za?{top:Da}:{}),onScroll:po,ref:ra,className:o()("".concat(Br,"-header"),Object(n.a)({},Gi,!!Gi))},i.createElement(Q,Object.assign({noData:!wn.length},Cs,Ba,{direction:wr}))),so)}else Ls=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:Zo})},bo,an!==!1&&i.createElement(ve,Object.assign({},Cs,Ba)),Go,Ja));var ps=nt(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"),Ki),Object(n.a)(Tr,"".concat(Br,"-ping-right"),vi),Object(n.a)(Tr,"".concat(Br,"-layout-fixed"),Or==="fixed"),Object(n.a)(Tr,"".concat(Br,"-fixed-header"),Ca),Object(n.a)(Tr,"".concat(Br,"-fixed-column"),_o),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:it,id:Jr,ref:Ma},ps),i.createElement(Ke,{pingLeft:Ki,pingRight:vi,props:Object(l.a)(Object(l.a)({},rr),{},{stickyOffsets:ho,mergedExpandedKeys:$n})},Er&&i.createElement(Te,{className:"".concat(Br,"-title")},Er(wn)),i.createElement("div",{className:"".concat(Br,"-container")},Ls),Kr&&i.createElement(Te,{className:"".concat(Br,"-footer")},Kr(wn))));to&&(Sr=i.createElement(T.a,{onResize:xo},Sr));var Xo=i.useMemo(function(){return{prefixCls:Br,getComponent:En,scrollbarSize:Mn,direction:wr,fixedInfoList:gi.map(function(ka,_a){return q(_a,_a,gi,ho,wr)}),isSticky:Za}},[Br,En,Mn,wr,gi,ho,wr,Za]),ss=i.useMemo(function(){return Object(l.a)(Object(l.a)({},Ba),{},{tableLayout:Zo,rowClassName:hn,expandedRowClassName:Mi,componentWidth:Xi,fixHeader:Ca,fixColumn:_o,horizonScroll:to,expandIcon:qi,expandableType:Ea,expandRowByClick:Ri,expandedRowRender:xi,onTriggerExpand:Ai,expandIconColumnIndex:Ui,indentSize:hi})},[Ba,Zo,hn,Mi,Xi,Ca,_o,to,qi,Ea,Ri,xi,Ai,Ui,hi]),_s=i.useMemo(function(){return{onColumnResize:Ta}},[Ta]);return i.createElement(Y.Provider,{value:Xo},i.createElement(J.Provider,{value:ss},i.createElement(Z.Provider,{value:_s},Sr)))}ct.Column=y,ct.ColumnGroup=C,ct.Summary=It,ct.defaultProps={rowKey:"key",prefixCls:"rc-table",emptyText:function(){return"No Data"}};var wt=ct,Lt=wt,de=e("W9HT"),xe=e("NUBc"),$=e("H84U"),se=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},Oe=10;function ke(rr,Tr){var Br={current:Tr.current,pageSize:Tr.pageSize},Wr=rr&&f()(rr)==="object"?rr:{};return Object.keys(Wr).forEach(function(hn){var it=Tr[hn];typeof it!="function"&&(Br[hn]=it)}),Br}function Pe(){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(it){var jt=hn[it];jt!==void 0&&(rr[it]=jt)})}),rr}function rt(rr,Tr,Br){var Wr=Tr&&f()(Tr)==="object"?Tr:{},hn=Wr.total,it=hn===void 0?0:hn,jt=se(Wr,["total"]),Zt=Object(i.useState)(function(){return{current:"defaultCurrent"in jt?jt.defaultCurrent:1,pageSize:"defaultPageSize"in jt?jt.defaultPageSize:Oe}}),nr=h()(Zt,2),Or=nr[0],wr=nr[1],Er=Pe(Or,jt,{total:it>0?it:rr});if(!it){var Kr=Math.ceil(rr/Er.pageSize);Kr<Er.current&&(Er.current=1)}var Zr=function(){var xt=arguments.length>0&&arguments[0]!==void 0?arguments[0]:1,Vt=arguments.length>1?arguments[1]:void 0;wr(a()(a()({},Er),{current:xt,pageSize:Vt||Er.pageSize}))},Jr=function(xt,Vt){var sr=Er==null?void 0:Er.pageSize;Vt&&Vt!==sr&&(xt=1,Tr&&Tr.onShowSizeChange&&Tr.onShowSizeChange(xt,Vt)),Tr&&Tr.onChange&&Tr.onChange(xt,Vt),Zr(xt,Vt),Br(xt,Vt||sr)};return Tr===!1?[{},function(){}]:[a()(a()({},Er),{onChange:Jr}),Zr]}function At(rr,Tr,Br){var Wr=i.useRef({});function hn(it){if(!Wr.current||Wr.current.data!==rr||Wr.current.childrenColumnName!==Tr||Wr.current.getRowKey!==Br){var jt=function nr(Or){Or.forEach(function(wr,Er){var Kr=Br(wr,Er);Zt.set(Kr,wr),wr&&f()(wr)==="object"&&Tr in wr&&nr(wr[Tr]||[])})},Zt=new Map;jt(rr),Wr.current={data:rr,childrenColumnName:Tr,kvMap:Zt,getRowKey:Br}}return Wr.current.kvMap.get(it)}return[hn]}var Wt=e("SA+Z"),$t=e.n(Wt),Rt=e("RIqP"),zt=e.n(Rt),Gt=e("HQEm"),Qt=e.n(Gt),Mt=e("815F"),dr=e("NvD2"),er=e("OZM5"),ht=e("6cGi"),Et=e("kaz8"),pt=e("jsC+"),vt=e("BvKs"),Nt=e("9yH6"),_t=e("uaoM"),gt="SELECT_ALL",Ht="SELECT_INVERT";function kt(rr){return rr&&rr.fixed}function ir(rr,Tr){var Br=[];return(rr||[]).forEach(function(Wr){Br.push(Wr),Wr&&f()(Wr)==="object"&&Tr in Wr&&(Br=[].concat(zt()(Br),zt()(ir(Wr[Tr],Tr))))}),Br}function Xt(rr,Tr){var Br=rr||{},Wr=Br.preserveSelectedRowKeys,hn=Br.selectedRowKeys,it=Br.getCheckboxProps,jt=Br.onChange,Zt=Br.onSelect,nr=Br.onSelectAll,Or=Br.onSelectInvert,wr=Br.onSelectMultiple,Er=Br.columnWidth,Kr=Br.type,Zr=Br.selections,Jr=Br.fixed,an=Br.renderCell,xt=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(ht.a)(hn||[],{value:hn}),En=h()(Rn,2),In=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 Ii=fn($n,Ai),Vi=(it?it($n):null)||{};Ni.set(Ii,Vi)}),Ni},[Di,fn,it]),xi=Object(i.useCallback)(function(Ni){var $n;return!!(($n=yi.get(fn(Ni)))===null||$n===void 0?void 0:$n.disabled)},[yi,fn]),_i=Object(i.useMemo)(function(){if(sr)return[In,[]];var Ni=Object(dr.a)(In,!0,ri,xi),$n=Ni.checkedKeys,Ai=Ni.halfCheckedKeys;return[$n,Ai]},[In,sr,ri,xi]),Un=h()(_i,2),Ri=Un[0],fa=Un[1],Ui=Object(i.useMemo)(function(){var Ni=Kr==="radio"?Ri.slice(0,1):Ri;return new Set(Ni)},[Ri,Kr]),Mi=Object(i.useMemo)(function(){return Kr==="radio"?new Set:new Set(fa)},[fa,Kr]),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 Ii=new Map;$n=Ni,Ai=Ni.map(function(Vi){var Xi=rn(Vi);return!Xi&&vn.current.has(Vi)&&(Xi=vn.current.get(Vi)),Ii.set(Vi,Xi),Xi}),vn.current=Ii}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,Ii){if(Zt){var Vi=Ai.map(function(Xi){return rn(Xi)});Zt(rn(Ni),$n,Vi,Ii)}Ea(Ai)},[Zt,rn,Ea]),oa=Object(i.useMemo)(function(){if(!Zr||xt)return null;var Ni=Zr===!0?[gt,Ht]:Zr;return Ni.map(function($n){return $n===gt?{key:"all",text:Sn.selectionAll,onSelect:function(){Ea(Mr.map(function(Ii,Vi){return fn(Ii,Vi)}))}}:$n===Ht?{key:"invert",text:Sn.selectInvert,onSelect:function(){var Ii=new Set(Ui);Dr.forEach(function(Xi,bi){var Aa=fn(Xi,bi);Ii.has(Aa)?Ii.delete(Aa):Ii.add(Aa)});var Vi=Array.from(Ii);Ea(Vi),Or&&(Object(_t.a)(!1,"Table","`onSelectInvert` will be removed in future. Please use `onChange` instead."),Or(Vi))}}:$n})},[Zr,Ui,Dr,fn,Or,Ea]),sa=Object(i.useCallback)(function(Ni){if(!rr)return Ni;var $n=new Set(Ui),Ai=Di.map(fn).filter(function(Ki){return!yi.get(Ki).disabled}),Ii=Ai.every(function(Ki){return $n.has(Ki)}),Vi=Ai.some(function(Ki){return $n.has(Ki)}),Xi=function(){var ba=[];Ii?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(!Ii,Ua.map(function(wa){return rn(wa)}),ba.map(function(wa){return rn(wa)}))},bi;if(Kr!=="radio"){var Aa;if(oa){var ca=i.createElement(vt.a,{getPopupContainer:Mn},oa.map(function(Ki,ba){var Ua=Ki.key,wa=Ki.text,vi=Ki.onSelect;return i.createElement(vt.a.Item,{key:Ua||ba,onClick:function(){vi&&vi(Ai)}},wa)}));Aa=i.createElement("div",{className:"".concat(br,"-selection-extra")},i.createElement(pt.a,{overlay:ca,getPopupContainer:Mn},i.createElement("span",null,i.createElement(Qt.a,null))))}var la=Di.every(function(Ki,ba){var Ua=fn(Ki,ba),wa=yi.get(Ua)||{};return wa.disabled});bi=!xt&&i.createElement("div",{className:"".concat(br,"-selection")},i.createElement(Et.a,{checked:!la&&!!Di.length&&Ii,indeterminate:!Ii&&Vi,onChange:Xi,disabled:Di.length===0||la}),Aa)}var gi;Kr==="radio"?gi=function(ba,Ua,wa){var vi=fn(Ua,wa),Ya=$n.has(vi);return{node:i.createElement(Nt.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),za=$n.has(Ya),pa=Mi.has(Ya),Oi=yi.get(Ya),So;return wn==="nest"?(So=pa,Object(_t.a)(!(typeof(Oi==null?void 0:Oi.indeterminate)=="boolean"),"Table","set `indeterminate` using `rowSelection.getCheckboxProps` is not allowed with tree structured dataSource.")):So=(vi=Oi==null?void 0:Oi.indeterminate)!==null&&vi!==void 0?vi:pa,{node:i.createElement(Et.a,a()({},Oi,{indeterminate:So,checked:za,onClick:function(ja){return ja.stopPropagation()},onChange:function(ja){var qa=ja.nativeEvent,ho=qa.shiftKey,Ca=-1,to=-1;if(ho&&sr){var _o=new Set([qi,Ya]);Ai.some(function(Fi,Ra){if(_o.has(Fi))if(Ca===-1)Ca=Ra;else return to=Ra,!0;return!1})}if(to!==-1&&Ca!==to&&sr){var Ia=Ai.slice(Ca,to+1),ki=[];za?Ia.forEach(function(Fi){$n.has(Fi)&&(ki.push(Fi),$n.delete(Fi))}):Ia.forEach(function(Fi){$n.has(Fi)||(ki.push(Fi),$n.add(Fi))});var Za=Array.from($n);Ea(Za),wr&&wr(!za,Za.map(function(Fi){return rn(Fi)}),ki.map(function(Fi){return rn(Fi)}))}else{var Da=Ri;if(sr){var pi=za?Object(er.b)(Da,Ya):Object(er.a)(Da,Ya);ya(Ya,!za,pi,qa)}else{var Gi=Object(dr.a)([].concat(zt()(Da),[Ya]),!0,ri,xi),oo=Gi.checkedKeys,go=Gi.halfCheckedKeys,fo=oo;if(za){var Ta=new Set(oo);Ta.delete(Ya),fo=Object(dr.a)(Array.from(Ta),{checked:!1,halfCheckedKeys:go},ri,xi).checkedKeys}ya(Ya,!za,fo,qa)}}va(Ya)}})),checked:za}};var Ba=function(ba,Ua,wa){var vi=gi(ba,Ua,wa),Ya=vi.node,za=vi.checked;return an?an(za,Ua,wa,Ya):Ya},Ma=m()({width:Er,className:"".concat(br,"-selection-column"),title:rr.columnTitle||bi,render:Ba},Ue,{className:"".concat(br,"-selection-col")});if(wn==="row"&&Ni.length&&!bn){var ra=$t()(Ni),Yi=ra[0],Xa=ra.slice(1),zi=Jr||kt(Xa[0]);return zi&&(Yi.fixed=zi),[Yi,a()(a()({},Ma),{fixed:zi})].concat(zt()(Xa))}return[a()(a()({},Ma),{fixed:Jr||kt(Ni[0])})].concat(zt()(Ni))},[fn,Di,rr,Ri,Ui,Mi,Er,oa,wn,qi,yi,wr,ya,xi]);return[sa,Ui]}var mr=e("6SEX"),Ar=e.n(mr),Nr=e("i8CU"),kr=e.n(Nr),tn=e("3S7+");function qr(rr,Tr){return"key"in rr&&rr.key!==void 0&&rr.key!==null?rr.key:rr.dataIndex?Array.isArray(rr.dataIndex)?rr.dataIndex.join("."):rr.dataIndex:Tr}function _r(rr,Tr){return Tr?"".concat(Tr,"-").concat(rr):"".concat(rr)}function Qr(rr,Tr){return typeof rr=="function"?rr(Tr):rr}var Lr="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(it,jt){Wr.push({column:it,key:qr(it,jt),multiplePriority:pr(it),sortOrder:it.sortOrder})}return(rr||[]).forEach(function(it,jt){var Zt=_r(jt,Br);it.children?("sortOrder"in it&&hn(it,Zt),Wr=[].concat(zt()(Wr),zt()(xr(it.children,Tr,Zt)))):it.sorter&&("sortOrder"in it?hn(it,Zt):Tr&&it.defaultSortOrder&&Wr.push({column:it,key:qr(it,Zt),multiplePriority:pr(it),sortOrder:it.defaultSortOrder}))}),Wr}function Yr(rr,Tr,Br,Wr,hn,it,jt,Zt){return(Tr||[]).map(function(nr,Or){var wr=_r(Or,Zt),Er=nr;if(Er.sorter){var Kr=Er.sortDirections||hn,Zr=Er.showSorterTooltip===void 0?jt:Er.showSorterTooltip,Jr=qr(Er,wr),an=Br.find(function(Hn){var Sn=Hn.key;return Sn===Jr}),xt=an?an.sortOrder:null,Vt=fr(Kr,xt),sr=Kr.includes(Lr)&&i.createElement(kr.a,{className:o()("".concat(rr,"-column-sorter-up"),{active:xt===Lr})}),br=Kr.includes(ur)&&i.createElement(Ar.a,{className:o()("".concat(rr,"-column-sorter-down"),{active:xt===ur})}),Mr=it||{},Dr=Mr.cancelSort,rn=Mr.triggerAsc,fn=Mr.triggerDesc,wn=Dr;Vt===ur?wn=fn:Vt===Lr&&(wn=rn),Er=a()(a()({},Er),{className:o()(Er.className,m()({},"".concat(rr,"-column-sort"),xt)),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 Zr?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:Jr,sortOrder:Vt,multiplePriority:pr(nr)}),Mn&&Mn(vn)},bn.className=o()(bn.className,"".concat(rr,"-column-has-sorters")),bn}})}return"children"in Er&&(Er=a()(a()({},Er),{children:Yr(rr,Er.children,Br,Wr,hn,it,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,Zt){return Zt.multiplePriority-jt.multiplePriority}),hn=rr.slice(),it=Wr.filter(function(jt){var Zt=jt.column.sorter,nr=jt.sortOrder;return cr(Zt)&&nr});return it.length?hn.sort(function(jt,Zt){for(var nr=0;nr<it.length;nr+=1){var Or=it[nr],wr=Or.column.sorter,Er=Or.sortOrder,Kr=cr(wr);if(Kr&&Er){var Zr=Kr(jt,Zt,Er);if(Zr!==0)return Er===Lr?Zr:-Zr}}return 0}).map(function(jt){var Zt=jt[Br];return Zt?a()(a()({},jt),m()({},Br,jr(Zt,Tr,Br))):jt}):hn}function Tn(rr){var Tr=rr.prefixCls,Br=rr.mergedColumns,Wr=rr.onSorterChange,hn=rr.sortDirections,it=rr.tableLocale,jt=rr.showSorterTooltip,Zt=i.useState(xr(Br,!0)),nr=h()(Zt,2),Or=nr[0],wr=nr[1],Er=i.useMemo(function(){var xt=!0,Vt=xr(Br,!1);if(!Vt.length)return Or;var sr=[];function br(Dr){xt?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?xt=!1:Mr=!0)):(Mr&&Dr.multiplePriority!==!1||(xt=!1),br(Dr))}),sr},[Br,Or]),Kr=i.useMemo(function(){var xt=Er.map(function(Vt){var sr=Vt.column,br=Vt.sortOrder;return{column:sr,order:br}});return{sortColumns:xt,sortColumn:xt[0]&&xt[0].column,sortOrder:xt[0]&&xt[0].order}},[Er]);function Zr(xt){var Vt;xt.multiplePriority===!1||!Er.length||Er[0].multiplePriority===!1?Vt=[xt]:Vt=[].concat(zt()(Er.filter(function(sr){var br=sr.key;return br!==xt.key})),[xt]),wr(Vt),Wr(Nn(Vt),Vt)}var Jr=function(Vt){return Yr(Tr,Vt,Er,Zr,hn,it,jt)},an=function(){return Nn(Er)};return[Jr,Er,Kr,an]}var gn=e("Y+p1"),Bn=e.n(gn),Kn=e("5Uyt"),qn=e.n(Kn),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=vt.a.SubMenu,ta=vt.a.Item;function Li(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,it=rr.locale;return Tr.length===0?i.createElement(i.Fragment,null,i.createElement(Vn.a,{image:Vn.a.PRESENTED_IMAGE_SIMPLE,description:it.filterEmptyText,style:{margin:"16px 0"},imageStyle:{height:24}})):Tr.map(function(jt,Zt){var nr=String(jt.value);if(jt.children)return i.createElement(xa,{key:nr||Zt,title:jt.text,popupClassName:"".concat(Br,"-dropdown-submenu")},Ci({filters:jt.children,prefixCls:Br,filteredKeys:Wr,filterMultiple:hn,locale:it}));var Or=hn?Et.a:Nt.a;return i.createElement(ta,{key:jt.value!==void 0?nr:Zt},i.createElement(Or,{checked:Wr.includes(nr)}),i.createElement("span",null,jt.text))})}function Gn(rr){var Tr,Br=rr.prefixCls,Wr=rr.column,hn=rr.dropdownPrefixCls,it=rr.columnKey,jt=rr.filterMultiple,Zt=rr.filterState,nr=rr.triggerFilter,Or=rr.locale,wr=rr.children,Er=rr.getPopupContainer,Kr=Wr.filterDropdownVisible,Zr=Wr.onFilterDropdownVisibleChange,Jr=i.useState(!1),an=h()(Jr,2),xt=an[0],Vt=an[1],sr=!!(Zt&&(((Tr=Zt.filteredKeys)===null||Tr===void 0?void 0:Tr.length)||Zt.forceFiltered)),br=function(hi){Vt(hi),Zr&&Zr(hi)},Mr=typeof Kr=="boolean"?Kr:xt,Dr=Zt&&Zt.filteredKeys,rn=Object(ia.a)(Dr||[]),fn=h()(rn,2),wn=fn[0],Hn=fn[1],Sn=function(hi){var qi=hi.selectedKeys;Hn(qi)};i.useEffect(function(){Sn({selectedKeys:Dr||[]})},[Dr]);var bn=i.useState([]),Mn=h()(bn,2),vn=Mn[0],Rn=Mn[1],En=i.useRef(),In=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&&(!Zt||!Zt.filteredKeys))return null;if(Bn()(qi,Zt==null?void 0:Zt.filteredKeys))return null;nr({column:Wr,key:it,filteredKeys:qi})},ri=function(){ai(wn())},Di=function(){Hn([]),ai([])},yi=function(hi){hi&&Dr!==void 0&&Hn(Dr||[]),br(hi),!hi&&!Wr.filterDropdown&&ri()},xi=o()(m()({},"".concat(hn,"-menu-without-submenu"),!Li(Wr.filters||[]))),_i;if(typeof Wr.filterDropdown=="function")_i=Wr.filterDropdown({prefixCls:"".concat(hn,"-custom"),setSelectedKeys:function(hi){return Sn({selectedKeys:hi})},selectedKeys:wn(),confirm:ri,clearFilters:Di,filters:Wr.filters,visible:Mr});else if(Wr.filterDropdown)_i=Wr.filterDropdown;else{var Un=wn()||[];_i=i.createElement(i.Fragment,null,i.createElement(vt.a,{multiple:jt,prefixCls:"".concat(hn,"-menu"),className:xi,onClick:Xn,onSelect:Sn,onDeselect:Sn,selectedKeys:Un,getPopupContainer:Er,openKeys:vn,onOpenChange:In},Ci({filters:Wr.filters||[],prefixCls:Br,filteredKeys:wn(),filterMultiple:jt,locale:Or})),i.createElement("div",{className:"".concat(Br,"-dropdown-btns")},i.createElement(Yn.a,{type:"link",size:"small",disabled:Un.length===0,onClick:Di},Or.filterReset),i.createElement(Yn.a,{type:"primary",size:"small",onClick:ri},Or.filterConfirm)))}var Ri=i.createElement(on,{className:"".concat(Br,"-dropdown")},_i),fa;typeof Wr.filterIcon=="function"?fa=Wr.filterIcon(sr):Wr.filterIcon?fa=Wr.filterIcon:fa=i.createElement(qn.a,null);var Ui=i.useContext($.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(pt.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 Oa=Gn;function mn(rr,Tr,Br){var Wr=[];return(rr||[]).forEach(function(hn,it){var jt=_r(it,Br);"children"in hn?Wr=[].concat(zt()(Wr),zt()(mn(hn.children,Tr,jt))):(hn.filters||"filterDropdown"in hn||"onFilter"in hn)&&("filteredValue"in hn?Wr.push({column:hn,key:qr(hn,jt),filteredKeys:hn.filteredValue,forceFiltered:hn.filtered}):Wr.push({column:hn,key:qr(hn,jt),filteredKeys:Tr&&hn.defaultFilteredValue?hn.defaultFilteredValue:void 0,forceFiltered:hn.filtered}))}),Wr}function On(rr,Tr,Br,Wr,hn,it,jt,Zt){return Br.map(function(nr,Or){var wr=_r(Or,Zt),Er=nr.filterMultiple,Kr=Er===void 0?!0:Er;if(nr.filters||"filterDropdown"in nr){var Zr=qr(nr,wr),Jr=Wr.find(function(an){var xt=an.key;return Zr===xt});return a()(a()({},nr),{title:function(xt){return i.createElement(Oa,{prefixCls:"".concat(rr,"-filter"),dropdownPrefixCls:Tr,column:nr,columnKey:Zr,filterState:Jr,filterMultiple:Kr,triggerFilter:hn,locale:jt,getPopupContainer:it},Qr(nr.title,xt))}})}return"children"in nr?a()(a()({},nr),{children:On(rr,Tr,nr.children,Wr,hn,it,jt,wr)}):nr})}function _n(rr){var Tr={};return rr.forEach(function(Br){var Wr=Br.key,hn=Br.filteredKeys;Tr[Wr]=hn||null}),Tr}function Ln(rr){var Tr=[];return(rr||[]).forEach(function(Br){var Wr=Br.value,hn=Br.children;Tr.push(Wr),hn&&(Tr=[].concat(zt()(Tr),zt()(Ln(hn))))}),Tr}function jn(rr,Tr){return Tr.reduce(function(Br,Wr){var hn=Wr.column,it=hn.onFilter,jt=hn.filters,Zt=Wr.filteredKeys;return it&&Zt&&Zt.length?Br.filter(function(nr){return Zt.some(function(Or){var wr=Ln(jt),Er=wr.findIndex(function(Zr){return String(Zr)===String(Or)}),Kr=Er!==-1?wr[Er]:Or;return it(Kr,nr)})}):Br},rr)}function ni(rr){var Tr=rr.prefixCls,Br=rr.dropdownPrefixCls,Wr=rr.mergedColumns,hn=rr.onFilterChange,it=rr.getPopupContainer,jt=rr.locale,Zt=i.useState(mn(Wr,!0)),nr=h()(Zt,2),Or=nr[0],wr=nr[1],Er=i.useMemo(function(){var an=mn(Wr,!1);return an.every(function(xt){var Vt=xt.filteredKeys;return Vt===void 0})?Or:an},[Wr,Or]),Kr=i.useCallback(function(){return _n(Er)},[Er]),Zr=function(xt){var Vt=Er.filter(function(sr){var br=sr.key;return br!==xt.key});Vt.push(xt),wr(Vt),hn(_n(Vt),Vt)},Jr=function(xt){return On(Tr,Br,xt,Er,Zr,it,jt)};return[Jr,Er,Kr]}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,it=Br.onExpand,jt=Br.record,Zt=Br.expanded,nr=Br.expandable,Or="".concat(hn,"-row-expand-icon");return i.createElement("button",{type:"button",onClick:function(Er){it(jt,Er),Er.stopPropagation()},className:o()(Or,(Wr={},m()(Wr,"".concat(Or,"-spaced"),!nr),m()(Wr,"".concat(Or,"-expanded"),nr&&Zt),m()(Wr,"".concat(Or,"-collapsed"),nr&&!Zt),Wr)),"aria-label":Zt?rr.collapse:rr.expand})}}var 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,Fn=e("5OYt"),$i=[];function eo(rr){var Tr,Br=rr.prefixCls,Wr=rr.className,hn=rr.style,it=rr.size,jt=rr.bordered,Zt=rr.dropdownPrefixCls,nr=rr.dataSource,Or=rr.pagination,wr=rr.rowSelection,Er=rr.rowKey,Kr=rr.rowClassName,Zr=rr.columns,Jr=rr.children,an=rr.childrenColumnName,xt=rr.onChange,Vt=rr.getPopupContainer,sr=rr.loading,br=rr.expandIcon,Mr=rr.expandable,Dr=rr.expandedRowRender,rn=rr.expandIconColumnIndex,fn=rr.indentSize,wn=rr.scroll,Hn=rr.sortDirections,Sn=rr.locale,bn=rr.showSorterTooltip,Mn=bn===void 0?!0:bn;Object(_t.a)(!(typeof Er=="function"&&Er.length>1),"Table","`index` parameter of `rowKey` function is deprecated. There is no guarantee that it will work as expected.");var vn=Object(Fn.a)(),Rn=i.useMemo(function(){var Ta=new Set(Object.keys(vn).filter(function(Fi){return vn[Fi]}));return(Zr||De(Jr)).filter(function(Fi){return!Fi.responsive||Fi.responsive.some(function(Ra){return Ta.has(Ra)})})},[Jr,Zr,vn]),En=Object(d.default)(rr,["className","style","columns"]),In=i.useContext(aa.b),Xn=i.useContext($.b),ai=Xn.locale,ri=ai===void 0?Co:ai,Di=Xn.renderEmpty,yi=Xn.direction,xi=it||In,_i=a()(a()({},ri.Table),Sn),Un=nr||$i,Ri=i.useContext($.b),fa=Ri.getPrefixCls,Ui=fa("table",Br),Mi=fa("dropdown",Zt),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 Fi;return(Fi=Ta)===null||Fi===void 0?void 0:Fi[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 Fi;return(Fi=Ta)===null||Fi===void 0?void 0:Fi[Er]}},[Er]),oa=At(Un,qi,ya),sa=h()(oa,1),Ni=sa[0],$n={},Ai=function(Fi,Ra){var Vo=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1,ro=a()(a()({},$n),Fi);Vo&&($n.resetPagination(),ro.pagination.current&&(ro.pagination.current=1),Or&&Or.onChange&&Or.onChange(1,ro.pagination.pageSize)),wn&&wn.scrollToFirstRowOnChange!==!1&&Ea.body.current&&Object(Qa.a)(0,{getContainer:function(){return Ea.body.current}}),xt&&xt(ro.pagination,ro.filters,ro.sorter,{currentDataSource:jn(jr(Un,ro.sorterStates,qi),ro.filterStates),action:Ra})},Ii=function(Fi,Ra){Ai({sorter:Fi,sorterStates:Ra},"sort",!1)},Vi=Tn({prefixCls:Ui,mergedColumns:Rn,onSorterChange:Ii,sortDirections:Hn||["ascend","descend"],tableLocale:_i,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(Fi,Ra){Ai({filters:Fi,filterStates:Ra},"filter",!0)},Ma=di({prefixCls:Ui,locale:_i,dropdownPrefixCls:Mi,mergedColumns:Rn,onFilterChange:Ba,getPopupContainer:Vt}),ra=h()(Ma,3),Yi=ra[0],Xa=ra[1],zi=ra[2],Ki=jn(gi,Xa);$n.filters=zi(),$n.filterStates=Xa;var ba=i.useMemo(function(){return a()({},ca)},[ca]),Ua=Qi(ba),wa=h()(Ua,1),vi=wa[0],Ya=function(Fi,Ra){Ai({pagination:a()(a()({},$n.pagination),{current:Fi,pageSize:Ra})},"paginate")},za=rt(Ki.length,Or,Ya),pa=h()(za,2),Oi=pa[0],So=pa[1];$n.pagination=Or===!1?{}:ke(Or,Oi),$n.resetPagination=So;var Ka=i.useMemo(function(){if(Or===!1||!Oi.pageSize)return Ki;var Ta=Oi.current,Fi=Ta===void 0?1:Ta,Ra=Oi.total,Vo=Oi.pageSize,ro=Vo===void 0?Oe:Vo;return Ki.length<Ra?Ki.length>ro?(Object(_t.a)(!1,"Table","`dataSource` length is less than `pagination.total` but large than `pagination.pageSize`. Please make sure your config correct data with async mode."),Ki.slice((Fi-1)*ro,Fi*ro)):Ki:Ki.slice((Fi-1)*ro,Fi*ro)},[!!Or,Ki,Oi&&Oi.current,Oi&&Oi.pageSize,Oi&&Oi.total]),ja=Xt(wr,{prefixCls:Ui,data:Ki,pageData:Ka,getRowKey:ya,getRecordByKey:Ni,expandType:va,childrenColumnName:qi,locale:_i,expandIconColumnIndex:mi.expandIconColumnIndex,getPopupContainer:Vt}),qa=h()(ja,2),ho=qa[0],Ca=qa[1],to=function(Fi,Ra,Vo){var ro;return typeof Kr=="function"?ro=o()(Kr(Fi,Ra,Vo)):ro=o()(Kr),o()(m()({},"".concat(Ui,"-row-selected"),Ca.has(ya(Fi,Ra))),ro)};mi.__PARENT_RENDER_ICON__=mi.expandIcon,mi.expandIcon=mi.expandIcon||br||Pa(_i),va==="nest"&&mi.expandIconColumnIndex===void 0?mi.expandIconColumnIndex=wr?1:0:mi.expandIconColumnIndex>0&&wr&&(mi.expandIconColumnIndex-=1),typeof mi.indentSize!="number"&&(mi.indentSize=typeof fn=="number"?fn:15);var _o=i.useCallback(function(Ta){return vi(ho(Yi(bi(Ta))))},[bi,Yi,ho]),Ia,ki;if(Or!==!1){var Za;Oi.size?Za=Oi.size:Za=xi==="small"||xi==="middle"?"small":void 0;var Da=function(Fi){return i.createElement(xe.a,a()({className:"".concat(Ui,"-pagination ").concat(Ui,"-pagination-").concat(Fi)},Oi,{size:Za}))},pi=yi==="rtl"?"left":"right";if(Oi.position!==null&&Array.isArray(Oi.position)){var Gi=Oi.position.find(function(Ta){return Ta.indexOf("top")!==-1}),oo=Oi.position.find(function(Ta){return Ta.indexOf("bottom")!==-1});!Gi&&!oo?ki=Da(pi):(Gi&&(Ia=Da(Gi.toLowerCase().replace("top",""))),oo&&(ki=Da(oo.toLowerCase().replace("bottom",""))))}else ki=Da(pi)}var go;typeof sr=="boolean"?go={spinning:sr}:f()(sr)==="object"&&(go=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(de.a,a()({spinning:!1},go),Ia,i.createElement(Lt,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:Ka,rowKey:ya,rowClassName:to,emptyText:Sn&&Sn.emptyText||Di("Table"),internalHooks:qe,internalRefs:Ea,transformColumns:_o})),Ki&&Ki.length>0&&ki))}eo.defaultProps={rowKey:"key"},eo.SELECTION_ALL=gt,eo.SELECTION_INVERT=Ht,eo.Column=ga,eo.ColumnGroup=mo,eo.Summary=It;var To=eo,uo=D.a=To},wDdD:function(R,D,e){var g=e("ProS"),f=e("bYtY");e("98bh"),e("GrNh");var A=e("d4KN"),m=e("mOdp"),v=e("KS52"),h=e("0/Rx");A("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(R,D,e){var g=e("e5cp"),f=e("ExA7");function A(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,A,a)}R.exports=A},wJg7:function(R,D){var e=9007199254740991,g=/^(?:0|[1-9]\d*)$/;function f(A,m){var v=typeof A;return m=m==null?e:m,!!m&&(v=="number"||v!="symbol"&&g.test(A))&&(A>-1&&A%1==0)&&A<m}R.exports=f},wOnQ:function(R,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){R.exports=f()})(this,function(){"use strict";/*! *****************************************************************************
|
|
|
Copyright (c) Microsoft Corporation. All rights reserved.
|
|
|
Licensed under the Apache License, Version 2.0 (the "License"); you may not use
|
|
|
this file except in compliance with the License. You may obtain a copy of the
|
|
|
License at http://www.apache.org/licenses/LICENSE-2.0
|
|
|
THIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
|
|
KIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED
|
|
|
WARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE,
|
|
|
MERCHANTABLITY OR NON-INFRINGEMENT.
|
|
|
See the Apache Version 2.0 License for specific language governing permissions
|
|
|
and limitations under the License.
|
|
|
***************************************************************************** */var g=function(ie,He){return g=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(tt,Ot){tt.__proto__=Ot}||function(tt,Ot){for(var tr in Ot)Ot.hasOwnProperty(tr)&&(tt[tr]=Ot[tr])},g(ie,He)};function f($e,ie){g($e,ie);function He(){this.constructor=$e}$e.prototype=ie===null?Object.create(ie):(He.prototype=ie.prototype,new He)}var A=function(){return A=Object.assign||function(He){for(var tt,Ot=1,tr=arguments.length;Ot<tr;Ot++){tt=arguments[Ot];for(var vr in tt)Object.prototype.hasOwnProperty.call(tt,vr)&&(He[vr]=tt[vr])}return He},A.apply(this,arguments)};function m($e,ie,He,tt){return new(He||(He=Promise))(function(Ot,tr){function vr(zr){try{Hr(tt.next(zr))}catch(cn){tr(cn)}}function Ir(zr){try{Hr(tt.throw(zr))}catch(cn){tr(cn)}}function Hr(zr){zr.done?Ot(zr.value):new He(function(cn){cn(zr.value)}).then(vr,Ir)}Hr((tt=tt.apply($e,ie||[])).next())})}function v($e,ie){var He={label:0,sent:function(){if(tr[0]&1)throw tr[1];return tr[1]},trys:[],ops:[]},tt,Ot,tr,vr;return vr={next:Ir(0),throw:Ir(1),return:Ir(2)},typeof Symbol=="function"&&(vr[Symbol.iterator]=function(){return this}),vr;function Ir(zr){return function(cn){return Hr([zr,cn])}}function Hr(zr){if(tt)throw new TypeError("Generator is already executing.");for(;He;)try{if(tt=1,Ot&&(tr=zr[0]&2?Ot.return:zr[0]?Ot.throw||((tr=Ot.return)&&tr.call(Ot),0):Ot.next)&&!(tr=tr.call(Ot,zr[1])).done)return tr;(Ot=0,tr)&&(zr=[zr[0]&2,tr.value]);switch(zr[0]){case 0:case 1:tr=zr;break;case 4:return He.label++,{value:zr[1],done:!1};case 5:He.label++,Ot=zr[1],zr=[0];continue;case 7:zr=He.ops.pop(),He.trys.pop();continue;default:if(!(tr=He.trys,tr=tr.length>0&&tr[tr.length-1])&&(zr[0]===6||zr[0]===2)){He=0;continue}if(zr[0]===3&&(!tr||zr[1]>tr[0]&&zr[1]<tr[3])){He.label=zr[1];break}if(zr[0]===6&&He.label<tr[1]){He.label=tr[1],tr=zr;break}if(tr&&He.label<tr[2]){He.label=tr[2],He.ops.push(zr);break}tr[2]&&He.ops.pop(),He.trys.pop();continue}zr=ie.call($e,He)}catch(cn){zr=[6,cn],Ot=0}finally{tt=tr=0}if(zr[0]&5)throw zr[1];return{value:zr[0]?zr[1]:void 0,done:!0}}}for(var h=function(){function $e(ie,He,tt,Ot){this.left=ie,this.top=He,this.width=tt,this.height=Ot}return $e.prototype.add=function(ie,He,tt,Ot){return new $e(this.left+ie,this.top+He,this.width+tt,this.height+Ot)},$e.fromClientRect=function(ie){return new $e(ie.left,ie.top,ie.width,ie.height)},$e}(),c=function(ie){return h.fromClientRect(ie.getBoundingClientRect())},a=function(ie){var He=ie.body,tt=ie.documentElement;if(!He||!tt)throw new Error("Unable to get document size");var Ot=Math.max(Math.max(He.scrollWidth,tt.scrollWidth),Math.max(He.offsetWidth,tt.offsetWidth),Math.max(He.clientWidth,tt.clientWidth)),tr=Math.max(Math.max(He.scrollHeight,tt.scrollHeight),Math.max(He.offsetHeight,tt.offsetHeight),Math.max(He.clientHeight,tt.clientHeight));return new h(0,0,Ot,tr)},i=function(ie){for(var He=[],tt=0,Ot=ie.length;tt<Ot;){var tr=ie.charCodeAt(tt++);if(tr>=55296&&tr<=56319&&tt<Ot){var vr=ie.charCodeAt(tt++);(vr&64512)===56320?He.push(((tr&1023)<<10)+(vr&1023)+65536):(He.push(tr),tt--)}else He.push(tr)}return He},r=function(){for(var ie=[],He=0;He<arguments.length;He++)ie[He]=arguments[He];if(String.fromCodePoint)return String.fromCodePoint.apply(String,ie);var tt=ie.length;if(!tt)return"";for(var Ot=[],tr=-1,vr="";++tr<tt;){var Ir=ie[tr];Ir<=65535?Ot.push(Ir):(Ir-=65536,Ot.push((Ir>>10)+55296,Ir%1024+56320)),(tr+1===tt||Ot.length>16384)&&(vr+=String.fromCharCode.apply(String,Ot),Ot.length=0)}return vr},o="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",d=typeof Uint8Array=="undefined"?[]:new Uint8Array(256),n=0;n<o.length;n++)d[o.charCodeAt(n)]=n;var l=function(ie){var He=ie.length*.75,tt=ie.length,Ot,tr=0,vr,Ir,Hr,zr;ie[ie.length-1]==="="&&(He--,ie[ie.length-2]==="="&&He--);var cn=typeof ArrayBuffer!="undefined"&&typeof Uint8Array!="undefined"&&typeof Uint8Array.prototype.slice!="undefined"?new ArrayBuffer(He):new Array(He),sn=Array.isArray(cn)?cn:new Uint8Array(cn);for(Ot=0;Ot<tt;Ot+=4)vr=d[ie.charCodeAt(Ot)],Ir=d[ie.charCodeAt(Ot+1)],Hr=d[ie.charCodeAt(Ot+2)],zr=d[ie.charCodeAt(Ot+3)],sn[tr++]=vr<<2|Ir>>4,sn[tr++]=(Ir&15)<<4|Hr>>2,sn[tr++]=(Hr&3)<<6|zr&63;return cn},t=function(ie){for(var He=ie.length,tt=[],Ot=0;Ot<He;Ot+=2)tt.push(ie[Ot+1]<<8|ie[Ot]);return tt},s=function(ie){for(var He=ie.length,tt=[],Ot=0;Ot<He;Ot+=4)tt.push(ie[Ot+3]<<24|ie[Ot+2]<<16|ie[Ot+1]<<8|ie[Ot]);return tt},u=5,p=6+5,x=2,S=p-u,T=65536>>u,w=1<<u,E=w-1,C=1024>>u,_=T+C,y=_,b=2048>>6,O=y+b,I=65536>>p,M=1<<S,F=M-1,P=function(ie,He,tt){return ie.slice?ie.slice(He,tt):new Uint16Array(Array.prototype.slice.call(ie,He,tt))},j=function(ie,He,tt){return ie.slice?ie.slice(He,tt):new Uint32Array(Array.prototype.slice.call(ie,He,tt))},K=function(ie){var He=l(ie),tt=Array.isArray(He)?s(He):new Uint32Array(He),Ot=Array.isArray(He)?t(He):new Uint16Array(He),tr=24,vr=P(Ot,tr/2,tt[4]/2),Ir=tt[5]===2?P(Ot,(tr+tt[4])/2):j(tt,Math.ceil((tr+tt[4])/4));return new N(tt[0],tt[1],tt[2],tt[3],vr,Ir)},N=function(){function $e(ie,He,tt,Ot,tr,vr){this.initialValue=ie,this.errorValue=He,this.highStart=tt,this.highValueIndex=Ot,this.index=tr,this.data=vr}return $e.prototype.get=function(ie){var He;if(ie>=0){if(ie<55296||ie>56319&&ie<=65535)return He=this.index[ie>>u],He=(He<<x)+(ie&E),this.data[He];if(ie<=65535)return He=this.index[T+(ie-55296>>u)],He=(He<<x)+(ie&E),this.data[He];if(ie<this.highStart)return He=O-I+(ie>>p),He=this.index[He],He+=ie>>u&F,He=this.index[He],He=(He<<x)+(ie&E),this.data[He];if(ie<=1114111)return this.data[this.highValueIndex]}return this.errorValue},$e}(),B="KwAAAAAAAAAACA4AIDoAAPAfAAACAAAAAAAIABAAGABAAEgAUABYAF4AZgBeAGYAYABoAHAAeABeAGYAfACEAIAAiACQAJgAoACoAK0AtQC9AMUAXgBmAF4AZgBeAGYAzQDVAF4AZgDRANkA3gDmAOwA9AD8AAQBDAEUARoBIgGAAIgAJwEvATcBPwFFAU0BTAFUAVwBZAFsAXMBewGDATAAiwGTAZsBogGkAawBtAG8AcIBygHSAdoB4AHoAfAB+AH+AQYCDgIWAv4BHgImAi4CNgI+AkUCTQJTAlsCYwJrAnECeQKBAk0CiQKRApkCoQKoArACuALAAsQCzAIwANQC3ALkAjAA7AL0AvwCAQMJAxADGAMwACADJgMuAzYDPgOAAEYDSgNSA1IDUgNaA1oDYANiA2IDgACAAGoDgAByA3YDfgOAAIQDgACKA5IDmgOAAIAAogOqA4AAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAK8DtwOAAIAAvwPHA88D1wPfAyAD5wPsA/QD/AOAAIAABAQMBBIEgAAWBB4EJgQuBDMEIAM7BEEEXgBJBCADUQRZBGEEaQQwADAAcQQ+AXkEgQSJBJEEgACYBIAAoASoBK8EtwQwAL8ExQSAAIAAgACAAIAAgACgAM0EXgBeAF4AXgBeAF4AXgBeANUEXgDZBOEEXgDpBPEE+QQBBQkFEQUZBSEFKQUxBTUFPQVFBUwFVAVcBV4AYwVeAGsFcwV7BYMFiwWSBV4AmgWgBacFXgBeAF4AXgBeAKsFXgCyBbEFugW7BcIFwgXIBcIFwgXQBdQF3AXkBesF8wX7BQMGCwYTBhsGIwYrBjMGOwZeAD8GRwZNBl4AVAZbBl4AXgBeAF4AXgBeAF4AXgBeAF4AXgBeAGMGXgBqBnEGXgBeAF4AXgBeAF4AXgBeAF4AXgB5BoAG4wSGBo4GkwaAAIADHgR5AF4AXgBeAJsGgABGA4AAowarBrMGswagALsGwwbLBjAA0wbaBtoG3QbaBtoG2gbaBtoG2gblBusG8wb7BgMHCwcTBxsHCwcjBysHMAc1BzUHOgdCB9oGSgdSB1oHYAfaBloHaAfaBlIH2gbaBtoG2gbaBtoG2gbaBjUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHbQdeAF4ANQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQd1B30HNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1B4MH2gaKB68EgACAAIAAgACAAIAAgACAAI8HlwdeAJ8HpweAAIAArwe3B14AXgC/B8UHygcwANAH2AfgB4AA6AfwBz4B+AcACFwBCAgPCBcIogEYAR8IJwiAAC8INwg/CCADRwhPCFcIXwhnCEoDGgSAAIAAgABvCHcIeAh5CHoIewh8CH0Idwh4CHkIegh7CHwIfQh3CHgIeQh6CHsIfAh9CHcIeAh5CHoIewh8CH0Idwh4CHkIegh7CHwIfQh3CHgIeQh6CHsIfAh9CHcIeAh5CHoIewh8CH0Idwh4CHkIegh7CHwIfQh3CHgIeQh6CHsIfAh9CHcIeAh5CHoIewh8CH0Idwh4CHkIegh7CHwIfQh3CHgIeQh6CHsIfAh9CHcIeAh5CHoIewh8CH0Idwh4CHkIegh7CHwIfQh3CHgIeQh6CHsIfAh9CHcIeAh5CHoIewh8CH0Idwh4CHkIegh7CHwIfQh3CHgIeQh6CHsIfAh9CHcIeAh5CHoIewh8CH0Idwh4CHkIegh7CHwIfQh3CHgIeQh6CHsIfAh9CHcIeAh5CHoIewh8CH0Idwh4CHkIegh7CHwIfQh3CHgIeQh6CHsIfAh9CHcIeAh5CHoIewh8CH0Idwh4CHkIegh7CHwIfQh3CHgIeQh6CHsIfAh9CHcIeAh5CHoIewh8CH0Idwh4CHkIegh7CHwIfQh3CHgIeQh6CHsIfAh9CHcIeAh5CHoIewh8CH0Idwh4CHkIegh7CHwIfQh3CHgIeQh6CHsIfAh9CHcIeAh5CHoIewh8CH0Idwh4CHkIegh7CHwIfQh3CHgIeQh6CHsIfAh9CHcIeAh5CHoIewh8CH0Idwh4CHkIegh7CHwIfQh3CHgIeQh6CHsIfAh9CHcIeAh5CHoIewh8CH0Idwh4CHkIegh7CHwIfQh3CHgIeQh6CHsIfAh9CHcIeAh5CHoIewh8CH0Idwh4CHkIegh7CHwIfQh3CHgIeQh6CHsIfAh9CHcIeAh5CHoIewh8CH0Idwh4CHkIegh7CHwIfQh3CHgIeQh6CHsIfAh9CHcIeAh5CHoIewh8CH0Idwh4CHkIegh7CHwIhAiLCI4IMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwAJYIlgiWCJYIlgiWCJYIlgiWCJYIlgiWCJYIlgiWCJYIlgiWCJYIlgiWCJYIlgiWCJYIlgiWCJYIlgiWCJYIlggwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAANQc1BzUHNQc1BzUHNQc1BzUHNQc1B54INQc1B6II2gaqCLIIugiAAIAAvgjGCIAAgACAAIAAgACAAIAAgACAAIAAywiHAYAA0wiAANkI3QjlCO0I9Aj8CIAAgACAAAIJCgkSCRoJIgknCTYHLwk3CZYIlgiWCJYIlgiWCJYIlgiWCJYIlgiWCJYIlgiWCJYIlgiWCJYIlgiWCJYIlgiWCJYIlgiWCJYIlgiWCJYIlgiAAIAAAAFAAXgBeAGAAcABeAHwAQACQAKAArQC9AJ4AXgBeAE0A3gBRAN4A7AD8AMwBGgEAAKcBNwEFAUwBXAF4QkhCmEKnArcCgAHHAsABz4LAAcABwAHAAd+C6ABoAG+C/4LAAcABwAHAAc+DF4MAAcAB54M3gweDV4Nng3eDaABoAGgAaABoAGgAaABoAGgAaABoAGgAaABoAGgAaABoAGgAaABoAEeDqABVg6WDqABoQ6gAaABoAHXDvcONw/3DvcO9w73DvcO9w73DvcO9w73DvcO9w73DvcO9w73DvcO9w73DvcO9w73DvcO9w73DvcO9w73DvcO9w73DncPAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcAB7cPPwlGCU4JMACAAIAAgABWCV4JYQmAAGkJcAl4CXwJgAkwADAAMAAwAIgJgACLCZMJgACZCZ8JowmrCYAAswkwAF4AXgB8AIAAuwkABMMJyQmAAM4JgADVCTAAMAAwADAAgACAAIAAgACAAIAAgACAAIAAqwYWBNkIMAAwADAAMADdCeAJ6AnuCR4E9gkwAP4JBQoNCjAAMACAABUK0wiAAB0KJAosCjQKgAAwADwKQwqAAEsKvQmdCVMKWwowADAAgACAALcEMACAAGMKgABrCjAAMAAwADAAMAAwADAAMAAwADAAMAAeBDAAMAAwADAAMAAwADAAMAAwADAAMAAwAIkEPQFzCnoKiQSCCooKkAqJBJgKoAqkCokEGAGsCrQKvArBCjAAMADJCtEKFQHZCuEK/gHpCvEKMAAwADAAMACAAIwE+QowAIAAPwEBCzAAMAAwADAAMACAAAkLEQswAIAAPwEZCyELgAAOCCkLMAAxCzkLMAAwADAAMAAwADAAXgBeAEELMAAwADAAMAAwADAAMAAwAEkLTQtVC4AAXAtkC4AAiQkwADAAMAAwADAAMAAwADAAbAtxC3kLgAuFC4sLMAAwAJMLlwufCzAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAApwswADAAMACAAIAAgACvC4AAgACAAIAAgACAALcLMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAvwuAAMcLgACAAIAAgACAAIAAyguAAIAAgACAAIAA0QswADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAANkLgACAAIAA4AswADAAMAAwADAAMAAwADAAMAAwADAAMAAwAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACJCR4E6AswADAAhwHwC4AA+AsADAgMEAwwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMACAAIAAGAwdDCUMMAAwAC0MNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQw1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHPQwwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADUHNQc1BzUHNQc1BzUHNQc2BzAAMAA5DDUHNQc1BzUHNQc1BzUHNQc1BzUHNQdFDDAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAgACAAIAATQxSDFoMMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwAF4AXgBeAF4AXgBeAF4AYgxeAGoMXgBxDHkMfwxeAIUMXgBeAI0MMAAwADAAMAAwAF4AXgCVDJ0MMAAwADAAMABeAF4ApQxeAKsMswy7DF4Awgy9DMoMXgBeAF4AXgBeAF4AXgBeAF4AXgDRDNkMeQBqCeAM3Ax8AOYM7Az0DPgMXgBeAF4AXgBeAF4AXgBeAF4AXgBeAF4AXgBeAF4AXgCgAAANoAAHDQ4NFg0wADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAeDSYNMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwAIAAgACAAIAAgACAAC4NMABeAF4ANg0wADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwAD4NRg1ODVYNXg1mDTAAbQ0wADAAMAAwADAAMAAwADAA2gbaBtoG2gbaBtoG2gbaBnUNeg3CBYANwgWFDdoGjA3aBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gaUDZwNpA2oDdoG2gawDbcNvw3HDdoG2gbPDdYN3A3fDeYN2gbsDfMN2gbaBvoN/g3aBgYODg7aBl4AXgBeABYOXgBeACUG2gYeDl4AJA5eACwO2w3aBtoGMQ45DtoG2gbaBtoGQQ7aBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gZJDjUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1B1EO2gY1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQdZDjUHNQc1BzUHNQc1B2EONQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHaA41BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1B3AO2gbaBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gY1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1B2EO2gbaBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gZJDtoG2gbaBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gbaBkkOeA6gAKAAoAAwADAAMAAwAKAAoACgAKAAoACgAKAAgA4wADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAD//wQABAAEAAQABAAEAAQABAAEAA0AAwABAAEAAgAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAKABMAFwAeABsAGgAeABcAFgASAB4AGwAYAA8AGAAcAEsASwBLAEsASwBLAEsASwBLAEsAGAAYAB4AHgAeABMAHgBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAFgAbABIAHgAeAB4AUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQABYADQARAB4ABAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsABAAEAAQABAAEAAUABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAkAFgAaABsAGwAbAB4AHQAdAB4ATwAXAB4ADQAeAB4AGgAbAE8ATwAOAFAAHQAdAB0ATwBPABcATwBPAE8AFgBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAHQAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB0AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgBQAB4AHgAeAB4AUABQAFAAUAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAeAB4AHgAeAFAATwBAAE8ATwBPAEAATwBQAFAATwBQAB4AHgAeAB4AHgAeAB0AHQAdAB0AHgAdAB4ADgBQAFAAUABQAFAAHgAeAB4AHgAeAB4AHgBQAB4AUAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4ABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAJAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAkACQAJAAkACQAJAAkABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAeAB4AHgAeAFAAHgAeAB4AKwArAFAAUABQAFAAGABQACsAKwArACsAHgAeAFAAHgBQAFAAUAArAFAAKwAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4ABAAEAAQABAAEAAQABAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAUAAeAB4AHgAeAB4AHgArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwAYAA0AKwArAB4AHgAbACsABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQADQAEAB4ABAAEAB4ABAAEABMABAArACsAKwArACsAKwArACsAVgBWAFYAVgBWAFYAVgBWAFYAVgBWAFYAVgBWAFYAVgBWAFYAVgBWAFYAVgBWAFYAVgBWAFYAKwArACsAKwArAFYAVgBWAB4AHgArACsAKwArACsAKwArACsAKwArACsAHgAeAB4AHgAeAB4AHgAeAB4AGgAaABoAGAAYAB4AHgAEAAQABAAEAAQABAAEAAQABAAEAAQAEwAEACsAEwATAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABABLAEsASwBLAEsASwBLAEsASwBLABoAGQAZAB4AUABQAAQAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQABMAUAAEAAQABAAEAAQABAAEAB4AHgAEAAQABAAEAAQABABQAFAABAAEAB4ABAAEAAQABABQAFAASwBLAEsASwBLAEsASwBLAEsASwBQAFAAUAAeAB4AUAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwAeAFAABABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEAAQABAAEAFAAKwArACsAKwArACsAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEAAQAUABQAB4AHgAYABMAUAArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAFAABAAEAAQABAAEAFAABAAEAAQAUAAEAAQABAAEAAQAKwArAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAArACsAHgArAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAeAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABABQAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAFAABAAEAAQABAAEAAQABABQAFAAUABQAFAAUABQAFAAUABQAAQABAANAA0ASwBLAEsASwBLAEsASwBLAEsASwAeAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQAKwBQAFAAUABQAFAAUABQAFAAKwArAFAAUAArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAUABQAFAAUABQAFAAUAArAFAAKwArACsAUABQAFAAUAArACsABABQAAQABAAEAAQABAAEAAQAKwArAAQABAArACsABAAEAAQAUAArACsAKwArACsAKwArACsABAArACsAKwArAFAAUAArAFAAUABQAAQABAArACsASwBLAEsASwBLAEsASwBLAEsASwBQAFAAGgAaAFAAUABQAFAAUABMAB4AGwBQAB4AKwArACsABAAEAAQAKwBQAFAAUABQAFAAUAArACsAKwArAFAAUAArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAUABQAFAAUABQAFAAUAArAFAAUAArAFAAUAArAFAAUAArACsABAArAAQABAAEAAQABAArACsAKwArAAQABAArACsABAAEAAQAKwArACsABAArACsAKwArACsAKwArAFAAUABQAFAAKwBQACsAKwArACsAKwArACsASwBLAEsASwBLAEsASwBLAEsASwAEAAQAUABQAFAABAArACsAKwArACsAKwArACsAKwArACsABAAEAAQAKwBQAFAAUABQAFAAUABQAFAAUAArAFAAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAUABQAFAAUABQAFAAUAArAFAAUAArAFAAUABQAFAAUAArACsABABQAAQABAAEAAQABAAEAAQABAArAAQABAAEACsABAAEAAQAKwArAFAAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAUABQAAQABAArACsASwBLAEsASwBLAEsASwBLAEsASwAeABsAKwArACsAKwArACsAKwBQAAQABAAEAAQABAAEACsABAAEAAQAKwBQAFAAUABQAFAAUABQAFAAKwArAFAAUAArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQAKwArAAQABAArACsABAAEAAQAKwArACsAKwArACsAKwArAAQABAArACsAKwArAFAAUAArAFAAUABQAAQABAArACsASwBLAEsASwBLAEsASwBLAEsASwAeAFAAUABQAFAAUABQAFAAKwArACsAKwArACsAKwArACsAKwAEAFAAKwBQAFAAUABQAFAAUAArACsAKwBQAFAAUAArAFAAUABQAFAAKwArACsAUABQACsAUAArAFAAUAArACsAKwBQAFAAKwArACsAUABQAFAAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwAEAAQABAAEAAQAKwArACsABAAEAAQAKwAEAAQABAAEACsAKwBQACsAKwArACsAKwArAAQAKwArACsAKwArACsAKwArACsAKwBLAEsASwBLAEsASwBLAEsASwBLAFAAUABQAB4AHgAeAB4AHgAeABsAHgArACsAKwArACsABAAEAAQABAArAFAAUABQAFAAUABQAFAAUAArAFAAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArAFAABAAEAAQABAAEAAQABAArAAQABAAEACsABAAEAAQABAArACsAKwArACsAKwArAAQABAArAFAAUABQACsAKwArACsAKwBQAFAABAAEACsAKwBLAEsASwBLAEsASwBLAEsASwBLACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAB4AUAAEAAQABAArAFAAUABQAFAAUABQAFAAUAArAFAAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQACsAUABQAFAAUABQACsAKwAEAFAABAAEAAQABAAEAAQABAArAAQABAAEACsABAAEAAQABAArACsAKwArACsAKwArAAQABAArACsAKwArACsAKwArAFAAKwBQAFAABAAEACsAKwBLAEsASwBLAEsASwBLAEsASwBLACsAUABQACsAKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAFAABAAEAAQABAAEAAQABAArAAQABAAEACsABAAEAAQABABQAB4AKwArACsAKwBQAFAAUAAEAFAAUABQAFAAUABQAFAAUABQAFAABAAEACsAKwBLAEsASwBLAEsASwBLAEsASwBLAFAAUABQAFAAUABQAFAAUABQABoAUABQAFAAUABQAFAAKwArAAQABAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQACsAUAArACsAUABQAFAAUABQAFAAUAArACsAKwAEACsAKwArACsABAAEAAQABAAEAAQAKwAEACsABAAEAAQABAAEAAQABAAEACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArAAQABAAeACsAKwArACsAKwArACsAKwArACsAKwArAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXAAqAFwAXAAqACoAKgAqACoAKgAqACsAKwArACsAGwBcAFwAXABcAFwAXABcACoAKgAqACoAKgAqACoAKgAeAEsASwBLAEsASwBLAEsASwBLAEsADQANACsAKwArACsAKwBcAFwAKwBcACsAKwBcAFwAKwBcACsAKwBcACsAKwArACsAKwArAFwAXABcAFwAKwBcAFwAXABcAFwAXABcACsAXABcAFwAKwBcACsAXAArACsAXABcACsAXABcAFwAXAAqAFwAXAAqACoAKgAqACoAKgArACoAKgBcACsAKwBcAFwAXABcAFwAKwBcACsAKgAqACoAKgAqACoAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArAFwAXABcAFwAUAAOAA4ADgAOAB4ADgAOAAkADgAOAA0ACQATABMAEwATABMACQAeABMAHgAeAB4ABAAEAB4AHgAeAB4AHgAeAEsASwBLAEsASwBLAEsASwBLAEsAUABQAFAAUABQAFAAUABQAFAAUAANAAQAHgAEAB4ABAAWABEAFgARAAQABABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAANAAQABAAEAAQABAANAAQABABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEAAQABAAEACsABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsADQANAB4AHgAeAB4AHgAeAAQAHgAeAB4AHgAeAB4AKwAeAB4ADgAOAA0ADgAeAB4AHgAeAB4ACQAJACsAKwArACsAKwBcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqAFwASwBLAEsASwBLAEsASwBLAEsASwANAA0AHgAeAB4AHgBcAFwAXABcAFwAXAAqACoAKgAqAFwAXABcAFwAKgAqACoAXAAqACoAKgBcAFwAKgAqACoAKgAqACoAKgBcAFwAXAAqACoAKgAqAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAKgAqACoAKgAqACoAKgAqACoAKgAqACoAXAAqAEsASwBLAEsASwBLAEsASwBLAEsAKgAqACoAKgAqACoAUABQAFAAUABQAFAAKwBQACsAKwArACsAKwBQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAeAFAAUABQAFAAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQACsAKwBQAFAAUABQAFAAUABQACsAUAArAFAAUABQAFAAKwArAFAAUABQAFAAUABQAFAAUABQACsAUABQAFAAUAArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAUABQAFAAUAArACsAUABQAFAAUABQAFAAUAArAFAAKwBQAFAAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwAEAAQABAAeAA0AHgAeAB4AHgAeAB4AHgBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAeAB4AHgAeAB4AHgAeAB4AHgAeACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArAFAAUABQAFAAUABQACsAKwANAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAeAB4AUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAA0AUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQABYAEQArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAADQANAA0AUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAABAAEAAQAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAA0ADQArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQAKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQACsABAAEACsAKwArACsAKwArACsAKwArACsAKwArAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXAAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoADQANABUAXAANAB4ADQAbAFwAKgArACsASwBLAEsASwBLAEsASwBLAEsASwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArAB4AHgATABMADQANAA4AHgATABMAHgAEAAQABAAJACsASwBLAEsASwBLAEsASwBLAEsASwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAUABQAFAAUABQAAQABABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABABQACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsAKwArACsABAAEAAQABAAEAAQABAAEAAQABAAEAAQAKwArACsAKwAeACsAKwArABMAEwBLAEsASwBLAEsASwBLAEsASwBLAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcACsAKwBcAFwAXABcAFwAKwArACsAKwArACsAKwArACsAKwArAFwAXABcAFwAXABcAFwAXABcAFwAXABcACsAKwArACsAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAKwArACsAKwArACsASwBLAEsASwBLAEsASwBLAEsASwBcACsAKwArACoAKgBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEACsAKwAeAB4AXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAKgAqACoAKgAqACoAKgAqACoAKgArACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgArACsABABLAEsASwBLAEsASwBLAEsASwBLACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAKgAqACoAKgAqACoAKgBcACoAKgAqACoAKgAqACsAKwAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAArAAQABAAEAAQABABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQAUABQAFAAUABQAFAAUAArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsADQANAB4ADQANAA0ADQAeAB4AHgAeAB4AHgAeAB4AHgAeAAQABAAEAAQABAAEAAQABAAEAB4AHgAeAB4AHgAeAB4AHgAeACsAKwArAAQABAAEAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQAUABQAEsASwBLAEsASwBLAEsASwBLAEsAUABQAFAAUABQAFAAUABQAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAArACsAKwArACsAKwArACsAHgAeAB4AHgBQAFAAUABQAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAArACsAKwANAA0ADQANAA0ASwBLAEsASwBLAEsASwBLAEsASwArACsAKwBQAFAAUABLAEsASwBLAEsASwBLAEsASwBLAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAANAA0AUABQAFAAUABQAFAAUABQAFAAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAB4AHgAeAB4AHgAeAB4AHgArACsAKwArACsAKwArACsABAAEAAQAHgAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAFAAUABQAFAABABQAFAAUABQAAQABAAEAFAAUAAEAAQABAArACsAKwArACsAKwAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQAKwAEAAQABAAEAAQAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArACsAUABQAFAAUABQAFAAKwArAFAAUABQAFAAUABQAFAAUAArAFAAKwBQACsAUAArAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwArAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeACsAHgAeAB4AHgAeAB4AHgAeAFAAHgAeAB4AUABQAFAAKwAeAB4AHgAeAB4AHgAeAB4AHgAeAFAAUABQAFAAKwArAB4AHgAeAB4AHgAeACsAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArACsAUABQAFAAKwAeAB4AHgAeAB4AHgAeAA4AHgArAA0ADQANAA0ADQANAA0ACQANAA0ADQAIAAQACwAEAAQADQAJAA0ADQAMAB0AHQAeABcAFwAWABcAFwAXABYAFwAdAB0AHgAeABQAFAAUAA0AAQABAAQABAAEAAQABAAJABoAGgAaABoAGgAaABoAGgAeABcAFwAdABUAFQAeAB4AHgAeAB4AHgAYABYAEQAVABUAFQAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgANAB4ADQANAA0ADQAeAA0ADQANAAcAHgAeAB4AHgArAAQABAAEAAQABAAEAAQABAAEAAQAUABQACsAKwBPAFAAUABQAFAAUAAeAB4AHgAWABEATwBQAE8ATwBPAE8AUABQAFAAUABQAB4AHgAeABYAEQArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAGwAbABsAGwAbABsAGwAaABsAGwAbABsAGwAbABsAGwAbABsAGwAbABsAGwAaABsAGwAbABsAGgAbABsAGgAbABsAGwAbABsAGwAbABsAGwAbABsAGwAbABsAGwAbABsABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAB4AHgBQABoAHgAdAB4AUAAeABoAHgAeAB4AHgAeAB4AHgAeAB4ATwAeAFAAGwAeAB4AUABQAFAAUABQAB4AHgAeAB0AHQAeAFAAHgBQAB4AUAAeAFAATwBQAFAAHgAeAB4AHgAeAB4AHgBQAFAAUABQAFAAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgBQAB4AUABQAFAAUABPAE8AUABQAFAAUABQAE8AUABQAE8AUABPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBQAFAAUABQAE8ATwBPAE8ATwBPAE8ATwBPAE8AUABQAFAAUABQAFAAUABQAFAAHgAeAFAAUABQAFAATwAeAB4AKwArACsAKwAdAB0AHQAdAB0AHQAdAB0AHQAdAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAdAB4AHQAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHQAeAB0AHQAeAB4AHgAdAB0AHgAeAB0AHgAeAB4AHQAeAB0AGwAbAB4AHQAeAB4AHgAeAB0AHgAeAB0AHQAdAB0AHgAeAB0AHgAdAB4AHQAdAB0AHQAdAB0AHgAdAB4AHgAeAB4AHgAdAB0AHQAdAB4AHgAeAB4AHQAdAB4AHgAeAB4AHgAeAB4AHgAeAB4AHQAeAB4AHgAdAB4AHgAeAB4AHgAdAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHQAdAB4AHgAdAB0AHQAdAB4AHgAdAB0AHgAeAB0AHQAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAdAB0AHgAeAB0AHQAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB0AHgAeAB4AHQAeAB4AHgAeAB4AHgAeAB0AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAdAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeABQAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAWABEAFgARAB4AHgAeAB4AHgAeAB0AHgAeAB4AHgAeAB4AHgAlACUAHgAeAB4AHgAeAB4AHgAeAB4AFgARAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeACUAJQAlACUAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBQAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB4AHgAeAB4AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHgAeAB0AHQAdAB0AHgAeAB4AHgAeAB4AHgAeAB4AHgAdAB0AHgAdAB0AHQAdAB0AHQAdAB4AHgAeAB4AHgAeAB4AHgAdAB0AHgAeAB0AHQAeAB4AHgAeAB0AHQAeAB4AHgAeAB0AHQAdAB4AHgAdAB4AHgAdAB0AHQAdAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHQAdAB0AHQAeAB4AHgAeAB4AHgAeAB4AHgAdAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AJQAlACUAJQAeAB0AHQAeAB4AHQAeAB4AHgAeAB0AHQAeAB4AHgAeACUAJQAdAB0AJQAeACUAJQAlACAAJQAlAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AJQAlACUAHgAeAB4AHgAdAB4AHQAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHQAdAB4AHQAdAB0AHgAdACUAHQAdAB4AHQAdAB4AHQAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAlAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB0AHQAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AJQAlACUAJQAlACUAJQAlACUAJQAlACUAHQAdAB0AHQAlAB4AJQAlACUAHQAlACUAHQAdAB0AJQAlAB0AHQAlAB0AHQAlACUAJQAeAB0AHgAeAB4AHgAdAB0AJQAdAB0AHQAdAB0AHQAlACUAJQAlACUAHQAlACUAIAAlAB0AHQAlACUAJQAlACUAJQAlACUAHgAeAB4AJQAlACAAIAAgACAAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAdAB4AHgAeABcAFwAXABcAFwAXAB4AEwATACUAHgAeAB4AFgARABYAEQAWABEAFgARABYAEQAWABEAFgARAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAWABEAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AFgARABYAEQAWABEAFgARABYAEQAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeABYAEQAWABEAFgARABYAEQAWABEAFgARABYAEQAWABEAFgARABYAEQAWABEAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AFgARABYAEQAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeABYAEQAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHQAdAB0AHQAdAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwArAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwArACsAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwAeAB4AHgAeAB4AHgAeAB4AHgArACsAKwArACsAKwArACsAKwArACsAKwArAB4AHgAeAB4AKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAEAAQABAAeAB4AKwArACsAKwArABMADQANAA0AUAATAA0AUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAUAANACsAKwArACsAKwArACsAKwArACsAKwArACsAKwAEAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQACsAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQACsAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXAA0ADQANAA0ADQANAA0ADQAeAA0AFgANAB4AHgAXABcAHgAeABcAFwAWABEAFgARABYAEQAWABEADQANAA0ADQATAFAADQANAB4ADQANAB4AHgAeAB4AHgAMAAwADQANAA0AHgANAA0AFgANAA0ADQANAA0ADQANACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACsAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAKwArACsAKwArACsAKwArACsAKwArACsAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwAlACUAJQAlACUAJQAlACUAJQAlACUAJQArACsAKwArAA0AEQARACUAJQBHAFcAVwAWABEAFgARABYAEQAWABEAFgARACUAJQAWABEAFgARABYAEQAWABEAFQAWABEAEQAlAFcAVwBXAFcAVwBXAFcAVwBXAAQABAAEAAQABAAEACUAVwBXAFcAVwA2ACUAJQBXAFcAVwBHAEcAJQAlACUAKwBRAFcAUQBXAFEAVwBRAFcAUQBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFEAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBRAFcAUQBXAFEAVwBXAFcAVwBXAFcAUQBXAFcAVwBXAFcAVwBRAFEAKwArAAQABAAVABUARwBHAFcAFQBRAFcAUQBXAFEAVwBRAFcAUQBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFEAVwBRAFcAUQBXAFcAVwBXAFcAVwBRAFcAVwBXAFcAVwBXAFEAUQBXAFcAVwBXABUAUQBHAEcAVwArACsAKwArACsAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAKwArAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwArACUAJQBXAFcAVwBXACUAJQAlACUAJQAlACUAJQAlACUAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAKwArACsAKwArACUAJQAlACUAKwArACsAKwArACsAKwArACsAKwArACsAUQBRAFEAUQBRAFEAUQBRAFEAUQBRAFEAUQBRAFEAUQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACsAVwBXAFcAVwBXAFcAVwBXAFcAVwAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlAE8ATwBPAE8ATwBPAE8ATwAlAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXACUAJQAlACUAJQAlACUAJQAlACUAVwBXAFcAVwBXAFcAVwBXAFcAVwBXACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAEcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAKwArACsAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAADQATAA0AUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABLAEsASwBLAEsASwBLAEsASwBLAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAFAABAAEAAQABAAeAAQABAAEAAQABAAEAAQABAAEAAQAHgBQAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AUABQAAQABABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAeAA0ADQANAA0ADQArACsAKwArACsAKwArACsAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAFAAUABQAFAAUABQAFAAUABQAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AUAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgBQAB4AHgAeAB4AHgAeAFAAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArAB4AHgAeAB4AHgAeAB4AHgArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAAQAUABQAFAABABQAFAAUABQAAQAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAAQABAAeAB4AHgAeACsAKwArACsAUABQAFAAUABQAFAAHgAeABoAHgArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAADgAOABMAEwArACsAKwArACsAKwArACsABAAEAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAAQABAAEACsAKwArACsAKwArACsAKwANAA0ASwBLAEsASwBLAEsASwBLAEsASwArACsAKwArACsAKwAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABABQAFAAUABQAFAAUAAeAB4AHgBQAA4AUAArACsAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEAA0ADQBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQAKwArACsAKwArACsAKwArACsAKwArAB4AWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYACsAKwArAAQAHgAeAB4AHgAeAB4ADQANAA0AHgAeAB4AHgArAFAASwBLAEsASwBLAEsASwBLAEsASwArACsAKwArAB4AHgBcAFwAXABcAFwAKgBcAFwAXABcAFwAXABcAFwAXABcAEsASwBLAEsASwBLAEsASwBLAEsAXABcAFwAXABcACsAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsAKwArACsAKwArACsAKwArAFAAUABQAAQAUABQAFAAUABQAFAAUABQAAQABAArACsASwBLAEsASwBLAEsASwBLAEsASwArACsAHgANAA0ADQBcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAKgAqACoAXAAqACoAKgBcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXAAqAFwAKgAqACoAXABcACoAKgBcAFwAXABcAFwAKgAqAFwAKgBcACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFwAXABcACoAKgBQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAA0ADQBQAFAAUAAEAAQAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUAArACsAUABQAFAAUABQAFAAKwArAFAAUABQAFAAUABQACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQADQAEAAQAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAVABVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBUAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVACsAKwArACsAKwArACsAKwArACsAKwArAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAKwArACsAKwBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAKwArACsAKwAGAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAYAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXACUAJQBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAJQAlACUAJQAlACUAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAKwArACsAKwArAFYABABWAFYAVgBWAFYAVgBWAFYAVgBWAB4AVgBWAFYAVgBWAFYAVgBWAFYAVgBWAFYAVgArAFYAVgBWAFYAVgArAFYAKwBWAFYAKwBWAFYAKwBWAFYAVgBWAFYAVgBWAFYAVgBWAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAEQAWAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUAAaAB4AKwArAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQAGAARABEAGAAYABMAEwAWABEAFAArACsAKwArACsAKwAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACUAJQAlACUAJQAWABEAFgARABYAEQAWABEAFgARABYAEQAlACUAFgARACUAJQAlACUAJQAlACUAEQAlABEAKwAVABUAEwATACUAFgARABYAEQAWABEAJQAlACUAJQAlACUAJQAlACsAJQAbABoAJQArACsAKwArAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArAAcAKwATACUAJQAbABoAJQAlABYAEQAlACUAEQAlABEAJQBXAFcAVwBXAFcAVwBXAFcAVwBXABUAFQAlACUAJQATACUAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXABYAJQARACUAJQAlAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwAWACUAEQAlABYAEQARABYAEQARABUAVwBRAFEAUQBRAFEAUQBRAFEAUQBRAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAEcARwArACsAVwBXAFcAVwBXAFcAKwArAFcAVwBXAFcAVwBXACsAKwBXAFcAVwBXAFcAVwArACsAVwBXAFcAKwArACsAGgAbACUAJQAlABsAGwArAB4AHgAeAB4AHgAeAB4AKwArACsAKwArACsAKwArACsAKwAEAAQABAAQAB0AKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsADQANAA0AKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArAB4AHgAeAB4AHgAeAB4AHgAeAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgBQAFAAHgAeAB4AKwAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArACsAKwArAB4AKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4ABAArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAAQAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsADQBQAFAAUABQACsAKwArACsAUABQAFAAUABQAFAAUABQAA0AUABQAFAAUABQACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwArACsAKwArACsAKwArAB4AKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUAArACsAUAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAUABQACsAKwArAFAAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAA0AUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAB4AHgBQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAUABQACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsADQBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwArAB4AUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwBQAFAAUABQAFAABAAEAAQAKwAEAAQAKwArACsAKwArAAQABAAEAAQAUABQAFAAUAArAFAAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsABAAEAAQAKwArACsAKwAEAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsADQANAA0ADQANAA0ADQANAB4AKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAB4AUABQAFAAUABQAFAAUABQAB4AUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEACsAKwArACsAUABQAFAAUABQAA0ADQANAA0ADQANABQAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwANAA0ADQANAA0ADQANAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAHgAeAB4AHgArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwArACsAKwBQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAA0ADQAeAB4AHgAeAB4AKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsABABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAAQABAAEAAQABAAEAAQABAAeAB4AHgANAA0ADQANACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwArACsAKwBLAEsASwBLAEsASwBLAEsASwBLACsAKwArACsAKwArAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsASwBLAEsASwBLAEsASwBLAEsASwANAA0ADQANACsAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAeAA4AUAArACsAKwArACsAKwArACsAKwAEAFAAUABQAFAADQANAB4ADQAeAAQABAAEAB4AKwArAEsASwBLAEsASwBLAEsASwBLAEsAUAAOAFAADQANAA0AKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQABAAEAAQABAANAA0AHgANAA0AHgAEACsAUABQAFAAUABQAFAAUAArAFAAKwBQAFAAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAA0AKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQABAAEAAQAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsABAAEAAQABAArAFAAUABQAFAAUABQAFAAUAArACsAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAAQABAArACsABAAEACsAKwAEAAQABAArACsAUAArACsAKwArACsAKwAEACsAKwArACsAKwBQAFAAUABQAFAABAAEACsAKwAEAAQABAAEAAQABAAEACsAKwArAAQABAAEAAQABAArACsAKwArACsAKwArACsAKwArACsABAAEAAQABAAEAAQABABQAFAAUABQAA0ADQANAA0AHgBLAEsASwBLAEsASwBLAEsASwBLACsADQArAB4AKwArAAQABAAEAAQAUABQAB4AUAArACsAKwArACsAKwArACsASwBLAEsASwBLAEsASwBLAEsASwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEACsAKwAEAAQABAAEAAQABAAEAAQABAAOAA0ADQATABMAHgAeAB4ADQANAA0ADQANAA0ADQANAA0ADQANAA0ADQANAA0AUABQAFAAUAAEAAQAKwArAAQADQANAB4AUAArACsAKwArACsAKwArACsAKwArACsASwBLAEsASwBLAEsASwBLAEsASwArACsAKwArACsAKwAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsASwBLAEsASwBLAEsASwBLAEsASwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXAArACsAKwAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAXABcAA0ADQANACoASwBLAEsASwBLAEsASwBLAEsASwBQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwBQAFAABAAEAAQABAAEAAQABAAEAAQABABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAFAABAAEAAQABAAOAB4ADQANAA0ADQAOAB4ABAArACsAKwArACsAKwArACsAUAAEAAQABAAEAAQABAAEAAQABAAEAAQAUABQAFAAUAArACsAUABQAFAAUAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAA0ADQANACsADgAOAA4ADQANACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEACsABAAEAAQABAAEAAQABAAEAFAADQANAA0ADQANACsAKwArACsAKwArACsAKwArACsASwBLAEsASwBLAEsASwBLAEsASwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwAOABMAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAArAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQACsAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAArACsAKwAEACsABAAEACsABAAEAAQABAAEAAQABABQAAQAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsADQANAA0ADQANACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAASABIAEgAQwBDAEMAUABQAFAAUABDAFAAUABQAEgAQwBIAEMAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAASABDAEMAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABIAEMAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwANAA0AKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArAAQABAAEAAQABAANACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAA0ADQANAB4AHgAeAB4AHgAeAFAAUABQAFAADQAeACsAKwArACsAKwArACsAKwArACsASwBLAEsASwBLAEsASwBLAEsASwArAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAUAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsABAAEAAQABABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAEcARwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwArACsAKwArACsAKwArACsAKwArACsAKwArAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQACsAKwAeAAQABAANAAQABAAEAAQAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeACsAKwArACsAKwArACsAKwArACsAHgAeAB4AHgAeAB4AHgArACsAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4ABAAEAAQABAAEAB4AHgAeAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQAHgAeAAQABAAEAAQABAAEAAQAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAEAAQABAAEAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAB4AHgAEAAQABAAeACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwArACsAKwArACsAKwArACsAKwArAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeACsAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArAFAAUAArACsAUAArACsAUABQACsAKwBQAFAAUABQACsAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwBQACsAUABQAFAAUABQAFAAUAArAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArAFAAUABQAFAAKwArAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAKwAeAB4AUABQAFAAUABQACsAUAArACsAKwBQAFAAUABQAFAAUABQACsAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAeAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAFAAUABQAFAAUABQAFAAUABQAFAAUAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAHgAeAB4AHgAeAB4AHgAeAB4AKwArAEsASwBLAEsASwBLAEsASwBLAEsASwBLAEsASwBLAEsASwBLAEsASwBLAEsASwBLAEsASwBLAEsASwBLAEsASwBLAEsABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAB4AHgAeAB4ABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAB4AHgAeAB4AHgAeAB4AHgAEAB4AHgAeAB4AHgAeAB4AHgAeAB4ABAAeAB4ADQANAA0ADQAeACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAAQABAAEAAQABAArAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsABAAEAAQABAAEAAQABAArAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAArACsABAAEAAQABAAEAAQABAArAAQABAArAAQABAAEAAQABAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAKwArAFAAUABQAFAAUABQAFAAUABQAAQABAAEAAQABAAEAAQAKwArACsAKwArACsAKwArACsAHgAeAB4AHgAEAAQABAAEAAQABAAEACsAKwArACsAKwBLAEsASwBLAEsASwBLAEsASwBLACsAKwArACsAFgAWAFAAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUAArAFAAKwArAFAAKwBQAFAAUABQAFAAUABQAFAAUABQACsAUABQAFAAUAArAFAAKwBQACsAKwArACsAKwArAFAAKwArACsAKwBQACsAUAArAFAAKwBQAFAAUAArAFAAUAArAFAAKwArAFAAKwBQACsAUAArAFAAKwBQACsAUABQACsAUAArACsAUABQAFAAUAArAFAAUABQAFAAUABQAFAAKwBQAFAAUABQACsAUABQAFAAUAArAFAAKwBQAFAAUABQAFAAUABQAFAAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwBQAFAAUAArAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAB4AHgArACsAKwArACsAKwArACsAKwArACsAKwArACsATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwAlACUAJQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAeACUAHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHgAeACUAJQAlACUAHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACkAKQApACkAKQApACkAKQApACkAKQApACkAKQApACkAKQApACkAKQApACkAKQApACkAKQAlACUAJQAlACUAIAAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlAB4AHgAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAHgAeACUAJQAlACUAJQAeACUAJQAlACUAJQAgACAAIAAlACUAIAAlACUAIAAgACAAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAIQAhACEAIQAhACUAJQAgACAAJQAlACAAIAAgACAAIAAgACAAIAAgACAAIAAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAIAAgACAAIAAlACUAJQAlACAAJQAgACAAIAAgACAAIAAgACAAIAAlACUAJQAgACUAJQAlACUAIAAgACAAJQAgACAAIAAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAeACUAHgAlAB4AJQAlACUAJQAlACAAJQAlACUAJQAeACUAHgAeACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAHgAeAB4AHgAeAB4AHgAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlAB4AHgAeAB4AHgAeAB4AHgAeAB4AJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAIAAgACUAJQAlACUAIAAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAIAAlACUAJQAlACAAIAAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAeAB4AHgAeAB4AHgAeAB4AJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlAB4AHgAeAB4AHgAeACUAJQAlACUAJQAlACUAIAAgACAAJQAlACUAIAAgACAAIAAgAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AFwAXABcAFQAVABUAHgAeAB4AHgAlACUAJQAgACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAIAAgACAAJQAlACUAJQAlACUAJQAlACUAIAAlACUAJQAlACUAJQAlACUAJQAlACUAIAAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAlACUAJQAlACUAJQAlACUAJQAlACUAJQAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAlACUAJQAlAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AJQAlACUAJQAlACUAJQAlAB4AHgAeAB4AHgAeAB4AHgAeAB4AJQAlACUAJQAlACUAHgAeAB4AHgAeAB4AHgAeACUAJQAlACUAJQAlACUAJQAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeACUAJQAlACUAJQAlACUAJQAlACUAJQAlACAAIAAgACAAIAAlACAAIAAlACUAJQAlACUAJQAgACUAJQAlACUAJQAlACUAJQAlACAAIAAgACAAIAAgACAAIAAgACAAJQAlACUAIAAgACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACsAKwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAJQAlACUAJQAlACUAJQAlACUAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAJQAlACUAJQAlACUAJQAlACUAJQAlAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQArAAQAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsA",U=50,H=1,z=2,X=3,W=4,Y=5,q=7,me=8,G=9,ye=10,Ae=11,ve=12,Ue=13,Me=14,nt=15,ne=16,be=17,ot=18,ue=19,Q=20,V=21,J=22,fe=23,oe=24,Le=25,he=26,te=27,Z=28,ge=29,Re=30,ze=31,dt=32,De=33,Tt=34,je=35,st=36,Xe=37,Je=38,et=39,at=40,Ve=41,le=42,ae=43,lt="!",Ze="\xD7",Te="\xF7",Jt=K(B),mt=[Re,st],ft=[H,z,X,Y],bt=[ye,me],It=[te,he],or=ft.concat(bt),Pt=[Je,et,at,Tt,je],_e=[nt,Ue],Ce=function(ie,He){He===void 0&&(He="strict");var tt=[],Ot=[],tr=[];return ie.forEach(function(vr,Ir){var Hr=Jt.get(vr);if(Hr>U?(tr.push(!0),Hr-=U):tr.push(!1),["normal","auto","loose"].indexOf(He)!==-1&&[8208,8211,12316,12448].indexOf(vr)!==-1)return Ot.push(Ir),tt.push(ne);if(Hr===W||Hr===Ae){if(Ir===0)return Ot.push(Ir),tt.push(Re);var zr=tt[Ir-1];return or.indexOf(zr)===-1?(Ot.push(Ot[Ir-1]),tt.push(zr)):(Ot.push(Ir),tt.push(Re))}if(Ot.push(Ir),Hr===ze)return tt.push(He==="strict"?V:Xe);if(Hr===le)return tt.push(Re);if(Hr===ge)return tt.push(Re);if(Hr===ae)return vr>=131072&&vr<=196605||vr>=196608&&vr<=262141?tt.push(Xe):tt.push(Re);tt.push(Hr)}),[Ot,tt,tr]},Ee=function(ie,He,tt,Ot){var tr=Ot[tt];if(Array.isArray(ie)?ie.indexOf(tr)!==-1:ie===tr)for(var vr=tt;vr<=Ot.length;){vr++;var Ir=Ot[vr];if(Ir===He)return!0;if(Ir!==ye)break}if(tr===ye)for(var vr=tt;vr>0;){vr--;var Hr=Ot[vr];if(Array.isArray(ie)?ie.indexOf(Hr)!==-1:ie===Hr)for(var zr=tt;zr<=Ot.length;){zr++;var Ir=Ot[zr];if(Ir===He)return!0;if(Ir!==ye)break}if(Hr!==ye)break}return!1},we=function(ie,He){for(var tt=ie;tt>=0;){var Ot=He[tt];if(Ot===ye)tt--;else return Ot}return 0},Fe=function(ie,He,tt,Ot,tr){if(tt[Ot]===0)return Ze;var vr=Ot-1;if(Array.isArray(tr)&&tr[vr]===!0)return Ze;var Ir=vr-1,Hr=vr+1,zr=He[vr],cn=Ir>=0?He[Ir]:0,sn=He[Hr];if(zr===z&&sn===X)return Ze;if(ft.indexOf(zr)!==-1)return lt;if(ft.indexOf(sn)!==-1)return Ze;if(bt.indexOf(sn)!==-1)return Ze;if(we(vr,He)===me)return Te;if(Jt.get(ie[vr])===Ae&&(sn===Xe||sn===dt||sn===De))return Ze;if(zr===q||sn===q)return Ze;if(zr===G)return Ze;if([ye,Ue,nt].indexOf(zr)===-1&&sn===G)return Ze;if([be,ot,ue,oe,Z].indexOf(sn)!==-1)return Ze;if(we(vr,He)===J)return Ze;if(Ee(fe,J,vr,He))return Ze;if(Ee([be,ot],V,vr,He))return Ze;if(Ee(ve,ve,vr,He))return Ze;if(zr===ye)return Te;if(zr===fe||sn===fe)return Ze;if(sn===ne||zr===ne)return Te;if([Ue,nt,V].indexOf(sn)!==-1||zr===Me)return Ze;if(cn===st&&_e.indexOf(zr)!==-1)return Ze;if(zr===Z&&sn===st)return Ze;if(sn===Q&&mt.concat(Q,ue,Le,Xe,dt,De).indexOf(zr)!==-1)return Ze;if(mt.indexOf(sn)!==-1&&zr===Le||mt.indexOf(zr)!==-1&&sn===Le)return Ze;if(zr===te&&[Xe,dt,De].indexOf(sn)!==-1||[Xe,dt,De].indexOf(zr)!==-1&&sn===he)return Ze;if(mt.indexOf(zr)!==-1&&It.indexOf(sn)!==-1||It.indexOf(zr)!==-1&&mt.indexOf(sn)!==-1)return Ze;if([te,he].indexOf(zr)!==-1&&(sn===Le||[J,nt].indexOf(sn)!==-1&&He[Hr+1]===Le)||[J,nt].indexOf(zr)!==-1&&sn===Le||zr===Le&&[Le,Z,oe].indexOf(sn)!==-1)return Ze;if([Le,Z,oe,be,ot].indexOf(sn)!==-1)for(var kn=vr;kn>=0;){var si=He[kn];if(si===Le)return Ze;if([Z,oe].indexOf(si)!==-1)kn--;else break}if([te,he].indexOf(sn)!==-1)for(var kn=[be,ot].indexOf(zr)!==-1?Ir:vr;kn>=0;){var si=He[kn];if(si===Le)return Ze;if([Z,oe].indexOf(si)!==-1)kn--;else break}if(Je===zr&&[Je,et,Tt,je].indexOf(sn)!==-1||[et,Tt].indexOf(zr)!==-1&&[et,at].indexOf(sn)!==-1||[at,je].indexOf(zr)!==-1&&sn===at)return Ze;if(Pt.indexOf(zr)!==-1&&[Q,he].indexOf(sn)!==-1||Pt.indexOf(sn)!==-1&&zr===te)return Ze;if(mt.indexOf(zr)!==-1&&mt.indexOf(sn)!==-1)return Ze;if(zr===oe&&mt.indexOf(sn)!==-1)return Ze;if(mt.concat(Le).indexOf(zr)!==-1&&sn===J||mt.concat(Le).indexOf(sn)!==-1&&zr===ot)return Ze;if(zr===Ve&&sn===Ve){for(var zn=tt[vr],fi=1;zn>0&&(zn--,He[zn]===Ve);)fi++;if(fi%2!==0)return Ze}return zr===dt&&sn===De?Ze:Te},Ye=function(ie,He){He||(He={lineBreak:"normal",wordBreak:"normal"});var tt=Ce(ie,He.lineBreak),Ot=tt[0],tr=tt[1],vr=tt[2];(He.wordBreak==="break-all"||He.wordBreak==="break-word")&&(tr=tr.map(function(Hr){return[Le,Re,le].indexOf(Hr)!==-1?Xe:Hr}));var Ir=He.wordBreak==="keep-all"?vr.map(function(Hr,zr){return Hr&&ie[zr]>=19968&&ie[zr]<=40959}):void 0;return[Ot,tr,Ir]},Ge=function(){function $e(ie,He,tt,Ot){this.codePoints=ie,this.required=He===lt,this.start=tt,this.end=Ot}return $e.prototype.slice=function(){return r.apply(void 0,this.codePoints.slice(this.start,this.end))},$e}(),qe=function(ie,He){var tt=i(ie),Ot=Ye(tt,He),tr=Ot[0],vr=Ot[1],Ir=Ot[2],Hr=tt.length,zr=0,cn=0;return{next:function(){if(cn>=Hr)return{done:!0,value:null};for(var kn=Ze;cn<Hr&&(kn=Fe(tt,vr,tr,++cn,Ir))===Ze;);if(kn!==Ze||cn===Hr){var si=new Ge(tt,kn,zr,cn);return zr=cn,{value:si,done:!1}}return{done:!0,value:null}}}},Ke;(function($e){$e[$e.STRING_TOKEN=0]="STRING_TOKEN",$e[$e.BAD_STRING_TOKEN=1]="BAD_STRING_TOKEN",$e[$e.LEFT_PARENTHESIS_TOKEN=2]="LEFT_PARENTHESIS_TOKEN",$e[$e.RIGHT_PARENTHESIS_TOKEN=3]="RIGHT_PARENTHESIS_TOKEN",$e[$e.COMMA_TOKEN=4]="COMMA_TOKEN",$e[$e.HASH_TOKEN=5]="HASH_TOKEN",$e[$e.DELIM_TOKEN=6]="DELIM_TOKEN",$e[$e.AT_KEYWORD_TOKEN=7]="AT_KEYWORD_TOKEN",$e[$e.PREFIX_MATCH_TOKEN=8]="PREFIX_MATCH_TOKEN",$e[$e.DASH_MATCH_TOKEN=9]="DASH_MATCH_TOKEN",$e[$e.INCLUDE_MATCH_TOKEN=10]="INCLUDE_MATCH_TOKEN",$e[$e.LEFT_CURLY_BRACKET_TOKEN=11]="LEFT_CURLY_BRACKET_TOKEN",$e[$e.RIGHT_CURLY_BRACKET_TOKEN=12]="RIGHT_CURLY_BRACKET_TOKEN",$e[$e.SUFFIX_MATCH_TOKEN=13]="SUFFIX_MATCH_TOKEN",$e[$e.SUBSTRING_MATCH_TOKEN=14]="SUBSTRING_MATCH_TOKEN",$e[$e.DIMENSION_TOKEN=15]="DIMENSION_TOKEN",$e[$e.PERCENTAGE_TOKEN=16]="PERCENTAGE_TOKEN",$e[$e.NUMBER_TOKEN=17]="NUMBER_TOKEN",$e[$e.FUNCTION=18]="FUNCTION",$e[$e.FUNCTION_TOKEN=19]="FUNCTION_TOKEN",$e[$e.IDENT_TOKEN=20]="IDENT_TOKEN",$e[$e.COLUMN_TOKEN=21]="COLUMN_TOKEN",$e[$e.URL_TOKEN=22]="URL_TOKEN",$e[$e.BAD_URL_TOKEN=23]="BAD_URL_TOKEN",$e[$e.CDC_TOKEN=24]="CDC_TOKEN",$e[$e.CDO_TOKEN=25]="CDO_TOKEN",$e[$e.COLON_TOKEN=26]="COLON_TOKEN",$e[$e.SEMICOLON_TOKEN=27]="SEMICOLON_TOKEN",$e[$e.LEFT_SQUARE_BRACKET_TOKEN=28]="LEFT_SQUARE_BRACKET_TOKEN",$e[$e.RIGHT_SQUARE_BRACKET_TOKEN=29]="RIGHT_SQUARE_BRACKET_TOKEN",$e[$e.UNICODE_RANGE_TOKEN=30]="UNICODE_RANGE_TOKEN",$e[$e.WHITESPACE_TOKEN=31]="WHITESPACE_TOKEN",$e[$e.EOF_TOKEN=32]="EOF_TOKEN"})(Ke||(Ke={}));var ct=1<<0,wt=1<<1,Lt=1<<2,de=1<<3,xe=10,$=47,se=92,Oe=9,ke=32,Pe=34,rt=61,At=35,Wt=36,$t=37,Rt=39,zt=40,Gt=41,Qt=95,Mt=45,dr=33,er=60,ht=62,Et=64,pt=91,vt=93,Nt=61,_t=123,gt=63,Ht=125,kt=124,ir=126,Xt=128,mr=65533,Ar=42,Nr=43,kr=44,tn=58,qr=59,_r=46,Qr=0,Lr=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,Kn=69,qn=70,Yn=85,Vn=90,An=function(ie){return ie>=Yr&&ie<=57},on=function(ie){return ie>=55296&&ie<=57343},ia=function(ie){return An(ie)||ie>=Bn&&ie<=qn||ie>=un&&ie<=jr},xa=function(ie){return ie>=un&&ie<=gn},ta=function(ie){return ie>=Bn&&ie<=Vn},Li=function(ie){return xa(ie)||ta(ie)},Ci=function(ie){return ie>=Xt},Gn=function(ie){return ie===xe||ie===Oe||ie===ke},Oa=function(ie){return Li(ie)||Ci(ie)||ie===Qt},mn=function(ie){return Oa(ie)||An(ie)||ie===Mt},On=function(ie){return ie>=Qr&&ie<=Lr||ie===ur||ie>=pr&&ie<=cr||ie===fr},_n=function(ie,He){return ie!==se?!1:He!==xe},Ln=function(ie,He,tt){return ie===Mt?Oa(He)||_n(He,tt):Oa(ie)?!0:!!(ie===se&&_n(ie,He))},jn=function(ie,He,tt){return ie===Nr||ie===Mt?An(He)?!0:He===_r&&An(tt):ie===_r?An(He):An(ie)},ni=function(ie){var He=0,tt=1;(ie[He]===Nr||ie[He]===Mt)&&(ie[He]===Mt&&(tt=-1),He++);for(var Ot=[];An(ie[He]);)Ot.push(ie[He++]);var tr=Ot.length?parseInt(r.apply(void 0,Ot),10):0;ie[He]===_r&&He++;for(var vr=[];An(ie[He]);)vr.push(ie[He++]);var Ir=vr.length,Hr=Ir?parseInt(r.apply(void 0,vr),10):0;(ie[He]===Kn||ie[He]===Nn)&&He++;var zr=1;(ie[He]===Nr||ie[He]===Mt)&&(ie[He]===Mt&&(zr=-1),He++);for(var cn=[];An(ie[He]);)cn.push(ie[He++]);var sn=cn.length?parseInt(r.apply(void 0,cn),10):0;return tt*(tr+Hr*Math.pow(10,-Ir))*Math.pow(10,zr*sn)},di={type:Ke.LEFT_PARENTHESIS_TOKEN},Na={type:Ke.RIGHT_PARENTHESIS_TOKEN},Qi={type:Ke.COMMA_TOKEN},ma={type:Ke.SUFFIX_MATCH_TOKEN},Pa={type:Ke.PREFIX_MATCH_TOKEN},Qa={type:Ke.COLUMN_TOKEN},Wi={type:Ke.DASH_MATCH_TOKEN},Co={type:Ke.INCLUDE_MATCH_TOKEN},aa={type:Ke.LEFT_CURLY_BRACKET_TOKEN},Hi={type:Ke.RIGHT_CURLY_BRACKET_TOKEN},ga={type:Ke.SUBSTRING_MATCH_TOKEN},ha={type:Ke.BAD_URL_TOKEN},mo={type:Ke.BAD_STRING_TOKEN},Fn={type:Ke.CDO_TOKEN},$i={type:Ke.CDC_TOKEN},eo={type:Ke.COLON_TOKEN},To={type:Ke.SEMICOLON_TOKEN},uo={type:Ke.LEFT_SQUARE_BRACKET_TOKEN},rr={type:Ke.RIGHT_SQUARE_BRACKET_TOKEN},Tr={type:Ke.WHITESPACE_TOKEN},Br={type:Ke.EOF_TOKEN},Wr=function(){function $e(){this._value=[]}return $e.prototype.write=function(ie){this._value=this._value.concat(i(ie))},$e.prototype.read=function(){for(var ie=[],He=this.consumeToken();He!==Br;)ie.push(He),He=this.consumeToken();return ie},$e.prototype.consumeToken=function(){var ie=this.consumeCodePoint();switch(ie){case Pe:return this.consumeStringToken(Pe);case At:var He=this.peekCodePoint(0),tt=this.peekCodePoint(1),Ot=this.peekCodePoint(2);if(mn(He)||_n(tt,Ot)){var tr=Ln(He,tt,Ot)?wt:ct,vr=this.consumeName();return{type:Ke.HASH_TOKEN,value:vr,flags:tr}}break;case Wt:if(this.peekCodePoint(0)===rt)return this.consumeCodePoint(),ma;break;case Rt:return this.consumeStringToken(Rt);case zt:return di;case Gt:return Na;case Ar:if(this.peekCodePoint(0)===rt)return this.consumeCodePoint(),ga;break;case Nr:if(jn(ie,this.peekCodePoint(0),this.peekCodePoint(1)))return this.reconsumeCodePoint(ie),this.consumeNumericToken();break;case kr:return Qi;case Mt:var Ir=ie,Hr=this.peekCodePoint(0),zr=this.peekCodePoint(1);if(jn(Ir,Hr,zr))return this.reconsumeCodePoint(ie),this.consumeNumericToken();if(Ln(Ir,Hr,zr))return this.reconsumeCodePoint(ie),this.consumeIdentLikeToken();if(Hr===Mt&&zr===ht)return this.consumeCodePoint(),this.consumeCodePoint(),$i;break;case _r:if(jn(ie,this.peekCodePoint(0),this.peekCodePoint(1)))return this.reconsumeCodePoint(ie),this.consumeNumericToken();break;case $:if(this.peekCodePoint(0)===Ar)for(this.consumeCodePoint();;){var cn=this.consumeCodePoint();if(cn===Ar&&(cn=this.consumeCodePoint(),cn===$))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(),Fn;break;case Et:var sn=this.peekCodePoint(0),kn=this.peekCodePoint(1),si=this.peekCodePoint(2);if(Ln(sn,kn,si)){var vr=this.consumeName();return{type:Ke.AT_KEYWORD_TOKEN,value:vr}}break;case pt:return uo;case se:if(_n(ie,this.peekCodePoint(0)))return this.reconsumeCodePoint(ie),this.consumeIdentLikeToken();break;case vt:return rr;case Nt:if(this.peekCodePoint(0)===rt)return this.consumeCodePoint(),Pa;break;case _t:return aa;case Ht:return Hi;case Tn:case Yn:var zn=this.peekCodePoint(0),fi=this.peekCodePoint(1);return zn===Nr&&(ia(fi)||fi===gt)&&(this.consumeCodePoint(),this.consumeUnicodeRangeToken()),this.reconsumeCodePoint(ie),this.consumeIdentLikeToken();case kt:if(this.peekCodePoint(0)===rt)return this.consumeCodePoint(),Wi;if(this.peekCodePoint(0)===kt)return this.consumeCodePoint(),Qa;break;case ir:if(this.peekCodePoint(0)===rt)return this.consumeCodePoint(),Co;break;case xr:return Br}return Gn(ie)?(this.consumeWhiteSpace(),Tr):An(ie)?(this.reconsumeCodePoint(ie),this.consumeNumericToken()):Oa(ie)?(this.reconsumeCodePoint(ie),this.consumeIdentLikeToken()):{type:Ke.DELIM_TOKEN,value:r(ie)}},$e.prototype.consumeCodePoint=function(){var ie=this._value.shift();return typeof ie=="undefined"?-1:ie},$e.prototype.reconsumeCodePoint=function(ie){this._value.unshift(ie)},$e.prototype.peekCodePoint=function(ie){return ie>=this._value.length?-1:this._value[ie]},$e.prototype.consumeUnicodeRangeToken=function(){for(var ie=[],He=this.consumeCodePoint();ia(He)&&ie.length<6;)ie.push(He),He=this.consumeCodePoint();for(var tt=!1;He===gt&&ie.length<6;)ie.push(He),He=this.consumeCodePoint(),tt=!0;if(tt){var Ot=parseInt(r.apply(void 0,ie.map(function(Hr){return Hr===gt?Yr:Hr})),16),tr=parseInt(r.apply(void 0,ie.map(function(Hr){return Hr===gt?qn:Hr})),16);return{type:Ke.UNICODE_RANGE_TOKEN,start:Ot,end:tr}}var vr=parseInt(r.apply(void 0,ie),16);if(this.peekCodePoint(0)===Mt&&ia(this.peekCodePoint(1))){this.consumeCodePoint(),He=this.consumeCodePoint();for(var Ir=[];ia(He)&&Ir.length<6;)Ir.push(He),He=this.consumeCodePoint();var tr=parseInt(r.apply(void 0,Ir),16);return{type:Ke.UNICODE_RANGE_TOKEN,start:vr,end:tr}}else return{type:Ke.UNICODE_RANGE_TOKEN,start:vr,end:vr}},$e.prototype.consumeIdentLikeToken=function(){var ie=this.consumeName();return ie.toLowerCase()==="url"&&this.peekCodePoint(0)===zt?(this.consumeCodePoint(),this.consumeUrlToken()):this.peekCodePoint(0)===zt?(this.consumeCodePoint(),{type:Ke.FUNCTION_TOKEN,value:ie}):{type:Ke.IDENT_TOKEN,value:ie}},$e.prototype.consumeUrlToken=function(){var ie=[];if(this.consumeWhiteSpace(),this.peekCodePoint(0)===xr)return{type:Ke.URL_TOKEN,value:""};var He=this.peekCodePoint(0);if(He===Rt||He===Pe){var tt=this.consumeStringToken(this.consumeCodePoint());return tt.type===Ke.STRING_TOKEN&&(this.consumeWhiteSpace(),this.peekCodePoint(0)===xr||this.peekCodePoint(0)===Gt)?(this.consumeCodePoint(),{type:Ke.URL_TOKEN,value:tt.value}):(this.consumeBadUrlRemnants(),ha)}for(;;){var Ot=this.consumeCodePoint();if(Ot===xr||Ot===Gt)return{type:Ke.URL_TOKEN,value:r.apply(void 0,ie)};if(Gn(Ot))return this.consumeWhiteSpace(),this.peekCodePoint(0)===xr||this.peekCodePoint(0)===Gt?(this.consumeCodePoint(),{type:Ke.URL_TOKEN,value:r.apply(void 0,ie)}):(this.consumeBadUrlRemnants(),ha);if(Ot===Pe||Ot===Rt||Ot===zt||On(Ot))return this.consumeBadUrlRemnants(),ha;if(Ot===se)if(_n(Ot,this.peekCodePoint(0)))ie.push(this.consumeEscapedCodePoint());else return this.consumeBadUrlRemnants(),ha;else ie.push(Ot)}},$e.prototype.consumeWhiteSpace=function(){for(;Gn(this.peekCodePoint(0));)this.consumeCodePoint()},$e.prototype.consumeBadUrlRemnants=function(){for(;;){var ie=this.consumeCodePoint();if(ie===Gt||ie===xr)return;_n(ie,this.peekCodePoint(0))&&this.consumeEscapedCodePoint()}},$e.prototype.consumeStringSlice=function(ie){for(var He=6e4,tt="";ie>0;){var Ot=Math.min(He,ie);tt+=r.apply(void 0,this._value.splice(0,Ot)),ie-=Ot}return this._value.shift(),tt},$e.prototype.consumeStringToken=function(ie){var He="",tt=0;do{var Ot=this._value[tt];if(Ot===xr||Ot===void 0||Ot===ie)return He+=this.consumeStringSlice(tt),{type:Ke.STRING_TOKEN,value:He};if(Ot===xe)return this._value.splice(0,tt),mo;if(Ot===se){var tr=this._value[tt+1];tr!==xr&&tr!==void 0&&(tr===xe?(He+=this.consumeStringSlice(tt),tt=-1,this._value.shift()):_n(Ot,tr)&&(He+=this.consumeStringSlice(tt),He+=r(this.consumeEscapedCodePoint()),tt=-1))}tt++}while(!0)},$e.prototype.consumeNumber=function(){var ie=[],He=Lt,tt=this.peekCodePoint(0);for((tt===Nr||tt===Mt)&&ie.push(this.consumeCodePoint());An(this.peekCodePoint(0));)ie.push(this.consumeCodePoint());tt=this.peekCodePoint(0);var Ot=this.peekCodePoint(1);if(tt===_r&&An(Ot))for(ie.push(this.consumeCodePoint(),this.consumeCodePoint()),He=de;An(this.peekCodePoint(0));)ie.push(this.consumeCodePoint());tt=this.peekCodePoint(0),Ot=this.peekCodePoint(1);var tr=this.peekCodePoint(2);if((tt===Kn||tt===Nn)&&((Ot===Nr||Ot===Mt)&&An(tr)||An(Ot)))for(ie.push(this.consumeCodePoint(),this.consumeCodePoint()),He=de;An(this.peekCodePoint(0));)ie.push(this.consumeCodePoint());return[ni(ie),He]},$e.prototype.consumeNumericToken=function(){var ie=this.consumeNumber(),He=ie[0],tt=ie[1],Ot=this.peekCodePoint(0),tr=this.peekCodePoint(1),vr=this.peekCodePoint(2);if(Ln(Ot,tr,vr)){var Ir=this.consumeName();return{type:Ke.DIMENSION_TOKEN,number:He,flags:tt,unit:Ir}}return Ot===$t?(this.consumeCodePoint(),{type:Ke.PERCENTAGE_TOKEN,number:He,flags:tt}):{type:Ke.NUMBER_TOKEN,number:He,flags:tt}},$e.prototype.consumeEscapedCodePoint=function(){var ie=this.consumeCodePoint();if(ia(ie)){for(var He=r(ie);ia(this.peekCodePoint(0))&&He.length<6;)He+=r(this.consumeCodePoint());Gn(this.peekCodePoint(0))&&this.consumeCodePoint();var tt=parseInt(He,16);return tt===0||on(tt)||tt>1114111?mr:tt}return ie===xr?mr:ie},$e.prototype.consumeName=function(){for(var ie="";;){var He=this.consumeCodePoint();if(mn(He))ie+=r(He);else if(_n(He,this.peekCodePoint(0)))ie+=r(this.consumeEscapedCodePoint());else return this.reconsumeCodePoint(He),ie}},$e}(),hn=function(){function $e(ie){this._tokens=ie}return $e.create=function(ie){var He=new Wr;return He.write(ie),new $e(He.read())},$e.parseValue=function(ie){return $e.create(ie).parseComponentValue()},$e.parseValues=function(ie){return $e.create(ie).parseComponentValues()},$e.prototype.parseComponentValue=function(){for(var ie=this.consumeToken();ie.type===Ke.WHITESPACE_TOKEN;)ie=this.consumeToken();if(ie.type===Ke.EOF_TOKEN)throw new SyntaxError("Error parsing CSS component value, unexpected EOF");this.reconsumeToken(ie);var He=this.consumeComponentValue();do ie=this.consumeToken();while(ie.type===Ke.WHITESPACE_TOKEN);if(ie.type===Ke.EOF_TOKEN)return He;throw new SyntaxError("Error parsing CSS component value, multiple values found when expecting only one")},$e.prototype.parseComponentValues=function(){for(var ie=[];;){var He=this.consumeComponentValue();if(He.type===Ke.EOF_TOKEN)return ie;ie.push(He),ie.push()}},$e.prototype.consumeComponentValue=function(){var ie=this.consumeToken();switch(ie.type){case Ke.LEFT_CURLY_BRACKET_TOKEN:case Ke.LEFT_SQUARE_BRACKET_TOKEN:case Ke.LEFT_PARENTHESIS_TOKEN:return this.consumeSimpleBlock(ie.type);case Ke.FUNCTION_TOKEN:return this.consumeFunction(ie)}return ie},$e.prototype.consumeSimpleBlock=function(ie){for(var He={type:ie,values:[]},tt=this.consumeToken();;){if(tt.type===Ke.EOF_TOKEN||Zr(tt,ie))return He;this.reconsumeToken(tt),He.values.push(this.consumeComponentValue()),tt=this.consumeToken()}},$e.prototype.consumeFunction=function(ie){for(var He={name:ie.value,values:[],type:Ke.FUNCTION};;){var tt=this.consumeToken();if(tt.type===Ke.EOF_TOKEN||tt.type===Ke.RIGHT_PARENTHESIS_TOKEN)return He;this.reconsumeToken(tt),He.values.push(this.consumeComponentValue())}},$e.prototype.consumeToken=function(){var ie=this._tokens.shift();return typeof ie=="undefined"?Br:ie},$e.prototype.reconsumeToken=function(ie){this._tokens.unshift(ie)},$e}(),it=function(ie){return ie.type===Ke.DIMENSION_TOKEN},jt=function(ie){return ie.type===Ke.NUMBER_TOKEN},Zt=function(ie){return ie.type===Ke.IDENT_TOKEN},nr=function(ie){return ie.type===Ke.STRING_TOKEN},Or=function(ie,He){return Zt(ie)&&ie.value===He},wr=function(ie){return ie.type!==Ke.WHITESPACE_TOKEN},Er=function(ie){return ie.type!==Ke.WHITESPACE_TOKEN&&ie.type!==Ke.COMMA_TOKEN},Kr=function(ie){var He=[],tt=[];return ie.forEach(function(Ot){if(Ot.type===Ke.COMMA_TOKEN){if(tt.length===0)throw new Error("Error parsing function args, zero tokens for arg");He.push(tt),tt=[];return}Ot.type!==Ke.WHITESPACE_TOKEN&&tt.push(Ot)}),tt.length&&He.push(tt),He},Zr=function(ie,He){return He===Ke.LEFT_CURLY_BRACKET_TOKEN&&ie.type===Ke.RIGHT_CURLY_BRACKET_TOKEN||He===Ke.LEFT_SQUARE_BRACKET_TOKEN&&ie.type===Ke.RIGHT_SQUARE_BRACKET_TOKEN?!0:He===Ke.LEFT_PARENTHESIS_TOKEN&&ie.type===Ke.RIGHT_PARENTHESIS_TOKEN},Jr=function(ie){return ie.type===Ke.NUMBER_TOKEN||ie.type===Ke.DIMENSION_TOKEN},an=function(ie){return ie.type===Ke.PERCENTAGE_TOKEN||Jr(ie)},xt=function(ie){return ie.length>1?[ie[0],ie[1]]:[ie[0]]},Vt={type:Ke.NUMBER_TOKEN,number:0,flags:Lt},sr={type:Ke.PERCENTAGE_TOKEN,number:50,flags:Lt},br={type:Ke.PERCENTAGE_TOKEN,number:100,flags:Lt},Mr=function(ie,He,tt){var Ot=ie[0],tr=ie[1];return[Dr(Ot,He),Dr(typeof tr!="undefined"?tr:Ot,tt)]},Dr=function(ie,He){if(ie.type===Ke.PERCENTAGE_TOKEN)return ie.number/100*He;if(it(ie))switch(ie.unit){case"rem":case"em":return 16*ie.number;case"px":default:return ie.number}return ie.number},rn="deg",fn="grad",wn="rad",Hn="turn",Sn={name:"angle",parse:function(ie){if(ie.type===Ke.DIMENSION_TOKEN)switch(ie.unit){case rn:return Math.PI*ie.number/180;case fn:return Math.PI/200*ie.number;case wn:return ie.number;case Hn:return Math.PI*2*ie.number}throw new Error("Unsupported angle type")}},bn=function(ie){return ie.type===Ke.DIMENSION_TOKEN&&(ie.unit===rn||ie.unit===fn||ie.unit===wn||ie.unit===Hn)},Mn=function(ie){var He=ie.filter(Zt).map(function(tt){return tt.value}).join(" ");switch(He){case"to bottom right":case"to right bottom":case"left top":case"top left":return[Vt,Vt];case"to top":case"bottom":return vn(0);case"to bottom left":case"to left bottom":case"right top":case"top right":return[Vt,br];case"to right":case"left":return vn(90);case"to top left":case"to left top":case"right bottom":case"bottom right":return[br,br];case"to bottom":case"top":return vn(180);case"to top right":case"to right top":case"left bottom":case"bottom left":return[br,Vt];case"to left":case"right":return vn(270)}return 0},vn=function(ie){return Math.PI*ie/180},Rn={name:"color",parse:function(ie){if(ie.type===Ke.FUNCTION){var He=xi[ie.name];if(typeof He=="undefined")throw new Error('Attempting to parse an unsupported color function "'+ie.name+'"');return He(ie.values)}if(ie.type===Ke.HASH_TOKEN){if(ie.value.length===3){var tt=ie.value.substring(0,1),Ot=ie.value.substring(1,2),tr=ie.value.substring(2,3);return Xn(parseInt(tt+tt,16),parseInt(Ot+Ot,16),parseInt(tr+tr,16),1)}if(ie.value.length===4){var tt=ie.value.substring(0,1),Ot=ie.value.substring(1,2),tr=ie.value.substring(2,3),vr=ie.value.substring(3,4);return Xn(parseInt(tt+tt,16),parseInt(Ot+Ot,16),parseInt(tr+tr,16),parseInt(vr+vr,16)/255)}if(ie.value.length===6){var tt=ie.value.substring(0,2),Ot=ie.value.substring(2,4),tr=ie.value.substring(4,6);return Xn(parseInt(tt,16),parseInt(Ot,16),parseInt(tr,16),1)}if(ie.value.length===8){var tt=ie.value.substring(0,2),Ot=ie.value.substring(2,4),tr=ie.value.substring(4,6),vr=ie.value.substring(6,8);return Xn(parseInt(tt,16),parseInt(Ot,16),parseInt(tr,16),parseInt(vr,16)/255)}}if(ie.type===Ke.IDENT_TOKEN){var Ir=_i[ie.value.toUpperCase()];if(typeof Ir!="undefined")return Ir}return _i.TRANSPARENT}},En=function(ie){return(255&ie)===0},In=function(ie){var He=255&ie,tt=255&ie>>8,Ot=255&ie>>16,tr=255&ie>>24;return He<255?"rgba("+tr+","+Ot+","+tt+","+He/255+")":"rgb("+tr+","+Ot+","+tt+")"},Xn=function(ie,He,tt,Ot){return(ie<<24|He<<16|tt<<8|Math.round(Ot*255)<<0)>>>0},ai=function(ie,He){if(ie.type===Ke.NUMBER_TOKEN)return ie.number;if(ie.type===Ke.PERCENTAGE_TOKEN){var tt=He===3?1:255;return He===3?ie.number/100*tt:Math.round(ie.number/100*tt)}return 0},ri=function(ie){var He=ie.filter(Er);if(He.length===3){var tt=He.map(ai),Ot=tt[0],tr=tt[1],vr=tt[2];return Xn(Ot,tr,vr,1)}if(He.length===4){var Ir=He.map(ai),Ot=Ir[0],tr=Ir[1],vr=Ir[2],Hr=Ir[3];return Xn(Ot,tr,vr,Hr)}return 0};function Di($e,ie,He){return He<0&&(He+=1),He>=1&&(He-=1),He<1/6?(ie-$e)*He*6+$e:He<1/2?ie:He<2/3?(ie-$e)*6*(2/3-He)+$e:$e}var yi=function(ie){var He=ie.filter(Er),tt=He[0],Ot=He[1],tr=He[2],vr=He[3],Ir=(tt.type===Ke.NUMBER_TOKEN?vn(tt.number):Sn.parse(tt))/(Math.PI*2),Hr=an(Ot)?Ot.number/100:0,zr=an(tr)?tr.number/100:0,cn=typeof vr!="undefined"&&an(vr)?Dr(vr,1):1;if(Hr===0)return Xn(zr*255,zr*255,zr*255,1);var sn=zr<=.5?zr*(Hr+1):zr+Hr-zr*Hr,kn=zr*2-sn,si=Di(kn,sn,Ir+1/3),zn=Di(kn,sn,Ir),fi=Di(kn,sn,Ir-1/3);return Xn(si*255,zn*255,fi*255,cn)},xi={hsl:yi,hsla:yi,rgb:ri,rgba:ri},_i={ALICEBLUE:4042850303,ANTIQUEWHITE:4209760255,AQUA:16777215,AQUAMARINE:2147472639,AZURE:4043309055,BEIGE:4126530815,BISQUE:4293182719,BLACK:255,BLANCHEDALMOND:4293643775,BLUE:65535,BLUEVIOLET:2318131967,BROWN:2771004159,BURLYWOOD:3736635391,CADETBLUE:1604231423,CHARTREUSE:2147418367,CHOCOLATE:3530104575,CORAL:4286533887,CORNFLOWERBLUE:1687547391,CORNSILK:4294499583,CRIMSON:3692313855,CYAN:16777215,DARKBLUE:35839,DARKCYAN:9145343,DARKGOLDENROD:3095837695,DARKGRAY:2846468607,DARKGREEN:6553855,DARKGREY:2846468607,DARKKHAKI:3182914559,DARKMAGENTA:2332068863,DARKOLIVEGREEN:1433087999,DARKORANGE:4287365375,DARKORCHID:2570243327,DARKRED:2332033279,DARKSALMON:3918953215,DARKSEAGREEN:2411499519,DARKSLATEBLUE:1211993087,DARKSLATEGRAY:793726975,DARKSLATEGREY:793726975,DARKTURQUOISE:13554175,DARKVIOLET:2483082239,DEEPPINK:4279538687,DEEPSKYBLUE:12582911,DIMGRAY:1768516095,DIMGREY:1768516095,DODGERBLUE:512819199,FIREBRICK:2988581631,FLORALWHITE:4294635775,FORESTGREEN:579543807,FUCHSIA:4278255615,GAINSBORO:3705462015,GHOSTWHITE:4177068031,GOLD:4292280575,GOLDENROD:3668254975,GRAY:2155905279,GREEN:8388863,GREENYELLOW:2919182335,GREY:2155905279,HONEYDEW:4043305215,HOTPINK:4285117695,INDIANRED:3445382399,INDIGO:1258324735,IVORY:4294963455,KHAKI:4041641215,LAVENDER:3873897215,LAVENDERBLUSH:4293981695,LAWNGREEN:2096890111,LEMONCHIFFON:4294626815,LIGHTBLUE:2916673279,LIGHTCORAL:4034953471,LIGHTCYAN:3774873599,LIGHTGOLDENRODYELLOW:4210742015,LIGHTGRAY:3553874943,LIGHTGREEN:2431553791,LIGHTGREY:3553874943,LIGHTPINK:4290167295,LIGHTSALMON:4288707327,LIGHTSEAGREEN:548580095,LIGHTSKYBLUE:2278488831,LIGHTSLATEGRAY:2005441023,LIGHTSLATEGREY:2005441023,LIGHTSTEELBLUE:2965692159,LIGHTYELLOW:4294959359,LIME:16711935,LIMEGREEN:852308735,LINEN:4210091775,MAGENTA:4278255615,MAROON:2147483903,MEDIUMAQUAMARINE:1724754687,MEDIUMBLUE:52735,MEDIUMORCHID:3126187007,MEDIUMPURPLE:2473647103,MEDIUMSEAGREEN:1018393087,MEDIUMSLATEBLUE:2070474495,MEDIUMSPRINGGREEN:16423679,MEDIUMTURQUOISE:1221709055,MEDIUMVIOLETRED:3340076543,MIDNIGHTBLUE:421097727,MINTCREAM:4127193855,MISTYROSE:4293190143,MOCCASIN:4293178879,NAVAJOWHITE:4292783615,NAVY:33023,OLDLACE:4260751103,OLIVE:2155872511,OLIVEDRAB:1804477439,ORANGE:4289003775,ORANGERED:4282712319,ORCHID:3664828159,PALEGOLDENROD:4008225535,PALEGREEN:2566625535,PALETURQUOISE:2951671551,PALEVIOLETRED:3681588223,PAPAYAWHIP:4293907967,PEACHPUFF:4292524543,PERU:3448061951,PINK:4290825215,PLUM:3718307327,POWDERBLUE:2967529215,PURPLE:2147516671,REBECCAPURPLE:1714657791,RED:4278190335,ROSYBROWN:3163525119,ROYALBLUE:1097458175,SADDLEBROWN:2336560127,SALMON:4202722047,SANDYBROWN:4104413439,SEAGREEN:780883967,SEASHELL:4294307583,SIENNA:2689740287,SILVER:3233857791,SKYBLUE:2278484991,SLATEBLUE:1784335871,SLATEGRAY:1887473919,SLATEGREY:1887473919,SNOW:4294638335,SPRINGGREEN:16744447,STEELBLUE:1182971135,TAN:3535047935,TEAL:8421631,THISTLE:3636451583,TOMATO:4284696575,TRANSPARENT:0,TURQUOISE:1088475391,VIOLET:4001558271,WHEAT:4125012991,WHITE:4294967295,WHITESMOKE:4126537215,YELLOW:4294902015,YELLOWGREEN:2597139199},Un;(function($e){$e[$e.VALUE=0]="VALUE",$e[$e.LIST=1]="LIST",$e[$e.IDENT_VALUE=2]="IDENT_VALUE",$e[$e.TYPE_VALUE=3]="TYPE_VALUE",$e[$e.TOKEN_VALUE=4]="TOKEN_VALUE"})(Un||(Un={}));var Ri;(function($e){$e[$e.BORDER_BOX=0]="BORDER_BOX",$e[$e.PADDING_BOX=1]="PADDING_BOX",$e[$e.CONTENT_BOX=2]="CONTENT_BOX"})(Ri||(Ri={}));var fa={name:"background-clip",initialValue:"border-box",prefix:!1,type:Un.LIST,parse:function(ie){return ie.map(function(He){if(Zt(He))switch(He.value){case"padding-box":return Ri.PADDING_BOX;case"content-box":return Ri.CONTENT_BOX}return Ri.BORDER_BOX})}},Ui={name:"background-color",initialValue:"transparent",prefix:!1,type:Un.TYPE_VALUE,format:"color"},Mi=function(ie){var He=Rn.parse(ie[0]),tt=ie[1];return tt&&an(tt)?{color:He,stop:tt}:{color:He,stop:null}},mi=function(ie,He){var tt=ie[0],Ot=ie[ie.length-1];tt.stop===null&&(tt.stop=Vt),Ot.stop===null&&(Ot.stop=br);for(var tr=[],vr=0,Ir=0;Ir<ie.length;Ir++){var Hr=ie[Ir].stop;if(Hr!==null){var zr=Dr(Hr,He);zr>vr?tr.push(zr):tr.push(vr),vr=zr}else tr.push(null)}for(var cn=null,Ir=0;Ir<tr.length;Ir++){var sn=tr[Ir];if(sn===null)cn===null&&(cn=Ir);else if(cn!==null){for(var kn=Ir-cn,si=tr[cn-1],zn=(sn-si)/(kn+1),fi=1;fi<=kn;fi++)tr[cn+fi-1]=zn*fi;cn=null}}return ie.map(function(da,Ti){var na=da.color;return{color:na,stop:Math.max(Math.min(1,tr[Ti]/He),0)}})},hi=function(ie,He,tt){var Ot=He/2,tr=tt/2,vr=Dr(ie[0],He)-Ot,Ir=tr-Dr(ie[1],tt);return(Math.atan2(Ir,vr)+Math.PI*2)%(Math.PI*2)},qi=function(ie,He,tt){var Ot=typeof ie=="number"?ie:hi(ie,He,tt),tr=Math.abs(He*Math.sin(Ot))+Math.abs(tt*Math.cos(Ot)),vr=He/2,Ir=tt/2,Hr=tr/2,zr=Math.sin(Ot-Math.PI/2)*Hr,cn=Math.cos(Ot-Math.PI/2)*Hr;return[tr,vr-cn,vr+cn,Ir-zr,Ir+zr]},va=function(ie,He){return Math.sqrt(ie*ie+He*He)},Ea=function(ie,He,tt,Ot,tr){var vr=[[0,0],[0,He],[ie,0],[ie,He]];return vr.reduce(function(Ir,Hr){var zr=Hr[0],cn=Hr[1],sn=va(tt-zr,Ot-cn);return(tr?sn<Ir.optimumDistance:sn>Ir.optimumDistance)?{optimumCorner:Hr,optimumDistance:sn}:Ir},{optimumDistance:tr?Infinity:-Infinity,optimumCorner:null}).optimumCorner},ya=function(ie,He,tt,Ot,tr){var vr=0,Ir=0;switch(ie.size){case ki.CLOSEST_SIDE:ie.shape===Ia.CIRCLE?vr=Ir=Math.min(Math.abs(He),Math.abs(He-Ot),Math.abs(tt),Math.abs(tt-tr)):ie.shape===Ia.ELLIPSE&&(vr=Math.min(Math.abs(He),Math.abs(He-Ot)),Ir=Math.min(Math.abs(tt),Math.abs(tt-tr)));break;case ki.CLOSEST_CORNER:if(ie.shape===Ia.CIRCLE)vr=Ir=Math.min(va(He,tt),va(He,tt-tr),va(He-Ot,tt),va(He-Ot,tt-tr));else if(ie.shape===Ia.ELLIPSE){var Hr=Math.min(Math.abs(tt),Math.abs(tt-tr))/Math.min(Math.abs(He),Math.abs(He-Ot)),zr=Ea(Ot,tr,He,tt,!0),cn=zr[0],sn=zr[1];vr=va(cn-He,(sn-tt)/Hr),Ir=Hr*vr}break;case ki.FARTHEST_SIDE:ie.shape===Ia.CIRCLE?vr=Ir=Math.max(Math.abs(He),Math.abs(He-Ot),Math.abs(tt),Math.abs(tt-tr)):ie.shape===Ia.ELLIPSE&&(vr=Math.max(Math.abs(He),Math.abs(He-Ot)),Ir=Math.max(Math.abs(tt),Math.abs(tt-tr)));break;case ki.FARTHEST_CORNER:if(ie.shape===Ia.CIRCLE)vr=Ir=Math.max(va(He,tt),va(He,tt-tr),va(He-Ot,tt),va(He-Ot,tt-tr));else if(ie.shape===Ia.ELLIPSE){var Hr=Math.max(Math.abs(tt),Math.abs(tt-tr))/Math.max(Math.abs(He),Math.abs(He-Ot)),kn=Ea(Ot,tr,He,tt,!1),cn=kn[0],sn=kn[1];vr=va(cn-He,(sn-tt)/Hr),Ir=Hr*vr}break}return Array.isArray(ie.size)&&(vr=Dr(ie.size[0],Ot),Ir=ie.size.length===2?Dr(ie.size[1],tr):vr),[vr,Ir]},oa=function(ie){var He=vn(180),tt=[];return Kr(ie).forEach(function(Ot,tr){if(tr===0){var vr=Ot[0];if(vr.type===Ke.IDENT_TOKEN&&vr.value==="to"){He=Mn(Ot);return}else if(bn(vr)){He=Sn.parse(vr);return}}var Ir=Mi(Ot);tt.push(Ir)}),{angle:He,stops:tt,type:Ca.LINEAR_GRADIENT}},sa=function(ie){var He=vn(180),tt=[];return Kr(ie).forEach(function(Ot,tr){if(tr===0){var vr=Ot[0];if(vr.type===Ke.IDENT_TOKEN&&["top","left","right","bottom"].indexOf(vr.value)!==-1){He=Mn(Ot);return}else if(bn(vr)){He=(Sn.parse(vr)+vn(270))%vn(360);return}}var Ir=Mi(Ot);tt.push(Ir)}),{angle:He,stops:tt,type:Ca.LINEAR_GRADIENT}},Ni=function(ie){var He=123;if(ie.createRange){var tt=ie.createRange();if(tt.getBoundingClientRect){var Ot=ie.createElement("boundtest");Ot.style.height=He+"px",Ot.style.display="block",ie.body.appendChild(Ot),tt.selectNode(Ot);var tr=tt.getBoundingClientRect(),vr=Math.round(tr.height);if(ie.body.removeChild(Ot),vr===He)return!0}}return!1},$n=function(){return typeof new Image().crossOrigin!="undefined"},Ai=function(){return typeof new XMLHttpRequest().responseType=="string"},Ii=function(ie){var He=new Image,tt=ie.createElement("canvas"),Ot=tt.getContext("2d");if(!Ot)return!1;He.src="data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg'></svg>";try{Ot.drawImage(He,0,0),tt.toDataURL()}catch(tr){return!1}return!0},Vi=function(ie){return ie[0]===0&&ie[1]===255&&ie[2]===0&&ie[3]===255},Xi=function(ie){var He=ie.createElement("canvas"),tt=100;He.width=tt,He.height=tt;var Ot=He.getContext("2d");if(!Ot)return Promise.reject(!1);Ot.fillStyle="rgb(0, 255, 0)",Ot.fillRect(0,0,tt,tt);var tr=new Image,vr=He.toDataURL();tr.src=vr;var Ir=bi(tt,tt,0,0,tr);return Ot.fillStyle="red",Ot.fillRect(0,0,tt,tt),Aa(Ir).then(function(Hr){Ot.drawImage(Hr,0,0);var zr=Ot.getImageData(0,0,tt,tt).data;Ot.fillStyle="red",Ot.fillRect(0,0,tt,tt);var cn=ie.createElement("div");return cn.style.backgroundImage="url("+vr+")",cn.style.height=tt+"px",Vi(zr)?Aa(bi(tt,tt,0,0,cn)):Promise.reject(!1)}).then(function(Hr){return Ot.drawImage(Hr,0,0),Vi(Ot.getImageData(0,0,tt,tt).data)}).catch(function(){return!1})},bi=function(ie,He,tt,Ot,tr){var vr="http://www.w3.org/2000/svg",Ir=document.createElementNS(vr,"svg"),Hr=document.createElementNS(vr,"foreignObject");return Ir.setAttributeNS(null,"width",ie.toString()),Ir.setAttributeNS(null,"height",He.toString()),Hr.setAttributeNS(null,"width","100%"),Hr.setAttributeNS(null,"height","100%"),Hr.setAttributeNS(null,"x",tt.toString()),Hr.setAttributeNS(null,"y",Ot.toString()),Hr.setAttributeNS(null,"externalResourcesRequired","true"),Ir.appendChild(Hr),Hr.appendChild(tr),Ir},Aa=function(ie){return new Promise(function(He,tt){var Ot=new Image;Ot.onload=function(){return He(Ot)},Ot.onerror=tt,Ot.src="data:image/svg+xml;charset=utf-8,"+encodeURIComponent(new XMLSerializer().serializeToString(ie))})},ca={get SUPPORT_RANGE_BOUNDS(){var $e=Ni(document);return Object.defineProperty(ca,"SUPPORT_RANGE_BOUNDS",{value:$e}),$e},get SUPPORT_SVG_DRAWING(){var $e=Ii(document);return Object.defineProperty(ca,"SUPPORT_SVG_DRAWING",{value:$e}),$e},get SUPPORT_FOREIGNOBJECT_DRAWING(){var $e=typeof Array.from=="function"&&typeof window.fetch=="function"?Xi(document):Promise.resolve(!1);return Object.defineProperty(ca,"SUPPORT_FOREIGNOBJECT_DRAWING",{value:$e}),$e},get SUPPORT_CORS_IMAGES(){var $e=$n();return Object.defineProperty(ca,"SUPPORT_CORS_IMAGES",{value:$e}),$e},get SUPPORT_RESPONSE_TYPE(){var $e=Ai();return Object.defineProperty(ca,"SUPPORT_RESPONSE_TYPE",{value:$e}),$e},get SUPPORT_CORS_XHR(){var $e="withCredentials"in new XMLHttpRequest;return Object.defineProperty(ca,"SUPPORT_CORS_XHR",{value:$e}),$e}},la=function(){function $e(ie){var He=ie.id,tt=ie.enabled;this.id=He,this.enabled=tt,this.start=Date.now()}return $e.prototype.debug=function(){for(var ie=[],He=0;He<arguments.length;He++)ie[He]=arguments[He];this.enabled&&(typeof window!="undefined"&&window.console&&typeof console.debug=="function"?console.debug.apply(console,[this.id,this.getTime()+"ms"].concat(ie)):this.info.apply(this,ie))},$e.prototype.getTime=function(){return Date.now()-this.start},$e.create=function(ie){$e.instances[ie.id]=new $e(ie)},$e.destroy=function(ie){delete $e.instances[ie]},$e.getInstance=function(ie){var He=$e.instances[ie];if(typeof He=="undefined")throw new Error("No logger instance found with id "+ie);return He},$e.prototype.info=function(){for(var ie=[],He=0;He<arguments.length;He++)ie[He]=arguments[He];this.enabled&&(typeof window!="undefined"&&window.console&&typeof console.info=="function"&&console.info.apply(console,[this.id,this.getTime()+"ms"].concat(ie)))},$e.prototype.error=function(){for(var ie=[],He=0;He<arguments.length;He++)ie[He]=arguments[He];this.enabled&&(typeof window!="undefined"&&window.console&&typeof console.error=="function"?console.error.apply(console,[this.id,this.getTime()+"ms"].concat(ie)):this.info.apply(this,ie))},$e.instances={},$e}(),gi=function(){function $e(){}return $e.create=function(ie,He){return $e._caches[ie]=new Ba(ie,He)},$e.destroy=function(ie){delete $e._caches[ie]},$e.open=function(ie){var He=$e._caches[ie];if(typeof He!="undefined")return He;throw new Error('Cache with key "'+ie+'" not found')},$e.getOrigin=function(ie){var He=$e._link;return He?(He.href=ie,He.href=He.href,He.protocol+He.hostname+He.port):"about:blank"},$e.isSameOrigin=function(ie){return $e.getOrigin(ie)===$e._origin},$e.setContext=function(ie){$e._link=ie.document.createElement("a"),$e._origin=$e.getOrigin(ie.location.href)},$e.getInstance=function(){var ie=$e._current;if(ie===null)throw new Error("No cache instance attached");return ie},$e.attachInstance=function(ie){$e._current=ie},$e.detachInstance=function(){$e._current=null},$e._caches={},$e._origin="about:blank",$e._current=null,$e}(),Ba=function(){function $e(ie,He){this.id=ie,this._options=He,this._cache={}}return $e.prototype.addImage=function(ie){var He=Promise.resolve();return this.has(ie)||(ba(ie)||Xa(ie))&&(this._cache[ie]=this.loadImage(ie)),He},$e.prototype.match=function(ie){return this._cache[ie]},$e.prototype.loadImage=function(ie){return m(this,void 0,void 0,function(){var He,tt,Ot,tr,vr=this;return v(this,function(Ir){switch(Ir.label){case 0:return He=gi.isSameOrigin(ie),tt=!zi(ie)&&this._options.useCORS===!0&&ca.SUPPORT_CORS_IMAGES&&!He,Ot=!zi(ie)&&!He&&typeof this._options.proxy=="string"&&ca.SUPPORT_CORS_XHR&&!tt,!He&&this._options.allowTaint===!1&&!zi(ie)&&!Ot&&!tt?[2]:(tr=ie,Ot?[4,this.proxy(tr)]:[3,2]);case 1:tr=Ir.sent(),Ir.label=2;case 2:return la.getInstance(this.id).debug("Added image "+ie.substring(0,256)),[4,new Promise(function(Hr,zr){var cn=new Image;cn.onload=function(){return Hr(cn)},cn.onerror=zr,(Ki(tr)||tt)&&(cn.crossOrigin="anonymous"),cn.src=tr,cn.complete===!0&&setTimeout(function(){return Hr(cn)},500),vr._options.imageTimeout>0&&setTimeout(function(){return zr("Timed out ("+vr._options.imageTimeout+"ms) loading image")},vr._options.imageTimeout)})];case 3:return[2,Ir.sent()]}})})},$e.prototype.has=function(ie){return typeof this._cache[ie]!="undefined"},$e.prototype.keys=function(){return Promise.resolve(Object.keys(this._cache))},$e.prototype.proxy=function(ie){var He=this,tt=this._options.proxy;if(!tt)throw new Error("No proxy defined");var Ot=ie.substring(0,256);return new Promise(function(tr,vr){var Ir=ca.SUPPORT_RESPONSE_TYPE?"blob":"text",Hr=new XMLHttpRequest;if(Hr.onload=function(){if(Hr.status===200)if(Ir==="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 "+Ot+" with status code "+Hr.status)},Hr.onerror=vr,Hr.open("GET",tt+"?url="+encodeURIComponent(ie)+"&responseType="+Ir),Ir!=="text"&&Hr instanceof XMLHttpRequest&&(Hr.responseType=Ir),He._options.imageTimeout){var zr=He._options.imageTimeout;Hr.timeout=zr,Hr.ontimeout=function(){return vr("Timed out ("+zr+"ms) proxying "+Ot)}}Hr.send()})},$e}(),Ma=/^data:image\/svg\+xml/i,ra=/^data:image\/.*;base64,/i,Yi=/^data:image\/.*/i,Xa=function(ie){return ca.SUPPORT_SVG_DRAWING||!Ua(ie)},zi=function(ie){return Yi.test(ie)},Ki=function(ie){return ra.test(ie)},ba=function(ie){return ie.substr(0,4)==="blob"},Ua=function(ie){return ie.substr(-3).toLowerCase()==="svg"||Ma.test(ie)},wa=function(ie){var He=vn(180),tt=[],Ot=Ca.LINEAR_GRADIENT,tr=Ia.CIRCLE,vr=ki.FARTHEST_CORNER,Ir=[];return Kr(ie).forEach(function(Hr,zr){var cn=Hr[0];if(zr===0){if(Zt(cn)&&cn.value==="linear"){Ot=Ca.LINEAR_GRADIENT;return}else if(Zt(cn)&&cn.value==="radial"){Ot=Ca.RADIAL_GRADIENT;return}}if(cn.type===Ke.FUNCTION){if(cn.name==="from"){var sn=Rn.parse(cn.values[0]);tt.push({stop:Vt,color:sn})}else if(cn.name==="to"){var sn=Rn.parse(cn.values[0]);tt.push({stop:br,color:sn})}else if(cn.name==="color-stop"){var kn=cn.values.filter(Er);if(kn.length===2){var sn=Rn.parse(kn[1]),si=kn[0];jt(si)&&tt.push({stop:{type:Ke.PERCENTAGE_TOKEN,number:si.number*100,flags:si.flags},color:sn})}}}}),Ot===Ca.LINEAR_GRADIENT?{angle:(He+vn(180))%vn(360),stops:tt,type:Ot}:{size:vr,shape:tr,stops:tt,position:Ir,type:Ot}},vi="closest-side",Ya="farthest-side",za="closest-corner",pa="farthest-corner",Oi="circle",So="ellipse",Ka="cover",ja="contain",qa=function(ie){var He=Ia.CIRCLE,tt=ki.FARTHEST_CORNER,Ot=[],tr=[];return Kr(ie).forEach(function(vr,Ir){var Hr=!0;if(Ir===0){var zr=!1;Hr=vr.reduce(function(sn,kn){if(zr)if(Zt(kn))switch(kn.value){case"center":return tr.push(sr),sn;case"top":case"left":return tr.push(Vt),sn;case"right":case"bottom":return tr.push(br),sn}else(an(kn)||Jr(kn))&&tr.push(kn);else if(Zt(kn))switch(kn.value){case Oi:return He=Ia.CIRCLE,!1;case So:return He=Ia.ELLIPSE,!1;case"at":return zr=!0,!1;case vi:return tt=ki.CLOSEST_SIDE,!1;case Ka:case Ya:return tt=ki.FARTHEST_SIDE,!1;case ja:case za:return tt=ki.CLOSEST_CORNER,!1;case pa:return tt=ki.FARTHEST_CORNER,!1}else if(Jr(kn)||an(kn))return Array.isArray(tt)||(tt=[]),tt.push(kn),!1;return sn},Hr)}if(Hr){var cn=Mi(vr);Ot.push(cn)}}),{size:tt,shape:He,stops:Ot,position:tr,type:Ca.RADIAL_GRADIENT}},ho=function(ie){var He=Ia.CIRCLE,tt=ki.FARTHEST_CORNER,Ot=[],tr=[];return Kr(ie).forEach(function(vr,Ir){var Hr=!0;if(Ir===0?Hr=vr.reduce(function(cn,sn){if(Zt(sn))switch(sn.value){case"center":return tr.push(sr),!1;case"top":case"left":return tr.push(Vt),!1;case"right":case"bottom":return tr.push(br),!1}else if(an(sn)||Jr(sn))return tr.push(sn),!1;return cn},Hr):Ir===1&&(Hr=vr.reduce(function(cn,sn){if(Zt(sn))switch(sn.value){case Oi:return He=Ia.CIRCLE,!1;case So:return He=Ia.ELLIPSE,!1;case ja:case vi:return tt=ki.CLOSEST_SIDE,!1;case Ya:return tt=ki.FARTHEST_SIDE,!1;case za:return tt=ki.CLOSEST_CORNER,!1;case Ka:case pa:return tt=ki.FARTHEST_CORNER,!1}else if(Jr(sn)||an(sn))return Array.isArray(tt)||(tt=[]),tt.push(sn),!1;return cn},Hr)),Hr){var zr=Mi(vr);Ot.push(zr)}}),{size:tt,shape:He,stops:Ot,position:tr,type:Ca.RADIAL_GRADIENT}},Ca;(function($e){$e[$e.URL=0]="URL",$e[$e.LINEAR_GRADIENT=1]="LINEAR_GRADIENT",$e[$e.RADIAL_GRADIENT=2]="RADIAL_GRADIENT"})(Ca||(Ca={}));var to=function(ie){return ie.type===Ca.LINEAR_GRADIENT},_o=function(ie){return ie.type===Ca.RADIAL_GRADIENT},Ia;(function($e){$e[$e.CIRCLE=0]="CIRCLE",$e[$e.ELLIPSE=1]="ELLIPSE"})(Ia||(Ia={}));var ki;(function($e){$e[$e.CLOSEST_SIDE=0]="CLOSEST_SIDE",$e[$e.FARTHEST_SIDE=1]="FARTHEST_SIDE",$e[$e.CLOSEST_CORNER=2]="CLOSEST_CORNER",$e[$e.FARTHEST_CORNER=3]="FARTHEST_CORNER"})(ki||(ki={}));var Za={name:"image",parse:function(ie){if(ie.type===Ke.URL_TOKEN){var He={url:ie.value,type:Ca.URL};return gi.getInstance().addImage(ie.value),He}if(ie.type===Ke.FUNCTION){var tt=pi[ie.name];if(typeof tt=="undefined")throw new Error('Attempting to parse an unsupported image function "'+ie.name+'"');return tt(ie.values)}throw new Error("Unsupported image type")}};function Da($e){return $e.type!==Ke.FUNCTION||pi[$e.name]}var pi={"linear-gradient":oa,"-moz-linear-gradient":sa,"-ms-linear-gradient":sa,"-o-linear-gradient":sa,"-webkit-linear-gradient":sa,"radial-gradient":qa,"-moz-radial-gradient":ho,"-ms-radial-gradient":ho,"-o-radial-gradient":ho,"-webkit-radial-gradient":ho,"-webkit-gradient":wa},Gi={name:"background-image",initialValue:"none",type:Un.LIST,prefix:!1,parse:function(ie){if(ie.length===0)return[];var He=ie[0];return He.type===Ke.IDENT_TOKEN&&He.value==="none"?[]:ie.filter(function(tt){return Er(tt)&&Da(tt)}).map(Za.parse)}},oo={name:"background-origin",initialValue:"border-box",prefix:!1,type:Un.LIST,parse:function(ie){return ie.map(function(He){if(Zt(He))switch(He.value){case"padding-box":return 1;case"content-box":return 2}return 0})}},go={name:"background-position",initialValue:"0% 0%",type:Un.LIST,prefix:!1,parse:function(ie){return Kr(ie).map(function(He){return He.filter(an)}).map(xt)}},fo;(function($e){$e[$e.REPEAT=0]="REPEAT",$e[$e.NO_REPEAT=1]="NO_REPEAT",$e[$e.REPEAT_X=2]="REPEAT_X",$e[$e.REPEAT_Y=3]="REPEAT_Y"})(fo||(fo={}));var Ta={name:"background-repeat",initialValue:"repeat",prefix:!1,type:Un.LIST,parse:function(ie){return Kr(ie).map(function(He){return He.filter(Zt).map(function(tt){return tt.value}).join(" ")}).map(Fi)}},Fi=function(ie){switch(ie){case"no-repeat":return fo.NO_REPEAT;case"repeat-x":case"repeat no-repeat":return fo.REPEAT_X;case"repeat-y":case"no-repeat repeat":return fo.REPEAT_Y;case"repeat":default:return fo.REPEAT}},Ra;(function($e){$e.AUTO="auto",$e.CONTAIN="contain",$e.COVER="cover"})(Ra||(Ra={}));var Vo={name:"background-size",initialValue:"0",prefix:!1,type:Un.LIST,parse:function(ie){return Kr(ie).map(function(He){return He.filter(ro)})}},ro=function(ie){return Zt(ie)||an(ie)},vo=function(ie){return{name:"border-"+ie+"-color",initialValue:"transparent",prefix:!1,type:Un.TYPE_VALUE,format:"color"}},po=vo("top"),Ji=vo("right"),xo=vo("bottom"),is=vo("left"),Zo=function(ie){return{name:"border-radius-"+ie,initialValue:"0 0",prefix:!1,type:Un.LIST,parse:function(tt){return xt(tt.filter(an))}}},Ls=Zo("top-left"),Cs=Zo("top-right"),Ts=Zo("bottom-right"),Go=Zo("bottom-left"),bo;(function($e){$e[$e.NONE=0]="NONE",$e[$e.SOLID=1]="SOLID"})(bo||(bo={}));var Ja=function(ie){return{name:"border-"+ie+"-style",initialValue:"solid",prefix:!1,type:Un.IDENT_VALUE,parse:function(tt){switch(tt){case"none":return bo.NONE}return bo.SOLID}}},Ga=Ja("top"),so=Ja("right"),ps=Ja("bottom"),Sr=Ja("left"),Xo=function(ie){return{name:"border-"+ie+"-width",initialValue:"0",type:Un.VALUE,prefix:!1,parse:function(tt){return it(tt)?tt.number:0}}},ss=Xo("top"),_s=Xo("right"),ka=Xo("bottom"),_a=Xo("left"),Oo={name:"color",initialValue:"transparent",prefix:!1,type:Un.TYPE_VALUE,format:"color"},Io={name:"display",initialValue:"inline-block",prefix:!1,type:Un.LIST,parse:function(ie){return ie.filter(Zt).reduce(function(He,tt){return He|ts(tt.value)},0)}},ts=function(ie){switch(ie){case"block":return 2;case"inline":return 4;case"run-in":return 8;case"flow":return 16;case"flow-root":return 32;case"table":return 64;case"flex":case"-webkit-flex":return 128;case"grid":case"-ms-grid":return 256;case"ruby":return 512;case"subgrid":return 1024;case"list-item":return 2048;case"table-row-group":return 4096;case"table-header-group":return 8192;case"table-footer-group":return 16384;case"table-row":return 32768;case"table-cell":return 65536;case"table-column-group":return 131072;case"table-column":return 262144;case"table-caption":return 524288;case"ruby-base":return 1048576;case"ruby-text":return 2097152;case"ruby-base-container":return 4194304;case"ruby-text-container":return 8388608;case"contents":return 16777216;case"inline-block":return 33554432;case"inline-list-item":return 67108864;case"inline-table":return 134217728;case"inline-flex":return 268435456;case"inline-grid":return 536870912}return 0},Po;(function($e){$e[$e.NONE=0]="NONE",$e[$e.LEFT=1]="LEFT",$e[$e.RIGHT=2]="RIGHT",$e[$e.INLINE_START=3]="INLINE_START",$e[$e.INLINE_END=4]="INLINE_END"})(Po||(Po={}));var rs={name:"float",initialValue:"none",prefix:!1,type:Un.IDENT_VALUE,parse:function(ie){switch(ie){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(ie){return ie.type===Ke.IDENT_TOKEN&&ie.value==="normal"?0:ie.type===Ke.NUMBER_TOKEN||ie.type===Ke.DIMENSION_TOKEN?ie.number:0}},ls;(function($e){$e.NORMAL="normal",$e.STRICT="strict"})(ls||(ls={}));var Ns={name:"line-break",initialValue:"normal",prefix:!1,type:Un.IDENT_VALUE,parse:function(ie){switch(ie){case"strict":return ls.STRICT;case"normal":default:return ls.NORMAL}}},Ds={name:"line-height",initialValue:"normal",prefix:!1,type:Un.TOKEN_VALUE},as=function(ie,He){return Zt(ie)&&ie.value==="normal"?1.2*He:ie.type===Ke.NUMBER_TOKEN?He*ie.number:an(ie)?Dr(ie,He):He},$s={name:"list-style-image",initialValue:"none",type:Un.VALUE,prefix:!1,parse:function(ie){return ie.type===Ke.IDENT_TOKEN&&ie.value==="none"?null:Za.parse(ie)}},cs;(function($e){$e[$e.INSIDE=0]="INSIDE",$e[$e.OUTSIDE=1]="OUTSIDE"})(cs||(cs={}));var Mo={name:"list-style-position",initialValue:"outside",prefix:!1,type:Un.IDENT_VALUE,parse:function(ie){switch(ie){case"inside":return cs.INSIDE;case"outside":default:return cs.OUTSIDE}}},Dn;(function($e){$e[$e.NONE=-1]="NONE",$e[$e.DISC=0]="DISC",$e[$e.CIRCLE=1]="CIRCLE",$e[$e.SQUARE=2]="SQUARE",$e[$e.DECIMAL=3]="DECIMAL",$e[$e.CJK_DECIMAL=4]="CJK_DECIMAL",$e[$e.DECIMAL_LEADING_ZERO=5]="DECIMAL_LEADING_ZERO",$e[$e.LOWER_ROMAN=6]="LOWER_ROMAN",$e[$e.UPPER_ROMAN=7]="UPPER_ROMAN",$e[$e.LOWER_GREEK=8]="LOWER_GREEK",$e[$e.LOWER_ALPHA=9]="LOWER_ALPHA",$e[$e.UPPER_ALPHA=10]="UPPER_ALPHA",$e[$e.ARABIC_INDIC=11]="ARABIC_INDIC",$e[$e.ARMENIAN=12]="ARMENIAN",$e[$e.BENGALI=13]="BENGALI",$e[$e.CAMBODIAN=14]="CAMBODIAN",$e[$e.CJK_EARTHLY_BRANCH=15]="CJK_EARTHLY_BRANCH",$e[$e.CJK_HEAVENLY_STEM=16]="CJK_HEAVENLY_STEM",$e[$e.CJK_IDEOGRAPHIC=17]="CJK_IDEOGRAPHIC",$e[$e.DEVANAGARI=18]="DEVANAGARI",$e[$e.ETHIOPIC_NUMERIC=19]="ETHIOPIC_NUMERIC",$e[$e.GEORGIAN=20]="GEORGIAN",$e[$e.GUJARATI=21]="GUJARATI",$e[$e.GURMUKHI=22]="GURMUKHI",$e[$e.HEBREW=22]="HEBREW",$e[$e.HIRAGANA=23]="HIRAGANA",$e[$e.HIRAGANA_IROHA=24]="HIRAGANA_IROHA",$e[$e.JAPANESE_FORMAL=25]="JAPANESE_FORMAL",$e[$e.JAPANESE_INFORMAL=26]="JAPANESE_INFORMAL",$e[$e.KANNADA=27]="KANNADA",$e[$e.KATAKANA=28]="KATAKANA",$e[$e.KATAKANA_IROHA=29]="KATAKANA_IROHA",$e[$e.KHMER=30]="KHMER",$e[$e.KOREAN_HANGUL_FORMAL=31]="KOREAN_HANGUL_FORMAL",$e[$e.KOREAN_HANJA_FORMAL=32]="KOREAN_HANJA_FORMAL",$e[$e.KOREAN_HANJA_INFORMAL=33]="KOREAN_HANJA_INFORMAL",$e[$e.LAO=34]="LAO",$e[$e.LOWER_ARMENIAN=35]="LOWER_ARMENIAN",$e[$e.MALAYALAM=36]="MALAYALAM",$e[$e.MONGOLIAN=37]="MONGOLIAN",$e[$e.MYANMAR=38]="MYANMAR",$e[$e.ORIYA=39]="ORIYA",$e[$e.PERSIAN=40]="PERSIAN",$e[$e.SIMP_CHINESE_FORMAL=41]="SIMP_CHINESE_FORMAL",$e[$e.SIMP_CHINESE_INFORMAL=42]="SIMP_CHINESE_INFORMAL",$e[$e.TAMIL=43]="TAMIL",$e[$e.TELUGU=44]="TELUGU",$e[$e.THAI=45]="THAI",$e[$e.TIBETAN=46]="TIBETAN",$e[$e.TRAD_CHINESE_FORMAL=47]="TRAD_CHINESE_FORMAL",$e[$e.TRAD_CHINESE_INFORMAL=48]="TRAD_CHINESE_INFORMAL",$e[$e.UPPER_ARMENIAN=49]="UPPER_ARMENIAN",$e[$e.DISCLOSURE_OPEN=50]="DISCLOSURE_OPEN",$e[$e.DISCLOSURE_CLOSED=51]="DISCLOSURE_CLOSED"})(Dn||(Dn={}));var Vs={name:"list-style-type",initialValue:"none",prefix:!1,type:Un.IDENT_VALUE,parse:function(ie){switch(ie){case"disc":return Dn.DISC;case"circle":return Dn.CIRCLE;case"square":return Dn.SQUARE;case"decimal":return Dn.DECIMAL;case"cjk-decimal":return Dn.CJK_DECIMAL;case"decimal-leading-zero":return Dn.DECIMAL_LEADING_ZERO;case"lower-roman":return Dn.LOWER_ROMAN;case"upper-roman":return Dn.UPPER_ROMAN;case"lower-greek":return Dn.LOWER_GREEK;case"lower-alpha":return Dn.LOWER_ALPHA;case"upper-alpha":return Dn.UPPER_ALPHA;case"arabic-indic":return Dn.ARABIC_INDIC;case"armenian":return Dn.ARMENIAN;case"bengali":return Dn.BENGALI;case"cambodian":return Dn.CAMBODIAN;case"cjk-earthly-branch":return Dn.CJK_EARTHLY_BRANCH;case"cjk-heavenly-stem":return Dn.CJK_HEAVENLY_STEM;case"cjk-ideographic":return Dn.CJK_IDEOGRAPHIC;case"devanagari":return Dn.DEVANAGARI;case"ethiopic-numeric":return Dn.ETHIOPIC_NUMERIC;case"georgian":return Dn.GEORGIAN;case"gujarati":return Dn.GUJARATI;case"gurmukhi":return Dn.GURMUKHI;case"hebrew":return Dn.HEBREW;case"hiragana":return Dn.HIRAGANA;case"hiragana-iroha":return Dn.HIRAGANA_IROHA;case"japanese-formal":return Dn.JAPANESE_FORMAL;case"japanese-informal":return Dn.JAPANESE_INFORMAL;case"kannada":return Dn.KANNADA;case"katakana":return Dn.KATAKANA;case"katakana-iroha":return Dn.KATAKANA_IROHA;case"khmer":return Dn.KHMER;case"korean-hangul-formal":return Dn.KOREAN_HANGUL_FORMAL;case"korean-hanja-formal":return Dn.KOREAN_HANJA_FORMAL;case"korean-hanja-informal":return Dn.KOREAN_HANJA_INFORMAL;case"lao":return Dn.LAO;case"lower-armenian":return Dn.LOWER_ARMENIAN;case"malayalam":return Dn.MALAYALAM;case"mongolian":return Dn.MONGOLIAN;case"myanmar":return Dn.MYANMAR;case"oriya":return Dn.ORIYA;case"persian":return Dn.PERSIAN;case"simp-chinese-formal":return Dn.SIMP_CHINESE_FORMAL;case"simp-chinese-informal":return Dn.SIMP_CHINESE_INFORMAL;case"tamil":return Dn.TAMIL;case"telugu":return Dn.TELUGU;case"thai":return Dn.THAI;case"tibetan":return Dn.TIBETAN;case"trad-chinese-formal":return Dn.TRAD_CHINESE_FORMAL;case"trad-chinese-informal":return Dn.TRAD_CHINESE_INFORMAL;case"upper-armenian":return Dn.UPPER_ARMENIAN;case"disclosure-open":return Dn.DISCLOSURE_OPEN;case"disclosure-closed":return Dn.DISCLOSURE_CLOSED;case"none":default:return Dn.NONE}}},Os=function(ie){return{name:"margin-"+ie,initialValue:"0",prefix:!1,type:Un.TOKEN_VALUE}},Bt=Os("top"),pe=Os("right"),Ie=Os("bottom"),Ne=Os("left"),Qe;(function($e){$e[$e.VISIBLE=0]="VISIBLE",$e[$e.HIDDEN=1]="HIDDEN",$e[$e.SCROLL=2]="SCROLL",$e[$e.AUTO=3]="AUTO"})(Qe||(Qe={}));var Ct={name:"overflow",initialValue:"visible",prefix:!1,type:Un.LIST,parse:function(ie){return ie.filter(Zt).map(function(He){switch(He.value){case"hidden":return Qe.HIDDEN;case"scroll":return Qe.SCROLL;case"auto":return Qe.AUTO;case"visible":default:return Qe.VISIBLE}})}},Ut;(function($e){$e.NORMAL="normal",$e.BREAK_WORD="break-word"})(Ut||(Ut={}));var hr={name:"overflow-wrap",initialValue:"normal",prefix:!1,type:Un.IDENT_VALUE,parse:function(ie){switch(ie){case"break-word":return Ut.BREAK_WORD;case"normal":default:return Ut.NORMAL}}},gr=function(ie){return{name:"padding-"+ie,initialValue:"0",prefix:!1,type:Un.TYPE_VALUE,format:"length-percentage"}},Rr=gr("top"),$r=gr("right"),ln=gr("bottom"),yn=gr("left"),Cn;(function($e){$e[$e.LEFT=0]="LEFT",$e[$e.CENTER=1]="CENTER",$e[$e.RIGHT=2]="RIGHT"})(Cn||(Cn={}));var Qn={name:"text-align",initialValue:"left",prefix:!1,type:Un.IDENT_VALUE,parse:function(ie){switch(ie){case"right":return Cn.RIGHT;case"center":case"justify":return Cn.CENTER;case"left":default:return Cn.LEFT}}},ti;(function($e){$e[$e.STATIC=0]="STATIC",$e[$e.RELATIVE=1]="RELATIVE",$e[$e.ABSOLUTE=2]="ABSOLUTE",$e[$e.FIXED=3]="FIXED",$e[$e.STICKY=4]="STICKY"})(ti||(ti={}));var wi={name:"position",initialValue:"static",prefix:!1,type:Un.IDENT_VALUE,parse:function(ie){switch(ie){case"relative":return ti.RELATIVE;case"absolute":return ti.ABSOLUTE;case"fixed":return ti.FIXED;case"sticky":return ti.STICKY}return ti.STATIC}},ea={name:"text-shadow",initialValue:"none",type:Un.LIST,prefix:!1,parse:function(ie){return ie.length===1&&Or(ie[0],"none")?[]:Kr(ie).map(function(He){for(var tt={color:_i.TRANSPARENT,offsetX:Vt,offsetY:Vt,blur:Vt},Ot=0,tr=0;tr<He.length;tr++){var vr=He[tr];Jr(vr)?(Ot===0?tt.offsetX=vr:Ot===1?tt.offsetY=vr:tt.blur=vr,Ot++):tt.color=Rn.parse(vr)}return tt})}},ji;(function($e){$e[$e.NONE=0]="NONE",$e[$e.LOWERCASE=1]="LOWERCASE",$e[$e.UPPERCASE=2]="UPPERCASE",$e[$e.CAPITALIZE=3]="CAPITALIZE"})(ji||(ji={}));var Sa={name:"text-transform",initialValue:"none",prefix:!1,type:Un.IDENT_VALUE,parse:function(ie){switch(ie){case"uppercase":return ji.UPPERCASE;case"lowercase":return ji.LOWERCASE;case"capitalize":return ji.CAPITALIZE}return ji.NONE}},lo={name:"transform",initialValue:"none",prefix:!0,type:Un.VALUE,parse:function(ie){if(ie.type===Ke.IDENT_TOKEN&&ie.value==="none")return null;if(ie.type===Ke.FUNCTION){var He=Ao[ie.name];if(typeof He=="undefined")throw new Error('Attempting to parse an unsupported transform function "'+ie.name+'"');return He(ie.values)}return null}},Wa=function(ie){var He=ie.filter(function(tt){return tt.type===Ke.NUMBER_TOKEN}).map(function(tt){return tt.number});return He.length===6?He:null},yo=function(ie){var He=ie.filter(function(La){return La.type===Ke.NUMBER_TOKEN}).map(function(La){return La.number}),tt=He[0],Ot=He[1],tr=He[2],vr=He[3],Ir=He[4],Hr=He[5],zr=He[6],cn=He[7],sn=He[8],kn=He[9],si=He[10],zn=He[11],fi=He[12],da=He[13],Ti=He[14],na=He[15];return He.length===16?[tt,Ot,Ir,Hr,fi,da]:null},Ao={matrix:Wa,matrix3d:yo},$a={type:Ke.PERCENTAGE_TOKEN,number:50,flags:Lt},ko=[$a,$a],No={name:"transform-origin",initialValue:"50% 50%",prefix:!0,type:Un.LIST,parse:function(ie){var He=ie.filter(an);return He.length!==2?ko:[He[0],He[1]]}},Ha;(function($e){$e[$e.VISIBLE=0]="VISIBLE",$e[$e.HIDDEN=1]="HIDDEN",$e[$e.COLLAPSE=2]="COLLAPSE"})(Ha||(Ha={}));var jo={name:"visible",initialValue:"none",prefix:!1,type:Un.IDENT_VALUE,parse:function(ie){switch(ie){case"hidden":return Ha.HIDDEN;case"collapse":return Ha.COLLAPSE;case"visible":default:return Ha.VISIBLE}}},Fo;(function($e){$e.NORMAL="normal",$e.BREAK_ALL="break-all",$e.KEEP_ALL="keep-all"})(Fo||(Fo={}));var Qo={name:"word-break",initialValue:"normal",prefix:!1,type:Un.IDENT_VALUE,parse:function(ie){switch(ie){case"break-all":return Fo.BREAK_ALL;case"keep-all":return Fo.KEEP_ALL;case"normal":default:return Fo.NORMAL}}},wo={name:"z-index",initialValue:"auto",prefix:!1,type:Un.VALUE,parse:function(ie){if(ie.type===Ke.IDENT_TOKEN)return{auto:!0,order:0};if(jt(ie))return{auto:!1,order:ie.number};throw new Error("Invalid z-index number parsed")}},us={name:"opacity",initialValue:"1",type:Un.VALUE,prefix:!1,parse:function(ie){return jt(ie)?ie.number:1}},ns={name:"text-decoration-color",initialValue:"transparent",prefix:!1,type:Un.TYPE_VALUE,format:"color"},Xs={name:"text-decoration-line",initialValue:"none",prefix:!1,type:Un.LIST,parse:function(ie){return ie.filter(Zt).map(function(He){switch(He.value){case"underline":return 1;case"overline":return 2;case"line-through":return 3;case"none":return 4}return 0}).filter(function(He){return He!==0})}},Ys={name:"font-family",initialValue:"",prefix:!1,type:Un.LIST,parse:function(ie){var He=[],tt=[];return ie.forEach(function(Ot){switch(Ot.type){case Ke.IDENT_TOKEN:case Ke.STRING_TOKEN:He.push(Ot.value);break;case Ke.NUMBER_TOKEN:He.push(Ot.number.toString());break;case Ke.COMMA_TOKEN:tt.push(He.join(" ")),He.length=0;break}}),He.length&&tt.push(He.join(" ")),tt.map(function(Ot){return Ot.indexOf(" ")===-1?Ot:"'"+Ot+"'"})}},Yo={name:"font-size",initialValue:"0",prefix:!1,type:Un.TYPE_VALUE,format:"length"},Eo={name:"font-weight",initialValue:"normal",type:Un.VALUE,prefix:!1,parse:function(ie){if(jt(ie))return ie.number;if(Zt(ie))switch(ie.value){case"bold":return 700;case"normal":default:return 400}return 400}},ds={name:"font-variant",initialValue:"none",type:Un.LIST,prefix:!1,parse:function(ie){return ie.filter(Zt).map(function(He){return He.value})}},hs;(function($e){$e.NORMAL="normal",$e.ITALIC="italic",$e.OBLIQUE="oblique"})(hs||(hs={}));var Rs={name:"font-style",initialValue:"normal",prefix:!1,type:Un.IDENT_VALUE,parse:function(ie){switch(ie){case"oblique":return hs.OBLIQUE;case"italic":return hs.ITALIC;case"normal":default:return hs.NORMAL}}},Do=function(ie,He){return(ie&He)!==0},ys={name:"content",initialValue:"none",type:Un.LIST,prefix:!1,parse:function(ie){if(ie.length===0)return[];var He=ie[0];return He.type===Ke.IDENT_TOKEN&&He.value==="none"?[]:ie}},Ms={name:"counter-increment",initialValue:"none",prefix:!0,type:Un.LIST,parse:function(ie){if(ie.length===0)return null;var He=ie[0];if(He.type===Ke.IDENT_TOKEN&&He.value==="none")return null;for(var tt=[],Ot=ie.filter(wr),tr=0;tr<Ot.length;tr++){var vr=Ot[tr],Ir=Ot[tr+1];if(vr.type===Ke.IDENT_TOKEN){var Hr=Ir&&jt(Ir)?Ir.number:1;tt.push({counter:vr.value,increment:Hr})}}return tt}},As={name:"counter-reset",initialValue:"none",prefix:!0,type:Un.LIST,parse:function(ie){if(ie.length===0)return[];for(var He=[],tt=ie.filter(wr),Ot=0;Ot<tt.length;Ot++){var tr=tt[Ot],vr=tt[Ot+1];if(Zt(tr)&&tr.value!=="none"){var Ir=vr&&jt(vr)?vr.number:0;He.push({counter:tr.value,reset:Ir})}}return He}},ks={name:"quotes",initialValue:"none",prefix:!0,type:Un.LIST,parse:function(ie){if(ie.length===0)return null;var He=ie[0];if(He.type===Ke.IDENT_TOKEN&&He.value==="none")return null;var tt=[],Ot=ie.filter(nr);if(Ot.length%2!==0)return null;for(var tr=0;tr<Ot.length;tr+=2){var vr=Ot[tr].value,Ir=Ot[tr+1].value;tt.push({open:vr,close:Ir})}return tt}},Hs=function(ie,He,tt){if(!ie)return"";var Ot=ie[Math.min(He,ie.length-1)];return Ot?tt?Ot.open:Ot.close:""},bs={name:"box-shadow",initialValue:"none",type:Un.LIST,prefix:!1,parse:function(ie){return ie.length===1&&Or(ie[0],"none")?[]:Kr(ie).map(function(He){for(var tt={color:255,offsetX:Vt,offsetY:Vt,blur:Vt,spread:Vt,inset:!1},Ot=0,tr=0;tr<He.length;tr++){var vr=He[tr];Or(vr,"inset")?tt.inset=!0:Jr(vr)?(Ot===0?tt.offsetX=vr:Ot===1?tt.offsetY=vr:Ot===2?tt.blur=vr:tt.spread=vr,Ot++):tt.color=Rn.parse(vr)}return tt})}},ua=function(){function $e(ie){this.backgroundClip=Wn(fa,ie.backgroundClip),this.backgroundColor=Wn(Ui,ie.backgroundColor),this.backgroundImage=Wn(Gi,ie.backgroundImage),this.backgroundOrigin=Wn(oo,ie.backgroundOrigin),this.backgroundPosition=Wn(go,ie.backgroundPosition),this.backgroundRepeat=Wn(Ta,ie.backgroundRepeat),this.backgroundSize=Wn(Vo,ie.backgroundSize),this.borderTopColor=Wn(po,ie.borderTopColor),this.borderRightColor=Wn(Ji,ie.borderRightColor),this.borderBottomColor=Wn(xo,ie.borderBottomColor),this.borderLeftColor=Wn(is,ie.borderLeftColor),this.borderTopLeftRadius=Wn(Ls,ie.borderTopLeftRadius),this.borderTopRightRadius=Wn(Cs,ie.borderTopRightRadius),this.borderBottomRightRadius=Wn(Ts,ie.borderBottomRightRadius),this.borderBottomLeftRadius=Wn(Go,ie.borderBottomLeftRadius),this.borderTopStyle=Wn(Ga,ie.borderTopStyle),this.borderRightStyle=Wn(so,ie.borderRightStyle),this.borderBottomStyle=Wn(ps,ie.borderBottomStyle),this.borderLeftStyle=Wn(Sr,ie.borderLeftStyle),this.borderTopWidth=Wn(ss,ie.borderTopWidth),this.borderRightWidth=Wn(_s,ie.borderRightWidth),this.borderBottomWidth=Wn(ka,ie.borderBottomWidth),this.borderLeftWidth=Wn(_a,ie.borderLeftWidth),this.boxShadow=Wn(bs,ie.boxShadow),this.color=Wn(Oo,ie.color),this.display=Wn(Io,ie.display),this.float=Wn(rs,ie.cssFloat),this.fontFamily=Wn(Ys,ie.fontFamily),this.fontSize=Wn(Yo,ie.fontSize),this.fontStyle=Wn(Rs,ie.fontStyle),this.fontVariant=Wn(ds,ie.fontVariant),this.fontWeight=Wn(Eo,ie.fontWeight),this.letterSpacing=Wn(ms,ie.letterSpacing),this.lineBreak=Wn(Ns,ie.lineBreak),this.lineHeight=Wn(Ds,ie.lineHeight),this.listStyleImage=Wn($s,ie.listStyleImage),this.listStylePosition=Wn(Mo,ie.listStylePosition),this.listStyleType=Wn(Vs,ie.listStyleType),this.marginTop=Wn(Bt,ie.marginTop),this.marginRight=Wn(pe,ie.marginRight),this.marginBottom=Wn(Ie,ie.marginBottom),this.marginLeft=Wn(Ne,ie.marginLeft),this.opacity=Wn(us,ie.opacity);var He=Wn(Ct,ie.overflow);this.overflowX=He[0],this.overflowY=He[He.length>1?1:0],this.overflowWrap=Wn(hr,ie.overflowWrap),this.paddingTop=Wn(Rr,ie.paddingTop),this.paddingRight=Wn($r,ie.paddingRight),this.paddingBottom=Wn(ln,ie.paddingBottom),this.paddingLeft=Wn(yn,ie.paddingLeft),this.position=Wn(wi,ie.position),this.textAlign=Wn(Qn,ie.textAlign),this.textDecorationColor=Wn(ns,ie.textDecorationColor||ie.color),this.textDecorationLine=Wn(Xs,ie.textDecorationLine),this.textShadow=Wn(ea,ie.textShadow),this.textTransform=Wn(Sa,ie.textTransform),this.transform=Wn(lo,ie.transform),this.transformOrigin=Wn(No,ie.transformOrigin),this.visibility=Wn(jo,ie.visibility),this.wordBreak=Wn(Qo,ie.wordBreak),this.zIndex=Wn(wo,ie.zIndex)}return $e.prototype.isVisible=function(){return this.display>0&&this.opacity>0&&this.visibility===Ha.VISIBLE},$e.prototype.isTransparent=function(){return En(this.backgroundColor)},$e.prototype.isTransformed=function(){return this.transform!==null},$e.prototype.isPositioned=function(){return this.position!==ti.STATIC},$e.prototype.isPositionedWithZIndex=function(){return this.isPositioned()&&!this.zIndex.auto},$e.prototype.isFloating=function(){return this.float!==Po.NONE},$e.prototype.isInlineLevel=function(){return Do(this.display,4)||Do(this.display,33554432)||Do(this.display,268435456)||Do(this.display,536870912)||Do(this.display,67108864)||Do(this.display,134217728)},$e}(),ui=function(){function $e(ie){this.content=Wn(ys,ie.content),this.quotes=Wn(ks,ie.quotes)}return $e}(),Pi=function(){function $e(ie){this.counterIncrement=Wn(Ms,ie.counterIncrement),this.counterReset=Wn(As,ie.counterReset)}return $e}(),Wn=function(ie,He){var tt=new Wr,Ot=He!==null&&typeof He!="undefined"?He.toString():ie.initialValue;tt.write(Ot);var tr=new hn(tt.read());switch(ie.type){case Un.IDENT_VALUE:var vr=tr.parseComponentValue();return ie.parse(Zt(vr)?vr.value:ie.initialValue);case Un.VALUE:return ie.parse(tr.parseComponentValue());case Un.LIST:return ie.parse(tr.parseComponentValues());case Un.TOKEN_VALUE:return tr.parseComponentValue();case Un.TYPE_VALUE:switch(ie.format){case"angle":return Sn.parse(tr.parseComponentValue());case"color":return Rn.parse(tr.parseComponentValue());case"image":return Za.parse(tr.parseComponentValue());case"length":var Ir=tr.parseComponentValue();return Jr(Ir)?Ir:Vt;case"length-percentage":var Hr=tr.parseComponentValue();return an(Hr)?Hr:Vt}}throw new Error("Attempting to parse unsupported css format type "+ie.format)},io=function(){function $e(ie){this.styles=new ua(window.getComputedStyle(ie,null)),this.textNodes=[],this.elements=[],this.styles.transform!==null&&nl(ie)&&(ie.style.transform="none"),this.bounds=c(ie),this.flags=0}return $e}(),qo=function(){function $e(ie,He){this.text=ie,this.bounds=He}return $e}(),gs=function(ie,He,tt){var Ot=$o(ie,He),tr=[],vr=0;return Ot.forEach(function(Ir){if(He.textDecorationLine.length||Ir.trim().length>0)if(ca.SUPPORT_RANGE_BOUNDS)tr.push(new qo(Ir,Jo(tt,vr,Ir.length)));else{var Hr=tt.splitText(Ir.length);tr.push(new qo(Ir,os(tt))),tt=Hr}else ca.SUPPORT_RANGE_BOUNDS||(tt=tt.splitText(Ir.length));vr+=Ir.length}),tr},os=function(ie){var He=ie.ownerDocument;if(He){var tt=He.createElement("html2canvaswrapper");tt.appendChild(ie.cloneNode(!0));var Ot=ie.parentNode;if(Ot){Ot.replaceChild(tt,ie);var tr=c(tt);return tt.firstChild&&Ot.replaceChild(tt.firstChild,tt),tr}}return new h(0,0,0,0)},Jo=function(ie,He,tt){var Ot=ie.ownerDocument;if(!Ot)throw new Error("Node has no owner document");var tr=Ot.createRange();return tr.setStart(ie,He),tr.setEnd(ie,He+tt),h.fromClientRect(tr.getBoundingClientRect())},$o=function(ie,He){return He.letterSpacing!==0?i(ie).map(function(tt){return r(tt)}):ws(ie,He)},ws=function(ie,He){for(var tt=qe(ie,{lineBreak:He.lineBreak,wordBreak:He.overflowWrap===Ut.BREAK_WORD?"break-word":He.wordBreak}),Ot=[],tr;!(tr=tt.next()).done;)tr.value&&Ot.push(tr.value.slice());return Ot},Ho=function(){function $e(ie,He){this.text=ll(ie.data,He.textTransform),this.textBounds=gs(this.text,He,ie)}return $e}(),ll=function(ie,He){switch(He){case ji.LOWERCASE:return ie.toLowerCase();case ji.CAPITALIZE:return ie.replace(jl,cl);case ji.UPPERCASE:return ie.toUpperCase();default:return ie}},jl=/(^|\s|:|-|\(|\))([a-z])/g,cl=function(ie,He,tt){return ie.length>0?He+tt.toUpperCase():ie},Nl=function($e){f(ie,$e);function ie(He){var tt=$e.call(this,He)||this;return tt.src=He.currentSrc||He.src,tt.intrinsicWidth=He.naturalWidth,tt.intrinsicHeight=He.naturalHeight,gi.getInstance().addImage(tt.src),tt}return ie}(io),Is=function($e){f(ie,$e);function ie(He){var tt=$e.call(this,He)||this;return tt.canvas=He,tt.intrinsicWidth=He.width,tt.intrinsicHeight=He.height,tt}return ie}(io),Gs=function($e){f(ie,$e);function ie(He){var tt=$e.call(this,He)||this,Ot=new XMLSerializer;return tt.svg="data:image/svg+xml,"+encodeURIComponent(Ot.serializeToString(He)),tt.intrinsicWidth=He.width.baseVal.value,tt.intrinsicHeight=He.height.baseVal.value,gi.getInstance().addImage(tt.svg),tt}return ie}(io),el=function($e){f(ie,$e);function ie(He){var tt=$e.call(this,He)||this;return tt.value=He.value,tt}return ie}(io),Hl=function($e){f(ie,$e);function ie(He){var tt=$e.call(this,He)||this;return tt.start=He.start,tt.reversed=typeof He.reversed=="boolean"&&He.reversed===!0,tt}return ie}(io),zl=[{type:Ke.DIMENSION_TOKEN,flags:0,unit:"px",number:3}],Dl=[{type:Ke.PERCENTAGE_TOKEN,flags:0,number:50}],nc=function(ie){return ie.width>ie.height?new h(ie.left+(ie.width-ie.height)/2,ie.top,ie.height,ie.height):ie.width<ie.height?new h(ie.left,ie.top+(ie.height-ie.width)/2,ie.width,ie.width):ie},ic=function(ie){var He=ie.type===ac?new Array(ie.value.length+1).join("\u2022"):ie.value;return He.length===0?ie.placeholder||"":He},es="checkbox",tl="radio",ac="password",Rl=707406591,Ml=function($e){f(ie,$e);function ie(He){var tt=$e.call(this,He)||this;tt.type=He.type.toLowerCase(),tt.checked=He.checked,tt.value=ic(He),(tt.type===es||tt.type===tl)&&(tt.styles.backgroundColor=3739148031,tt.styles.borderTopColor=tt.styles.borderRightColor=tt.styles.borderBottomColor=tt.styles.borderLeftColor=2779096575,tt.styles.borderTopWidth=tt.styles.borderRightWidth=tt.styles.borderBottomWidth=tt.styles.borderLeftWidth=1,tt.styles.borderTopStyle=tt.styles.borderRightStyle=tt.styles.borderBottomStyle=tt.styles.borderLeftStyle=bo.SOLID,tt.styles.backgroundClip=[Ri.BORDER_BOX],tt.styles.backgroundOrigin=[0],tt.bounds=nc(tt.bounds));switch(tt.type){case es:tt.styles.borderTopRightRadius=tt.styles.borderTopLeftRadius=tt.styles.borderBottomRightRadius=tt.styles.borderBottomLeftRadius=zl;break;case tl:tt.styles.borderTopRightRadius=tt.styles.borderTopLeftRadius=tt.styles.borderBottomRightRadius=tt.styles.borderBottomLeftRadius=Dl;break}return tt}return ie}(io),bl=function($e){f(ie,$e);function ie(He){var tt=$e.call(this,He)||this,Ot=He.options[He.selectedIndex||0];return tt.value=Ot&&Ot.text||"",tt}return ie}(io),Kl=function($e){f(ie,$e);function ie(He){var tt=$e.call(this,He)||this;return tt.value=He.value,tt}return ie}(io),ul=function(ie){return Rn.parse(hn.create(ie).parseComponentValue())},Wl=function($e){f(ie,$e);function ie(He){var tt=$e.call(this,He)||this;tt.src=He.src,tt.width=parseInt(He.width,10)||0,tt.height=parseInt(He.height,10)||0,tt.backgroundColor=tt.styles.backgroundColor;try{if(He.contentWindow&&He.contentWindow.document&&He.contentWindow.document.documentElement){tt.tree=rl(He.contentWindow.document.documentElement);var Ot=He.contentWindow.document.documentElement?ul(getComputedStyle(He.contentWindow.document.documentElement).backgroundColor):_i.TRANSPARENT,tr=He.contentWindow.document.body?ul(getComputedStyle(He.contentWindow.document.body).backgroundColor):_i.TRANSPARENT;tt.backgroundColor=En(Ot)?En(tr)?tt.styles.backgroundColor:tr:Ot}}catch(vr){}return tt}return ie}(io),oc=["OL","UL","MENU"],sc=function $e(ie,He,tt){for(var Ot=ie.firstChild,tr=void 0;Ot;Ot=tr)if(tr=Ot.nextSibling,Ss(Ot)&&Ot.data.trim().length>0)He.textNodes.push(new Ho(Ot,He.styles));else if(zs(Ot)){var vr=Fs(Ot);vr.styles.isVisible()&&(wl(Ot,vr,tt)?vr.flags|=4:dl(vr.styles)&&(vr.flags|=2),oc.indexOf(Ot.tagName)!==-1&&(vr.flags|=8),He.elements.push(vr),!Cl(Ot)&&!Qs(Ot)&&!pl(Ot)&&$e(Ot,vr,tt))}},Fs=function(ie){return fl(ie)?new Nl(ie):il(ie)?new Is(ie):Qs(ie)?new Gs(ie):Sl(ie)?new el(ie):kl(ie)?new Hl(ie):Vl(ie)?new Ml(ie):pl(ie)?new bl(ie):Cl(ie)?new Kl(ie):El(ie)?new Wl(ie):new io(ie)},rl=function(ie){var He=Fs(ie);return He.flags|=4,sc(ie,He,He),He},wl=function(ie,He,tt){return He.styles.isPositionedWithZIndex()||He.styles.opacity<1||He.styles.isTransformed()||hl(ie)&&tt.styles.isTransparent()},dl=function(ie){return ie.isPositioned()||ie.isFloating()},Ss=function(ie){return ie.nodeType===Node.TEXT_NODE},zs=function(ie){return ie.nodeType===Node.ELEMENT_NODE},nl=function(ie){return zs(ie)&&typeof ie.style!="undefined"&&!Bs(ie)},Bs=function(ie){return typeof ie.className=="object"},Sl=function(ie){return ie.tagName==="LI"},kl=function(ie){return ie.tagName==="OL"},Vl=function(ie){return ie.tagName==="INPUT"},xl=function(ie){return ie.tagName==="HTML"},Qs=function(ie){return ie.tagName==="svg"},hl=function(ie){return ie.tagName==="BODY"},il=function(ie){return ie.tagName==="CANVAS"},fl=function(ie){return ie.tagName==="IMG"},El=function(ie){return ie.tagName==="IFRAME"},Ks=function(ie){return ie.tagName==="STYLE"},Xl=function(ie){return ie.tagName==="SCRIPT"},Cl=function(ie){return ie.tagName==="TEXTAREA"},pl=function(ie){return ie.tagName==="SELECT"},Tl=function(){function $e(){this.counters={}}return $e.prototype.getCounterValue=function(ie){var He=this.counters[ie];return He&&He.length?He[He.length-1]:1},$e.prototype.getCounterValues=function(ie){var He=this.counters[ie];return He||[]},$e.prototype.pop=function(ie){var He=this;ie.forEach(function(tt){return He.counters[tt].pop()})},$e.prototype.parse=function(ie){var He=this,tt=ie.counterIncrement,Ot=ie.counterReset,tr=!0;tt!==null&&tt.forEach(function(Ir){var Hr=He.counters[Ir.counter];Hr&&Ir.increment!==0&&(tr=!1,Hr[Math.max(0,Hr.length-1)]+=Ir.increment)});var vr=[];return tr&&Ot.forEach(function(Ir){var Hr=He.counters[Ir.counter];vr.push(Ir.counter),Hr||(Hr=He.counters[Ir.counter]=[]),Hr.push(Ir.reset)}),vr},$e}(),Yl={integers:[1e3,900,500,400,100,90,50,40,10,9,5,4,1],values:["M","CM","D","CD","C","XC","L","XL","X","IX","V","IV","I"]},Fl={integers:[9e3,8e3,7e3,6e3,5e3,4e3,3e3,2e3,1e3,900,800,700,600,500,400,300,200,100,90,80,70,60,50,40,30,20,10,9,8,7,6,5,4,3,2,1],values:["\u0554","\u0553","\u0552","\u0551","\u0550","\u054F","\u054E","\u054D","\u054C","\u054B","\u054A","\u0549","\u0548","\u0547","\u0546","\u0545","\u0544","\u0543","\u0542","\u0541","\u0540","\u053F","\u053E","\u053D","\u053C","\u053B","\u053A","\u0539","\u0538","\u0537","\u0536","\u0535","\u0534","\u0533","\u0532","\u0531"]},ml={integers:[1e4,9e3,8e3,7e3,6e3,5e3,4e3,3e3,2e3,1e3,400,300,200,100,90,80,70,60,50,40,30,20,19,18,17,16,15,10,9,8,7,6,5,4,3,2,1],values:["\u05D9\u05F3","\u05D8\u05F3","\u05D7\u05F3","\u05D6\u05F3","\u05D5\u05F3","\u05D4\u05F3","\u05D3\u05F3","\u05D2\u05F3","\u05D1\u05F3","\u05D0\u05F3","\u05EA","\u05E9","\u05E8","\u05E7","\u05E6","\u05E4","\u05E2","\u05E1","\u05E0","\u05DE","\u05DC","\u05DB","\u05D9\u05D8","\u05D9\u05D7","\u05D9\u05D6","\u05D8\u05D6","\u05D8\u05D5","\u05D9","\u05D8","\u05D7","\u05D6","\u05D5","\u05D4","\u05D3","\u05D2","\u05D1","\u05D0"]},Gl={integers:[1e4,9e3,8e3,7e3,6e3,5e3,4e3,3e3,2e3,1e3,900,800,700,600,500,400,300,200,100,90,80,70,60,50,40,30,20,10,9,8,7,6,5,4,3,2,1],values:["\u10F5","\u10F0","\u10EF","\u10F4","\u10EE","\u10ED","\u10EC","\u10EB","\u10EA","\u10E9","\u10E8","\u10E7","\u10E6","\u10E5","\u10E4","\u10F3","\u10E2","\u10E1","\u10E0","\u10DF","\u10DE","\u10DD","\u10F2","\u10DC","\u10DB","\u10DA","\u10D9","\u10D8","\u10D7","\u10F1","\u10D6","\u10D5","\u10D4","\u10D3","\u10D2","\u10D1","\u10D0"]},Zs=function(ie,He,tt,Ot,tr,vr){return ie<He||ie>tt?vl(ie,tr,vr.length>0):Ot.integers.reduce(function(Ir,Hr,zr){for(;ie>=Hr;)ie-=Hr,Ir+=Ot.values[zr];return Ir},"")+vr},Ql=function(ie,He,tt,Ot){var tr="";do tt||ie--,tr=Ot(ie)+tr,ie/=He;while(ie*He>=He);return tr},Ro=function(ie,He,tt,Ot,tr){var vr=tt-He+1;return(ie<0?"-":"")+(Ql(Math.abs(ie),vr,Ot,function(Ir){return r(Math.floor(Ir%vr)+He)})+tr)},Ws=function(ie,He,tt){tt===void 0&&(tt=". ");var Ot=He.length;return Ql(Math.abs(ie),Ot,!1,function(tr){return He[Math.floor(tr%Ot)]})+tt},al=1<<0,Ps=1<<1,Us=1<<2,gl=1<<3,xs=function(ie,He,tt,Ot,tr,vr){if(ie<-9999||ie>9999)return vl(ie,Dn.CJK_DECIMAL,tr.length>0);var Ir=Math.abs(ie),Hr=tr;if(Ir===0)return He[0]+Hr;for(var zr=0;Ir>0&&zr<=4;zr++){var cn=Ir%10;cn===0&&Do(vr,al)&&Hr!==""?Hr=He[cn]+Hr:cn>1||cn===1&&zr===0||cn===1&&zr===1&&Do(vr,Ps)||cn===1&&zr===1&&Do(vr,Us)&&ie>100||cn===1&&zr>1&&Do(vr,gl)?Hr=He[cn]+(zr>0?tt[zr-1]:"")+Hr:cn===1&&zr>0&&(Hr=tt[zr-1]+Hr),Ir=Math.floor(Ir/10)}return(ie<0?Ot:"")+Hr},ol="\u5341\u767E\u5343\u842C",Js="\u62FE\u4F70\u4EDF\u842C",Bl="\u30DE\u30A4\u30CA\u30B9",_l="\uB9C8\uC774\uB108\uC2A4",vl=function(ie,He,tt){var Ot=tt?". ":"",tr=tt?"\u3001":"",vr=tt?", ":"",Ir=tt?" ":"";switch(He){case Dn.DISC:return"\u2022"+Ir;case Dn.CIRCLE:return"\u25E6"+Ir;case Dn.SQUARE:return"\u25FE"+Ir;case Dn.DECIMAL_LEADING_ZERO:var Hr=Ro(ie,48,57,!0,Ot);return Hr.length<4?"0"+Hr:Hr;case Dn.CJK_DECIMAL:return Ws(ie,"\u3007\u4E00\u4E8C\u4E09\u56DB\u4E94\u516D\u4E03\u516B\u4E5D",tr);case Dn.LOWER_ROMAN:return Zs(ie,1,3999,Yl,Dn.DECIMAL,Ot).toLowerCase();case Dn.UPPER_ROMAN:return Zs(ie,1,3999,Yl,Dn.DECIMAL,Ot);case Dn.LOWER_GREEK:return Ro(ie,945,969,!1,Ot);case Dn.LOWER_ALPHA:return Ro(ie,97,122,!1,Ot);case Dn.UPPER_ALPHA:return Ro(ie,65,90,!1,Ot);case Dn.ARABIC_INDIC:return Ro(ie,1632,1641,!0,Ot);case Dn.ARMENIAN:case Dn.UPPER_ARMENIAN:return Zs(ie,1,9999,Fl,Dn.DECIMAL,Ot);case Dn.LOWER_ARMENIAN:return Zs(ie,1,9999,Fl,Dn.DECIMAL,Ot).toLowerCase();case Dn.BENGALI:return Ro(ie,2534,2543,!0,Ot);case Dn.CAMBODIAN:case Dn.KHMER:return Ro(ie,6112,6121,!0,Ot);case Dn.CJK_EARTHLY_BRANCH:return Ws(ie,"\u5B50\u4E11\u5BC5\u536F\u8FB0\u5DF3\u5348\u672A\u7533\u9149\u620C\u4EA5",tr);case Dn.CJK_HEAVENLY_STEM:return Ws(ie,"\u7532\u4E59\u4E19\u4E01\u620A\u5DF1\u5E9A\u8F9B\u58EC\u7678",tr);case Dn.CJK_IDEOGRAPHIC:case Dn.TRAD_CHINESE_INFORMAL:return xs(ie,"\u96F6\u4E00\u4E8C\u4E09\u56DB\u4E94\u516D\u4E03\u516B\u4E5D",ol,"\u8CA0",tr,Ps|Us|gl);case Dn.TRAD_CHINESE_FORMAL:return xs(ie,"\u96F6\u58F9\u8CB3\u53C3\u8086\u4F0D\u9678\u67D2\u634C\u7396",Js,"\u8CA0",tr,al|Ps|Us|gl);case Dn.SIMP_CHINESE_INFORMAL:return xs(ie,"\u96F6\u4E00\u4E8C\u4E09\u56DB\u4E94\u516D\u4E03\u516B\u4E5D",ol,"\u8D1F",tr,Ps|Us|gl);case Dn.SIMP_CHINESE_FORMAL:return xs(ie,"\u96F6\u58F9\u8D30\u53C1\u8086\u4F0D\u9646\u67D2\u634C\u7396",Js,"\u8D1F",tr,al|Ps|Us|gl);case Dn.JAPANESE_INFORMAL:return xs(ie,"\u3007\u4E00\u4E8C\u4E09\u56DB\u4E94\u516D\u4E03\u516B\u4E5D","\u5341\u767E\u5343\u4E07",Bl,tr,0);case Dn.JAPANESE_FORMAL:return xs(ie,"\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(ie,"\uC601\uC77C\uC774\uC0BC\uC0AC\uC624\uC721\uCE60\uD314\uAD6C","\uC2ED\uBC31\uCC9C\uB9CC",_l,vr,al|Ps|Us);case Dn.KOREAN_HANJA_INFORMAL:return xs(ie,"\u96F6\u4E00\u4E8C\u4E09\u56DB\u4E94\u516D\u4E03\u516B\u4E5D","\u5341\u767E\u5343\u842C",_l,vr,0);case Dn.KOREAN_HANJA_FORMAL:return xs(ie,"\u96F6\u58F9\u8CB3\u53C3\u56DB\u4E94\u516D\u4E03\u516B\u4E5D","\u62FE\u767E\u5343",_l,vr,al|Ps|Us);case Dn.DEVANAGARI:return Ro(ie,2406,2415,!0,Ot);case Dn.GEORGIAN:return Zs(ie,1,19999,Gl,Dn.DECIMAL,Ot);case Dn.GUJARATI:return Ro(ie,2790,2799,!0,Ot);case Dn.GURMUKHI:return Ro(ie,2662,2671,!0,Ot);case Dn.HEBREW:return Zs(ie,1,10999,ml,Dn.DECIMAL,Ot);case Dn.HIRAGANA:return Ws(ie,"\u3042\u3044\u3046\u3048\u304A\u304B\u304D\u304F\u3051\u3053\u3055\u3057\u3059\u305B\u305D\u305F\u3061\u3064\u3066\u3068\u306A\u306B\u306C\u306D\u306E\u306F\u3072\u3075\u3078\u307B\u307E\u307F\u3080\u3081\u3082\u3084\u3086\u3088\u3089\u308A\u308B\u308C\u308D\u308F\u3090\u3091\u3092\u3093");case Dn.HIRAGANA_IROHA:return Ws(ie,"\u3044\u308D\u306F\u306B\u307B\u3078\u3068\u3061\u308A\u306C\u308B\u3092\u308F\u304B\u3088\u305F\u308C\u305D\u3064\u306D\u306A\u3089\u3080\u3046\u3090\u306E\u304A\u304F\u3084\u307E\u3051\u3075\u3053\u3048\u3066\u3042\u3055\u304D\u3086\u3081\u307F\u3057\u3091\u3072\u3082\u305B\u3059");case Dn.KANNADA:return Ro(ie,3302,3311,!0,Ot);case Dn.KATAKANA:return Ws(ie,"\u30A2\u30A4\u30A6\u30A8\u30AA\u30AB\u30AD\u30AF\u30B1\u30B3\u30B5\u30B7\u30B9\u30BB\u30BD\u30BF\u30C1\u30C4\u30C6\u30C8\u30CA\u30CB\u30CC\u30CD\u30CE\u30CF\u30D2\u30D5\u30D8\u30DB\u30DE\u30DF\u30E0\u30E1\u30E2\u30E4\u30E6\u30E8\u30E9\u30EA\u30EB\u30EC\u30ED\u30EF\u30F0\u30F1\u30F2\u30F3",tr);case Dn.KATAKANA_IROHA:return Ws(ie,"\u30A4\u30ED\u30CF\u30CB\u30DB\u30D8\u30C8\u30C1\u30EA\u30CC\u30EB\u30F2\u30EF\u30AB\u30E8\u30BF\u30EC\u30BD\u30C4\u30CD\u30CA\u30E9\u30E0\u30A6\u30F0\u30CE\u30AA\u30AF\u30E4\u30DE\u30B1\u30D5\u30B3\u30A8\u30C6\u30A2\u30B5\u30AD\u30E6\u30E1\u30DF\u30B7\u30F1\u30D2\u30E2\u30BB\u30B9",tr);case Dn.LAO:return Ro(ie,3792,3801,!0,Ot);case Dn.MONGOLIAN:return Ro(ie,6160,6169,!0,Ot);case Dn.MYANMAR:return Ro(ie,4160,4169,!0,Ot);case Dn.ORIYA:return Ro(ie,2918,2927,!0,Ot);case Dn.PERSIAN:return Ro(ie,1776,1785,!0,Ot);case Dn.TAMIL:return Ro(ie,3046,3055,!0,Ot);case Dn.TELUGU:return Ro(ie,3174,3183,!0,Ot);case Dn.THAI:return Ro(ie,3664,3673,!0,Ot);case Dn.TIBETAN:return Ro(ie,3872,3881,!0,Ot);case Dn.DECIMAL:default:return Ro(ie,48,57,!0,Ot)}},ql="data-html2canvas-ignore",Pl=function(){function $e(ie,He){if(this.options=He,this.scrolledElements=[],this.referenceElement=ie,this.counters=new Tl,this.quoteDepth=0,!ie.ownerDocument)throw new Error("Cloned element does not have an owner document");this.documentElement=this.cloneNode(ie.ownerDocument.documentElement)}return $e.prototype.toIFrame=function(ie,He){var tt=this,Ot=Zl(ie,He);if(!Ot.contentWindow)return Promise.reject("Unable to find iframe window");var tr=ie.defaultView.pageXOffset,vr=ie.defaultView.pageYOffset,Ir=Ot.contentWindow,Hr=Ir.document,zr=lc(Ot).then(function(){return m(tt,void 0,void 0,function(){var cn;return v(this,function(sn){switch(sn.label){case 0:return this.scrolledElements.forEach(ec),Ir&&(Ir.scrollTo(He.left,He.top),/(iPad|iPhone|iPod)/g.test(navigator.userAgent)&&(Ir.scrollY!==He.top||Ir.scrollX!==He.left)&&(Hr.documentElement.style.top=-He.top+"px",Hr.documentElement.style.left=-He.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 Ot})]:[2,Ot]}})})});return Hr.open(),Hr.write($l(document.doctype)+"<html></html>"),Ol(this.referenceElement.ownerDocument,tr,vr),Hr.replaceChild(Hr.adoptNode(this.documentElement),Hr.documentElement),Hr.close(),zr},$e.prototype.createElementClone=function(ie){if(il(ie))return this.createCanvasClone(ie);if(Ks(ie))return this.createStyleClone(ie);var He=ie.cloneNode(!1);return fl(He)&&He.loading==="lazy"&&(He.loading="eager"),He},$e.prototype.createStyleClone=function(ie){try{var He=ie.sheet;if(He&&He.cssRules){var tt=[].slice.call(He.cssRules,0).reduce(function(tr,vr){return vr&&typeof vr.cssText=="string"?tr+vr.cssText:tr},""),Ot=ie.cloneNode(!1);return Ot.textContent=tt,Ot}}catch(tr){if(la.getInstance(this.options.id).error("Unable to access cssRules property",tr),tr.name!=="SecurityError")throw tr}return ie.cloneNode(!1)},$e.prototype.createCanvasClone=function(ie){if(this.options.inlineImages&&ie.ownerDocument){var He=ie.ownerDocument.createElement("img");try{return He.src=ie.toDataURL(),He}catch(vr){la.getInstance(this.options.id).info("Unable to clone canvas contents, canvas is tainted")}}var tt=ie.cloneNode(!1);try{tt.width=ie.width,tt.height=ie.height;var Ot=ie.getContext("2d"),tr=tt.getContext("2d");return tr&&(Ot?tr.putImageData(Ot.getImageData(0,0,ie.width,ie.height),0,0):tr.drawImage(ie,0,0)),tt}catch(vr){}return tt},$e.prototype.cloneNode=function(ie){if(Ss(ie))return document.createTextNode(ie.data);if(!ie.ownerDocument)return ie.cloneNode(!1);var He=ie.ownerDocument.defaultView;if(He&&zs(ie)&&(nl(ie)||Bs(ie))){var tt=this.createElementClone(ie),Ot=He.getComputedStyle(ie),tr=He.getComputedStyle(ie,":before"),vr=He.getComputedStyle(ie,":after");this.referenceElement===ie&&nl(tt)&&(this.clonedReferenceElement=tt),hl(tt)&&uc(tt);for(var Ir=this.counters.parse(new Pi(Ot)),Hr=this.resolvePseudoContent(ie,tt,tr,yl.BEFORE),zr=ie.firstChild;zr;zr=zr.nextSibling)(!zs(zr)||!Xl(zr)&&!zr.hasAttribute(ql)&&(typeof this.options.ignoreElements!="function"||!this.options.ignoreElements(zr)))&&((!this.options.copyStyles||!zs(zr)||!Ks(zr))&&tt.appendChild(this.cloneNode(zr)));Hr&&tt.insertBefore(Hr,tt.firstChild);var cn=this.resolvePseudoContent(ie,tt,vr,yl.AFTER);return cn&&tt.appendChild(cn),this.counters.pop(Ir),Ot&&(this.options.copyStyles||Bs(ie))&&!El(ie)&&Jl(Ot,tt),(ie.scrollTop!==0||ie.scrollLeft!==0)&&this.scrolledElements.push([tt,ie.scrollLeft,ie.scrollTop]),(Cl(ie)||pl(ie))&&(Cl(tt)||pl(tt))&&(tt.value=ie.value),tt}return ie.cloneNode(!1)},$e.prototype.resolvePseudoContent=function(ie,He,tt,Ot){var tr=this;if(!tt)return;var vr=tt.content,Ir=He.ownerDocument;if(!Ir||!vr||vr==="none"||vr==="-moz-alt-content"||tt.display==="none")return;this.counters.parse(new Pi(tt));var Hr=new ui(tt),zr=Ir.createElement("html2canvaspseudoelement");Jl(tt,zr),Hr.content.forEach(function(sn){if(sn.type===Ke.STRING_TOKEN)zr.appendChild(Ir.createTextNode(sn.value));else if(sn.type===Ke.URL_TOKEN){var kn=Ir.createElement("img");kn.src=sn.value,kn.style.opacity="1",zr.appendChild(kn)}else if(sn.type===Ke.FUNCTION){if(sn.name==="attr"){var si=sn.values.filter(Zt);si.length&&zr.appendChild(Ir.createTextNode(ie.getAttribute(si[0].value)||""))}else if(sn.name==="counter"){var zn=sn.values.filter(Er),fi=zn[0],da=zn[1];if(fi&&Zt(fi)){var Ti=tr.counters.getCounterValue(fi.value),na=da&&Zt(da)?Vs.parse(da.value):Dn.DECIMAL;zr.appendChild(Ir.createTextNode(vl(Ti,na,!1)))}}else if(sn.name==="counters"){var La=sn.values.filter(Er),fi=La[0],Bi=La[1],da=La[2];if(fi&&Zt(fi)){var Lo=tr.counters.getCounterValues(fi.value),no=da&&Zt(da)?Vs.parse(da.value):Dn.DECIMAL,Ko=Bi&&Bi.type===Ke.STRING_TOKEN?Bi.value:"",Bo=Lo.map(function(fs){return vl(fs,no,!1)}).join(Ko);zr.appendChild(Ir.createTextNode(Bo))}}}else if(sn.type===Ke.IDENT_TOKEN)switch(sn.value){case"open-quote":zr.appendChild(Ir.createTextNode(Hs(Hr.quotes,tr.quoteDepth++,!0)));break;case"close-quote":zr.appendChild(Ir.createTextNode(Hs(Hr.quotes,--tr.quoteDepth,!1)));break;default:zr.appendChild(Ir.createTextNode(sn.value))}}),zr.className=js+" "+Ll;var cn=Ot===yl.BEFORE?" "+js:" "+Ll;return Bs(He)?He.className.baseValue+=cn:He.className+=cn,zr},$e.destroy=function(ie){return ie.parentNode?(ie.parentNode.removeChild(ie),!0):!1},$e}(),yl;(function($e){$e[$e.BEFORE=0]="BEFORE",$e[$e.AFTER=1]="AFTER"})(yl||(yl={}));var Zl=function(ie,He){var tt=ie.createElement("iframe");return tt.className="html2canvas-container",tt.style.visibility="hidden",tt.style.position="fixed",tt.style.left="-10000px",tt.style.top="0px",tt.style.border="0",tt.width=He.width.toString(),tt.height=He.height.toString(),tt.scrolling="no",tt.setAttribute(ql,"true"),ie.body.appendChild(tt),tt},lc=function(ie){return new Promise(function(He,tt){var Ot=ie.contentWindow;if(!Ot)return tt("No window assigned for iframe");var tr=Ot.document;Ot.onload=ie.onload=tr.onreadystatechange=function(){Ot.onload=ie.onload=tr.onreadystatechange=null;var vr=setInterval(function(){tr.body.childNodes.length>0&&tr.readyState==="complete"&&(clearInterval(vr),He(ie))},50)}})},Jl=function(ie,He){for(var tt=ie.length-1;tt>=0;tt--){var Ot=ie.item(tt);Ot!=="content"&&He.style.setProperty(Ot,ie.getPropertyValue(Ot))}return He},$l=function(ie){var He="";return ie&&(He+="<!DOCTYPE ",ie.name&&(He+=ie.name),ie.internalSubset&&(He+=ie.internalSubset),ie.publicId&&(He+='"'+ie.publicId+'"'),ie.systemId&&(He+='"'+ie.systemId+'"'),He+=">"),He},Ol=function(ie,He,tt){ie&&ie.defaultView&&(He!==ie.defaultView.pageXOffset||tt!==ie.defaultView.pageYOffset)&&ie.defaultView.scrollTo(He,tt)},ec=function(ie){var He=ie[0],tt=ie[1],Ot=ie[2];He.scrollLeft=tt,He.scrollTop=Ot},cc=":before",Il=":after",js="___html2canvas___pseudoelement_before",Ll="___html2canvas___pseudoelement_after",Al=`{
|
|
|
content: "" !important;
|
|
|
display: none !important;
|
|
|
}`,uc=function(ie){dc(ie,"."+js+cc+Al+`
|
|
|
.`+Ll+Il+Al)},dc=function(ie,He){var tt=ie.ownerDocument;if(tt){var Ot=tt.createElement("style");Ot.textContent=He,ie.appendChild(Ot)}},sl;(function($e){$e[$e.VECTOR=0]="VECTOR",$e[$e.BEZIER_CURVE=1]="BEZIER_CURVE"})(sl||(sl={}));var ut=function(ie,He){return ie.length===He.length?ie.some(function(tt,Ot){return tt===He[Ot]}):!1},Se=function(ie,He,tt,Ot,tr){return ie.map(function(vr,Ir){switch(Ir){case 0:return vr.add(He,tt);case 1:return vr.add(He+Ot,tt);case 2:return vr.add(He+Ot,tt+tr);case 3:return vr.add(He,tt+tr)}return vr})},We=function(){function $e(ie,He){this.type=sl.VECTOR,this.x=ie,this.y=He}return $e.prototype.add=function(ie,He){return new $e(this.x+ie,this.y+He)},$e}(),St=function(ie,He,tt){return new We(ie.x+(He.x-ie.x)*tt,ie.y+(He.y-ie.y)*tt)},Ft=function(){function $e(ie,He,tt,Ot){this.type=sl.BEZIER_CURVE,this.start=ie,this.startControl=He,this.endControl=tt,this.end=Ot}return $e.prototype.subdivide=function(ie,He){var tt=St(this.start,this.startControl,ie),Ot=St(this.startControl,this.endControl,ie),tr=St(this.endControl,this.end,ie),vr=St(tt,Ot,ie),Ir=St(Ot,tr,ie),Hr=St(vr,Ir,ie);return He?new $e(this.start,tt,vr,Hr):new $e(Hr,Ir,tr,this.end)},$e.prototype.add=function(ie,He){return new $e(this.start.add(ie,He),this.startControl.add(ie,He),this.endControl.add(ie,He),this.end.add(ie,He))},$e.prototype.reverse=function(){return new $e(this.end,this.endControl,this.startControl,this.start)},$e}(),qt=function(ie){return ie.type===sl.BEZIER_CURVE},ar=function(){function $e(ie){var He=ie.styles,tt=ie.bounds,Ot=Mr(He.borderTopLeftRadius,tt.width,tt.height),tr=Ot[0],vr=Ot[1],Ir=Mr(He.borderTopRightRadius,tt.width,tt.height),Hr=Ir[0],zr=Ir[1],cn=Mr(He.borderBottomRightRadius,tt.width,tt.height),sn=cn[0],kn=cn[1],si=Mr(He.borderBottomLeftRadius,tt.width,tt.height),zn=si[0],fi=si[1],da=[];da.push((tr+Hr)/tt.width),da.push((zn+sn)/tt.width),da.push((vr+fi)/tt.height),da.push((zr+kn)/tt.height);var Ti=Math.max.apply(Math,da);Ti>1&&(tr/=Ti,vr/=Ti,Hr/=Ti,zr/=Ti,sn/=Ti,kn/=Ti,zn/=Ti,fi/=Ti);var na=tt.width-Hr,La=tt.height-kn,Bi=tt.width-sn,Lo=tt.height-fi,no=He.borderTopWidth,Ko=He.borderRightWidth,Bo=He.borderBottomWidth,Fa=He.borderLeftWidth,Wo=Dr(He.paddingTop,ie.bounds.width),fs=Dr(He.paddingRight,ie.bounds.width),vs=Dr(He.paddingBottom,ie.bounds.width),Es=Dr(He.paddingLeft,ie.bounds.width);this.topLeftBorderBox=tr>0||vr>0?yr(tt.left,tt.top,tr,vr,lr.TOP_LEFT):new We(tt.left,tt.top),this.topRightBorderBox=Hr>0||zr>0?yr(tt.left+na,tt.top,Hr,zr,lr.TOP_RIGHT):new We(tt.left+tt.width,tt.top),this.bottomRightBorderBox=sn>0||kn>0?yr(tt.left+Bi,tt.top+La,sn,kn,lr.BOTTOM_RIGHT):new We(tt.left+tt.width,tt.top+tt.height),this.bottomLeftBorderBox=zn>0||fi>0?yr(tt.left,tt.top+Lo,zn,fi,lr.BOTTOM_LEFT):new We(tt.left,tt.top+tt.height),this.topLeftPaddingBox=tr>0||vr>0?yr(tt.left+Fa,tt.top+no,Math.max(0,tr-Fa),Math.max(0,vr-no),lr.TOP_LEFT):new We(tt.left+Fa,tt.top+no),this.topRightPaddingBox=Hr>0||zr>0?yr(tt.left+Math.min(na,tt.width+Fa),tt.top+no,na>tt.width+Fa?0:Hr-Fa,zr-no,lr.TOP_RIGHT):new We(tt.left+tt.width-Ko,tt.top+no),this.bottomRightPaddingBox=sn>0||kn>0?yr(tt.left+Math.min(Bi,tt.width-Fa),tt.top+Math.min(La,tt.height+no),Math.max(0,sn-Ko),kn-Bo,lr.BOTTOM_RIGHT):new We(tt.left+tt.width-Ko,tt.top+tt.height-Bo),this.bottomLeftPaddingBox=zn>0||fi>0?yr(tt.left+Fa,tt.top+Lo,Math.max(0,zn-Fa),fi-Bo,lr.BOTTOM_LEFT):new We(tt.left+Fa,tt.top+tt.height-Bo),this.topLeftContentBox=tr>0||vr>0?yr(tt.left+Fa+Es,tt.top+no+Wo,Math.max(0,tr-(Fa+Es)),Math.max(0,vr-(no+Wo)),lr.TOP_LEFT):new We(tt.left+Fa+Es,tt.top+no+Wo),this.topRightContentBox=Hr>0||zr>0?yr(tt.left+Math.min(na,tt.width+Fa+Es),tt.top+no+Wo,na>tt.width+Fa+Es?0:Hr-Fa+Es,zr-(no+Wo),lr.TOP_RIGHT):new We(tt.left+tt.width-(Ko+fs),tt.top+no+Wo),this.bottomRightContentBox=sn>0||kn>0?yr(tt.left+Math.min(Bi,tt.width-(Fa+Es)),tt.top+Math.min(La,tt.height+no+Wo),Math.max(0,sn-(Ko+fs)),kn-(Bo+vs),lr.BOTTOM_RIGHT):new We(tt.left+tt.width-(Ko+fs),tt.top+tt.height-(Bo+vs)),this.bottomLeftContentBox=zn>0||fi>0?yr(tt.left+Fa+Es,tt.top+Lo,Math.max(0,zn-(Fa+Es)),fi-(Bo+vs),lr.BOTTOM_LEFT):new We(tt.left+Fa+Es,tt.top+tt.height-(Bo+vs))}return $e}(),lr;(function($e){$e[$e.TOP_LEFT=0]="TOP_LEFT",$e[$e.TOP_RIGHT=1]="TOP_RIGHT",$e[$e.BOTTOM_RIGHT=2]="BOTTOM_RIGHT",$e[$e.BOTTOM_LEFT=3]="BOTTOM_LEFT"})(lr||(lr={}));var yr=function(ie,He,tt,Ot,tr){var vr=4*((Math.sqrt(2)-1)/3),Ir=tt*vr,Hr=Ot*vr,zr=ie+tt,cn=He+Ot;switch(tr){case lr.TOP_LEFT:return new Ft(new We(ie,cn),new We(ie,cn-Hr),new We(zr-Ir,He),new We(zr,He));case lr.TOP_RIGHT:return new Ft(new We(ie,He),new We(ie+Ir,He),new We(zr,cn-Hr),new We(zr,cn));case lr.BOTTOM_RIGHT:return new Ft(new We(zr,He),new We(zr,He+Hr),new We(ie+Ir,cn),new We(ie,cn));case lr.BOTTOM_LEFT:default:return new Ft(new We(zr,cn),new We(zr-Ir,cn),new We(ie,He+Hr),new We(ie,He))}},Vr=function(ie){return[ie.topLeftBorderBox,ie.topRightBorderBox,ie.bottomRightBorderBox,ie.bottomLeftBorderBox]},Xr=function(ie){return[ie.topLeftContentBox,ie.topRightContentBox,ie.bottomRightContentBox,ie.bottomLeftContentBox]},Pr=function(ie){return[ie.topLeftPaddingBox,ie.topRightPaddingBox,ie.bottomRightPaddingBox,ie.bottomLeftPaddingBox]},Fr=function(){function $e(ie,He,tt){this.type=0,this.offsetX=ie,this.offsetY=He,this.matrix=tt,this.target=2|4}return $e}(),Gr=function(){function $e(ie,He){this.type=1,this.target=He,this.path=ie}return $e}(),dn=function(ie){return ie.type===0},pn=function(ie){return ie.type===1},ei=function(){function $e(ie){this.element=ie,this.inlineLevel=[],this.nonInlineLevel=[],this.negativeZIndex=[],this.zeroOrAutoZIndexOrTransformedOrOpacity=[],this.positiveZIndex=[],this.nonPositionedFloats=[],this.nonPositionedInlineLevel=[]}return $e}(),ci=function(){function $e(ie,He){if(this.container=ie,this.effects=He.slice(0),this.curves=new ar(ie),ie.styles.transform!==null){var tt=ie.bounds.left+ie.styles.transformOrigin[0].number,Ot=ie.bounds.top+ie.styles.transformOrigin[1].number,tr=ie.styles.transform;this.effects.push(new Fr(tt,Ot,tr))}if(ie.styles.overflowX!==Qe.VISIBLE){var vr=Vr(this.curves),Ir=Pr(this.curves);ut(vr,Ir)?this.effects.push(new Gr(vr,2|4)):(this.effects.push(new Gr(vr,2)),this.effects.push(new Gr(Ir,4)))}}return $e.prototype.getParentEffects=function(){var ie=this.effects.slice(0);if(this.container.styles.overflowX!==Qe.VISIBLE){var He=Vr(this.curves),tt=Pr(this.curves);ut(He,tt)||ie.push(new Gr(tt,2|4))}return ie},$e}(),ii=function $e(ie,He,tt,Ot){ie.container.elements.forEach(function(tr){var vr=Do(tr.flags,4),Ir=Do(tr.flags,2),Hr=new ci(tr,ie.getParentEffects());Do(tr.styles.display,2048)&&Ot.push(Hr);var zr=Do(tr.flags,8)?[]:Ot;if(vr||Ir){var cn=vr||tr.styles.isPositioned()?tt:He,sn=new ei(Hr);if(tr.styles.isPositioned()||tr.styles.opacity<1||tr.styles.isTransformed()){var kn=tr.styles.zIndex.order;if(kn<0){var si=0;cn.negativeZIndex.some(function(fi,da){return kn>fi.element.container.styles.zIndex.order?(si=da,!1):si>0}),cn.negativeZIndex.splice(si,0,sn)}else if(kn>0){var zn=0;cn.positiveZIndex.some(function(fi,da){return kn>=fi.element.container.styles.zIndex.order?(zn=da+1,!1):zn>0}),cn.positiveZIndex.splice(zn,0,sn)}else cn.zeroOrAutoZIndexOrTransformedOrOpacity.push(sn)}else tr.styles.isFloating()?cn.nonPositionedFloats.push(sn):cn.nonPositionedInlineLevel.push(sn);$e(Hr,sn,vr?sn:tt,zr)}else tr.styles.isInlineLevel()?He.inlineLevel.push(Hr):He.nonInlineLevel.push(Hr),$e(Hr,He,tt,zr);Do(tr.flags,8)&&Zi(tr,zr)})},Zi=function(ie,He){for(var tt=ie instanceof Hl?ie.start:1,Ot=ie instanceof Hl?ie.reversed:!1,tr=0;tr<He.length;tr++){var vr=He[tr];vr.container instanceof el&&typeof vr.container.value=="number"&&vr.container.value!==0&&(tt=vr.container.value),vr.listValue=vl(tt,vr.container.styles.listStyleType,!0),tt+=Ot?-1:1}},Si=function(ie){var He=new ci(ie,[]),tt=new ei(He),Ot=[];return ii(He,tt,tt,Ot),Zi(He.container,Ot),tt},Va=function(ie,He){switch(He){case 0:return Ei(ie.topLeftBorderBox,ie.topLeftPaddingBox,ie.topRightBorderBox,ie.topRightPaddingBox);case 1:return Ei(ie.topRightBorderBox,ie.topRightPaddingBox,ie.bottomRightBorderBox,ie.bottomRightPaddingBox);case 2:return Ei(ie.bottomRightBorderBox,ie.bottomRightPaddingBox,ie.bottomLeftBorderBox,ie.bottomLeftPaddingBox);case 3:default:return Ei(ie.bottomLeftBorderBox,ie.bottomLeftPaddingBox,ie.topLeftBorderBox,ie.topLeftPaddingBox)}},Ei=function(ie,He,tt,Ot){var tr=[];return qt(ie)?tr.push(ie.subdivide(.5,!1)):tr.push(ie),qt(tt)?tr.push(tt.subdivide(.5,!0)):tr.push(tt),qt(Ot)?tr.push(Ot.subdivide(.5,!0).reverse()):tr.push(Ot),qt(He)?tr.push(He.subdivide(.5,!1).reverse()):tr.push(He),tr},co=function(ie){var He=ie.bounds,tt=ie.styles;return He.add(tt.borderLeftWidth,tt.borderTopWidth,-(tt.borderRightWidth+tt.borderLeftWidth),-(tt.borderTopWidth+tt.borderBottomWidth))},zo=function(ie){var He=ie.styles,tt=ie.bounds,Ot=Dr(He.paddingLeft,tt.width),tr=Dr(He.paddingRight,tt.width),vr=Dr(He.paddingTop,tt.width),Ir=Dr(He.paddingBottom,tt.width);return tt.add(Ot+He.borderLeftWidth,vr+He.borderTopWidth,-(He.borderRightWidth+He.borderLeftWidth+Ot+tr),-(He.borderTopWidth+He.borderBottomWidth+vr+Ir))},ao=function(ie,He){return ie===0?He.bounds:ie===2?zo(He):co(He)},Uo=function(ie,He){return ie===Ri.BORDER_BOX?He.bounds:ie===Ri.CONTENT_BOX?zo(He):co(He)},L=function(ie,He,tt){var Ot=ao(ce(ie.styles.backgroundOrigin,He),ie),tr=Uo(ce(ie.styles.backgroundClip,He),ie),vr=re(ce(ie.styles.backgroundSize,He),tt,Ot),Ir=vr[0],Hr=vr[1],zr=Mr(ce(ie.styles.backgroundPosition,He),Ot.width-Ir,Ot.height-Hr),cn=Be(ce(ie.styles.backgroundRepeat,He),zr,vr,Ot,tr),sn=Math.round(Ot.left+zr[0]),kn=Math.round(Ot.top+zr[1]);return[cn,sn,kn,Ir,Hr]},k=function(ie){return Zt(ie)&&ie.value===Ra.AUTO},ee=function(ie){return typeof ie=="number"},re=function(ie,He,tt){var Ot=He[0],tr=He[1],vr=He[2],Ir=ie[0],Hr=ie[1];if(an(Ir)&&Hr&&an(Hr))return[Dr(Ir,tt.width),Dr(Hr,tt.height)];var zr=ee(vr);if(Zt(Ir)&&(Ir.value===Ra.CONTAIN||Ir.value===Ra.COVER)){if(ee(vr)){var cn=tt.width/tt.height;return cn<vr!==(Ir.value===Ra.COVER)?[tt.width,tt.width/vr]:[tt.height*vr,tt.height]}return[tt.width,tt.height]}var sn=ee(Ot),kn=ee(tr),si=sn||kn;if(k(Ir)&&(!Hr||k(Hr))){if(sn&&kn)return[Ot,tr];if(!zr&&!si)return[tt.width,tt.height];if(si&&zr){var zn=sn?Ot:tr*vr,fi=kn?tr:Ot/vr;return[zn,fi]}var da=sn?Ot:tt.width,Ti=kn?tr:tt.height;return[da,Ti]}if(zr){var na=0,La=0;return an(Ir)?na=Dr(Ir,tt.width):an(Hr)&&(La=Dr(Hr,tt.height)),k(Ir)?na=La*vr:(!Hr||k(Hr))&&(La=na/vr),[na,La]}var Bi=null,Lo=null;if(an(Ir)?Bi=Dr(Ir,tt.width):Hr&&an(Hr)&&(Lo=Dr(Hr,tt.height)),Bi!==null&&(!Hr||k(Hr))&&(Lo=sn&&kn?Bi/Ot*tr:tt.height),Lo!==null&&k(Ir)&&(Bi=sn&&kn?Lo/tr*Ot:tt.width),Bi!==null&&Lo!==null)return[Bi,Lo];throw new Error("Unable to calculate background-size for element")},ce=function(ie,He){var tt=ie[He];return typeof tt=="undefined"?ie[0]:tt},Be=function(ie,He,tt,Ot,tr){var vr=He[0],Ir=He[1],Hr=tt[0],zr=tt[1];switch(ie){case fo.REPEAT_X:return[new We(Math.round(Ot.left),Math.round(Ot.top+Ir)),new We(Math.round(Ot.left+Ot.width),Math.round(Ot.top+Ir)),new We(Math.round(Ot.left+Ot.width),Math.round(zr+Ot.top+Ir)),new We(Math.round(Ot.left),Math.round(zr+Ot.top+Ir))];case fo.REPEAT_Y:return[new We(Math.round(Ot.left+vr),Math.round(Ot.top)),new We(Math.round(Ot.left+vr+Hr),Math.round(Ot.top)),new We(Math.round(Ot.left+vr+Hr),Math.round(Ot.height+Ot.top)),new We(Math.round(Ot.left+vr),Math.round(Ot.height+Ot.top))];case fo.NO_REPEAT:return[new We(Math.round(Ot.left+vr),Math.round(Ot.top+Ir)),new We(Math.round(Ot.left+vr+Hr),Math.round(Ot.top+Ir)),new We(Math.round(Ot.left+vr+Hr),Math.round(Ot.top+Ir+zr)),new We(Math.round(Ot.left+vr),Math.round(Ot.top+Ir+zr))];default:return[new We(Math.round(tr.left),Math.round(tr.top)),new We(Math.round(tr.left+tr.width),Math.round(tr.top)),new We(Math.round(tr.left+tr.width),Math.round(tr.height+tr.top)),new We(Math.round(tr.left),Math.round(tr.height+tr.top))]}},yt="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7",Dt="Hidden Text",Kt=function(){function $e(ie){this._data={},this._document=ie}return $e.prototype.parseMetrics=function(ie,He){var tt=this._document.createElement("div"),Ot=this._document.createElement("img"),tr=this._document.createElement("span"),vr=this._document.body;tt.style.visibility="hidden",tt.style.fontFamily=ie,tt.style.fontSize=He,tt.style.margin="0",tt.style.padding="0",vr.appendChild(tt),Ot.src=yt,Ot.width=1,Ot.height=1,Ot.style.margin="0",Ot.style.padding="0",Ot.style.verticalAlign="baseline",tr.style.fontFamily=ie,tr.style.fontSize=He,tr.style.margin="0",tr.style.padding="0",tr.appendChild(this._document.createTextNode(Dt)),tt.appendChild(tr),tt.appendChild(Ot);var Ir=Ot.offsetTop-tr.offsetTop+2;tt.removeChild(tr),tt.appendChild(this._document.createTextNode(Dt)),tt.style.lineHeight="normal",Ot.style.verticalAlign="super";var Hr=Ot.offsetTop-tt.offsetTop+2;return vr.removeChild(tt),{baseline:Ir,middle:Hr}},$e.prototype.getMetrics=function(ie,He){var tt=ie+" "+He;return typeof this._data[tt]=="undefined"&&(this._data[tt]=this.parseMetrics(ie,He)),this._data[tt]},$e}(),Yt=1e4,Cr=function(){function $e(ie){this._activeEffects=[],this.canvas=ie.canvas?ie.canvas:document.createElement("canvas"),this.ctx=this.canvas.getContext("2d"),this.options=ie,ie.canvas||(this.canvas.width=Math.floor(ie.width*ie.scale),this.canvas.height=Math.floor(ie.height*ie.scale),this.canvas.style.width=ie.width+"px",this.canvas.style.height=ie.height+"px"),this.fontMetrics=new Kt(document),this.ctx.scale(this.options.scale,this.options.scale),this.ctx.translate(-ie.x+ie.scrollX,-ie.y+ie.scrollY),this.ctx.textBaseline="bottom",this._activeEffects=[],la.getInstance(ie.id).debug("Canvas renderer initialized ("+ie.width+"x"+ie.height+" at "+ie.x+","+ie.y+") with scale "+ie.scale)}return $e.prototype.applyEffects=function(ie,He){for(var tt=this;this._activeEffects.length;)this.popEffect();ie.filter(function(Ot){return Do(Ot.target,He)}).forEach(function(Ot){return tt.applyEffect(Ot)})},$e.prototype.applyEffect=function(ie){this.ctx.save(),dn(ie)&&(this.ctx.translate(ie.offsetX,ie.offsetY),this.ctx.transform(ie.matrix[0],ie.matrix[1],ie.matrix[2],ie.matrix[3],ie.matrix[4],ie.matrix[5]),this.ctx.translate(-ie.offsetX,-ie.offsetY)),pn(ie)&&(this.path(ie.path),this.ctx.clip()),this._activeEffects.push(ie)},$e.prototype.popEffect=function(){this._activeEffects.pop(),this.ctx.restore()},$e.prototype.renderStack=function(ie){return m(this,void 0,void 0,function(){var He;return v(this,function(tt){switch(tt.label){case 0:return He=ie.element.container.styles,He.isVisible()?(this.ctx.globalAlpha=He.opacity,[4,this.renderStackContent(ie)]):[3,2];case 1:tt.sent(),tt.label=2;case 2:return[2]}})})},$e.prototype.renderNode=function(ie){return m(this,void 0,void 0,function(){return v(this,function(He){switch(He.label){case 0:return ie.container.styles.isVisible()?[4,this.renderNodeBackgroundAndBorders(ie)]:[3,3];case 1:return He.sent(),[4,this.renderNodeContent(ie)];case 2:He.sent(),He.label=3;case 3:return[2]}})})},$e.prototype.renderTextWithLetterSpacing=function(ie,He){var tt=this;if(He===0)this.ctx.fillText(ie.text,ie.bounds.left,ie.bounds.top+ie.bounds.height);else{var Ot=i(ie.text).map(function(tr){return r(tr)});Ot.reduce(function(tr,vr){return tt.ctx.fillText(vr,tr,ie.bounds.top+ie.bounds.height),tr+tt.ctx.measureText(vr).width},ie.bounds.left)}},$e.prototype.createFontStyle=function(ie){var He=ie.fontVariant.filter(function(tr){return tr==="normal"||tr==="small-caps"}).join(""),tt=ie.fontFamily.join(", "),Ot=it(ie.fontSize)?""+ie.fontSize.number+ie.fontSize.unit:ie.fontSize.number+"px";return[[ie.fontStyle,He,ie.fontWeight,Ot,tt].join(" "),tt,Ot]},$e.prototype.renderTextNode=function(ie,He){return m(this,void 0,void 0,function(){var tt,Ot,tr,vr,Ir=this;return v(this,function(Hr){return tt=this.createFontStyle(He),Ot=tt[0],tr=tt[1],vr=tt[2],this.ctx.font=Ot,ie.textBounds.forEach(function(zr){Ir.ctx.fillStyle=In(He.color),Ir.renderTextWithLetterSpacing(zr,He.letterSpacing);var cn=He.textShadow;cn.length&&zr.text.trim().length&&(cn.slice(0).reverse().forEach(function(sn){Ir.ctx.shadowColor=In(sn.color),Ir.ctx.shadowOffsetX=sn.offsetX.number*Ir.options.scale,Ir.ctx.shadowOffsetY=sn.offsetY.number*Ir.options.scale,Ir.ctx.shadowBlur=sn.blur.number,Ir.ctx.fillText(zr.text,zr.bounds.left,zr.bounds.top+zr.bounds.height)}),Ir.ctx.shadowColor="",Ir.ctx.shadowOffsetX=0,Ir.ctx.shadowOffsetY=0,Ir.ctx.shadowBlur=0),He.textDecorationLine.length&&(Ir.ctx.fillStyle=In(He.textDecorationColor||He.color),He.textDecorationLine.forEach(function(sn){switch(sn){case 1:var kn=Ir.fontMetrics.getMetrics(tr,vr).baseline;Ir.ctx.fillRect(zr.bounds.left,Math.round(zr.bounds.top+kn),zr.bounds.width,1);break;case 2:Ir.ctx.fillRect(zr.bounds.left,Math.round(zr.bounds.top),zr.bounds.width,1);break;case 3:var si=Ir.fontMetrics.getMetrics(tr,vr).middle;Ir.ctx.fillRect(zr.bounds.left,Math.ceil(zr.bounds.top+si),zr.bounds.width,1);break}}))}),[2]})})},$e.prototype.renderReplacedElement=function(ie,He,tt){if(tt&&ie.intrinsicWidth>0&&ie.intrinsicHeight>0){var Ot=zo(ie),tr=Pr(He);this.path(tr),this.ctx.save(),this.ctx.clip(),this.ctx.drawImage(tt,0,0,ie.intrinsicWidth,ie.intrinsicHeight,Ot.left,Ot.top,Ot.width,Ot.height),this.ctx.restore()}},$e.prototype.renderNodeContent=function(ie){return m(this,void 0,void 0,function(){var He,tt,Ot,tr,vr,Ir,Hr,zr,Hr,cn,sn,kn,si,zn,fi,da,Ti,Hr,na,La,zn;return v(this,function(Bi){switch(Bi.label){case 0:this.applyEffects(ie.effects,4),He=ie.container,tt=ie.curves,Ot=He.styles,tr=0,vr=He.textNodes,Bi.label=1;case 1:return tr<vr.length?(Ir=vr[tr],[4,this.renderTextNode(Ir,Ot)]):[3,4];case 2:Bi.sent(),Bi.label=3;case 3:return tr++,[3,1];case 4:if(!(He instanceof Nl))return[3,8];Bi.label=5;case 5:return Bi.trys.push([5,7,,8]),[4,this.options.cache.match(He.src)];case 6:return Hr=Bi.sent(),this.renderReplacedElement(He,tt,Hr),[3,8];case 7:return zr=Bi.sent(),la.getInstance(this.options.id).error("Error loading image "+He.src),[3,8];case 8:if(He instanceof Is&&this.renderReplacedElement(He,tt,He.canvas),!(He instanceof Gs))return[3,12];Bi.label=9;case 9:return Bi.trys.push([9,11,,12]),[4,this.options.cache.match(He.svg)];case 10:return Hr=Bi.sent(),this.renderReplacedElement(He,tt,Hr),[3,12];case 11:return cn=Bi.sent(),la.getInstance(this.options.id).error("Error loading svg "+He.svg.substring(0,255)),[3,12];case 12:return He instanceof Wl&&He.tree?(sn=new $e({id:this.options.id,scale:this.options.scale,backgroundColor:He.backgroundColor,x:0,y:0,scrollX:0,scrollY:0,width:He.width,height:He.height,cache:this.options.cache,windowWidth:He.width,windowHeight:He.height}),[4,sn.render(He.tree)]):[3,14];case 13:kn=Bi.sent(),He.width&&He.height&&this.ctx.drawImage(kn,0,0,He.width,He.height,He.bounds.left,He.bounds.top,He.bounds.width,He.bounds.height),Bi.label=14;case 14:if(He instanceof Ml&&(si=Math.min(He.bounds.width,He.bounds.height),He.type===es?He.checked&&(this.ctx.save(),this.path([new We(He.bounds.left+si*.39363,He.bounds.top+si*.79),new We(He.bounds.left+si*.16,He.bounds.top+si*.5549),new We(He.bounds.left+si*.27347,He.bounds.top+si*.44071),new We(He.bounds.left+si*.39694,He.bounds.top+si*.5649),new We(He.bounds.left+si*.72983,He.bounds.top+si*.23),new We(He.bounds.left+si*.84,He.bounds.top+si*.34085),new We(He.bounds.left+si*.39363,He.bounds.top+si*.79)]),this.ctx.fillStyle=In(Rl),this.ctx.fill(),this.ctx.restore()):He.type===tl&&(He.checked&&(this.ctx.save(),this.ctx.beginPath(),this.ctx.arc(He.bounds.left+si/2,He.bounds.top+si/2,si/4,0,Math.PI*2,!0),this.ctx.fillStyle=In(Rl),this.ctx.fill(),this.ctx.restore()))),Ur(He)&&He.value.length){this.ctx.font=this.createFontStyle(Ot)[0],this.ctx.fillStyle=In(Ot.color),this.ctx.textBaseline="middle",this.ctx.textAlign=nn(He.styles.textAlign),zn=zo(He),fi=0;switch(He.styles.textAlign){case Cn.CENTER:fi+=zn.width/2;break;case Cn.RIGHT:fi+=zn.width;break}da=zn.add(fi,0,0,-zn.height/2+1),this.ctx.save(),this.path([new We(zn.left,zn.top),new We(zn.left+zn.width,zn.top),new We(zn.left+zn.width,zn.top+zn.height),new We(zn.left,zn.top+zn.height)]),this.ctx.clip(),this.renderTextWithLetterSpacing(new qo(He.value,da),Ot.letterSpacing),this.ctx.restore(),this.ctx.textBaseline="bottom",this.ctx.textAlign="left"}if(!Do(He.styles.display,2048))return[3,20];if(!(He.styles.listStyleImage!==null))return[3,19];if(Ti=He.styles.listStyleImage,!(Ti.type===Ca.URL))return[3,18];Hr=void 0,na=Ti.url,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,He.bounds.left-(Hr.width+10),He.bounds.top),[3,18];case 17:return La=Bi.sent(),la.getInstance(this.options.id).error("Error loading list-style-image "+na),[3,18];case 18:return[3,20];case 19:ie.listValue&&He.styles.listStyleType!==Dn.NONE&&(this.ctx.font=this.createFontStyle(Ot)[0],this.ctx.fillStyle=In(Ot.color),this.ctx.textBaseline="middle",this.ctx.textAlign="right",zn=new h(He.bounds.left,He.bounds.top+Dr(He.styles.paddingTop,He.bounds.width),He.bounds.width,as(Ot.lineHeight,Ot.fontSize.number)/2+1),this.renderTextWithLetterSpacing(new qo(ie.listValue,zn),Ot.letterSpacing),this.ctx.textBaseline="bottom",this.ctx.textAlign="left"),Bi.label=20;case 20:return[2]}})})},$e.prototype.renderStackContent=function(ie){return m(this,void 0,void 0,function(){var He,tt,Ot,tr,vr,Ot,Ir,Hr,Ot,zr,cn,Ot,sn,kn,Ot,si,zn,Ot,fi,da,Ot;return v(this,function(Ti){switch(Ti.label){case 0:return[4,this.renderNodeBackgroundAndBorders(ie.element)];case 1:Ti.sent(),He=0,tt=ie.negativeZIndex,Ti.label=2;case 2:return He<tt.length?(Ot=tt[He],[4,this.renderStack(Ot)]):[3,5];case 3:Ti.sent(),Ti.label=4;case 4:return He++,[3,2];case 5:return[4,this.renderNodeContent(ie.element)];case 6:Ti.sent(),tr=0,vr=ie.nonInlineLevel,Ti.label=7;case 7:return tr<vr.length?(Ot=vr[tr],[4,this.renderNode(Ot)]):[3,10];case 8:Ti.sent(),Ti.label=9;case 9:return tr++,[3,7];case 10:Ir=0,Hr=ie.nonPositionedFloats,Ti.label=11;case 11:return Ir<Hr.length?(Ot=Hr[Ir],[4,this.renderStack(Ot)]):[3,14];case 12:Ti.sent(),Ti.label=13;case 13:return Ir++,[3,11];case 14:zr=0,cn=ie.nonPositionedInlineLevel,Ti.label=15;case 15:return zr<cn.length?(Ot=cn[zr],[4,this.renderStack(Ot)]):[3,18];case 16:Ti.sent(),Ti.label=17;case 17:return zr++,[3,15];case 18:sn=0,kn=ie.inlineLevel,Ti.label=19;case 19:return sn<kn.length?(Ot=kn[sn],[4,this.renderNode(Ot)]):[3,22];case 20:Ti.sent(),Ti.label=21;case 21:return sn++,[3,19];case 22:si=0,zn=ie.zeroOrAutoZIndexOrTransformedOrOpacity,Ti.label=23;case 23:return si<zn.length?(Ot=zn[si],[4,this.renderStack(Ot)]):[3,26];case 24:Ti.sent(),Ti.label=25;case 25:return si++,[3,23];case 26:fi=0,da=ie.positiveZIndex,Ti.label=27;case 27:return fi<da.length?(Ot=da[fi],[4,this.renderStack(Ot)]):[3,30];case 28:Ti.sent(),Ti.label=29;case 29:return fi++,[3,27];case 30:return[2]}})})},$e.prototype.mask=function(ie){this.ctx.beginPath(),this.ctx.moveTo(0,0),this.ctx.lineTo(this.canvas.width,0),this.ctx.lineTo(this.canvas.width,this.canvas.height),this.ctx.lineTo(0,this.canvas.height),this.ctx.lineTo(0,0),this.formatPath(ie.slice(0).reverse()),this.ctx.closePath()},$e.prototype.path=function(ie){this.ctx.beginPath(),this.formatPath(ie),this.ctx.closePath()},$e.prototype.formatPath=function(ie){var He=this;ie.forEach(function(tt,Ot){var tr=qt(tt)?tt.start:tt;Ot===0?He.ctx.moveTo(tr.x,tr.y):He.ctx.lineTo(tr.x,tr.y),qt(tt)&&He.ctx.bezierCurveTo(tt.startControl.x,tt.startControl.y,tt.endControl.x,tt.endControl.y,tt.end.x,tt.end.y)})},$e.prototype.renderRepeat=function(ie,He,tt,Ot){this.path(ie),this.ctx.fillStyle=He,this.ctx.translate(tt,Ot),this.ctx.fill(),this.ctx.translate(-tt,-Ot)},$e.prototype.resizeImage=function(ie,He,tt){if(ie.width===He&&ie.height===tt)return ie;var Ot=this.canvas.ownerDocument.createElement("canvas");Ot.width=He,Ot.height=tt;var tr=Ot.getContext("2d");return tr.drawImage(ie,0,0,ie.width,ie.height,0,0,He,tt),Ot},$e.prototype.renderBackgroundImage=function(ie){return m(this,void 0,void 0,function(){var He,tt,Ot,tr,vr,Ir;return v(this,function(Hr){switch(Hr.label){case 0:He=ie.styles.backgroundImage.length-1,tt=function(cn){var sn,kn,si,zn,fi,da,Ti,na,La,Bi,Lo,fi,da,Ti,na,La,no,Ko,Bo,Fa,Wo,fs,vs,Es,vc,Bi,tc,fi,pc,mc,na,La,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,kn=cn.url,rc.label=1;case 1:return rc.trys.push([1,3,,4]),[4,Ot.options.cache.match(kn)];case 2:return sn=rc.sent(),[3,4];case 3:return si=rc.sent(),la.getInstance(Ot.options.id).error("Error loading background-image "+kn),[3,4];case 4:return sn&&(zn=L(ie,He,[sn.width,sn.height,sn.width/sn.height]),fi=zn[0],da=zn[1],Ti=zn[2],na=zn[3],La=zn[4],Bi=Ot.ctx.createPattern(Ot.resizeImage(sn,na,La),"repeat"),Ot.renderRepeat(fi,Bi,da,Ti)),[3,6];case 5:to(cn)?(Lo=L(ie,He,[null,null,null]),fi=Lo[0],da=Lo[1],Ti=Lo[2],na=Lo[3],La=Lo[4],no=qi(cn.angle,na,La),Ko=no[0],Bo=no[1],Fa=no[2],Wo=no[3],fs=no[4],vs=document.createElement("canvas"),vs.width=na,vs.height=La,Es=vs.getContext("2d"),vc=Es.createLinearGradient(Bo,Wo,Fa,fs),mi(cn.stops,Ko).forEach(function(fc){return vc.addColorStop(fc.stop,In(fc.color))}),Es.fillStyle=vc,Es.fillRect(0,0,na,La),na>0&&La>0&&(Bi=Ot.ctx.createPattern(vs,"repeat"),Ot.renderRepeat(fi,Bi,da,Ti))):_o(cn)&&(tc=L(ie,He,[null,null,null]),fi=tc[0],pc=tc[1],mc=tc[2],na=tc[3],La=tc[4],gc=cn.position.length===0?[sr]:cn.position,da=Dr(gc[0],na),Ti=Dr(gc[gc.length-1],La),yc=ya(cn,da,Ti,na,La),Ul=yc[0],Ac=yc[1],Ul>0&&Ul>0&&(bc=Ot.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,In(fc.color))}),Ot.path(fi),Ot.ctx.fillStyle=bc,Ul!==Ac?(wc=ie.bounds.left+.5*ie.bounds.width,hc=ie.bounds.top+.5*ie.bounds.height,Sc=Ac/Ul,xc=1/Sc,Ot.ctx.save(),Ot.ctx.translate(wc,hc),Ot.ctx.transform(1,0,0,Sc,0,0),Ot.ctx.translate(-wc,-hc),Ot.ctx.fillRect(pc,xc*(mc-hc)+hc,na,La*xc),Ot.ctx.restore()):Ot.ctx.fill())),rc.label=6;case 6:return He--,[2]}})},Ot=this,tr=0,vr=ie.styles.backgroundImage.slice(0).reverse(),Hr.label=1;case 1:return tr<vr.length?(Ir=vr[tr],[5,tt(Ir)]):[3,4];case 2:Hr.sent(),Hr.label=3;case 3:return tr++,[3,1];case 4:return[2]}})})},$e.prototype.renderBorder=function(ie,He,tt){return m(this,void 0,void 0,function(){return v(this,function(Ot){return this.path(Va(tt,He)),this.ctx.fillStyle=In(ie),this.ctx.fill(),[2]})})},$e.prototype.renderNodeBackgroundAndBorders=function(ie){return m(this,void 0,void 0,function(){var He,tt,Ot,tr,vr,Ir,Hr,zr,cn=this;return v(this,function(sn){switch(sn.label){case 0:return this.applyEffects(ie.effects,2),He=ie.container.styles,tt=!En(He.backgroundColor)||He.backgroundImage.length,Ot=[{style:He.borderTopStyle,color:He.borderTopColor},{style:He.borderRightStyle,color:He.borderRightColor},{style:He.borderBottomStyle,color:He.borderBottomColor},{style:He.borderLeftStyle,color:He.borderLeftColor}],tr=en(ce(He.backgroundClip,0),ie.curves),tt||He.boxShadow.length?(this.ctx.save(),this.path(tr),this.ctx.clip(),En(He.backgroundColor)||(this.ctx.fillStyle=In(He.backgroundColor),this.ctx.fill()),[4,this.renderBackgroundImage(ie.container)]):[3,2];case 1:sn.sent(),this.ctx.restore(),He.boxShadow.slice(0).reverse().forEach(function(kn){cn.ctx.save();var si=Vr(ie.curves),zn=kn.inset?0:Yt,fi=Se(si,-zn+(kn.inset?1:-1)*kn.spread.number,(kn.inset?1:-1)*kn.spread.number,kn.spread.number*(kn.inset?-2:2),kn.spread.number*(kn.inset?-2:2));kn.inset?(cn.path(si),cn.ctx.clip(),cn.mask(fi)):(cn.mask(si),cn.ctx.clip(),cn.path(fi)),cn.ctx.shadowOffsetX=kn.offsetX.number+zn,cn.ctx.shadowOffsetY=kn.offsetY.number,cn.ctx.shadowColor=In(kn.color),cn.ctx.shadowBlur=kn.blur.number,cn.ctx.fillStyle=kn.inset?In(kn.color):"rgba(0,0,0,1)",cn.ctx.fill(),cn.ctx.restore()}),sn.label=2;case 2:vr=0,Ir=0,Hr=Ot,sn.label=3;case 3:return Ir<Hr.length?(zr=Hr[Ir],zr.style!==bo.NONE&&!En(zr.color)?[4,this.renderBorder(zr.color,vr,ie.curves)]:[3,5]):[3,7];case 4:sn.sent(),sn.label=5;case 5:vr++,sn.label=6;case 6:return Ir++,[3,3];case 7:return[2]}})})},$e.prototype.render=function(ie){return m(this,void 0,void 0,function(){var He;return v(this,function(tt){switch(tt.label){case 0:return this.options.backgroundColor&&(this.ctx.fillStyle=In(this.options.backgroundColor),this.ctx.fillRect(this.options.x-this.options.scrollX,this.options.y-this.options.scrollY,this.options.width,this.options.height)),He=Si(ie),[4,this.renderStack(He)];case 1:return tt.sent(),this.applyEffects([],2),[2,this.canvas]}})})},$e}(),Ur=function(ie){return ie instanceof Kl||ie instanceof bl?!0:ie instanceof Ml&&ie.type!==tl&&ie.type!==es},en=function(ie,He){switch(ie){case Ri.BORDER_BOX:return Vr(He);case Ri.CONTENT_BOX:return Xr(He);case Ri.PADDING_BOX:default:return Pr(He)}},nn=function(ie){switch(ie){case Cn.CENTER:return"center";case Cn.RIGHT:return"right";case Cn.LEFT:default:return"left"}},xn=function(){function $e(ie){this.canvas=ie.canvas?ie.canvas:document.createElement("canvas"),this.ctx=this.canvas.getContext("2d"),this.options=ie,this.canvas.width=Math.floor(ie.width*ie.scale),this.canvas.height=Math.floor(ie.height*ie.scale),this.canvas.style.width=ie.width+"px",this.canvas.style.height=ie.height+"px",this.ctx.scale(this.options.scale,this.options.scale),this.ctx.translate(-ie.x+ie.scrollX,-ie.y+ie.scrollY),la.getInstance(ie.id).debug("EXPERIMENTAL ForeignObject renderer initialized ("+ie.width+"x"+ie.height+" at "+ie.x+","+ie.y+") with scale "+ie.scale)}return $e.prototype.render=function(ie){return m(this,void 0,void 0,function(){var He,tt;return v(this,function(Ot){switch(Ot.label){case 0:return He=bi(Math.max(this.options.windowWidth,this.options.width)*this.options.scale,Math.max(this.options.windowHeight,this.options.height)*this.options.scale,this.options.scrollX*this.options.scale,this.options.scrollY*this.options.scale,ie),[4,Pn(He)];case 1:return tt=Ot.sent(),this.options.backgroundColor&&(this.ctx.fillStyle=In(this.options.backgroundColor),this.ctx.fillRect(0,0,this.options.width*this.options.scale,this.options.height*this.options.scale)),this.ctx.drawImage(tt,-this.options.x*this.options.scale,-this.options.y*this.options.scale),[2,this.canvas]}})})},$e}(),Pn=function(ie){return new Promise(function(He,tt){var Ot=new Image;Ot.onload=function(){He(Ot)},Ot.onerror=tt,Ot.src="data:image/svg+xml;charset=utf-8,"+encodeURIComponent(new XMLSerializer().serializeToString(ie))})},Jn=void 0,Zn=function(ie){return Rn.parse(hn.create(ie).parseComponentValue())},oi=function(ie,He){return He===void 0&&(He={}),li(ie,He)};typeof window!="undefined"&&gi.setContext(window);var li=function(ie,He){return m(Jn,void 0,void 0,function(){var tt,Ot,tr,vr,Ir,Hr,zr,cn,sn,kn,si,zn,fi,da,Ti,na,La,Bi,Lo,no,Ko,Bo,Fa,Wo,fs,Wo;return v(this,function(vs){switch(vs.label){case 0:if(tt=ie.ownerDocument,!tt)throw new Error("Element is not attached to a Document");if(Ot=tt.defaultView,!Ot)throw new Error("Document is not attached to a Window");return tr=(Math.round(Math.random()*1e3)+Date.now()).toString(16),vr=hl(ie)||xl(ie)?a(tt):c(ie),Ir=vr.width,Hr=vr.height,zr=vr.left,cn=vr.top,sn={allowTaint:!1,imageTimeout:15e3,proxy:void 0,useCORS:!1},kn=A({},sn,He),si={backgroundColor:"#ffffff",cache:He.cache?He.cache:gi.create(tr,kn),logging:!0,removeContainer:!0,foreignObjectRendering:!1,scale:Ot.devicePixelRatio||1,windowWidth:Ot.innerWidth,windowHeight:Ot.innerHeight,scrollX:Ot.pageXOffset,scrollY:Ot.pageYOffset,x:zr,y:cn,width:Math.ceil(Ir),height:Math.ceil(Hr),id:tr},zn=A({},si,kn,He),fi=new h(zn.scrollX,zn.scrollY,zn.windowWidth,zn.windowHeight),la.create({id:tr,enabled:zn.logging}),la.getInstance(tr).debug("Starting document clone"),da=new Pl(ie,{id:tr,onclone:zn.onclone,ignoreElements:zn.ignoreElements,inlineImages:zn.foreignObjectRendering,copyStyles:zn.foreignObjectRendering}),Ti=da.clonedReferenceElement,Ti?[4,da.toIFrame(tt,fi)]:[2,Promise.reject("Unable to find element in cloned iframe")];case 1:return na=vs.sent(),La=tt.documentElement?Zn(getComputedStyle(tt.documentElement).backgroundColor):_i.TRANSPARENT,Bi=tt.body?Zn(getComputedStyle(tt.body).backgroundColor):_i.TRANSPARENT,Lo=He.backgroundColor,no=typeof Lo=="string"?Zn(Lo):Lo===null?_i.TRANSPARENT:4294967295,Ko=ie===tt.documentElement?En(La)?En(Bi)?no:Bi:La:no,Bo={id:tr,cache:zn.cache,canvas:zn.canvas,backgroundColor:Ko,scale:zn.scale,x:zn.x,y:zn.y,scrollX:zn.scrollX,scrollY:zn.scrollY,width:zn.width,height:zn.height,windowWidth:zn.windowWidth,windowHeight:zn.windowHeight},zn.foreignObjectRendering?(la.getInstance(tr).debug("Document cloned, using foreign object rendering"),Wo=new xn(Bo),[4,Wo.render(Ti)]):[3,3];case 2:return Fa=vs.sent(),[3,5];case 3:return la.getInstance(tr).debug("Document cloned, using computed rendering"),gi.attachInstance(zn.cache),la.getInstance(tr).debug("Starting DOM parsing"),fs=rl(Ti),gi.detachInstance(),Ko===fs.styles.backgroundColor&&(fs.styles.backgroundColor=_i.TRANSPARENT),la.getInstance(tr).debug("Starting renderer"),Wo=new Cr(Bo),[4,Wo.render(fs)];case 4:Fa=vs.sent(),vs.label=5;case 5:return zn.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,Fa]}})})};return oi})},wPlo:function(R,D,e){"use strict";e.d(D,"a",function(){return g});var g="RC_SELECT_INTERNAL_PROPS_MARK"},wXyp:function(R,D,e){"use strict";var g=e("TqRt"),f=e("284h");Object.defineProperty(D,"__esModule",{value:!0}),D.default=void 0;var A=f(e("q1tI")),m=g(e("ygfH")),v=g(e("KQxl")),h=function(i,r){return A.createElement(v.default,Object.assign({},i,{ref:r,icon:m.default}))};h.displayName="CheckOutlined";var c=A.forwardRef(h);D.default=c},wYyv:function(R,D,e){"use strict";var g=e("R5yR"),f=e("5wUe"),A=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),A(h,c,a),h};R.exports=m,R.exports.mutate=A},wgJM:function(R,D,e){"use strict";e.d(D,"a",function(){return A});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 A(m){return g(m)}A.cancel=f},wgjA:function(R,D,e){"use strict";Object.defineProperty(D,"__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"};D.default=g},whVF:function(R,D,e){"use strict";Object.defineProperty(D,"__esModule",{value:!0}),D.default=void 0;var g=e("lNSK"),f=A(e("1q3G"));function A(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}();D.default=c},wlus:function(R,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"},A=f,m=e("6VBw"),v=function(a,i){return g.createElement(m.a,Object.assign({},a,{ref:i,icon:A}))};v.displayName="MinusCircleOutlined";var h=D.a=g.forwardRef(v)},wr5s:function(R,D,e){var g=e("IwbS"),f=g.extendShape,A=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),x=l?n-d<Math.PI*2:d-n<Math.PI*2;x&&(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()}});R.exports=A},wt3j:function(R,D,e){var g=e("ProS"),f=e("bYtY"),A=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 A(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())}R.exports=h},wy8a:function(R,D,e){var g=e("KxBF");function f(A,m,v){var h=A.length;return v=v===void 0?h:v,!m&&v>=h?A:g(A,m,v)}R.exports=f},x3X8:function(R,D,e){var g=e("KxfA"),f=g.retrieveRawValue;function A(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(" ")}}D.getDefaultLabel=A},x54q:function(R,D,e){},x6Kt:function(R,D,e){var g=e("y+Vt"),f=e("VpOo"),A=e("nPnh"),m=A.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}});R.exports=h},xGfz:function(R,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"},A=f,m=e("6VBw"),v=function(a,i){return g.createElement(m.a,Object.assign({},a,{ref:i,icon:A}))};v.displayName="PlusSquareOutlined";var h=D.a=g.forwardRef(v)},xKMd:function(R,D){function e(f,A){this.getAllNames=function(){var m=A();return m.mapArray(m.getName)},this.containName=function(m){var v=A();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;R.exports=g},xO64:function(R,D,e){"use strict";Object.defineProperty(D,"__esModule",{value:!0}),D.default=void 0;var g=f(e("8K/p"));function f(t){return t&&t.__esModule?t:{default:t}}function A(t){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?A=function(u){return typeof u}:A=function(u){return u&&typeof Symbol=="function"&&u.constructor===Symbol&&u!==Symbol.prototype?"symbol":typeof u},A(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,x){return p.__proto__=x,p},a(t,s)}function i(t){var s=d();return function(){var p=n(t),x;if(s){var S=n(this).constructor;x=Reflect.construct(p,arguments,S)}else x=p.apply(this,arguments);return r(this,x)}}function r(t,s){return s&&(A(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(x,S,T,w,E,C,_){var y=this._readData(E);return y===null?!1:(C.imageRect(x,S,T,w,"image/png",y),!0)}},{key:"_basicRect",value:function(x,S,T,w,E,C,_,y){throw new Error("BasicCompression received in TightPNG rect")}}]),u}(g.default);D.default=l},xRUu:function(R,D,e){e("hJvP"),e("hFmY"),e("sAZ8")},xSIq:function(R,D,e){"use strict";Object.defineProperty(D,"__esModule",{value:!0}),D.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"};D.default=g},xSat:function(R,D){var e={axisPointer:1,tooltip:1,brush:1};function g(f,A,m){var v=A.getComponentByElement(f.topTarget),h=v&&v.coordinateSystem;return v&&v!==m&&!e[v.mainType]&&h&&h.model!==m}D.onIrrelevantElement=g},xTNl:function(R,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]};R.exports=g},xYSL:function(R,D){function e(g,f){return g.has(f)}R.exports=e},xb2K:function(R,D,e){"use strict";var g=e("TqRt"),f=e("284h");Object.defineProperty(D,"__esModule",{value:!0}),D.default=void 0;var A=f(e("q1tI")),m=g(e("5yev")),v=g(e("KQxl")),h=function(i,r){return A.createElement(v.default,Object.assign({},i,{ref:r,icon:m.default}))};h.displayName="RedoOutlined";var c=A.forwardRef(h);D.default=c},xiyX:function(R,D,e){var g=e("bYtY"),f=e("bLfw"),A=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),A("single",v,c,h);var a=v;R.exports=a},xlC8:function(R,D,e){"use strict";Object.defineProperty(D,"__esModule",{value:!0}),D.default=g;function g(f,A,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+A[v++]|0,c=c+h|0;while(--a);h%=65521,c%=65521}return h|c<<16|0}},xvlK:function(R,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"},A=f,m=e("6VBw"),v=function(a,i){return g.createElement(m.a,Object.assign({},a,{ref:i,icon:A}))};v.displayName="PlusOutlined";var h=D.a=g.forwardRef(v)},xzDV:function(R,D,e){},"y+Vt":function(R,D,e){var g=e("Gev7"),f=e("bYtY"),A=e("IMiH"),m=e("2DNl"),v=e("3C/r"),h=v.prototype.getCanvasPattern,c=Math.abs,a=new A(!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,x=l.stroke,S=u&&!!p.colorStops,T=s&&!!x.colorStops,w=u&&!!p.image,E=s&&!!x.image;if(l.bind(d,this,n),this.setTransform(d),this.__dirty){var C;S&&(C=C||this.getBoundingRect(),this._fillGradient=l.getGradient(d,p,C)),T&&(C=C||this.getBoundingRect(),this._strokeGradient=l.getGradient(d,x,C))}S?d.fillStyle=this._fillGradient:w&&(d.fillStyle=h.call(p,d)),T?d.strokeStyle=this._strokeGradient:E&&(d.strokeStyle=h.call(x,d));var _=l.lineDash,y=l.lineDashOffset,b=!!d.setLineDash,O=this.getGlobalScale();if(t.setScale(O[0],O[1],this.segmentIgnoreThreshold),this.__dirtyPath||_&&!b&&s?(t.beginPath(d),_&&!b&&(t.setLineDash(_),t.setLineDashOffset(y)),this.buildPath(t,this.shape,!1),this.path&&(this.__dirtyPath=!1)):(d.beginPath(),this.path.rebuildPath(d)),u)if(l.fillOpacity!=null){var I=d.globalAlpha;d.globalAlpha=l.fillOpacity*l.opacity,t.fill(d),d.globalAlpha=I}else t.fill(d);if(_&&b&&(d.setLineDash(_),d.lineDashOffset=y),s)if(l.strokeOpacity!=null){var I=d.globalAlpha;d.globalAlpha=l.strokeOpacity*l.opacity,t.stroke(d),d.globalAlpha=I}else t.stroke(d);_&&b&&d.setLineDash([]),l.text!=null&&(this.restoreTransform(d),this.drawRectText(d,this.getBoundingRect()))},buildPath:function(d,n,l){},createPathProxy:function(){this.path=new A},getBoundingRect:function(){var d=this._rect,n=this.style,l=!d;if(l){var t=this.path;t||(t=this.path=new A),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,x=s.strokeNoScale?this.getLineScale():1;if(x>1e-10&&(s.hasFill()||(p=Math.max(p,this.strokeContainThreshold)),m.containStroke(u,p/x,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;R.exports=r},"y+lR":function(R,D,e){var g=e("bYtY"),f=e("mFDi"),A=e("z35g");function m(h){A.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,A);var v=m;R.exports=v},"y0+3":function(R,D,e){"use strict";e.d(D,"a",function(){return o}),e.d(D,"b",function(){return n});var g=/margin|padding|width|height|max|min|offset/,f={left:!0,top:!0},A={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=A[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=A[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(R,D,e){var g=e("ljhN");function f(A,m){for(var v=A.length;v--;)if(g(A[v][0],m))return v;return-1}R.exports=f},y23F:function(R,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(A,m){return{target:A,topTarget:m&&m.topTarget}}var f=e;R.exports=f},y2l5:function(R,D,e){var g=e("MwEJ"),f=e("T4UG"),A=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}});R.exports=A},y3Kf:function(R,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"},A=f,m=e("6VBw"),v=function(a,i){return g.createElement(m.a,Object.assign({},a,{ref:i,icon:A}))};v.displayName="UpOutlined";var h=D.a=g.forwardRef(v)},y3NT:function(R,D,e){var g=e("OELB"),f=g.parsePercent,A=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");A.isArray(l)||(l=[0,l]),A.isArray(n)||(n=[n,n]);var t=r.getWidth(),s=r.getHeight(),u=Math.min(t,s),p=f(n[0],t),x=f(n[1],s),S=f(l[0],u/2),T=f(l[1],u/2),w=-d.get("startAngle")*m,E=d.get("minAngle")*m,C=d.getData().tree.root,_=d.getViewRoot(),y=_.depth,b=d.get("sort");b!=null&&h(_,b);var O=0;A.each(_.children,function(W){!isNaN(W.getValue())&&O++});var I=_.getValue(),M=Math.PI/(I||O)*2,F=_.depth>0,P=_.height-(F?-1:1),j=(T-S)/(P||1),K=d.get("clockwise"),N=d.get("stillShowZeroSum"),B=K?1:-1,U=function(W,Y){if(!W)return;var q=Y;if(W!==C){var me=W.getValue(),G=I===0&&N?M:me*M;G<E&&(G=E),q=Y+B*G;var ye=W.depth-y-(F?-1:1),Ae=S+j*ye,ve=S+j*(ye+1),Ue=W.getModel();Ue.get("r0")!=null&&(Ae=f(Ue.get("r0"),u/2)),Ue.get("r")!=null&&(ve=f(Ue.get("r"),u/2)),W.setLayout({angle:G,startAngle:Y,endAngle:q,clockwise:K,cx:p,cy:x,r0:Ae,r:ve})}if(W.children&&W.children.length){var Me=0;A.each(W.children,function(nt){Me+=U(nt,Y+Me)})}return q-Y};if(F){var H=S,z=S+j,X=Math.PI*2;C.setLayout({angle:X,startAngle:w,endAngle:w+X,clockwise:K,cx:p,cy:x,r0:H,r:z})}U(_,w)})}function h(a,i){var r=a.children||[];a.children=c(r,i),r.length&&A.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})}R.exports=v},y3Yb:function(R,D,e){"use strict";var g=e("TqRt"),f=e("284h");Object.defineProperty(D,"__esModule",{value:!0}),D.default=void 0;var A=f(e("q1tI")),m=g(e("HBhm")),v=g(e("KQxl")),h=function(i,r){return A.createElement(v.default,Object.assign({},i,{ref:r,icon:m.default}))};h.displayName="PaperClipOutlined";var c=A.forwardRef(h);D.default=c},"y4/Y":function(R,D,e){var g=e("ProS"),f=e("bYtY"),A=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=A.collect(v,h)}),g.registerAction({type:"updateAxisPointer",event:"updateAxisPointer",update:":updateAxisPointer"},m)},y7Aq:function(R,D,e){var g=e("bYtY"),f=e("+TT/"),A=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],x=A(s,o,i.padding);return l[(x.margin[p[2]]||0)+x[p[0]]+x[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}D.getItemAlign=m,D.makeHighDownBatch=v},y8nQ:function(R,D,e){"use strict";var g=e("cIOH"),f=e.n(g),A=e("gwTy"),m=e.n(A),v=e("1GLa")},yEEn:function(R,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"},A=f,m=e("6VBw"),v=function(a,i){return g.createElement(m.a,Object.assign({},a,{ref:i,icon:A}))};v.displayName="ArrowDownOutlined";var h=D.a=g.forwardRef(v)},yGk4:function(R,D,e){var g=e("Cwc5"),f=e("Kz5y"),A=g(f,"Set");R.exports=A},yO87:function(R,D,e){var g=e("bYtY"),f=e("oVpE"),A=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),x=0;x<i;x++){var S=A(s,-1,-1,2,2,u);S.attr({style:{strokeNoScale:!0},z2:99,silent:!0,scale:[.5,.5]});var T=-x/i*t.period+t.effectOffset;S.animate("",!0).when(t.period,{scale:[t.rippleScale/2,t.rippleScale/2]}).delay(T).start(),S.animateStyle(!0).when(t.period,{opacity:0}).delay(T).start(),p.add(S)}o(p,t)},n.updateEffectAnimation=function(t){for(var s=this._effectCfg,u=this.childAt(1),p=["symbolType","period","rippleScale"],x=0;x<p.length;x++){var S=p[x];if(s[S]!==t[S]){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),x=t.getItemModel(s),S=t.getItemVisual(s,"symbol"),T=r(t.getItemVisual(s,"symbolSize")),w=t.getItemVisual(s,"color");p.attr("scale",T),p.traverse(function(M){M.attr({fill:w})});var E=x.getShallow("symbolOffset");if(E){var C=p.position;C[0]=c(E[0],T[0]),C[1]=c(E[1],T[1])}var _=t.getItemVisual(s,"symbolRotate");p.rotation=(_||0)*Math.PI/180||0;var y={};if(y.showEffectOn=u.get("showEffectOn"),y.rippleScale=x.get("rippleEffect.scale"),y.brushType=x.get("rippleEffect.brushType"),y.period=x.get("rippleEffect.period")*1e3,y.effectOffset=s/t.count(),y.z=x.getShallow("z")||0,y.zlevel=x.getShallow("zlevel")||0,y.symbolType=S,y.color=w,y.rippleEffectColor=x.get("rippleEffect.color"),this.off("mouseover").off("mouseout").off("emphasis").off("normal"),y.showEffectOn==="render")this._effectCfg?this.updateEffectAnimation(y):this.startEffectAnimation(y),this._effectCfg=y;else{this._effectCfg=null,this.stopEffectAnimation();var b=this.childAt(0),O=function(){b.highlight(),y.showEffectOn!=="render"&&this.startEffectAnimation(y)},I=function(){b.downplay(),y.showEffectOn!=="render"&&this.stopEffectAnimation()};this.on("mouseover",O,this).on("mouseout",I,this).on("emphasis",O,this).on("normal",I,this)}this._effectCfg=y},n.fadeOut=function(t){this.off("mouseover").off("mouseout").off("emphasis").off("normal"),t&&t()},g.inherits(d,v);var l=d;R.exports=l},yS9w:function(R,D,e){var g=e("MEGo"),f=g.parseSVG,A=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),x=p.rootMap||(p.rootMap=a()),S=x.get(u);if(S)return S;var T=p.originRoot,w=p.boundingRect;return p.originRootHostKey?S=l(s,w).root:(p.originRootHostKey=u,S=T),x.set(u,S)},removeGraphic:function(t,s,u){var p=d(s),x=p.rootMap;x&&x.removeKey(u),u===p.originRootHostKey&&(p.originRootHostKey=null)}};function l(t,s){var u=t.svgXML,p,x;try{p=u&&f(u,{ignoreViewBox:!0,ignoreRootClip:!0})||{},x=p.root,c(x!=null)}catch(_){throw new Error(`Invalid svg format
|
|
|
`+_.message)}var S=p.width,T=p.height,w=p.viewBoxRect;if(s||(s=S==null||T==null?x.getBoundingRect():new i(0,0,0,0),S!=null&&(s.width=S),T!=null&&(s.height=T)),w){var E=A(w,s.width,s.height),C=x;x=new m,x.add(C),C.scale=E.scale,C.position=E.position}return x.setClipPath(new v({shape:s.plain()})),{root:x,boundingRect:s}}R.exports=n},yWXo:function(R,D,e){var g=e("IwbS"),f=e("oVpE"),A=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 x=d[p++],S=d[p++];if(isNaN(x)||isNaN(S))continue;if(this.softClipShape&&!this.softClipShape.contain(x,S))continue;t.x=x-n[0]/2,t.y=S-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,x=n[p]-t/2,S=n[p+1]-s/2;if(r>=x&&o>=S&&r<=x+t&&o<=S+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=A(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 x=r.findDataIndex(p.offsetX,p.offsetY);x>=0&&(r.dataIndex=x+(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;R.exports=i},ycre:function(R,D,e){var g=e("711d"),f=g("length");R.exports=f},ye1Q:function(R,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"},A=f,m=e("6VBw"),v=function(a,i){return g.createElement(m.a,Object.assign({},a,{ref:i,icon:A}))};v.displayName="LoadingOutlined";var h=D.a=g.forwardRef(v)},ygfH:function(R,D,e){"use strict";Object.defineProperty(D,"__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"};D.default=g},yik8:function(R,D,e){var g=e("bZqE"),f=g.eachAfter,A=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,x=null;s==="radial"?(u=2*Math.PI,p=Math.min(t.height,t.width)/2,x=a(function(P,j){return(P.parentNode===j.parentNode?1:2)/P.depth})):(u=t.width,p=t.height,x=a());var S=n.getData().tree.root,T=S.children[0];if(T){v(S),f(T,h,x),S.hierNode.modifier=-T.hierNode.prelim,A(T,c);var w=T,E=T,C=T;A(T,function(P){var j=P.getLayout().x;j<w.getLayout().x&&(w=P),j>E.getLayout().x&&(E=P),P.depth>C.depth&&(C=P)});var _=w===E?1:x(w,E)/2,y=_-w.getLayout().x,b=0,O=0,I=0,M=0;if(s==="radial")b=u/(E.getLayout().x+_+y),O=p/(C.depth-1||1),A(T,function(P){I=(P.getLayout().x+y)*b,M=(P.depth-1)*O;var j=i(I,M);P.setLayout({x:j.x,y:j.y,rawX:I,rawY:M},!0)});else{var F=n.getOrient();F==="RL"||F==="LR"?(O=p/(E.getLayout().x+_+y),b=u/(C.depth-1||1),A(T,function(P){M=(P.getLayout().x+y)*O,I=F==="LR"?(P.depth-1)*b:u-(P.depth-1)*b,P.setLayout({x:I,y:M},!0)})):(F==="TB"||F==="BT")&&(b=u/(E.getLayout().x+_+y),O=p/(C.depth-1||1),A(T,function(P){I=(P.getLayout().x+y)*b,M=F==="TB"?(P.depth-1)*O:p-(P.depth-1)*O,P.setLayout({x:I,y:M},!0)}))}}}R.exports=o},ynwM:function(R,D,e){var g=e("MFOe"),f=g.Global;R.exports={name:"oldFF-globalStorage",read:m,write:v,each:h,remove:c,clearAll:a};var A=f.globalStorage;function m(i){return A[i]}function v(i,r){A[i]=r}function h(i){for(var r=A.length-1;r>=0;r--){var o=A.key(r);i(A[o],o)}}function c(i){return A.removeItem(i)}function a(){h(function(i,r){delete A[i]})}},ypgQ:function(R,D,e){var g=e("bYtY"),f=e("4NO4"),A=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(S){S&&S.data&&g.isTypedArray(S.data)&&g.setAsPrimitive(S.data)}),s=v(s);var p=this._optionBackup,x=r.call(this,s,u,!p);this._newBaseOption=x.baseOption,p?(l(p.baseOption,x.baseOption),x.timelineOptions.length&&(p.timelineOptions=x.timelineOptions),x.mediaList.length&&(p.mediaList=x.mediaList),x.mediaDefault&&(p.mediaDefault=x.mediaDefault)):this._optionBackup=x},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 x=s.getComponent("timeline");x&&(u=v(p[x.getCurrentIndex()],!0))}return u},getMediaOption:function(s){var u=this._api.getWidth(),p=this._api.getHeight(),x=this._mediaList,S=this._mediaDefault,T=[],w=[];if(!x.length&&!S)return w;for(var E=0,C=x.length;E<C;E++)o(x[E].query,u,p)&&T.push(E);return!T.length&&S&&(T=[-1]),T.length&&!n(T,this._currentMediaIndices)&&(w=h(T,function(_){return v(_===-1?S.option:x[_].option)})),this._currentMediaIndices=T,w}};function r(s,u,p){var x=[],S=[],T,w,E=s.timeline;if(s.baseOption&&(w=s.baseOption),(E||s.options)&&(w=w||{},x=(s.options||[]).slice()),s.media){w=w||{};var C=s.media;m(C,function(_){_&&_.option&&(_.query?S.push(_):T||(T=_))})}return w||(w=s),w.timeline||(w.timeline=E),m([w].concat(x).concat(g.map(S,function(_){return _.option})),function(_){m(u,function(y){y(_,p)})}),{baseOption:w,timelineOptions:x,mediaDefault:T,mediaList:S}}function o(s,u,p){var x={width:u,height:p,aspectratio:u/p},S=!0;return g.each(s,function(T,w){var E=w.match(a);if(!E||!E[1]||!E[2])return;var C=E[1],_=E[2].toLowerCase();d(x[_],T,C)||(S=!1)}),S}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,x){if(p==null)return;var S=s[x];if(!A.hasClass(x))s[x]=c(S,p,!0);else{p=f.normalizeToArray(p),S=f.normalizeToArray(S);var T=f.mappingToExists(S,p);s[x]=h(T,function(w){return w.option&&w.exist?c(w.exist,w.option,!0):w.exist||w.option})}})}var t=i;R.exports=t},yxFR:function(R,D,e){var g=e("y+Vt"),f=e("nPnh"),A=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?(A(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]}});R.exports=v},z35g:function(R,D,e){var g=e("bYtY");function f(v){return this._axes[v]}var A=function(v){this._axes={},this._dimList=[],this.name=v||""};A.prototype={constructor:A,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=A;R.exports=m},z7Xi:function(R,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"},A=f,m=e("6VBw"),v=function(a,i){return g.createElement(m.a,Object.assign({},a,{ref:i,icon:A}))};v.displayName="UploadOutlined";var h=D.a=g.forwardRef(v)},zAh6:function(R,D,e){"use strict";e.d(D,"a",function(){return v});var g=e("xEkU"),f=e.n(g),A=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(A.a)(n,!0),t=Date.now(),s=function u(){var p=Date.now(),x=p-t,S=m(x>d?d:x,l,h,d);Object(A.b)(n)?n.scrollTo(window.pageXOffset,S):n instanceof HTMLDocument||n.constructor.name==="HTMLDocument"?n.documentElement.scrollTop=S:n.scrollTop=S,x<d?f()(u):typeof r=="function"&&r()};f()(s)}},zDms:function(R,D,e){var g=e("bYtY"),f=e("OELB"),A=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(A.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 x;return l.eachComponent(u+"Axis",function(S){(S.get(p)||0)===(t.get(p)||0)&&(x=S)}),x},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],x=[],S=[],T;v(["start","end"],function(C,_){var y=n[C],b=n[C+"Value"];u[_]==="percent"?(y==null&&(y=p[_]),b=s.parse(f.linearMap(y,p,l))):(T=!0,b=b==null?l[_]:s.parse(b),y=f.linearMap(b,l,p)),S[_]=b,x[_]=y}),h(S),h(x);var w=this._minMaxSpan;T?E(S,x,l,p,!1):E(x,S,p,l,!0);function E(C,_,y,b,O){var I=O?"Span":"ValueSpan";m(0,C,y,"all",w["min"+I],w["max"+I]);for(var M=0;M<2;M++)_[M]=f.linearMap(C[M],y,b,!0),O&&(_[M]=s.parse(_[M]))}return{valueWindow:S,percentWindow:x}},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(S){var T=S.getData(),w=T.mapDimension(t,!0);if(!w.length)return;u==="weakFilter"?T.filterSelf(function(E){for(var C,_,y,b=0;b<w.length;b++){var O=T.get(w[b],E),I=!isNaN(O),M=O<p[0],F=O>p[1];if(I&&!M&&!F)return!0;I&&(y=!0),M&&(C=!0),F&&(_=!0)}return y&&C&&_}):v(w,function(E){if(u==="empty")S.setData(T=T.map(E,function(_){return x(_)?_:NaN}));else{var C={};C[E]=p,T.selectRange(C)}}),v(w,function(E){T.setApproximateExtent(p,E)})});function x(S){return S>=p[0]&&S<=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(x){var S=p.getApproximateExtent(x);S[0]<s[0]&&(s[0]=S[0]),S[1]>s[1]&&(s[1]=S[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 x=t.getMax(!0);return x!=null&&x!=="dataMax"&&typeof x!="function"?l[1]=x: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 x=l||s[0]===0&&s[1]===100;t.setRange(x?null:+u[0].toFixed(p),x?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"),x=t.get(u+"ValueSpan");x!=null&&(x=n.getAxisModel().axis.scale.parse(x)),x!=null?p=f.linearMap(s[0]+x,s,[0,100],!0):p!=null&&(x=f.linearMap(p,[0,100],s,!0)-s[0]),l[u+"Span"]=p,l[u+"ValueSpan"]=x})}var d=c;R.exports=d},zM3Q:function(R,D,e){var g=e("4NO4"),f=g.makeInner;function A(){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"}}R.exports=A},zRKj:function(R,D,e){e("Ae16"),e("Sp2Z"),e("y4/Y")},zTMp:function(R,D,e){var g=e("bYtY"),f=e("Qxkt"),A=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 x=u.getComponent("tooltip"),S=u.getComponent("axisPointer"),T=S.get("link",!0)||[],w=[];A(p.getCoordinateSystems(),function(E){if(!E.axisPointerEnabled)return;var C=t(E.model),_=s.coordSysAxesInfo[C]={};s.coordSysMap[C]=E;var y=E.model,b=y.getModel("tooltip",x);if(A(E.getAxes(),m(F,!1,null)),E.getTooltipAxes&&x&&b.get("show")){var O=b.get("trigger")==="axis",I=b.get("axisPointer.type")==="cross",M=E.getTooltipAxes(b.get("axisPointer.axis"));(O||I)&&A(M.baseAxes,m(F,I?"cross":!0,O)),I&&A(M.otherAxes,m(F,"cross",!1))}function F(P,j,K){var N=K.model.getModel("axisPointer",S),B=N.get("show");if(!B||B==="auto"&&!P&&!l(N))return;j==null&&(j=N.get("triggerTooltip")),N=P?c(K,b,S,u,P,j):N;var U=N.get("snap"),H=t(K.model),z=j||U||K.type==="category",X=s.axesInfo[H]={key:H,axis:K,coordSys:E,axisPointerModel:N,triggerTooltip:j,involveSeries:z,snap:U,useHandle:l(N),seriesModels:[]};_[H]=X,s.seriesInvolved|=z;var W=i(T,K);if(W!=null){var Y=w[W]||(w[W]={axesInfo:{}});Y.axesInfo[H]=X,Y.mapper=T[W].mapper,X.linkGroup=Y}}})}function c(s,u,p,x,S,T){var w=u.getModel("axisPointer"),E={};A(["type","snap","lineStyle","shadowStyle","label","animation","animationDurationUpdate","animationEasingUpdate","z"],function(b){E[b]=g.clone(w.get(b))}),E.snap=s.type!=="category"&&!!T,w.get("type")==="cross"&&(E.type="line");var C=E.label||(E.label={});if(C.show==null&&(C.show=!1),S==="cross"){var _=w.get("label.show");if(C.show=_!=null?_:!0,!T){var y=E.lineStyle=w.get("crossStyle");y&&g.defaults(C,y.textStyle)}}return s.model.getModel("axisPointer",new f(E,p,x))}function a(s,u){u.eachSeries(function(p){var x=p.coordinateSystem,S=p.get("tooltip.trigger",!0),T=p.get("tooltip.show",!0);if(!x||S==="none"||S===!1||S==="item"||T===!1||p.get("axisPointer.show",!0)===!1)return;A(s.coordSysAxesInfo[t(x.model)],function(w){var E=w.axis;x.getAxis(E.dim)===E&&(w.seriesModels.push(p),w.seriesDataCount==null&&(w.seriesDataCount=0),w.seriesDataCount+=p.getData().count())})},this)}function i(s,u){for(var p=u.model,x=u.dim,S=0;S<s.length;S++){var T=s[S]||{};if(r(T[x+"AxisId"],p.id)||r(T[x+"AxisIndex"],p.componentIndex)||r(T[x+"AxisName"],p.name))return S}}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,x=u.axis.scale,S=p.option,T=p.get("status"),w=p.get("value");w!=null&&(w=x.parse(w));var E=l(p);T==null&&(S.status=E?"show":"hide");var C=x.getExtent().slice();C[0]>C[1]&&C.reverse(),(w==null||w>C[1])&&(w=C[1]),w<C[0]&&(w=C[0]),S.value=w,E&&(S.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}D.collect=v,D.fixValue=o,D.getAxisInfo=d,D.getAxisPointerModel=n,D.makeKey=t},zYTA:function(R,D,e){var g=e("bYtY"),f=256;function A(){var v=g.createCanvas();this.canvas=v,this.blurSize=30,this.pointSize=20,this.maxOpacity=1,this.minOpacity=0,this._gradientPixels={}}A.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 x=v[p],S=x[0],T=x[1],w=x[2],E=a(w);s.globalAlpha=E,s.drawImage(o,S-l,T-l)}if(!t.width||!t.height)return t;for(var C=s.getImageData(0,0,t.width,t.height),_=C.data,y=0,b=_.length,O=this.minOpacity,I=this.maxOpacity,M=I-O;y<b;){var E=_[y+3]/256,F=Math.floor(E*(f-1))*4;if(E>0){var P=r(E)?d:n;E>0&&(E=E*M+O),_[y++]=P[F],_[y++]=P[F+1],_[y++]=P[F+2],_[y++]=P[F+3]*E*256}else y+=4}return s.putImageData(C,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=A;R.exports=m},zarK:function(R,D,e){var g=e("YH21"),f=g.addEventListener,A=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 P=["click","dblclick","mousewheel","mouseout","mouseup","mousedown","mousemove","contextmenu"],j=["touchstart","touchend","touchmove"],K={pointerdown:1,pointerup:1,pointermove:1,pointerout:1},N=h.map(P,function(B){var U=B.replace("mouse","pointer");return K.hasOwnProperty(U)?U:B});return{mouse:P,touch:j,pointer:N}}(),d={mouse:["mousemove","mouseup"],pointer:["pointermove","pointerup"]};function n(P){return P==="mousewheel"&&a.browser.firefox?"DOMMouseScroll":P}function l(P){var j=P.pointerType;return j==="pen"||j==="touch"}function t(P){P.touching=!0,P.touchTimer!=null&&(clearTimeout(P.touchTimer),P.touchTimer=null),P.touchTimer=setTimeout(function(){P.touching=!1,P.touchTimer=null},700)}function s(P){P&&(P.zrByTouch=!0)}function u(P,j){return m(P.dom,new x(P,j),!0)}function p(P,j){for(var K=j,N=!1;K&&K.nodeType!==9&&!(N=K.domBelongToZr||K!==j&&K===P.painterRoot);)K=K.parentNode;return N}function x(P,j){this.type=j.type,this.target=this.currentTarget=P.dom,this.pointerType=j.pointerType,this.clientX=j.clientX,this.clientY=j.clientY}var S=x.prototype;S.stopPropagation=S.stopImmediatePropagation=S.preventDefault=h.noop;var T={mousedown:function(j){j=m(this.dom,j),this._mayPointerCapture=[j.zrX,j.zrY],this.trigger("mousedown",j)},mousemove:function(j){j=m(this.dom,j);var K=this._mayPointerCapture;K&&(j.zrX!==K[0]||j.zrY!==K[1])&&b(this,!0),this.trigger("mousemove",j)},mouseup:function(j){j=m(this.dom,j),b(this,!1),this.trigger("mouseup",j)},mouseout:function(j){j=m(this.dom,j),this._pointerCapturing&&(j.zrEventControl="no_globalout");var K=j.toElement||j.relatedTarget;j.zrIsToLocalDOM=p(this,K),this.trigger("mouseout",j)},touchstart:function(j){j=m(this.dom,j),s(j),this._lastTouchMoment=new Date,this.handler.processGesture(j,"start"),T.mousemove.call(this,j),T.mousedown.call(this,j)},touchmove:function(j){j=m(this.dom,j),s(j),this.handler.processGesture(j,"change"),T.mousemove.call(this,j)},touchend:function(j){j=m(this.dom,j),s(j),this.handler.processGesture(j,"end"),T.mouseup.call(this,j),+new Date-this._lastTouchMoment<i&&T.click.call(this,j)},pointerdown:function(j){T.mousedown.call(this,j)},pointermove:function(j){l(j)||T.mousemove.call(this,j)},pointerup:function(j){T.mouseup.call(this,j)},pointerout:function(j){l(j)||T.mouseout.call(this,j)}};h.each(["click","mousewheel","dblclick","contextmenu"],function(P){T[P]=function(j){j=m(this.dom,j),this.trigger(P,j)}});var w={pointermove:function(j){l(j)||w.mousemove.call(this,j)},pointerup:function(j){w.mouseup.call(this,j)},mousemove:function(j){this.trigger("mousemove",j)},mouseup:function(j){var K=this._pointerCapturing;b(this,!1),this.trigger("mouseup",j),K&&(j.zrEventControl="only_globalout",this.trigger("mouseout",j))}};function E(P,j){var K=j.domHandlers;a.pointerEventsSupported?h.each(o.pointer,function(N){_(j,N,function(B){K[N].call(P,B)})}):(a.touchEventsSupported&&h.each(o.touch,function(N){_(j,N,function(B){K[N].call(P,B),t(j)})}),h.each(o.mouse,function(N){_(j,N,function(B){B=v(B),j.touching||K[N].call(P,B)})}))}function C(P,j){a.pointerEventsSupported?h.each(d.pointer,K):a.touchEventsSupported||h.each(d.mouse,K);function K(N){function B(U){U=v(U),p(P,U.target)||(U=u(P,U),j.domHandlers[N].call(P,U))}_(j,N,B,{capture:!0})}}function _(P,j,K,N){P.mounted[j]=K,P.listenerOpts[j]=N,f(P.domTarget,n(j),K,N)}function y(P){var j=P.mounted;for(var K in j)j.hasOwnProperty(K)&&A(P.domTarget,n(K),j[K],P.listenerOpts[K]);P.mounted={}}function b(P,j){if(P._mayPointerCapture=null,r&&P._pointerCapturing^j){P._pointerCapturing=j;var K=P._globalHandlerScope;j?C(P,K):y(K)}}function O(P,j){this.domTarget=P,this.domHandlers=j,this.mounted={},this.listenerOpts={},this.touchTimer=null,this.touching=!1}function I(P,j){c.call(this),this.dom=P,this.painterRoot=j,this._localHandlerScope=new O(P,T),r&&(this._globalHandlerScope=new O(document,w)),this._pointerCapturing=!1,this._mayPointerCapture=null,E(this,this._localHandlerScope)}var M=I.prototype;M.dispose=function(){y(this._localHandlerScope),r&&y(this._globalHandlerScope)},M.setCursor=function(P){this.dom.style&&(this.dom.style.cursor=P||"default")},h.mixin(I,c);var F=I;R.exports=F},zdCA:function(R,D,e){"use strict";var g=e("TqRt"),f=e("284h");Object.defineProperty(D,"__esModule",{value:!0}),D.default=void 0;var A=f(e("q1tI")),m=g(e("PSzr")),v=g(e("KQxl")),h=function(i,r){return A.createElement(v.default,Object.assign({},i,{ref:r,icon:m.default}))};h.displayName="BarsOutlined";var c=A.forwardRef(h);D.default=c},zeV3:function(R,D,e){"use strict";var g=e("pVnL"),f=e.n(g),A=e("lSNA"),m=e.n(A),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,x=s.direction,S=l.size,T=S===void 0?(p==null?void 0:p.size)||"small":S,w=l.align,E=l.className,C=l.children,_=l.direction,y=_===void 0?"horizontal":_,b=l.prefixCls,O=r(l,["size","align","className","children","direction","prefixCls"]),I=v.Children.count(C);if(I===0)return null;var M=w===void 0&&y==="horizontal"?"center":w,F=u("space",b),P=a()(F,"".concat(F,"-").concat(y),(t={},m()(t,"".concat(F,"-rtl"),x==="rtl"),m()(t,"".concat(F,"-align-").concat(M),M),t),E),j="".concat(F,"-item"),K=x==="rtl"?"marginLeft":"marginRight";return v.createElement("div",f()({className:P},O),v.Children.map(C,function(N,B){return v.createElement("div",{className:j,key:"".concat(j,"-").concat(B),style:B===I-1||N===null||N===void 0?{}:m()({},y==="vertical"?"marginBottom":K,typeof T=="string"?o[T]:T)},N)}))};D.a=d},zoYe:function(R,D,e){var g=e("nmnc"),f=e("eUgh"),A=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(A(i))return f(i,a)+"";if(m(i))return c?c.call(i):"";var r=i+"";return r=="0"&&1/i==-v?"-0":r}R.exports=a},zs7G:function(R,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"},A=f,m=e("6VBw"),v=function(a,i){return g.createElement(m.a,Object.assign({},a,{ref:i,icon:A}))};v.displayName="DoubleRightOutlined";var h=D.a=g.forwardRef(v)},zuHt:function(R,D,e){var g=e("bYtY");function f(A){var m={};A.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")&&A.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})}R.exports=f}}]);
|